Bug#693039: triplane: errors from cppcheck

Paul Wise pabs at debian.org
Mon Nov 12 11:17:11 UTC 2012


Source: triplane
Version: 1.0.7-1
Severity: normal

There are some errors from cppcheck, it would probably be good to fix
them, especially the possible memory leak:

pabs at chianamo ~/tmp/triplane-1.0.7 $ cppcheck -j8 --quiet -f .
[src/io/dksfile.cpp:197]: (error) Used file that is not opened.
[src/io/dksfile.cpp:206]: (error) Used file that is not opened.
[src/io/dksfile.cpp:210]: (error) Used file that is not opened.
[src/io/dksfile.cpp:214]: (error) Used file that is not opened.
[src/io/dksfile.cpp:225]: (error) Used file that is not opened.
[src/io/dksfile.cpp:229]: (error) Used file that is not opened.
[src/tools/dat2c/dat2c.cpp:81]: (error) Memory leak: data
[src/tools/pgdview/pgdview.cpp:61]: (error) Buffer overrun possible for long command line arguments.
[src/tools/pcx2pgd/pcx2pgd.cpp:302]: (error) Buffer overrun possible for long command line arguments.
[src/tools/lvledit/lvledit.cpp:489]: (error) Buffer overrun possible for long command line arguments.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20121112/1bb84543/attachment-0001.pgp>


More information about the Pkg-games-devel mailing list