Subject: CVS commit: src/sys/arch/macppc/dev
To: None <source-changes@NetBSD.org>
From: Allen Briggs <briggs@netbsd.org>
List: source-changes
Date: 01/07/2005 04:59:58
Module Name:	src
Committed By:	briggs
Date:		Fri Jan  7 04:59:58 UTC 2005

Modified Files:
	src/sys/arch/macppc/dev: pm_direct.h

Log Message:
Increase buffer from 32 bytes to 128 bytes in PMData.  I have observed a
response from the device that had 120 bytes of data.  The lack of any
bounds-checking in pm_direct.c allowed that data to smash the stack in
the interrupt handler.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/sys/arch/macppc/dev/pm_direct.h

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