NetBSD-Bugs archive

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

kern/41378: panic in ip_input for 5.0RC3



>Number:         41378
>Category:       kern
>Synopsis:       ifa_addr == NULL causes panic in ip_input
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 07 09:50:00 +0000 2009
>Originator:     Darren Reed
>Release:        NetBSD 5.0_RC3
>Organization:
>Environment:
pc running netbsd 5.0rc3
>Description:
panic dropped to ddb...
ip_input+35d
ipintr
softint_dispatch

+35d appears to be:
0xc0129e2d <ip_input+861>:      cmpb   $0x2,0x1(%eax)

Which goes back to:
                        if (ifa->ifa_addr->sa_family != AF_INET)
                                continue;
(AF_INET == 2) as the only suitable code on netbsd.

In this case, %eax == 0
>How-To-Repeat:
        
>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index