lwIP - A Lightweight TCP/IP stack - Patches: patch #10163, Fix failing fuzzer if compiling...
You are not allowed to post comments on this tracker with your current authentication level.
patch #10163: Fix failing fuzzer if compiling with ubsan
Submitter: | Wouter van Gulik <wouter> | ||
Submitted: | Wed 22 Dec 2021 11:41:00 AM UTC | ||
Category: | Contrib | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | goldsimon | Open/Closed: | Closed |
Planned Release: | None |
Thu 30 Dec 2021 09:06:28 PM UTC, comment #1: |
Simon Goldschmidt <goldsimon> |
Wed 22 Dec 2021 11:41:00 AM UTC, original submission:
The "random" generator uses a 32 bit multiply that overflows.
|
Wouter van Gulik <wouter> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2021-12-30 | goldsimon | Status | None | Done | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed | |||
2021-12-22 | wouter | Attached File | - | Added fuzz_common.patch, #52554 | |
Carbon-Copy | - | Added wouter |
Powered by Savane 3.13-f8d8.
Corresponding source code
I would have thought the cast from s32_t to uint64_t is missing a "& 0xffffffff" to prevent undefined behaviour when multiplying 0xffffffffdeadbeef in the first iteration. I'm not sure why you didn't need that, but I've added it.