fuzz: Add missing CheckTransaction before CheckTxInputs #21970
Merged
maflcko merged 2 commits intobitcoin:masterfrom May 19, 2021
Merged
fuzz: Add missing CheckTransaction before CheckTxInputs #21970maflcko merged 2 commits intobitcoin:masterfrom
maflcko merged 2 commits intobitcoin:masterfrom
Conversation
glozow
reviewed
May 17, 2021
Member
Author
It should be possible to reproduce with the reproducer input in the OP |
Member
|
Tested fae4ee5. Was able to reproduce with master (c857148)Verified there is no crash with fae4ee5 |
Member
Author
|
Of course you can reproduce this inside Docker, if you want, but the recommended way to reproduce is to use "your build and test system" (https://google.github.io/oss-fuzz/advanced-topics/reproducing/#fuzz-target-bugs). This would be https://github.com/bitcoin/bitcoin/blob/master/doc/fuzzing.md . Docker can always be used as a backup in case it it not trivial to build with the sanitizers for the given architecture. |
Contributor
|
cr ACK fae4ee5: patch looks correct :) |
sidhujag
pushed a commit
to syscoin/syscoin
that referenced
this pull request
May 19, 2021
gwillen
pushed a commit
to ElementsProject/elements
that referenced
this pull request
Jun 1, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This bug was introduced by myself in commit eeee8f5 (#21553)
Reproducer: https://github.com/bitcoin/bitcoin/files/6492249/clusterfuzz-testcase-minimized-coins_view-6109460079706112.log
Hopefully fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34301