From b24ea8407a949eaa4cd8b64ad8338ace47a0abcc Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Wed, 2 Nov 2011 08:05:15 +0100 Subject: [PATCH] file_ace.c Fix regression introduced in #bbd33e63af7fb5f51de719a986f52f00bc6ce614 --- src/file_ace.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/file_ace.c b/src/file_ace.c index 7d70b1ad..daeb9757 100644 --- a/src/file_ace.c +++ b/src/file_ace.c @@ -102,6 +102,10 @@ static void file_check_ace(file_recovery_t *file_recovery) (le16(h.flags)&1) ? le32(h.addsize):0); #endif /* Type 0=Archive header, 1=File block, 2=Recovery Record, 5 new_recovery ? */ + if (h.type==0 && le16(h.size)==0) + { + return ; + } if (h.type!=0 && h.type!=1 && h.type!=2 && h.type!=5) { #ifdef DEBUG_ACE