Wrong signature format check #5283

issue oleganza opened this issue on November 15, 2014
  1. oleganza commented at 8:30 AM on November 15, 2014: none

    In interpreter.cpp IsDERSignature accepts signature without hashtype byte, while previous version of this function IsCanonicalSignature was taking a signature WITH appended hashtype byte.

    Script interpreter feeds a signature with hashtype in both functions. New behavior leads to "wrong length marker" error.

  2. oleganza commented at 9:28 AM on November 15, 2014: none

    Ah, no. Was confused with the name of the function.

  3. oleganza closed this on Nov 15, 2014

  4. DrahtBot locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-02 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me