Skip to content

Conversation

@maflcko
Copy link
Member

@maflcko maflcko commented Jun 23, 2021

No description provided.

@jonatack
Copy link
Member

Concept ACK, good idea.

Copy link
Member

@jonatack jonatack left a comment

Choose a reason for hiding this comment

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

tACK fabadb7702a9cbe477e9e5f91706620456154903

Copy link
Contributor

@practicalswift practicalswift left a comment

Choose a reason for hiding this comment

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

cr ACK fabadb7702a9cbe477e9e5f91706620456154903

Great work!

@maflcko
Copy link
Member Author

maflcko commented Jun 24, 2021

Addressed feedback

Copy link
Contributor

@vasild vasild left a comment

Choose a reason for hiding this comment

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

ACK fa57878340e6e9e34b01e26091d9d57f1c26f771

@jonatack
Copy link
Member

Thanks for updating.

Tested ACK fa57878340e6e9e34b01e26091d9d57f1c26f771

Copy link
Contributor

@vasild vasild left a comment

Choose a reason for hiding this comment

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

ACK fa485d0

@practicalswift
Copy link
Contributor

cr ACK fa485d0

@maflcko maflcko merged commit 246daf1 into bitcoin:master Jun 25, 2021
@maflcko maflcko deleted the 2106-fuzzBanman branch June 25, 2021 08:09
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jun 25, 2021
fa485d0 fuzz: Check banman roundtrip (MarcoFalke)

Pull request description:

ACKs for top commit:
  practicalswift:
    cr ACK fa485d0
  vasild:
    ACK fa485d0

Tree-SHA512: 84e297c0b90ef68d72afd2053bfda2888496c1b180233516a8caaf76d6c03403f1e4ed59f1eb32d799873fc34009634b4ce372244b9d546d04626af41ac4d1d7
BanMan ban_man_read{banlist_file, /* client_interface */ nullptr, /* default_ban_time */ 0};
banmap_t banmap_read;
ban_man_read.GetBanned(banmap_read);
assert(banmap == banmap_read);
Copy link
Member

Choose a reason for hiding this comment

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

Errors in CI job (https://cirrus-ci.com/task/6055643191705600?logs=ci#L2769):

fuzz: test/fuzz/banman.cpp:112: void banman_fuzz_target(FuzzBufferType): Assertion `banmap == banmap_read' failed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a way to retrieve ./crash-0671aac15e619e99522e2119487eaa9cc97e5a34 from the CI machine or make the fuzzer print it in base64?

Latest master (d67330d) has been changed to:

// Assert temporarily disabled to allow the remainder of the fuzz test to run while a
// fix is being worked on. See https://github.com/bitcoin/bitcoin/pull/22517
(void)(banmap == banmap_read);

@hebasto hebasto mentioned this pull request Aug 6, 2021
gwillen pushed a commit to ElementsProject/elements that referenced this pull request Jun 1, 2022
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
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.

6 participants