SOURCES: bzip2-bzgrep.patch (NEW) - fixes CAN-2005-0758 - taken fr...

blues blues at pld-linux.org
Tue Jun 13 23:36:20 CEST 2006


Author: blues                        Date: Tue Jun 13 21:36:20 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixes CAN-2005-0758 - taken from FC

---- Files affected:
SOURCES:
   bzip2-bzgrep.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/bzip2-bzgrep.patch
diff -u /dev/null SOURCES/bzip2-bzgrep.patch:1.1
--- /dev/null	Tue Jun 13 23:36:20 2006
+++ SOURCES/bzip2-bzgrep.patch	Tue Jun 13 23:36:15 2006
@@ -0,0 +1,15 @@
+--- bzip2-1.0.2/bzgrep.flaw	2005-06-07 13:43:01.000000000 +0200
++++ bzip2-1.0.2/bzgrep	2005-06-07 14:07:50.000000000 +0200
+@@ -63,7 +63,11 @@
+     bzip2 -cdfq "$i" | $grep $opt "$pat"
+     r=$?
+   else
+-    bzip2 -cdfq "$i" | $grep $opt "$pat" | sed "s|^|${i}:|"
++    j=${i//\\\\/\\\\}
++    j=${j//|/\\|}
++    j=${j//&/\\&}
++    j=`printf "%s" "$j" | tr '\n' ' '`
++    bzip2 -cdfq "$i" | $grep $opt "$pat" | sed "s|^|${j}:|"
+     r=$?
+   fi
+   test "$r" -ne 0 && res="$r"
================================================================


More information about the pld-cvs-commit mailing list