8d92670606
getting invoked; need to resolve this with upstream, but this patch at least allows one to continue using iasl until then. Signed-off-by: Al Stone <ahs3@redhat.com>
15 lines
611 B
Diff
15 lines
611 B
Diff
This prevents a segfault when an Include file does not exist.
|
|
|
|
diff -Naur acpica-unix2-20160930/source/compiler/aslfiles.c acpica-unix2-20160930-s390/source/compiler/aslfiles.c
|
|
--- acpica-unix2-20160930/source/compiler/aslfiles.c 2016-09-30 10:43:56.000000000 -0600
|
|
+++ acpica-unix2-20160930-s390/source/compiler/aslfiles.c 2016-12-06 18:55:08.693785207 -0700
|
|
@@ -319,7 +319,7 @@
|
|
if (!IncludeFile)
|
|
{
|
|
fprintf (stderr, "Could not open include file %s\n", Pathname);
|
|
- ACPI_FREE (Pathname);
|
|
+ /* ACPI_FREE (Pathname); <-- forces free() segfault */
|
|
return (NULL);
|
|
}
|
|
|