summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/apropos.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2012-01-05 21:46:16 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2012-01-05 21:46:16 +0000
commite7734894cb54fea075311bd05348f9d256f45d95 (patch)
treeff82f6cdc3534cccbaae3d5e62d530a7475f3cc3 /usr.bin/mandoc/apropos.c
parentdd36afb6a78cfffb1b4c5b9dcf200262bd4ada41 (diff)
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@
Diffstat (limited to 'usr.bin/mandoc/apropos.c')
0 files changed, 0 insertions, 0 deletions