added some defensive programming to nmbd. This mostly means zeroing
authorAndrew Tridgell <tridge@samba.org>
Sun, 30 Aug 1998 04:27:26 +0000 (04:27 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 30 Aug 1998 04:27:26 +0000 (04:27 +0000)
commit1778debff146423e3543d40c2fe8413a34888a27
tree41119cab58d30a359cd0082ddf3a3ab86e93932b
parent48514704c2825bcde8bed3b92255ba2abcb955b4
added some defensive programming to nmbd. This mostly means zeroing
areas of memory before freeing them.

While doing this I also found a couple of real bugs. In two places we
were freeing some memory that came from the stack, which leads to
a certain core dump on many sytems.
(This used to be commit c5e5c25c854e54f59291057ba47c4701b5910ebe)
source3/nmbd/nmbd_become_lmb.c
source3/nmbd/nmbd_browsesync.c
source3/nmbd/nmbd_incomingrequests.c
source3/nmbd/nmbd_namelistdb.c
source3/nmbd/nmbd_responserecordsdb.c
source3/nmbd/nmbd_serverlistdb.c
source3/nmbd/nmbd_subnetdb.c
source3/nmbd/nmbd_winsproxy.c
source3/nmbd/nmbd_workgroupdb.c