1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

members of struct l_info loader header must be little endian

This commit is contained in:
John Reiser 2006-11-18 11:42:08 -08:00
parent cd0efe3edb
commit 0359e9c5c7

View File

@ -111,9 +111,9 @@ protected:
}
__attribute_packed;
struct l_info { // 12-byte trailer in header for loader
unsigned l_checksum;
unsigned l_magic;
unsigned short l_lsize;
LE32 l_checksum;
LE32 l_magic;
LE16 l_lsize;
unsigned char l_version;
unsigned char l_format;
}