summaryrefslogtreecommitdiff
path: root/lib/util/idtree.c
AgeCommit message (Expand)AuthorFilesLines
2023-10-13lib:util: Remove always‐false comparison (CID 242193)Joseph Sutton1-1/+1
2018-11-22lib:util: Fix undefined behavior in idtreeAndreas Schneider1-3/+3
2016-02-26lib/util/idtree.c: fix UB by using uint in left-shiftAurelien Aptel1-1/+1
2015-12-01lib: Fix an array subscript is above array bounds errorAndreas Schneider1-1/+6
2015-07-17lib/util: include config.h before any glibc headersUri Simchoni1-1/+1
2014-12-09lib: Fix blank line endingsVolker Lendecke1-8/+8
2014-09-19lib/util: Move idr_get_new_random() to new source file idtree_random.cMartin Schwenke1-23/+4
2014-09-19util: Fix indentationMartin Schwenke1-1/+1
2010-12-06idtree: fix overflow for v. large ids on allocation and removalRusty Russell1-1/+1
2010-10-06idtree: fix right shift of signed ints, crash on large ids on AIXRusty Russell1-1/+1
2010-06-10Since idtree assigns sequentially, it rarely reaches high numbers.Rusty Russell1-3/+5
2009-04-01lib/util: fallback to any id in idr_get_new_random()Stefan Metzmacher1-2/+6
2009-02-02lib/util: s/new/pn in idtree.cStefan Metzmacher1-16/+16
2008-10-11Move lib/util from source4 to top-level libutil.Jelmer Vernooij1-0/+403