cppcheck analysis of grads_2.0.a7.1-3.dsc
- ./data/tables/convert.c:169 [error] - Memory leak: description
- ./data/tables/convert.c:169 [error] - Resource leak: fp_in
- ./data/tables/convert.c:169 [error] - Resource leak: fp_out
- ./src/bufrstn.c:158 [error] - Possible null pointer dereference: val - otherwise it is redundant to check if val is null at line 328
- ./src/gabufr.c:101 [error] - Resource leak: datafile
- ./src/gabufr.c:505 [error] - Memory leak: val
- ./src/gabufr.c:564 [error] - Memory leak: val
- ./src/gabufr.c:916 [error] - Memory leak: dset
- ./src/gabufr.c:938 [error] - Memory leak: dset
- ./src/gabufrtbl.c:357 [error] - Possible null pointer dereference: pos - otherwise it is redundant to check if pos is null at line 359
- ./src/gabufrtbl.c:470 [error] - Possible null pointer dereference: pos - otherwise it is redundant to check if pos is null at line 472
- ./src/gabufrtbl.c:282 [possible error] - Memory leak: tbl_b_path
- ./src/gabufrtbl.c:295 [possible error] - Memory leak: tbl_d_path
- ./src/gagmap.c:901 [error] - Memory leak: gds
- ./src/gagmap.c:1311 [error] - Resource leak: mfile
- ./src/grib2scan.c:277 [error] - Resource leak: gfile
- ./src/grib2scan.c:171 [error] - Memory leak: rec
- ./src/gribscan.c:1187 [possible error] - Memory leak: gri
- ./src/gribscan.c:1187 [possible error] - Memory leak: grf
- ./src/gribscan.c:1187 [possible error] - Memory leak: grfi
- ./src/gscrpt.c:2627 [error] - Resource leak: ifile
- ./src/gscrpt.c:2748 [error] - Resource leak: ofile
- ./src/gstmp.c:41 [error] - Memory leak: pfdf
- ./src/gstmp.c:41 [error] - Memory leak: pcmn
- ./src/gxX.c:2119 [possible error] - Memory leak: tch
- ./src/gxX.c:2114 [possible error] - Memory leak: pch
- ./src/gxchpl.c:309 [error] - Resource leak: ifile
- ./src/gxchpl.c:267 [error] - Memory leak: coff
- ./src/gxchpl.c:273 [error] - Memory leak: clen
- ./src/gxchpl.c:273 [error] - Memory leak: fdat
- ./src/gxeps.c:474 [possible error] - Memory leak: pnts
- ./src/gxeps.c:733 [error] - Memory leak: pnts2
- ./src/gxgif.c:436 [error] - Memory leak: fout_new
- ./src/gxps.c:228 [error] - Buffer access out-of-bounds
- ./src/stnmap.c:209 [possible error] - Memory leak: map
- ./src/wgrib.c:1040 [possible error] - Resource leak: dump_file
- ./src/wgrib.c:5340 [error] - Resource leak: input
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:48:48 +0000, based on results by cppcheck 1.41-modif