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)
Sun, Oct 11, 4:49 AM
Unknown Object (File)
Wed, Oct 7, 4:00 AM
Unknown Object (File)
Tue, Oct 6, 5:01 PM
Unknown Object (File)
Sun, Oct 4, 8:38 PM
Unknown Object (File)
Mon, Sep 28, 9:07 PM
Unknown Object (File)
Mon, Sep 28, 1:35 PM
Unknown Object (File)
Sep 8 2026, 7:34 AM
Unknown Object (File)
Sep 6 2026, 3:04 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