From b9098066cd6284319bca922f13e59517f774a103 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Wed, 25 Nov 2015 21:04:42 +0000 Subject: Import ACPICA 20151124. --- source/compiler/asluuid.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source/compiler/asluuid.c') 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); -- cgit v1.2.3