summaryrefslogtreecommitdiffstats
path: root/src/file_ace.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-02-26 09:30:02 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-02-26 09:30:02 +0100
commitabc5c40723452a13f02ff5dbd28d8aadad238e5b (patch)
treecaac735018730fd49cd2a3a57628c6c69a3e5deb /src/file_ace.c
parent9a84e56b963ecb93d4ada2e27d5354e9bde33016 (diff)
file_ace.c: read 4096 bytes instead of 256 when checking the header
Diffstat (limited to 'src/file_ace.c')
-rw-r--r--src/file_ace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_ace.c b/src/file_ace.c
index b2415d1..20f56d5 100644
--- a/src/file_ace.c
+++ b/src/file_ace.c
@@ -113,7 +113,7 @@ static void file_check_ace(file_recovery_t *file_recovery)
{
/* Header hardly ever bigger than a filename */
-#define BUF_SIZE 256
+#define BUF_SIZE 4096
unsigned char buffer[BUF_SIZE];
int len=le16(h.size);
uint32_t crc32=0xFFFFFFFF;