]> git.pld-linux.org Git - packages/acpica.git/blame - free.patch
- updated to 20170303 with current Fedora patches
[packages/acpica.git] / free.patch
CommitLineData
77760c90
JB
1This prevents a segfault when an Include file does not exist.
2
3Index: acpica-unix2-20161222/source/compiler/aslfiles.c
4===================================================================
5--- acpica-unix2-20161222.orig/source/compiler/aslfiles.c
6+++ acpica-unix2-20161222/source/compiler/aslfiles.c
7@@ -319,7 +319,7 @@ FlOpenIncludeWithPrefix (
8 if (!IncludeFile)
9 {
10 fprintf (stderr, "Could not open include file %s\n", Pathname);
11- ACPI_FREE (Pathname);
12+ /* ACPI_FREE (Pathname); <-- forces free() segfault */
13 return (NULL);
14 }
15
This page took 0.07823 seconds and 4 git commands to generate.