mirror of
https://github.com/Maschell/GhidraRPXLoader.git
synced 2024-11-14 12:25:12 +01:00
Fix size alignment
This commit is contained in:
parent
389b710a73
commit
a366f0eafc
@ -138,7 +138,8 @@ public class RPXFileSystem implements GFileSystem {
|
|||||||
|
|
||||||
inflater.end();
|
inflater.end();
|
||||||
|
|
||||||
curSize = section_size_inflated & ~0x3;
|
// Is this alignment really necessary?
|
||||||
|
curSize = (section_size_inflated + 0x03) & ~0x3;
|
||||||
flags &= ~SHF_RPL_ZLIB;
|
flags &= ~SHF_RPL_ZLIB;
|
||||||
data = decompressed;
|
data = decompressed;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user