ECC-735: gts_ls memory fault (second case)

This commit is contained in:
Shahram Najm 2019-07-01 22:16:02 +01:00
parent 4bb7b7febc
commit 32a9194236
1 changed files with 1 additions and 1 deletions

View File

@ -904,7 +904,7 @@ static int read_any_gts(reader *r)
unsigned long magic = 0;
unsigned long start = 0x010d0d0a; /* SOH CR CR LF */
unsigned long theEnd = 0x0d0d0a03; /* CR CR LF ETX */
unsigned char tmp[128]={0,}; /* See ECC-735 */
unsigned char tmp[1024]={0,}; /* See ECC-735 */
size_t message_size=0;
size_t already_read=0;
int i=0;