Bug 67013

Summary: A potential bug detected in /sys/netipsec/key.c
Product: Base System Reporter: Zhenmin <zli4>
Component: kernAssignee: Bruce M Simpson <bms>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Zhenmin 2004-05-21 23:10:23 UTC
The potential bug is detected by our analysis tool in file 
/sys/netipsec/key.c:3849

3849                 if (spidx0->src.sin6.sin6_scope_id &&
3850                     spidx1->src.sin6.sin6_scope_id &&
3851                     spidx0->dst.sin6.sin6_scope_id != spidx1->dst.sin6.sin6_scope_id)
3852                         return 0;
3853                 if (!key_bbcmp(&spidx0->dst.sin6.sin6_addr,
3854                     &spidx1->dst.sin6.sin6_addr, spidx0->prefd))
3855                         return 0;

How-To-Repeat: The potential bug is detected by our own analysis tool.
Comment 1 Bruce M Simpson freebsd_committer freebsd_triage 2004-06-22 17:47:01 UTC
State Changed
From-To: open->analyzed

Looks like a cut-n-pasto, awaiting further feedback from sam 
before committing. 


Comment 2 Bruce M Simpson freebsd_committer freebsd_triage 2004-06-22 17:47:01 UTC
Responsible Changed
From-To: freebsd-bugs->bms

I'll take this
Comment 3 Bruce M Simpson freebsd_committer freebsd_triage 2004-06-22 18:13:41 UTC
State Changed
From-To: analyzed->patched

Committed to -CURRENT, thanks!
Comment 4 Matteo Riondato 2005-04-08 10:03:41 UTC
This was fixed and MFCed on Jun 22 2004, so this PR can be closed.
Thanks
Best Regards
-- 
Rionda aka Matteo Riondato
Disinformato per default
G.U.F.I. Staff Member (http://www.gufi.org)
FreeSBIE Developer (http://www.freesbie.org)
Comment 5 Bruce M Simpson freebsd_committer freebsd_triage 2005-04-09 07:32:11 UTC
State Changed
From-To: patched->closed

MFC'd