Skip to content

miniscript: check thresh bounds when parsing a script#71

Merged
sipa merged 1 commit intosipa:masterfrom
darosior:thresh_check_bounds
Sep 27, 2021
Merged

miniscript: check thresh bounds when parsing a script#71
sipa merged 1 commit intosipa:masterfrom
darosior:thresh_check_bounds

Conversation

@darosior
Copy link
Copy Markdown
Contributor

We could eg parse a thresh with a k of 0 and later crash when asserting a sane thresh fragment. See #66 (comment)

The check was dropped in 4085ffc

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
@sipa
Copy link
Copy Markdown
Owner

sipa commented Sep 27, 2021

ACK c1917c3

@sipa sipa merged commit 4ef79f9 into sipa:master Sep 27, 2021
@darosior darosior deleted the thresh_check_bounds branch September 29, 2021 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants