]> git.pld-linux.org Git - packages/chrpath.git/commitdiff
- fix SEGV
authorMichal Moskal <michal@moskal.me>
Tue, 5 Nov 2002 15:00:55 +0000 (15:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    chrpath-SEGV.patch -> 1.1

chrpath-SEGV.patch [new file with mode: 0644]

diff --git a/chrpath-SEGV.patch b/chrpath-SEGV.patch
new file mode 100644 (file)
index 0000000..f4345c2
--- /dev/null
@@ -0,0 +1,20 @@
+--- chrpath-0.9/chrpath.c~     Tue Sep 17 12:59:42 2002
++++ chrpath-0.9/chrpath.c      Tue Nov  5 16:00:48 2002
+@@ -198,8 +198,6 @@
+   printf("%s: %s=%s\n", filename, elf_tagname(dyns[rpath_dyns_index].d_tag),
+          rpath);
+-  free(dyns);
+-  dyns = NULL;
+   if (NULL == newpath)
+   {
+@@ -246,6 +244,8 @@
+   }
+   printf("%s: new %s: %s\n", filename,
+          elf_tagname(dyns[rpath_dyns_index].d_tag), rpath);
++  free(dyns);
++  dyns = NULL;
+   elf_close(fd);
This page took 0.101506 seconds and 4 git commands to generate.