zcash-android-wallet-sdk
zcash-android-wallet-sdk copied to clipboard
[SDK audit] Recommendation: Hex decoder silently ignores last character of an odd-length string
Is your feature request related to a problem? Please describe.
The following hex decoder in BlockExt.kt will silently ignore the last character in an odd-length hex string, because of the integer division len / 2. It should instead throw an exception for odd-length strings.