From d5907edbb18804c502bb57cf4a671885fd166b31 Mon Sep 17 00:00:00 2001
From: devttys0 <heffnercj@gmail.com>
Date: Fri, 20 Mar 2015 17:47:17 -0400
Subject: [PATCH] Removed -f flag from bzip2 extraction rule, which causes excessive recursion when used with --matryoshka

---
 src/binwalk/config/extract.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/binwalk/config/extract.conf b/src/binwalk/config/extract.conf
index ed1fbff..4cc86c4 100644
--- a/src/binwalk/config/extract.conf
+++ b/src/binwalk/config/extract.conf
@@ -27,7 +27,7 @@
 ^gzip compressed data:gz:gzip -d -f '%e':0,2
 ^lzma compressed data:7z:7z e -y '%e':0,1
 ^xz compressed data:tar:tar xJf '%e'
-^bzip2 compressed data:bz2:bzip2 -d -f '%e'
+^bzip2 compressed data:bz2:bzip2 -d '%e'
 ^compress'd data:Z:gzip -d '%e'
 ^zip archive data:zip:7z x -y '%e' -p '':0,1
 ^posix tar archive:tar:tar xvf '%e'
--
libgit2 0.26.0