freebsd-src/contrib/libc-vis
Alex Richardson c89f104c12 vis(3): avoid out-of-bounds stack buffer reads
I found this while running kdump(1) on a CheriBSD system due to a
capability length violation when printing the /etc/libmap.conf read()
system call: it crashed immediately after printing the first line.

Found by:	CHERI
Reviewed By:	jhb
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D30771

(cherry picked from commit 1a2f06d0f2)
2021-07-05 10:46:11 +01:00
..
unvis.3 Update vis(3) the latest from NetBSD. 2017-11-28 01:35:28 +00:00
unvis.c
vis.3 Update vis(3) the latest from NetBSD. 2017-11-28 01:35:28 +00:00
vis.c vis(3): avoid out-of-bounds stack buffer reads 2021-07-05 10:46:11 +01:00
vis.h Update vis(3) the latest from NetBSD. 2017-11-28 01:35:28 +00:00