diff options
author | 2009-01-08 19:11:41 +0000 | |
---|---|---|
committer | 2009-01-08 19:11:41 +0000 | |
commit | a3eb8682ecd372e518b7d6304a638a47f4f43cef (patch) | |
tree | 4cd647a884d402f9bbf467620d49e3fe03ddd004 /dev-libs/libmix/files | |
parent | Marking git-1.6.0.6 ppc64 for bug 251343 (diff) | |
download | gentoo-2-a3eb8682ecd372e518b7d6304a638a47f4f43cef.tar.gz gentoo-2-a3eb8682ecd372e518b7d6304a638a47f4f43cef.tar.bz2 gentoo-2-a3eb8682ecd372e518b7d6304a638a47f4f43cef.zip |
Revision bump to fix NULL dereferencing thanks to Israel G. Lugo (bug #190248).
(Portage version: 2.2_rc20/cvs/Linux 2.6.25-gentoo-r7-JeR i686)
Diffstat (limited to 'dev-libs/libmix/files')
-rw-r--r-- | dev-libs/libmix/files/libmix-2.05-fix-pattern.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-libs/libmix/files/libmix-2.05-fix-pattern.patch b/dev-libs/libmix/files/libmix-2.05-fix-pattern.patch new file mode 100644 index 000000000000..58d978e96df6 --- /dev/null +++ b/dev-libs/libmix/files/libmix-2.05-fix-pattern.patch @@ -0,0 +1,12 @@ +diff -durp libmix-v2.05/misc/misc.c libmix-v2.05-fix-pattern/misc/misc.c +--- libmix-v2.05/misc/misc.c 2002-05-19 09:51:23.000000000 +0100 ++++ libmix-v2.05-fix-pattern/misc/misc.c 2007-08-25 22:48:14.000000000 +0100 +@@ -209,7 +209,7 @@ pattern(char *data, char **list) + { + int i = 0; + +- while (strcmp(list[i++], NULL) != 0) ++ while (list[i++] != NULL) + if (strstr(data, list[i]) != NULL) + return 1; + |