diff options
author | Volker Lendecke <vl@samba.org> | 2014-03-03 12:20:41 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-03-03 14:29:24 +0100 |
commit | ccc187ff5e6cbc411476c5f5e68cc6bb1fe35818 (patch) | |
tree | 6dfaf1e3ce9c0a3d44bd4eed9640dbb8fb4bef1f /source3/smbd/reply.c | |
parent | 925625b52886d40b50fc631bad8bdc81970f7598 (diff) | |
download | samba-ccc187ff5e6cbc411476c5f5e68cc6bb1fe35818.tar.gz samba-ccc187ff5e6cbc411476c5f5e68cc6bb1fe35818.tar.xz samba-ccc187ff5e6cbc411476c5f5e68cc6bb1fe35818.zip |
pthreadpool: Fix pthreadpools with fork
The current could would crash if a pthreadpool was created, deleted and the
process then fork()s. "pthreadpools" is NULL in this case, but the
pthread_atfork handlers are in place. This fixes walking the pthreadpools list
in reverse.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
Reviewed-by: Simo Sorce <simo@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd/reply.c')
0 files changed, 0 insertions, 0 deletions