Magellan Linux

Contents of /trunk/file/patches/file-4.21-disable-regex.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 325 - (show annotations) (download)
Tue Aug 21 15:12:33 2007 UTC (16 years, 8 months ago) by niro
File size: 645 byte(s)
-security fix

1 The new regex was added but the old one left in. Make sure to punt the old
2 one for resource issues on glibc.
3
4 http://bugs.gentoo.org/174217
5
6 --- file-4.21/magic/Magdir/msdos
7 +++ file-4.21/magic/Magdir/msdos
8 @@ -17,10 +17,6 @@
9 100 regex/c =^[\ \t]{0,10}call[\ \t]{1,10}rxfunc OS/2 REXX batch file text
10 100 regex/c =^[\ \t]{0,10}say\ ['"] OS/2 REXX batch file text
11
12 -
13 -100 regex/c =^\\s*call\\s+rxfuncadd.*sysloadfu OS/2 REXX batch file text
14 -100 regex/c =^\\s*say\ ['"] OS/2 REXX batch file text
15 -
16 0 leshort 0x14c MS Windows COFF Intel 80386 object file
17 #>4 ledate x stamp %s
18 0 leshort 0x166 MS Windows COFF MIPS R4000 object file