mirror of
https://github.com/acpica/acpica/
synced 2025-01-16 06:19:19 +03:00
Buffer length fix
date 2001.11.27.23.46.00; author rmoore1; state Exp;
This commit is contained in:
parent
3393f25f7c
commit
a4aa755ee7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user