Fix a valgrind error found by SMB2-COMPOUND test.
commit34a8324409961c4837e83c714fb1a285f238312d
authorJeremy Allison <jra@samba.org>
Wed, 9 Jun 2010 04:20:07 +0000 (8 21:20 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 9 Jun 2010 04:20:07 +0000 (8 21:20 -0700)
treed6372f70e6fdd55728e52c58e71c83820a727b71
parent0c5d0e1c37daf5b802e990bde8469934ae33f6cc
Fix a valgrind error found by SMB2-COMPOUND test.

If a file is closed we must also NULL out all chained_fsp
pointers when the fsp is freed to prevent invalid pointer
access.

Jeremy.
source3/smbd/files.c
source3/smbd/globals.h
source3/smbd/smb2_glue.c