Blame SOURCES/file-5.11-CVE-2013-7345.patch

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