summaryrefslogtreecommitdiff
path: root/source/components/executer/excreate.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/executer/excreate.c')
-rw-r--r--source/components/executer/excreate.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/components/executer/excreate.c b/source/components/executer/excreate.c
index a5148dbb49df..15b38574a1da 100644
--- a/source/components/executer/excreate.c
+++ b/source/components/executer/excreate.c
@@ -203,6 +203,12 @@ AcpiExCreateAlias (
TargetNode = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, TargetNode->Object);
}
+ /* Ensure that the target node is valid */
+ if (!TargetNode)
+ {
+ return_ACPI_STATUS (AE_NULL_OBJECT);
+ }
+
/*
* For objects that can never change (i.e., the NS node will
* permanently point to the same object), we can simply attach