diff options
author | Ryan Hill <rhill@gentoo.org> | 2006-11-18 20:48:16 +0000 |
---|---|---|
committer | Ryan Hill <rhill@gentoo.org> | 2006-11-18 20:48:16 +0000 |
commit | 7cccd62e8dd52e942d2650ab7368fe129eb12c6e (patch) | |
tree | 7fa15aded104cb84bee604f07a2a7de1665b4628 /sys-devel/prelink/files | |
parent | New upstream version (diff) | |
download | historical-7cccd62e8dd52e942d2650ab7368fe129eb12c6e.tar.gz historical-7cccd62e8dd52e942d2650ab7368fe129eb12c6e.tar.bz2 historical-7cccd62e8dd52e942d2650ab7368fe129eb12c6e.zip |
Added upstream patch fixing segfault during automated run. (bug #143753)
Package-Manager: portage-2.1.2_rc2
Diffstat (limited to 'sys-devel/prelink/files')
-rw-r--r-- | sys-devel/prelink/files/prelink-20060712-cache-segfault.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-devel/prelink/files/prelink-20060712-cache-segfault.patch b/sys-devel/prelink/files/prelink-20060712-cache-segfault.patch new file mode 100644 index 000000000000..d73b9d418645 --- /dev/null +++ b/sys-devel/prelink/files/prelink-20060712-cache-segfault.patch @@ -0,0 +1,19 @@ +https://bugs.gentoo.org/show_bug.cgi?id=143753 +https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=197451 + +diff -urN prelink-0.0.20060712.orig/src/cache.c prelink-0.0.20060712/src/cache.c +--- prelink-0.0.20060712.orig/src/cache.c 2006-08-15 23:36:13.000000000 +0000 ++++ prelink-0.0.20060712/src/cache.c 2006-08-15 23:36:34.000000000 +0000 +@@ -336,8 +336,8 @@ + struct prelink_entry *a = * (struct prelink_entry **) A; + struct prelink_entry *b = * (struct prelink_entry **) B; + +- if (a == NULL && b != NULL) +- return 1; ++ if (a == NULL) ++ return (b != NULL); + if (a != NULL && b == NULL) + return -1; + + + |