[Freeipa-devel] [PATCH] [SSSD] Enhancements and bugfixes to util/btreemap.c

Stephen Gallagher sgallagh at redhat.com
Mon Feb 16 20:54:27 UTC 2009


1) Remove useless and unused btreemap_new()

2) Fix potentially serious memory allocation error. btreemap now
requires a TALLOC_CTX to be passed in for assignment to the top node of
the tree. Previously it was creating a new root TALLOC_CTX

3) Add new function btreemap_get_keys that will return a sorted array
(newly allocated using talloc_realloc()) of keys (const void *)

4) Change the btreemap to use (const void *) keys instead of (void *)

-- 
Stephen Gallagher
RHCE 804006346421761

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Enhancements-and-bugfixes-to-util-btreemap.c.patch
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090216/bd2a43bf/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090216/bd2a43bf/attachment.sig>


More information about the Freeipa-devel mailing list