Page MenuHomeFreeBSD

kdump: use VIS_NOLOCALE when printing output
ClosedPublic

Authored by arichardson on Jun 15 2021, 12:31 PM.
Tags
None
Referenced Files
F163137829: D30772.id.diff
Mon, Jul 20, 10:41 AM
Unknown Object (File)
Sun, Jul 19, 6:49 PM
Unknown Object (File)
Sat, Jul 18, 1:57 PM
Unknown Object (File)
Fri, Jul 17, 10:33 PM
Unknown Object (File)
Fri, Jul 17, 9:32 AM
Unknown Object (File)
Fri, Jul 10, 6:48 PM
Unknown Object (File)
Mon, Jun 29, 10:07 AM
Unknown Object (File)
Mon, Jun 29, 1:27 AM
Subscribers

Details

Summary

Attempting to parse the output as UTF-8 exposed an out-of-bounds read
in vis(3) (see https://reviews.freebsd.org/D30771). However, I don't
think it makes much sense to decode this output at all. Additionally,
passing one byte at a time will almost certainly result in incorrect
output for multi-byte characters.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39917
Build 36806: arc lint + arc unit