diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2020-11-13 21:41:15 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2020-11-13 21:41:15 +0000 |
commit | 960614968e0da10b32875a57ea1e30cc9c85b5e0 (patch) | |
tree | aaf48208a3fb6bc556d860f5100f5a26b92a4a96 /source/compiler/aslopcodes.c | |
parent | e09636e66f40fad3b03a8dd4b86b1a371c435631 (diff) |
Notes
Diffstat (limited to 'source/compiler/aslopcodes.c')
-rw-r--r-- | source/compiler/aslopcodes.c | 6 |
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 */ |