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

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