diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-12-06 13:35:50 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-12-06 05:02:22 +0100 |
commit | 521e96ca751df072e5c71d3844ed5708b79ac69d (patch) | |
tree | d8fbcb3d84a1a50fb2d5e32cc10fbf6af7292428 /lib/replace/repdir_getdirentries.c | |
parent | af5649d5f87e0c8b85eb950a253a4e65cca8ccd0 (diff) | |
download | samba-521e96ca751df072e5c71d3844ed5708b79ac69d.tar.gz samba-521e96ca751df072e5c71d3844ed5708b79ac69d.tar.bz2 samba-521e96ca751df072e5c71d3844ed5708b79ac69d.zip |
idtree: fix overflow for v. large ids on allocation and removal
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
2db1987f5a3a).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Mon Dec 6 05:02:22 CET 2010 on sn-devel-104
Diffstat (limited to 'lib/replace/repdir_getdirentries.c')
0 files changed, 0 insertions, 0 deletions