mirror of https://github.com/ecmwf/eccodes.git
ECC-735: gts_ls memory fault
This commit is contained in:
parent
45ab9ea7a9
commit
2c9ce8f8d0
|
@ -903,7 +903,7 @@ static int read_any_gts(reader *r)
|
|||
unsigned long magic = 0;
|
||||
unsigned long start = 0x010d0d0a;
|
||||
unsigned long theEnd = 0x0d0d0a03;
|
||||
unsigned char tmp[32]={0,}; /* Should be enough */
|
||||
unsigned char tmp[128]={0,}; /* See ECC-735 */
|
||||
size_t message_size=0;
|
||||
size_t already_read=0;
|
||||
int i=0;
|
||||
|
|
Loading…
Reference in New Issue