freebsd-nq/contrib/libc-vis
Bryan Drewery f0a6d7e204 strvis(3): Avoid internal state of multibyte functions being tainted.
The mbtoc(3) and wctomb(3) functions use internal state which may be
tainted before the call to strvis(3).  In this context we can just use
the thread-safe versions mbrtoc(3) and wcrtomb(3) which allow passing
our own state from our stack.

MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
2016-12-06 17:05:02 +00:00
..
unvis.3
unvis.c Update to a June 8th snapshot of (un)vis form NetBSD. 2016-06-08 18:21:27 +00:00
vis.3 Update to a June 8th snapshot of (un)vis form NetBSD. 2016-06-08 18:21:27 +00:00
vis.c strvis(3): Avoid internal state of multibyte functions being tainted. 2016-12-06 17:05:02 +00:00
vis.h Update to a June 8th snapshot of (un)vis form NetBSD. 2016-06-08 18:21:27 +00:00