third_party/stcorp_coda/libcoda/coda-grib.c:2494:81: runtime error: signed integer overflow: 16777215 * 256 cannot be represented in type 'int'
#0 0x562cce2d47f1 in read_grib2_message third_party/stcorp_coda/libcoda/coda-grib.c:2494:81
#1 0x562cce2c05a0 in coda_grib_reopen third_party/stcorp_coda/libcoda/coda-grib.c:3134:17
#2 0x562cce302aab in reopen_with_backend third_party/stcorp_coda/libcoda/coda-product.c:410:17
#3 0x562cce2ff898 in open_file third_party/stcorp_coda/libcoda/coda-product.c:552:9
#4 0x562cce2ff1da in coda_recognize_file third_party/stcorp_coda/libcoda/coda-product.c:596:9
#5 0x562cce211c31 in LLVMFuzzerTestOneInput third_party/stcorp_coda/fuzz/coda_recognize_file_fuzzer.cc:19:3
Looks like there needs to be the same casting as in a prior issue done throughout read_grib2_message
Looks like there needs to be the same casting as in a prior issue done throughout
read_grib2_message
I do prefer @rouault's suggestion here using shifts. https://github.com/stcorp/coda/issues/46#issuecomment-612816507