summaryrefslogtreecommitdiff
path: root/source/components/utilities/utresrc.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2016-12-23 04:35:14 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2016-12-23 04:35:14 +0000
commitf2e6c39316f68b7ccc7abb766f82ed421c8e22b4 (patch)
tree2c9acd96afc9afb47a31a88c97ac4907faee46d9 /source/components/utilities/utresrc.c
parenta56e3c255d5c5dfa4dd3a2fda4705a1607a6b7f3 (diff)
Notes
Diffstat (limited to 'source/components/utilities/utresrc.c')
-rw-r--r--source/components/utilities/utresrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/components/utilities/utresrc.c b/source/components/utilities/utresrc.c
index 8c44a1cab8f8..a3b0523fc8da 100644
--- a/source/components/utilities/utresrc.c
+++ b/source/components/utilities/utresrc.c
@@ -472,7 +472,7 @@ AcpiUtWalkAmlResources (
* The absolute minimum resource template is one EndTag descriptor.
* However, we will treat a lone EndTag as just a simple buffer.
*/
- if (AmlLength <= sizeof (AML_RESOURCE_END_TAG))
+ if (AmlLength < sizeof (AML_RESOURCE_END_TAG))
{
return_ACPI_STATUS (AE_AML_NO_RESOURCE_END_TAG);
}