1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
samba-mirror/source3/registry
Jeremy Allison 2615b079f0 r13978: Here is why it's essential to use SAFE_FREE instead of free.
If we use free(data.dptr) and then the subsequent tdb_open
fails in _reg_perfcount_get_counter_data() then data.dptr
is left as a non-zero pointer that has been freed. This would
cause it to be reused later on. Coverity bug #162.
Jeremy.
(This used to be commit 053efc2098)
2007-10-10 11:11:02 -05:00
..
reg_cachehook.c r10012: fix build breakage caused by forgotten commit in local tree 2007-10-10 11:03:31 -05:00
reg_db.c r13915: Fixed a very interesting class of realloc() bugs found by Coverity. 2007-10-10 11:10:59 -05:00
reg_dynamic.c r10656: BIG merge from trunk. Features not copied over 2007-10-10 11:04:48 -05:00
reg_eventlog.c r12002: patch from marcin to allow for the creation of a File value in the eventlog registry keys so that file properties can be displayed 2007-10-10 11:05:41 -05:00
reg_frontend.c r11579: syncing up perf counter code cfrom trunk 2007-10-10 11:05:21 -05:00
reg_objects.c r10656: BIG merge from trunk. Features not copied over 2007-10-10 11:04:48 -05:00
reg_perfcount.c r13978: Here is why it's essential to use SAFE_FREE instead of free. 2007-10-10 11:11:02 -05:00
reg_printing.c r13915: Fixed a very interesting class of realloc() bugs found by Coverity. 2007-10-10 11:10:59 -05:00
reg_shares.c r7908: * change REGISTRY_HOOK api to use const (fix compiler warning 2007-10-10 10:58:03 -05:00
reg_util.c r11136: patches from Brian Moran for eventlogadm utility 2007-10-10 11:05:02 -05:00
regfio.c r10656: BIG merge from trunk. Features not copied over 2007-10-10 11:04:48 -05:00