diff options
Diffstat (limited to 'source/components/utilities/utstring.c')
| -rw-r--r-- | source/components/utilities/utstring.c | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/source/components/utilities/utstring.c b/source/components/utilities/utstring.c index c8b41f10ad78..5c761b785b14 100644 --- a/source/components/utilities/utstring.c +++ b/source/components/utilities/utstring.c @@ -271,6 +271,15 @@ AcpiUtRepairName (      ACPI_FUNCTION_NAME (UtRepairName); +    /* +     * Special case for the root node. This can happen if we get an +     * error during the execution of module-level code. +     */ +    if (ACPI_COMPARE_NAME (Name, "\\___")) +    { +        return; +    } +      ACPI_MOVE_NAME (&OriginalName, Name);      /* Check each character in the name */ | 
