File 0001-limit-to-100-repetitions-to-avoid-excessive-backtrac.patch of Package file.openSUSE_12.3_Update
From ef2329cf71acb59204dd981e2c6cce6c81fe467c Mon Sep 17 00:00:00 2001
From: Christos Zoulas <christos@zoulas.com>
Date: Mon, 25 Mar 2013 14:06:55 +0000
Subject: [PATCH] limit to 100 repetitions to avoid excessive backtracking
Carsten Wolff
---
magic/Magdir/commands | 2 +-
1 file changed, 1 insertions(+), 1 deletions(-)
diff --git magic/Magdir/commands magic/Magdir/commands
index 67c3eee..4a7d8dd 100644
--- magic/Magdir/commands
+++ magic/Magdir/commands
@@ -49,7 +49,7 @@
!:mime text/x-awk
0 string/wt #!\ /usr/bin/awk awk script text executable
!:mime text/x-awk
-0 regex =^\\s*BEGIN\\s*[{] awk script text
+0 regex =^\\s{0,100}BEGIN\\s{0,100}[{] awk script text
# AT&T Bell Labs' Plan 9 shell
0 string/wt #!\ /bin/rc Plan 9 rc shell script text executable
--
1.7.9.2