Skip to content

v0.10.5a

Compare
Choose a tag to compare
@CodeShark CodeShark released this 14 Jul 13:53
· 14 commits to master since this release

New in this release:

  • Important bugfix that can cause crashes when receiving blocks with certain types of nonstandard script types

Details of issue

Empty fields where signatures are expected result in the parser trying to identify the sighash type. We need to first make sure the field is not empty or else trying to access the last element of an empty signature can produce undefined behavior.

Empty signature fields are treated as unsupported sighash types. This leads to the input being ignored rather than undefined behavior.