mirror of https://github.com/ecmwf/eccodes.git
ECC-735: gts_ls memory fault (second case)
This commit is contained in:
parent
4bb7b7febc
commit
32a9194236
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue