bin/101642: kdump misinterprets setsockopt arg 3
Poul-Henning Kamp
phk at critter.freebsd.dk
Tue Aug 8 08:20:31 UTC 2006
>Number: 101642
>Category: bin
>Synopsis: kdump misinterprets setsockopt arg 3
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 08 08:20:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Poul-Henning Kamp
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD critter.freebsd.dk 7.0-CURRENT FreeBSD 7.0-CURRENT #5: Wed Jul 5 22:14:32 UTC 2006 root at critter.freebsd.dk:/critter/obj/critter/src/sys/TP41P i386
>Description:
kdump interprets the 3 argument of setsockopt as a bitmap,
that is wrong, it's an enumerated lists. The appearance of
a bitmap is caused by the assigned values for a subset of
the enums being suitable for the kernel using them in a bitmap.
>How-To-Repeat:
ktrace a program which sets SO_SNDTIMEO
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list