-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apk has incorrect extra filed in the entry #67
Comments
Do you have a sample apk file that illustrates the issue? |
@pmqs yes, I do. I think this is any apk file with resources. E.g. I have tested on this one: Scrabble® GO-Classic Word Game 1.58.1 |
Will be inlcuded in v1.9 |
Thanks - quite a big file. The only thing non-standard I can see is null padding bytes where the extra fields should. See below for an example from the link you posted.
|
And this is a
|
Yep, agree, it is non-standard. I imagine this is used for data alignment. In my application, I have code to explicitly check for an extra field that is completely null bytes. APK is the only application I've found so far that uses it. I see that APK also had a properly defined extra field for alignment purposes -- ID is 0xd935. See here for the source code that uses it. Can't find a formal reference doc that defines it - source code is all I can find. |
I think you can be right about data alignemnt, because My application just work with zip file and should decompose it correctly. Thank you for mention about data alignment. |
https://github.com/Ne-Lexa/php-zip/releases here you can find what is |
apk
file keeps file content in the extra field section. But this section has not correct format for extra field. According this, decompose and view has a problem.The text was updated successfully, but these errors were encountered: