From cb9861c1d9756a633839cac58a12d3a7d90389ad Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 24 Mar 2017 11:13:30 +0000 Subject: [PATCH] ECC-453: grib_set fails randomly: Unable to set stepRange --- src/grib_accessor_class_g1step_range.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grib_accessor_class_g1step_range.c b/src/grib_accessor_class_g1step_range.c index f512ef6f3..87be7ae9f 100644 --- a/src/grib_accessor_class_g1step_range.c +++ b/src/grib_accessor_class_g1step_range.c @@ -614,7 +614,7 @@ static int pack_long(grib_accessor* a, const long* val, size_t *len) { char buff[100]; size_t bufflen=100; - char sval[100]; + char sval[100] = {0}; char* p=sval; size_t svallen=100; grib_accessor_g1step_range* self = (grib_accessor_g1step_range*)a;