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)
Thu, Mar 19, 8:05 AM
Unknown Object (File)
Wed, Mar 18, 7:03 PM
Unknown Object (File)
Wed, Mar 18, 1:47 PM
Unknown Object (File)
Sun, Mar 15, 10:30 AM
Unknown Object (File)
Mon, Mar 9, 2:56 PM
Unknown Object (File)
Sun, Mar 8, 9:02 PM
Unknown Object (File)
Wed, Feb 25, 7:11 PM
Unknown Object (File)
Feb 8 2026, 10:00 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