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)
commitc5e5c25c854e54f59291057ba47c4701b5910ebe
treedb5e5fda202a062e8f7be1791e748d266588ec1d
parenta564e4662711d384069757ce3ee5adcadc1b061d
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.
source/nmbd/nmbd_become_lmb.c
source/nmbd/nmbd_browsesync.c
source/nmbd/nmbd_incomingrequests.c
source/nmbd/nmbd_namelistdb.c
source/nmbd/nmbd_responserecordsdb.c
source/nmbd/nmbd_serverlistdb.c
source/nmbd/nmbd_subnetdb.c
source/nmbd/nmbd_winsproxy.c
source/nmbd/nmbd_workgroupdb.c