Re: more cppcheck findings

2017-09-18 Thread Илья Шипицин
hello, in case someone is interested, the full list of cppcheck findings git clone http://git.haproxy.org/git/haproxy.git/ cd haproxy script cppcheck --force --enable=all . Ctrl-D grep '(error' typescript grep '(warning' typescript grep '(style' typescript | grep 'The function ' | grep ' is nev

Re: more cppcheck findings

2017-09-18 Thread Willy Tarreau
On Mon, Sep 18, 2017 at 09:42:14AM +0200, Dragan Dosen wrote: > Hello Ilya, > > Thanks for the report. Both patches applied, thank you Dragan. Willy

Re: more cppcheck findings

2017-09-18 Thread Dragan Dosen
Hello Ilya, Thanks for the report. On 15.9.2017. 19:08, Илья Шипицин wrote: > hello, > > [contrib/halog/halog.c:1572]: (error) Memory leak: ustat > [contrib/mod_defender/defender.c:153]: (error) va_list 'argp' was opened > but not closed by va_end(). > [contrib/modsecurity/modsec_wrapper.c:109]:

more cppcheck findings

2017-09-15 Thread Илья Шипицин
hello, [contrib/halog/halog.c:1572]: (error) Memory leak: ustat [contrib/mod_defender/defender.c:153]: (error) va_list 'argp' was opened but not closed by va_end(). [contrib/modsecurity/modsec_wrapper.c:109]: (error) va_list 'ap' was opened but not closed by va_end(). [src/51d.c:373]: (error) Inva