[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/44092 CVS commit: [netbsd-4-0] src/sys/netsmb
The following reply was made to PR kern/44092; it has been noted by GNATS.
From: "Jeff Rizzo" <riz%netbsd.org@localhost>
Subject: PR/44092 CVS commit: [netbsd-4-0] src/sys/netsmb
Date: Sat, 19 May 2012 17:07:50 +0000
Module Name: src
Committed By: riz
Date: Sat May 19 17:07:50 UTC 2012
src/sys/netsmb [netbsd-4-0]: subr_mchain.c
Pull up following revision(s) (requested by nakayama in ticket #1445):
sys/netsmb/subr_mchain.c: revision 1.21
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 -r220.127.116.11 -r18.104.22.168 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.
Main Index |
Thread Index |