]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When checking if there is a stack to free, observe the fact that it
authorJohn Birrell <jb@FreeBSD.org>
Fri, 20 Aug 1999 12:17:09 +0000 (12:17 +0000)
committerJohn Birrell <jb@FreeBSD.org>
Fri, 20 Aug 1999 12:17:09 +0000 (12:17 +0000)
commite4065e8294ff8c282af0f945b19542cd28ac18db
treeb24e2c3a2122e83e264871b462a222550c0e0974
parent7a4acb8075c979c39646b6e812a5b5c5a1ac5357
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