tlf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tlf-devel] [PATCH] cppcheck


From: Rein Couperus
Subject: Re: [Tlf-devel] [PATCH] cppcheck
Date: Sat, 05 Dec 2009 14:24:22 +0100

Bonjour Stephane,

thank you for finding this :) 

I have updated the SVN and the alpha package with your patch, and I will use 
the tool often...

Merci et CU

73,

Rein PA0R


> -----Ursprüngliche Nachricht-----
> Von: "Stephane Fillod" <address@hidden>
> Gesendet: 05.12.09 13:48:44
> An: address@hidden
> Betreff: [Tlf-devel] [PATCH] cppcheck


> Re,
> 
> Have you ever heard aout cppcheck[1]? This is a simple syntax checker
> of C/C++. For apt-get junkies: sudo apt-get install cppcheck
> RTFM cppcheck(1).
> 
> [1] http://cppcheck.wiki.sourceforge.net/
> 
> This is the first time I'm using it. Here's what I've found in tlfrepo:
> 
> $ cppcheck -a -q -v src/*.[ch]
> [src/getctydata.c:340]: (all) Buffer overrun
> [src/initial_exchange.c:68]: (error) Resource leak: fp
> [src/makelogline.c:138]: (all) Array index out of bounds
> [src/readcalls.c:80]: (all) Buffer overrun
> [src/readcalls.c:500]: (all) Buffer overrun
> [src/searchlog.c:912]: (error) Resource leak: cfp
> [src/writecabrillo.c:62]: (error) Resource leak: fp1
> [src/writecabrillo.c:415]: (error) Resource leak: fp1
> 
> There's a patch attached fixing these issues.
> 
> 73
> -- 
> Stephane - F8CFE
> 
> 
> <hr>
> _______________________________________________
> Tlf-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/tlf-devel
> 
> 

-- 
http://pa0r.blogspirit.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]