Bug 22244 - [MFC] Uninitialized field in radix_node structure
Summary: [MFC] Uninitialized field in radix_node structure
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: Garrett Wollman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-23 17:30 UTC by daveg
Modified: 2001-03-06 01:14 UTC (History)
0 users

See Also:


Attachments
file.diff (400 bytes, patch)
2000-10-23 17:30 UTC, daveg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.