]> git.pld-linux.org Git - packages/file.git/commitdiff
- fix for [CVE-2007-2026] auto/th/file-4_20-2
authorAndrzej Zawadzki <zawadaa@gmail.com>
Fri, 20 Apr 2007 08:38:23 +0000 (08:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    file-DoS.patch -> 1.1

file-DoS.patch [new file with mode: 0644]

diff --git a/file-DoS.patch b/file-DoS.patch
new file mode 100644 (file)
index 0000000..d358214
--- /dev/null
@@ -0,0 +1,13 @@
+--- file-4.20/magic/Magdir/msdos.orig  2007-04-20 08:12:44.000000000 +0000
++++ file-4.20/magic/Magdir/msdos       2007-04-20 08:16:55.000000000 +0000
+@@ -13,8 +13,8 @@
+ # OS/2 batch files are REXX. the second regex is a bit generic, oh well
+ # the matched commands seem to be common in REXX and uncommon elsewhere
+-100 regex/c =^\\s*call\\s+rxfuncadd.*sysloadfu OS/2 REXX batch file text
+-100 regex/c =^\\s*say\ ['"] OS/2 REXX batch file text
++100 regex/c =^[\ \t]{0,999}call[\ \t]{1,999}rxfu OS/2 REXX batch file text
++100 regex/c =^[[:space:]]{0,999}say\ ['"] OS/2 REXX batch file text
+ 0     leshort         0x14c   MS Windows COFF Intel 80386 object file
+ #>4   ledate          x       stamp %s
This page took 0.046971 seconds and 4 git commands to generate.