]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When checking if there is a stack to free, observe the fact that it
authorjb <jb@FreeBSD.org>
Fri, 20 Aug 1999 12:17:09 +0000 (12:17 +0000)
committerjb <jb@FreeBSD.org>
Fri, 20 Aug 1999 12:17:09 +0000 (12:17 +0000)
commitc6637d28b3ca72411273a6044b5ac622089d3bf3
treed47b6c7116b489ccd0ff25b0e0620313075bf068
parent9deab5cc4784f9cc208ac1f040ef3379f1e59fff
When checking if there is a stack to free, observe the fact that it
might have been mmapped, and if so, passing the pointer to free() is
really not a good idea.

[ In the next millenium, when I've taken over the world, I'm going
  to ban 8 character tabs. You've been warned. ]
lib/libc_r/uthread/uthread_fork.c
lib/libkse/thread/thr_fork.c
lib/libpthread/thread/thr_fork.c