Skip to content

fix(android) : handle non-standard version strings from custom ROMs - #798

Merged
IPMegladon merged 1 commit into
sensepost:masterfrom
ramadaaditya:fix/android-version-parsing
Jul 23, 2026
Merged

fix(android) : handle non-standard version strings from custom ROMs#798
IPMegladon merged 1 commit into
sensepost:masterfrom
ramadaaditya:fix/android-version-parsing

Conversation

@ramadaaditya

Copy link
Copy Markdown
Contributor

Some Android distributions (e.g. crDroid, Evolution X) append additional identifiers to ro.build.version.release, causing packaging.version.Version to raise InvalidVersion.

This patch sanitizes the version string before parsing to ensure compatibility and prevent crashes.

Some Android distributions (e.g. crDroid, Evolution X) append
additional identifiers to ro.build.version.release, causing
packaging.version.Version to raise InvalidVersion.

This patch sanitizes the version string before parsing to ensure
compatibility and prevent crashes.
@IPMegladon
IPMegladon merged commit a5d6f38 into sensepost:master Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants