CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        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.

Reply via email to