Page MenuHomeFreeBSD

kdump: use VIS_NOLOCALE when printing output
ClosedPublic

Authored by arichardson on Jun 15 2021, 12:31 PM.
Tags
None
Referenced Files
F136834250: D30772.id90966.diff
Wed, Nov 19, 10:48 PM
F136834244: D30772.id.diff
Wed, Nov 19, 10:48 PM
F136834241: D30772.id90914.diff
Wed, Nov 19, 10:48 PM
F136834148: D30772.diff
Wed, Nov 19, 10:47 PM
Unknown Object (File)
Oct 4 2025, 2:03 PM
Unknown Object (File)
Oct 4 2025, 5:03 AM
Unknown Object (File)
Sep 19 2025, 8:20 PM
Unknown Object (File)
Sep 17 2025, 10:50 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