[Bug 278556] strerror-related race condition and standards violation in printf and friends
| Newsgroups | gmane.os.freebsd.devel.standards |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278556 --- Comment #2 from Warner Losh <[email protected]> --- btw, my change is minimal. it could easily just #define BUF to be NL_TEXTMAX and work, though it might have more cache misses given the 2k span of the buffer... we could get rid of the MAX and always do NL_TEXTMAX and use either sizeof or define BUF to be something like (sizeof(uintmax_t) / 3 + 2) which will always be enough and 2k can handle integers up to 6k bits, so we'd future proof the code. -- You are receiving this mail because: You are the assignee for the bug.