AppImageCommunity / libappimage

Implements functionality for dealing with AppImage files
https://appimage.org
Other
46 stars 29 forks source link

read_elf32 incorrect number conversions #182

Open pavelxdd opened 1 year ago

pavelxdd commented 1 year ago

https://github.com/AppImageCommunity/libappimage/blob/3467b203500fa534789a5c0d08103d2c02b5b4a4/src/libappimage/utils/ElfFile.cpp#L73

These are 32-bit fields, so file32_to_cpu should be used instead. I don't know if it changes the overall result, but I just noticed this while reading the code.