Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 03/17/2004 17:19:13
Module Name:	src
Committed By:	dyoung
Date:		Wed Mar 17 17:19:13 UTC 2004

Modified Files:
	src/sys/dev/ic: wi.c

Log Message:
Prevent a buffer overflow that's been seen in the wild.  The firmware
will sometimes return 0; subtracting 1 from that yields a too-big
buffer length.


To generate a diff of this commit:
cvs rdiff -r1.155 -r1.156 src/sys/dev/ic/wi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.