We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e63bf9 commit 23b5bbeCopy full SHA for 23b5bbe
source/components/utilities/utresrc.c
@@ -544,7 +544,7 @@ AcpiUtWalkAmlResources (
544
* The absolute minimum resource template is one EndTag descriptor.
545
* However, we will treat a lone EndTag as just a simple buffer.
546
*/
547
- if (AmlLength <= sizeof (AML_RESOURCE_END_TAG))
+ if (AmlLength < sizeof (AML_RESOURCE_END_TAG))
548
{
549
return_ACPI_STATUS (AE_AML_NO_RESOURCE_END_TAG);
550
}
0 commit comments