Skip to content

fuzz: Limit fuzz buffer size in script_flags target - #28931

Merged
fanquake merged 3 commits into
bitcoin:masterfrom
maflcko:2311-fuzz-script-flags-
Nov 26, 2023
Merged

fanquake merged 3 commits into
bitcoin:masterfrom
maflcko:2311-fuzz-script-flags-

Conversation

@maflcko

@maflcko maflcko commented Nov 23, 2023

Copy link
Copy Markdown
Member

Most fuzz targets have an upper limit on the buffer size to avoid excessive runtime. Do the same for script_flags to avoid timeouts such as #28812 (comment)

Also, fix iwyu. Also, remove legacy CDataStream.

@DrahtBot

DrahtBot commented Nov 23, 2023 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK dergoegge, brunoerg

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #28451 (refactor: Remove unused SER_DISK, SER_NETWORK, SER_GETHASH by maflcko)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@DrahtBot DrahtBot added the Tests label Nov 23, 2023
MarcoFalke added 2 commits November 23, 2023 17:56
Also, export script_error.h from interpreter.h, because there should
rarely be a case where script_error.h is included without interpreter.h

@dergoegge dergoegge left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK faf1fb2

@brunoerg brunoerg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK faf1fb2

@fanquake
fanquake merged commit 5f9fd11 into bitcoin:master Nov 26, 2023
@maflcko
maflcko deleted the 2311-fuzz-script-flags- branch November 27, 2023 09:27
@bitcoin bitcoin locked and limited conversation to collaborators Nov 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants