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)
Sat, Oct 4, 2:03 PM
Unknown Object (File)
Sat, Oct 4, 5:03 AM
Unknown Object (File)
Fri, Sep 19, 8:20 PM
Unknown Object (File)
Wed, Sep 17, 10:50 PM
Unknown Object (File)
Aug 26 2025, 12:03 AM
Unknown Object (File)
Aug 24 2025, 8:17 PM
Unknown Object (File)
Aug 24 2025, 12:49 AM
Unknown Object (File)
Aug 19 2025, 6:03 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