From 9b626131c7eb39b0501c27b2784c4cb414dc5982 Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 7 Mar 2019 01:26:32 +0100 Subject: [PATCH] Align section size by 4. --- src/main/java/rpx/RPXFileSystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/rpx/RPXFileSystem.java b/src/main/java/rpx/RPXFileSystem.java index 6448aa6..a837e02 100644 --- a/src/main/java/rpx/RPXFileSystem.java +++ b/src/main/java/rpx/RPXFileSystem.java @@ -124,7 +124,7 @@ public class RPXFileSystem implements GFileSystem { inflater.end(); - curSize = section_size_inflated; + curSize = section_size_inflated & ~0x3; flags &= ~SHF_RPL_ZLIB; data = decompressed; }