summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-06-03 00:54:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:51 -0500
commit68e72e389b71fac43b77781c97e3807c690f243a (patch)
tree31d7f3791191969a931ef782f8b5c2bad92d504b /source4/lib/ldb/common
parent18cc835e8af99a9c10e5f9b5562bac2f8f0d74b4 (diff)
downloadsamba-68e72e389b71fac43b77781c97e3807c690f243a.tar.gz
samba-68e72e389b71fac43b77781c97e3807c690f243a.tar.bz2
samba-68e72e389b71fac43b77781c97e3807c690f243a.zip
r16021: While studying how to make samldb really async I found a critical situation handled in the incorrect way.
A while(1) loop may end up looping forever consuming all valid RIDs because of a secondary bug. And anyway nextRid is supposed to always give back a new unique RID, if someone messed up the database let him fix the problem first, trying to be smart here would probably end up in worst results. Simo. (This used to be commit 6b214f232eefc4ffbc98dfb68c99d1f0c97ae6db)
Diffstat (limited to 'source4/lib/ldb/common')
0 files changed, 0 insertions, 0 deletions