summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-04-10 04:34:38 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-04-10 04:34:38 +0000
commite16866c9deea717881d0d264f17d900235a341e7 (patch)
tree44117b261f32388e63ffd51f7f1016d150bd790a /sys-apps/dog/files
parentQA, remove version for bug 209710 (diff)
downloadhistorical-e16866c9deea717881d0d264f17d900235a341e7.tar.gz
historical-e16866c9deea717881d0d264f17d900235a341e7.tar.bz2
historical-e16866c9deea717881d0d264f17d900235a341e7.zip
Fix strfry issue if len = 0. bug 251675, patch by bob5972
Package-Manager: portage-2.1.6.11/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/dog/files')
-rw-r--r--sys-apps/dog/files/dog-1.7-strfry.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-apps/dog/files/dog-1.7-strfry.patch b/sys-apps/dog/files/dog-1.7-strfry.patch
new file mode 100644
index 000000000000..b62b815aed50
--- /dev/null
+++ b/sys-apps/dog/files/dog-1.7-strfry.patch
@@ -0,0 +1,13 @@
+See Gentoo bug 251675. Upstream appears to be dead.
+
+--- dog.c.orig 2009-04-09 23:29:16.307661147 -0500
++++ dog.c 2009-04-09 23:30:11.353664890 -0500
+@@ -552,7 +552,7 @@
+
+ // strfry()
+ #if ALLOW_STRFRY
+- if (opt_strfry) {
++ if (opt_strfry && str_len > 0) {
+ strfry(str);
+ }
+ #endif