summaryrefslogtreecommitdiffstats
path: root/source/smbd/files.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-09-01 01:10:01 +0000
committerAndrew Tridgell <tridge@samba.org>1998-09-01 01:10:01 +0000
commit9fee8c2eb7bd05431cd9bcfbed3804c8ca1ee593 (patch)
tree871041741b486d15a27950bd6a72b74340d54ad6 /source/smbd/files.c
parent3d9ec96de5e04e83abafe9c5d980bd39eee856ea (diff)
downloadsamba-9fee8c2eb7bd05431cd9bcfbed3804c8ca1ee593.tar.gz
samba-9fee8c2eb7bd05431cd9bcfbed3804c8ca1ee593.tar.xz
samba-9fee8c2eb7bd05431cd9bcfbed3804c8ca1ee593.zip
check that a valid pipe is passed before doing a pipe close.
I made this change after getting a segv in reply_pipe_close(). The funny thing was that pipes_open was 1 and Pipes was NULL. That "can't happen" and suggests that we have a wild pointer somewhere. I suspect the rpc code, as I was playing with long share names (a share called "averylongusername") at the time and the logs show lots of srvsvc operations. I bet there is a buffer in the rpc code somewhere that is overflowing and trashing bits of the data segment.
Diffstat (limited to 'source/smbd/files.c')
0 files changed, 0 insertions, 0 deletions