Fix a potential overwrite or uninitialised data issue.
That code part is currently unused (at least in Bitcoin Core).
We already do the same check CExtPubKey.
Reported by @guidovranken
Fix a potential overwrite or uninitialised data issue.
That code part is currently unused (at least in Bitcoin Core).
We already do the same check CExtPubKey.
Reported by @guidovranken
utACK
We should probably credit the person who reported this?
Ouch! Really nice find! Found by code review or fuzzing?
utACK 07685d1bc1b0b815c00a68a5b7b335ffa0d4d90d
Issue was discovered by Guido Vranken via Fuzzing (@guidovranken / see also #11045). It looks like non of the Core forks is using this as well.
Thank you @guidovranken!
You're welcome.