diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2006-11-18 20:48:16 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2006-11-18 20:48:16 +0000 |
commit | 38752c5a465e9bef79b7f0e0f9390c21781cab46 (patch) | |
tree | 64421a1eafb78eee334149d49d74e5d5c5212062 /sys-devel/prelink/files | |
parent | New upstream version (diff) | |
download | gentoo-2-38752c5a465e9bef79b7f0e0f9390c21781cab46.tar.gz gentoo-2-38752c5a465e9bef79b7f0e0f9390c21781cab46.tar.bz2 gentoo-2-38752c5a465e9bef79b7f0e0f9390c21781cab46.zip |
Added upstream patch fixing segfault during automated run. (bug #143753)
(Portage version: 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; + + + |