1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/ctdb/lib/util
Rusty Russell 4b9e5fbe46 idtree: fix overflow for v. large ids on allocation and removal
(Imported from SAMBA commit 09a6538969ac).

Chris Cowan tracked down a SEGV in sub_alloc: idp->level can actually
be equal to 7 (MAX_LEVEL) there, as it can be in sub_remove.

(We unfairly blamed a shift of a signed var for this crash in commit
 2db1987f5a).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

(This used to be ctdb commit 73764104356d3738d9d20a9d06ce51535f74f475)
2010-12-07 15:37:25 +11:00
..
db_wrap.c event: Update events to latest Samba version 0.9.8 2010-08-18 09:16:31 +09:30
db_wrap.h update lib/replace from samba4 2007-07-10 15:29:31 +10:00
debug.c logging: give a unique logging name to each forked child. 2010-08-18 11:46:32 +09:30
debug.h logging: give a unique logging name to each forked child. 2010-08-18 11:46:32 +09:30
dlinklist.h ctdb: migrate to new dlinklist.h from Samba 2010-02-09 09:20:55 +11:00
fault.c lib/util: add pre and post panic action hooks 2010-01-20 09:44:36 +01:00
fault.m4 lib/util: import fault/backtrace handling from samba. 2010-01-20 09:44:36 +01:00
idtree.c idtree: fix overflow for v. large ids on allocation and removal 2010-12-07 15:37:25 +11:00
signal.c lib/util: import fault/backtrace handling from samba. 2010-01-20 09:44:36 +01:00
signal.m4 lib/util: import fault/backtrace handling from samba. 2010-01-20 09:44:36 +01:00
strlist.c update lib/replace from samba4 2007-07-10 15:29:31 +10:00
substitute.c lib/util: import fault/backtrace handling from samba. 2010-01-20 09:44:36 +01:00
util_file.c minor back-merge from samba4 2007-07-10 18:13:47 +10:00
util_time.c track both when we last started and ended a recovery. 2008-07-02 13:55:59 +10:00
util.c update lib/replace from samba4 2007-07-10 15:29:31 +10:00
util.h talloc: update to 2.0.3 version from SAMBA 2010-08-18 09:11:58 +09:30