CVS commit: [netbsd-4-0] src/sys/netsmb
Module Name:src Committed By: riz Date: Sat May 19 17:07:50 UTC 2012 Modified Files: src/sys/netsmb [netbsd-4-0]: subr_mchain.c Log Message: 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 -r1.13.28.1 -r1.13.28.2 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.
CVS commit: [netbsd-4-0] src/sys/netsmb
Module Name:src Committed By: riz Date: Thu Jul 22 20:34:17 UTC 2010 Modified Files: src/sys/netsmb [netbsd-4-0]: mchain.h smb_dev.h smb_subr.c smb_subr.h subr_mchain.c Log Message: Pull up following revision(s) (requested by christos in ticket #1398): sys/netsmb/subr_mchain.c: revision 1.19 via patch sys/netsmb/smb_subr.c: revision 1.35 sys/netsmb/smb_subr.h: revision 1.19 sys/netsmb/mchain.h: revision 1.9 via patch sys/netsmb/smb_dev.h: revision 1.7 Convert sizes/lengths to unsigned (size_t) or uint32_t (for binary compatibility). To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.6.34.1 src/sys/netsmb/mchain.h cvs rdiff -u -r1.6 -r1.6.52.1 src/sys/netsmb/smb_dev.h cvs rdiff -u -r1.29 -r1.29.8.1 src/sys/netsmb/smb_subr.c cvs rdiff -u -r1.16 -r1.16.46.1 src/sys/netsmb/smb_subr.h cvs rdiff -u -r1.13 -r1.13.28.1 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.