diff options
Diffstat (limited to 'source/compiler/asluuid.c')
-rw-r--r-- | source/compiler/asluuid.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/compiler/asluuid.c b/source/compiler/asluuid.c index 86ca83a7fce7..ebb72c4f5fef 100644 --- a/source/compiler/asluuid.c +++ b/source/compiler/asluuid.c @@ -47,7 +47,7 @@ ACPI_MODULE_NAME ("asluuid") -extern UINT8 AcpiGbl_MapToUuidOffset[UUID_BUFFER_LENGTH]; +extern UINT8 AcpiGbl_MapToUuidOffset[UUID_BUFFER_LENGTH]; /******************************************************************************* @@ -90,11 +90,10 @@ AuValidateUuid ( return (AE_BAD_PARAMETER); } } - - /* All other positions must contain hex digits */ - else { + /* All other positions must contain hex digits */ + if (!isxdigit ((int) InString[i])) { return (AE_BAD_PARAMETER); |