Page MenuHomeFreeBSD

kdump: use VIS_NOLOCALE when printing output
ClosedPublic

Authored by arichardson on Jun 15 2021, 12:31 PM.
Tags
None
Referenced Files
F148563296: D30772.id.diff
Wed, Mar 18, 7:03 PM
F148537100: D30772.id90914.diff
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
Unknown Object (File)
Feb 7 2026, 9:09 PM
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