NetBSD-Bugs archive

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

bin/48413: kdump sign extension bug



>Number:         48413
>Category:       bin
>Synopsis:       Inappropriate sign extension in kdump output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 27 19:05:00 +0000 2013
>Originator:     john%iastate.edu@localhost
>Release:        NetBSD 6.1.2
>Organization:
Iowa State University
>Environment:
System: NetBSD vs-2.iastate.edu 6.1.2 NetBSD 6.1.2 (GENERIC) amd64
Architecture: x86_64
Machine: amd64
>Description:
This line:
         25891      1 zephyrd  MISC  sockname: 16, 
10020837ffffff81ffffffbaffffff8effffffc70000000000000000
should read:
         25891      1 zephyrd  MISC  sockname: 16, 
1002083781ba8ec70000000000000000
>How-To-Repeat:
        ktrace -p N, N the pid of some process with a socket to an ip address 
which has one or more octets > 0x7f
        kdump | grep 'MISC.*sockname:'
>Fix:
        something along the lines of ''(byte & 255)'' I presume.



Home | Main Index | Thread Index | Old Index