[#]
http://marc.info/?l=openbsd-cvs&m=140840054302607&w=2
openbsd-cvs(obsdave,2) — All
2014-08-19 02:55:09
Module name: src
Changes by: schwarze@cvs.openbsd.org 2014/08/18 16:21:52
Modified files:
usr.bin/mandoc : term.c
Log message:
Fix read access to uninitialized memory found by kristaps@ with valgrind,
patch from kristaps@.
Theoretically, this could lead to a buffer overrun and segfault,
but only for very long output lines (about 1000 charecters) of
exactly the right length or if by ill chance, the complete unused,
uninitialized tail of the line output buffer (at least 1000 characters
total length) would contain all blank characters. Anyway, the
uninitialized data read wasn't used for anything.