]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allocate red zone and stack space together and then split red zone from
authorDavid Xu <davidxu@FreeBSD.org>
Wed, 6 Oct 2004 08:11:07 +0000 (08:11 +0000)
committerDavid Xu <davidxu@FreeBSD.org>
Wed, 6 Oct 2004 08:11:07 +0000 (08:11 +0000)
commitde97eeddd3854ecc39ffdbe1bd57776725d936b6
tree700e926ec41739f4ca505e8842f93ab879e73df2
parent5cee9db399852967270556ae73d47dc5341c477e
Allocate red zone and stack space together and then split red zone from
allocated space, orignal code left red zone unallocated, but those space
can be allocated by user code, and result was providing no protection.
lib/libkse/thread/thr_stack.c
lib/libpthread/thread/thr_stack.c