NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/54979 CVS commit: src/common/lib/libc/gen

The following reply was made to PR kern/54979; it has been noted by GNATS.

From: "Andrew Doran" <>
Subject: PR/54979 CVS commit: src/common/lib/libc/gen
Date: Fri, 10 Apr 2020 23:43:05 +0000

 Module Name:	src
 Committed By:	ad
 Date:		Fri Apr 10 23:43:05 UTC 2020
 Modified Files:
 	src/common/lib/libc/gen: radixtree.c
 Log Message:
 PR kern/54979 (radixtree might misbehave if ENOMEM)
 - radix_tree_insert_node(): if the insert failed due to ENOMEM, roll back
   any updates made to the tree.
 - radix_tree_grow(): either succeed or fail, never make partial adjustments
   to the tree.
 - radix_tree_await_memory(): allocate & free the maximum possible number of
   nodes required by any insertion.
 To generate a diff of this commit:
 cvs rdiff -u -r1.24 -r1.25 src/common/lib/libc/gen/radixtree.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index