cppcheck analysis of grads_2.0.a9-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:981 [error] - Memory leak: gds
- ./src/gagmap.c:1428 [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/gagx.c:3259 [error] - snprintf size is out of bounds
- ./src/gagx.c:4003 [error] - snprintf size is out of bounds
- ./src/gagx.c:4005 [error] - snprintf size is out of bounds
- ./src/gauser.c:4565 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/gauser.c:4565 [error] - Invalid number of character ({) when these macros are defined: 'GRIB2'.
- ./src/gauser.c:4565 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_CONFIG_H'.
- ./src/gauser.c:4565 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_CONFIG_H;HAVE_MALLOC_H'.
- ./src/gauser.c:4565 [error] - Invalid number of character ({) when these macros are defined: 'USEGADAP'.
- ./src/gauser.c:4565 [error] - Invalid number of character ({) when these macros are defined: '__hpux'.
- ./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:2124 [error] - Memory leak: tch
- ./src/gxX.c:2119 [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/gxcntr.c:904 [error] - snprintf size is out of bounds
- ./src/gxcntr.c:906 [error] - snprintf size is out of bounds
- ./src/gxcntr.c:908 [error] - snprintf size is out of bounds
- ./src/gxcntr.c:910 [error] - snprintf size is out of bounds
- ./src/gxcntr.c:912 [error] - snprintf size is out of bounds
- ./src/gxcntr.c:914 [error] - snprintf size is out of bounds
- ./src/gxcntr.c:916 [error] - snprintf size is out of bounds
- ./src/gxcntr.c:925 [error] - snprintf size is out of bounds
- ./src/gxcntr.c:928 [error] - snprintf size is out of bounds
- ./src/gxcntr.c:929 [error] - snprintf size is out of bounds
- ./src/gxcntr.c:936 [error] - snprintf size is out of bounds
- ./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 Fri, 15 Apr 2011 06:58:06 +0000, based on results by cppcheck 1.46