Page MenuHomeFreeBSD

kdump: use VIS_NOLOCALE when printing output
ClosedPublic

Authored by arichardson on Jun 15 2021, 12:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 11, 7:30 PM
Unknown Object (File)
Mon, May 11, 7:30 PM
Unknown Object (File)
Mon, May 11, 7:23 PM
Unknown Object (File)
Sat, May 2, 11:21 AM
Unknown Object (File)
Wed, Apr 22, 2:41 AM
Unknown Object (File)
Sun, Apr 19, 1:34 AM
Unknown Object (File)
Sat, Apr 18, 5:38 PM
Unknown Object (File)
Apr 13 2026, 5:47 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable