You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't use writeByteArray() in xposed_service.cpp
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 fixesrovo89/XposedBridge#58.
Thanks to @rsteckler for reporting this issue and testing the fix!