diff --git a/src/grib_io.c b/src/grib_io.c index 5515f3555..30adcbd2a 100644 --- a/src/grib_io.c +++ b/src/grib_io.c @@ -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;