mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-30 12:25:49 +00:00
strtoull took the valid hex prefix of a token and ignored the rest, so a malformed token such as "123garbage" selected program 0x123, and an overflowing token was not detected. A token now has to be a whole 64-bit hex number (with an optional 0x prefix); any other token is reported and ignored. The test adds a list with a malformed token whose prefix is the first program's address and an overflowing token. Co-Authored-By: Claude Opus 5.5 <[email protected]>