cppcheck analysis of grace_5.1.22-9.dsc
- ./T1lib/t1lib/t1aaset.c:1353 [error] - Buffer access out-of-bounds: gv
- ./T1lib/t1lib/t1afmtool.c:545 [error] - Memory leak: afmfilename
- ./T1lib/t1lib/t1afmtool.c:360 [error] - Resource leak: afmfile
- ./T1lib/t1lib/t1base.c:307 [error] - Resource leak: fd
- ./T1lib/t1lib/t1enc.c:548 [error] - Common realloc mistake: "charnames" nulled but not freed upon failure
- ./T1lib/t1lib/t1enc.c:488 [error] - Resource leak: enc_fp
- ./T1lib/t1lib/t1env.c:270 [error] - Memory leak: cnffilepath
- ./T1lib/t1lib/t1env.c:333 [error] - Resource leak: cfg_fp
- ./T1lib/t1lib/t1env.c:806 [error] - Memory leak: newpath
- ./T1lib/t1lib/t1env.c:1010 [error] - Memory leak: newpath
- ./T1lib/t1lib/t1finfo.c:745 [error] - Memory leak: kern_pairs
- ./grace_np/grace_np.c:301 [error] - Common realloc mistake: "arglist" nulled but not freed upon failure
- ./grconvert/defaults.c:341 [error] - Common realloc mistake: "g" nulled but not freed upon failure
- ./grconvert/util.c:376 [error] - Common realloc mistake: "es" nulled but not freed upon failure
- ./grconvert/util.c:370 [error] - Memory leak: es
- ./src/iofilters.c:194 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./src/motifutils.c:1685 [error] - Undefined behaviour: buf is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/motifutils.c:2359 [error] - Undefined behaviour: buf is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/utils.c:134 [error] - Memory leak: retval
- ./src/utils.c:1233 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
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, 28 Jan 2011 06:58:06 +0000, based on results by cppcheck 1.46