summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2014-08-12 11:45:57 +0000
committerhselasky <hselasky@FreeBSD.org>2014-08-12 11:45:57 +0000
commitfa7375463644b309fcb4adeb66da3786af3d2241 (patch)
treead8d0c8139d7f48fa15f50b96e737a77f8e4b740 /lib
parentb57b7cb252a8bddd9637ed70561f04f0de62bd5c (diff)
downloadFreeBSD-src-fa7375463644b309fcb4adeb66da3786af3d2241.zip
FreeBSD-src-fa7375463644b309fcb4adeb66da3786af3d2241.tar.gz
- Fix radix tree memory leakage when unloading modules using radix
trees. This happens because the logic inserting items into the radix tree is allocating empty radix levels, when index zero does not contain any items. - Add proper error case handling, so that the radix tree does not end up in a bad state, if memory cannot be allocated during insertion of an item. - Add check for inserting NULL items into the radix tree. - Add check for radix tree getting too big. MFC after: 1 week Sponsored by: Mellanox Technologies
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud