Subject: CVS commit: syssrc/sys/dev/pcmcia
To: None <source-changes@netbsd.org>
From: ITOH Yasufumi <itohy@netbsd.org>
List: source-changes
Date: 09/24/2001 17:19:11
Module Name:	syssrc
Committed By:	itohy
Date:		Mon Sep 24 14:19:11 UTC 2001

Modified Files:
	syssrc/sys/dev/pcmcia: pcmcia_cis.c

Log Message:
Add simple boundary check on CIS parsing.
I have a weird PC-card-style appliance (I'm not sure I may call it a PC card)
whose ``CIS'' reads zeros forever, which caused kernel panic.

For your interest, it is a cooling fan to be inserted to a PC card slot.


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 syssrc/sys/dev/pcmcia/pcmcia_cis.c

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