Skip to content

v73

@romracer romracer tagged this 02 Sep 17:45
This works around an AOSP bug. Byte arrays first store the array size
and then the bytes. However, Parcel::writeByteArray() uses size_t for
the size, whereas all other parts related to Parcels read/write int32_t
values. This leads to conflicts on 64-bit ROMs, as size_t uses 4 bytes
instead of 4 bytes here. In Xposed, this results in invalid file reads,
most notably in XSharedPreferences.

This fixes rovo89/XposedBridge#58.

Thanks to @rsteckler for reporting this issue and testing the fix!
Assets 2
Loading