cppcheck analysis of grads_2.0.a8-1.dsc
- ./data/tables/convert.c:27 [error] - Buffer overrun possible for long cmd-line args
- ./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/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 [error] - Memory leak: tbl_b_path
- ./src/gagmap.c:980 [error] - Memory leak: gds
- ./src/gagmap.c:1427 [error] - Resource leak: mfile
- ./src/gagui.c:797 [error] - snprintf size is out of bounds
- ./src/gagui.c:840 [error] - snprintf size is out of bounds
- ./src/gagui.c:845 [error] - snprintf size is out of bounds
- ./src/gagui.c:851 [error] - snprintf size is out of bounds
- ./src/grib2scan.c:277 [error] - Resource leak: gfile
- ./src/grib2scan.c:171 [error] - Memory leak: rec
- ./src/gribscan.c:1187 [error] - Memory leak: gri
- ./src/gribscan.c:1187 [error] - Memory leak: grf
- ./src/gribscan.c:1187 [error] - Memory leak: grfi
- ./src/gscrpt.c:2627 [error] - Resource leak: ifile
- ./src/gscrpt.c:2748 [error] - Resource leak: ofile
- ./src/gscrpt.c:3393 [error] - Memory leak: uname
- ./src/gscrpt.c:3501 [error] - Memory leak: fname
- ./src/gstmp.c:41 [error] - Memory leak: pfdf
- ./src/gstmp.c:41 [error] - Memory leak: pcmn
- ./src/gstmp.c:84 [error] - Memory leak: uname
- ./src/gxX.c:2120 [error] - Memory leak: tch
- ./src/gxX.c:2115 [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 [error] - Memory leak: pnts
- ./src/gxeps.c:733 [error] - Memory leak: pnts2
- ./src/gxgif.c:436 [error] - Memory leak: fout_new
- ./src/stnmap.c:209 [error] - Memory leak: map
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Wed, 22 Dec 2010 01:58:03 +0000, based on results by cppcheck 1.46