Age | Commit message (Collapse) | Author |
|
I think this found a real bug in the dhcp packet parser.
I don't think anything called lib9p_str{,n}() values that could be big
enough, but their bounds-checking was broken.
|
|
|
|
|
|
|
|
|
|
This gives us:
- [[maybe_unused]] instead of [[gnu::unused]]
- bool/true/false are predefined, so no need for <stdbool.h>
|
|
|
|
|
|
|
|
Lo and behold, there was a mistake in chan.c.
|
|
|
|
|
|
Turns out using static buffers makes it hard to detect
"use-after-free" problems and leaks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Apparently __builtin_clzll(0) is undefined.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|