|
|
88c41d |
This prevents a segfault when an Include file does not exist.
|
|
|
88c41d |
|
|
|
88c41d |
Index: acpica-unix2-20170929/source/compiler/aslfiles.c
|
|
|
88c41d |
===================================================================
|
|
|
88c41d |
--- acpica-unix2-20170929.orig/source/compiler/aslfiles.c
|
|
|
88c41d |
+++ acpica-unix2-20170929/source/compiler/aslfiles.c
|
|
|
88c41d |
@@ -318,7 +318,7 @@ FlOpenIncludeWithPrefix (
|
|
|
88c41d |
if (!IncludeFile)
|
|
|
88c41d |
{
|
|
|
88c41d |
fprintf (stderr, "Could not open include file %s\n", Pathname);
|
|
|
88c41d |
- ACPI_FREE (Pathname);
|
|
|
88c41d |
+ /* ACPI_FREE (Pathname); <-- forces free() segfault */
|
|
|
88c41d |
return (NULL);
|
|
|
88c41d |
}
|
|
|
88c41d |
|