NetBSD-Bugs archive

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

PR/44092 CVS commit: src/sys/netsmb

The following reply was made to PR kern/44092; it has been noted by GNATS.

From: "Takeshi Nakayama" <>
Subject: PR/44092 CVS commit: src/sys/netsmb
Date: Fri, 11 May 2012 14:51:39 +0000

 Module Name:   src
 Committed By:  nakayama
 Date:          Fri May 11 14:51:39 UTC 2012
 Modified Files:
        src/sys/netsmb: subr_mchain.c
 Log Message:
 Since "len" has changed to (unsinged) size_t, the while loop
 condition (len > 0) became less able to detect its underflow.
 So check the subtrahend to avoid the underflow.
 Should fix PR kern/44092.
 To generate a diff of this commit:
 cvs rdiff -u -r1.20 -r1.21 src/sys/netsmb/subr_mchain.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index