On 07/10/2013 20:52, Simon McVittie wrote:
Package: abootimg
Version: 0.6-1
Severity: normal
Tags: upstream

By inspection of its source code, abootimg has the same bug as Android
mkbootimg: because it writes host structs directly into the file,
if the size or endianness of any of the integers in those structs does
not match the expected size/endianness (4-byte int, little-endian),
the image will be misinterpreted by the Android device.

I agree, but as I don't have any big-endian system under my hand, I won't be able to test it. Patches are welcome ;)

Another possibility would be to only build abootimg on little-endian
platforms (any-i386, any-amd64, armel, armhf, mipsel etc., but not
powerpc).

It would make sense. I don't see any usage case where you would like to manipulate Android boot image from a bigendian host...

Thanks,
Gilles.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to