[gmx-developers] jenkins cppcheck picky?
Mark Abraham
mark.j.abraham at gmail.com
Sun Sep 1 01:23:17 CEST 2013
We could... Jenkins master was using 1.53. I compiled latest cppcheck
1.61 and installed it in /opt/local, but see
http://jenkins.gromacs.org/job/cppcheck_Gerrit_master/417/cppcheckResult/
from using it. Using 1.61 routinely will need someone to clean those
up. Don't look at me for at least a fortnight :-)
Mark
On Sat, Aug 31, 2013 at 9:33 PM, David van der Spoel
<spoel at xray.bmc.uu.se> wrote:
> Hi,
>
> I'm getting complaints in jenkins from cppcheck, for code like
>
> int d;
> fscanf(fp, "%d", &d);
>
> namely:
>
> scanf without field width limits can crash with huge input data
>
> Apparently this is a check for an old glibc or something:
> http://sourceforge.net/apps/trac/cppcheck/ticket/3946
>
> Can we upgrade cppcheck?
>
> --
> David van der Spoel, Ph.D., Professor of Biology
> Dept. of Cell & Molec. Biol., Uppsala University.
> Box 596, 75124 Uppsala, Sweden. Phone: +46184714205.
> spoel at xray.bmc.uu.se http://folding.bmc.uu.se
> --
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the www interface
> or send it to gmx-developers-request at gromacs.org.
More information about the gromacs.org_gmx-developers
mailing list