CVSROOT: /cvs Module name: src Changes by: [email protected] 2012/01/05 14:46:15
Modified files:
usr.bin/man : man.c
Log message:
When iterating a TAILQ list replacing elements,
get a pointer to the next element before freeing the previous one,
do not access free'd pointers. Problem found the hard way
by fgsch@ running "man -a x" with malloc.conf -> S on amd64.
ok deraadt@
