CVS update: samba/source/lib
Andrew Tridgell
tridge at samba.org
Tue Apr 11 23:52:36 EST 2000
Date: Tuesday April 11, 2000 @ 23:52
Author: tridge
Update of /data/cvs/samba/source/lib
In directory samba:/tmp/cvs-serv4407
Modified Files:
access.c util.c util_sock.c
Log Message:
finally got sick of the "extern int Client" code and the stupid
assumption that we have one socket everywhere
while doing so I discovered a few bugs!
1) the clientgen session retarget code if used from smbd or nmbd would
cause a crash as it called close_sockets() which closed our main
socket! fixed by removing close_sockets() completely - it is unnecessary
2) the caching in client_addr() and client_name() was bogus - it could
easily get fooled and give the wrong result. fixed.
3) the retarget could could recurse, allowing an easy denial of
service attack on nmbd. fixed.
More information about the samba-cvs
mailing list