Bug 22244

Summary: [MFC] Uninitialized field in radix_node structure
Product: Base System Reporter: daveg <daveg>
Component: kernAssignee: Garrett Wollman <wollman>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description daveg 2000-10-23 17:30:00 UTC
The rn_mklist field of the radix_node structure is not always set to 
NULL when a radix_node is inserted into the radix tree.  This can 
cause the code to incorrectly traverse a rn_mklist list and also
causes rn_delete() to emit log messages.

Fix: zero out the rn_mklist field in the function rn_newpair().

*** radix.c     2000/05/25 17:14:47     1.2
--- radix.c     2000/10/16 17:29:25     1.3
***************
How-To-Repeat: Continual add and remove radix_node from a radix tree.
Comment 1 Garrett Wollman freebsd_committer freebsd_triage 2000-10-27 21:50:21 UTC
State Changed
From-To: open->suspended

Awaiting MFC (probably not in time for 4.2). 


Comment 2 Garrett Wollman freebsd_committer freebsd_triage 2000-10-27 21:50:21 UTC
Responsible Changed
From-To: freebsd-bugs->wollman

I did the integration.
Comment 3 Garrett Wollman freebsd_committer freebsd_triage 2001-03-06 01:14:02 UTC
State Changed
From-To: suspended->closed

obrien MFC'd the fix.