summaryrefslogtreecommitdiffstats
path: root/src/file_ptf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2016-06-24 21:46:51 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2016-06-24 21:46:51 +0200
commit7a7d19134895fcfbdb202a408efb026a58a12585 (patch)
tree995556c84e2e4730ed239b38ace8b43355b8b3d5 /src/file_ptf.c
parentfac553ee4087be20bcc20cb06f47dfcfed29e12a (diff)
Fix ptf_header length in src/file_ptf.c
Diffstat (limited to 'src/file_ptf.c')
-rw-r--r--src/file_ptf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_ptf.c b/src/file_ptf.c
index bbe24a9..4b67da5 100644
--- a/src/file_ptf.c
+++ b/src/file_ptf.c
@@ -62,7 +62,7 @@ static int header_check_ptf(const unsigned char *buffer, const unsigned int buff
static void register_header_check_ptf(file_stat_t *file_stat)
{
- static const unsigned char ptf_header[18]= {
+ static const unsigned char ptf_header[19]= {
0x03, '0' , '0' , '1' , '0' , '1' , '1' , '1' ,
'1', '0' , '0' , '1' , '0' , '1' , '0' , '1' ,
'1', 0x00, 0x01