]> git.pld-linux.org Git - packages/acpica.git/blob - free.patch
- updated to 20170303 with current Fedora patches
[packages/acpica.git] / free.patch
1 This prevents a segfault when an Include file does not exist.
2
3 Index: 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.059236 seconds and 3 git commands to generate.