Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Fixing Android-21 apk compatibility issue #1

Merged
merged 2 commits into from
Feb 12, 2015

Conversation

piotrekno1
Copy link
Contributor

Solution based on: androguard/androguard#33

We might wish to back port this to the original androguard repo.

androconf.info("Skipping null padding in StringBlock header")
header = self.readNext(buff, first_run=False)
elif header != CHUNK_STRINGPOOL_TYPE:
androconf.warning("Invalid StringBlock header")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs less indentation here.

@joweeba
Copy link

joweeba commented Feb 12, 2015

lgtm

@piotrekno1
Copy link
Contributor Author

@joweeba Thanks! Great to see you visit :)

wojked added a commit that referenced this pull request Feb 12, 2015
Fixing Android-21 apk compatibility issue
@wojked wojked merged commit 88b6abb into master Feb 12, 2015

if header == CHUNK_NULL_TYPE and first_run:
androconf.info("Skipping null padding in StringBlock header")
header = self.readNext(buff, first_run=False)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong syntax it should be just readNext not self.readNext
Please send a pull request when it is fixed to androguard repo and we can close the androguard/androguard#33 issue

subho007 added a commit to subho007/androguard that referenced this pull request Feb 15, 2015
@piotrekno1
Copy link
Contributor Author

@subho007

  1. Thanks for the comment :)
  2. This PR waited for QA session - didn't want to submit an incomplete solution.

@subho007
Copy link

👍 awesome job BTW :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants