Skip to content

Calling FromScript with a script with 2000 consecutive OP_CHECKSIGVERIFY opcodes causes execution to halt due to running out of stack space #14

@practicalswift

Description

@practicalswift

Calling FromScript with a script with 2000 consecutive OP_CHECKSIGVERIFY opcodes causes execution to halt due to running out of stack space.

The root cause is the unbounded recursion in Decode, DecodeMulti, DecodeSingle and DecodeWrapped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions