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)
Mar 14 2024, 1:16 AM
Unknown Object (File)
Mar 7 2024, 8:12 PM
Unknown Object (File)
Feb 12 2024, 4:18 AM
Unknown Object (File)
Jan 28 2024, 4:27 AM
Unknown Object (File)
Dec 23 2023, 1:53 AM
Unknown Object (File)
Dec 13 2023, 6:13 PM
Unknown Object (File)
Nov 9 2023, 5:25 PM
Unknown Object (File)
Nov 6 2023, 11:48 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