---------- Forwarded message ----------
From: Patrick Matthäi <[email protected]>
Date: Sun, Mar 21, 2010 at 4:48 PM
Subject: Possible problems in mlt
To: Dan Dennedy <[email protected]>


Hi Dan,

today I am checking every package with cppcheck, an automated source
code checker with a "high quality".
It is not a perfect tool, but most of its complaints are realy an error.

Within mlt, there are some more errors, what is the reason, why I
private mail you.

Here is the list:


[./src/modules/dgraft/filter_telecide.c:139]: (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/modules/dgraft/filter_telecide.c:141]: (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/modules/dgraft/filter_telecide.c:142]: (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/modules/gtk2/producer_pixbuf.c:143]: (error) Resource leak: fd

[./src/modules/jackrack/plugin.c:529]: (error) Memory leak: instances

[./src/modules/melt/producer_melt.c:58]: (error) Resource leak: input

[./src/modules/qimage/producer_qimage.c:123]: (error) Resource leak: fd

[./src/modules/xml/producer_xml.c:1354]: (error) Memory leak: sax

[./src/modules/xml/producer_xml.c:1354]: (error) Memory leak: context

[./src/modules/xml/producer_xml.c:509]: (error) Dangerous usage of
'temp' (strncpy doesn't always 0-terminate it)

--
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: [email protected]
       [email protected]

Comment:
Always if we think we are right,
we were maybe wrong.
*/



-- 
+-DRD-+

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to