Buffer length fix

date	2001.11.27.23.46.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 18:45:01 +00:00
parent 3393f25f7c
commit a4aa755ee7

View File

@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: rscreate - Create resource lists/tables
* $Revision: 1.38 $
* $Revision: 1.39 $
*
******************************************************************************/
@ -266,6 +266,7 @@ AcpiRsCreatePciRoutingTable (
if (BufferSizeNeeded > *OutputBufferLength)
{
*OutputBufferLength = BufferSizeNeeded;
return_ACPI_STATUS (AE_BUFFER_OVERFLOW);
}
*OutputBufferLength = BufferSizeNeeded;