summaryrefslogtreecommitdiff
path: root/source/compiler/aslopcodes.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2020-11-13 21:41:15 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2020-11-13 21:41:15 +0000
commit960614968e0da10b32875a57ea1e30cc9c85b5e0 (patch)
treeaaf48208a3fb6bc556d860f5100f5a26b92a4a96 /source/compiler/aslopcodes.c
parente09636e66f40fad3b03a8dd4b86b1a371c435631 (diff)
Notes
Diffstat (limited to 'source/compiler/aslopcodes.c')
-rw-r--r--source/compiler/aslopcodes.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/compiler/aslopcodes.c b/source/compiler/aslopcodes.c
index 14eb63ddcdb2..b2a0236503d7 100644
--- a/source/compiler/aslopcodes.c
+++ b/source/compiler/aslopcodes.c
@@ -798,7 +798,13 @@ OpcDoUuId (
}
else
{
+ /* Convert UUID string to a buffer, check for a known UUID */
+
AcpiUtConvertStringToUuid (InString, Buffer);
+ if (!AcpiAhMatchUuid (Buffer))
+ {
+ AslError (ASL_REMARK, ASL_MSG_UUID_NOT_FOUND, Op, NULL);
+ }
}
/* Change Op to a Buffer */