mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[ACPI]
- Don't attempt to parse output arguments if none were returned svn path=/trunk/; revision=46417
This commit is contained in:
parent
25b4bd1bff
commit
e10113d22d
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,10 @@ Bus_PDO_EvalMethod(PPDO_DEVICE_DATA DeviceData,
|
|||
ACPI_OBJECT *Obj = RetBuff.Pointer;
|
||||
ULONG ExtraParamLength;
|
||||
|
||||
/* If we didn't get anything back then we're done */
|
||||
if (!RetBuff.Pointer || RetBuff.Length == 0)
|
||||
return STATUS_SUCCESS;
|
||||
|
||||
switch (Obj->Type)
|
||||
{
|
||||
case ACPI_TYPE_INTEGER:
|
||||
|
|
Loading…
Reference in a new issue