Thanks, replaced the GSL_ERROR_VAL lines with exit(GSL_ENOMEM) for now and that works.
This code generates two errors in particular: gsl_sum_levin_u_workspace *gsl_sum_levin_u_alloc (size_t n) { gsl_sum_levin_u_workspace *w; w = (gsl_sum_levin_u_workspace *) malloc (sizeof (gsl_sum_levin_u_workspace)); w->q_num = (double *) malloc (n * sizeof (double)); if (w->q_num == NULL) { free (w); /* constructor error, prevent memory leak */ GSL_ERROR_VAL ("failed to allocate space for q_num", GSL_ENOMEM, 0); } w->q_den = (double *) malloc (n * sizeof (double)); if (w->q_den == NULL) { free (w->q_num);...
Duplicate of https://sourceforge.net/p/flawfinder/patches/4/
Typos in flawfinder.py
Abnormal termination on valgrind
Ok, thanks, that works. I did not see this in the manual.
The command man timercmp lists the construct as valid, hence I believe this to be a false positive: vely-master/fcli.c:494:42: error: syntax error: <) [syntaxError] if (timercmp (&elapsed, &(fc_l->tout), < )) { ^ To replicate: wget https://github.com/velydev/vely/archive/refs/heads/master.zip unzip -q master.zip cppcheck -i v1.c --enable=all --output-file=vely.cppcheck vely-master/ grep -C2 "error:" vely.cppcheck Not sure why the -i v1.c is necessary, perhaps it is an infinite recursion. Cppcheck...
The command man timercmp lists the construct as valid, hence I believe this to be a false positive: vely-master/fcli.c:494:42: error: syntax error: <) [syntaxError] if (timercmp (&elapsed, &(fc_l->tout), < )) { ^ To replicate: wget https://github.com/velydev/vely/archive/refs/heads/master.zip unzip -q master.zip cppcheck -i v1.c --enable=all --output-file=vely.cppcheck vely-master/ grep -C2 "error:" vely.cppcheck Not sure why the -i v1.c is necessary, perhaps it is an infinite recursion.