Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 223 Examining data/gbutils-6.0/gbtest.c Examining data/gbutils-6.0/gbquant.c Examining data/gbutils-6.0/gaussian_gbhill.c Examining data/gbutils-6.0/gbalafit.c Examining data/gbutils-6.0/gbhisto.c Examining data/gbutils-6.0/gblreg.c Examining data/gbutils-6.0/lib/dummy.c Examining data/gbutils-6.0/lib/strchrnul.h Examining data/gbutils-6.0/lib/getdelim.c Examining data/gbutils-6.0/lib/getsubopt.h Examining data/gbutils-6.0/lib/getline.h Examining data/gbutils-6.0/lib/strchrnul.c Examining data/gbutils-6.0/lib/getsubopt.c Examining data/gbutils-6.0/lib/getdelim.h Examining data/gbutils-6.0/lib/getline.c Examining data/gbutils-6.0/gbnlprobit.c Examining data/gbutils-6.0/gbfun.c Examining data/gbutils-6.0/gbker.c Examining data/gbutils-6.0/gbgrid.c Examining data/gbutils-6.0/gbhill.h Examining data/gbutils-6.0/gbenv.c Examining data/gbutils-6.0/gbbin.c Examining data/gbutils-6.0/gbinterp.c Examining data/gbutils-6.0/gbfilternear.c Examining data/gbutils-6.0/gbaepfit.c Examining data/gbutils-6.0/tools.c Examining data/gbutils-6.0/gbstat.c Examining data/gbutils-6.0/gblafit.c Examining data/gbutils-6.0/gbget.c Examining data/gbutils-6.0/gbnlreg.c Examining data/gbutils-6.0/gbkreg2d.c Examining data/gbutils-6.0/gbkreg.c Examining data/gbutils-6.0/exponential_gbhill.c Examining data/gbutils-6.0/gbmodes.c Examining data/gbutils-6.0/paretoI_gbhill.c Examining data/gbutils-6.0/gbnlpolyit.c Examining data/gbutils-6.0/gbker2d.c Examining data/gbutils-6.0/multimin.c Examining data/gbutils-6.0/paretoIII_gbhill.c Examining data/gbutils-6.0/multimin.h Examining data/gbutils-6.0/gbdist.c Examining data/gbutils-6.0/gbepfit.c Examining data/gbutils-6.0/gbmstat.c Examining data/gbutils-6.0/gbgcorr.c Examining data/gbutils-6.0/gbrand.c Examining data/gbutils-6.0/gbhill.c Examining data/gbutils-6.0/gbhisto2d.c Examining data/gbutils-6.0/gbxcorr.c Examining data/gbutils-6.0/gbnear.c Examining data/gbutils-6.0/gbmave.c Examining data/gbutils-6.0/gblaepfit.c Examining data/gbutils-6.0/tools.h Examining data/gbutils-6.0/gbglreg.c Examining data/gbutils-6.0/gbnlpanel.c Examining data/gbutils-6.0/gbboot.c Examining data/gbutils-6.0/gbnlqreg.c Examining data/gbutils-6.0/gbnlmult.c Examining data/gbutils-6.0/gbacorr.c FINAL RESULTS: data/gbutils-6.0/gbacorr.c:227:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(INT_SEP,t); data/gbutils-6.0/gbacorr.c:228:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,res[t-tini]); data/gbutils-6.0/gbacorr.c:238:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(INT_SEP,t); data/gbutils-6.0/gbacorr.c:239:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,(exp(2*zlow)-1)/(exp(2*zlow)+1)); data/gbutils-6.0/gbacorr.c:240:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,r); data/gbutils-6.0/gbacorr.c:241:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,(exp(2*zhi)-1)/(exp(2*zhi)+1)); data/gbutils-6.0/gbacorr.c:244:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(INT_SEP,t); data/gbutils-6.0/gbacorr.c:245:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,r); data/gbutils-6.0/gbacorr.c:246:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,r); data/gbutils-6.0/gbacorr.c:247:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,r); data/gbutils-6.0/gbaepfit.c:114:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_SEP,Data[i]); data/gbutils-6.0/gbaepfit.c:115:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,dtmp1); data/gbutils-6.0/gbaepfit.c:134:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_SEP,dtmp1); data/gbutils-6.0/gbaepfit.c:137:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,exp(-pow(dtmp1/ar,br)/br)/norm); data/gbutils-6.0/gbaepfit.c:140:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,exp(-pow(-dtmp1/al,bl)/bl)/norm); data/gbutils-6.0/gbaepfit.c:985:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"bl"); data/gbutils-6.0/gbaepfit.c:986:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"br"); data/gbutils-6.0/gbaepfit.c:987:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"al"); data/gbutils-6.0/gbaepfit.c:988:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"ar"); data/gbutils-6.0/gbaepfit.c:989:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"m"); data/gbutils-6.0/gbaepfit.c:990:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_NL,"log-like"); data/gbutils-6.0/gbaepfit.c:992:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[0]); data/gbutils-6.0/gbaepfit.c:993:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[1]); data/gbutils-6.0/gbaepfit.c:994:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[2]); data/gbutils-6.0/gbaepfit.c:995:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[3]); data/gbutils-6.0/gbaepfit.c:996:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[4]); data/gbutils-6.0/gbaepfit.c:997:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_NL,fmin); data/gbutils-6.0/gbaepfit.c:1001:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[0]); data/gbutils-6.0/gbaepfit.c:1002:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[1]); data/gbutils-6.0/gbaepfit.c:1003:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[2]); data/gbutils-6.0/gbaepfit.c:1004:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[3]); data/gbutils-6.0/gbaepfit.c:1005:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[4]); data/gbutils-6.0/gbaepfit.c:1006:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_NL,fmin); data/gbutils-6.0/gbaepfit.c:1012:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[0]); data/gbutils-6.0/gbaepfit.c:1013:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[1]); data/gbutils-6.0/gbaepfit.c:1014:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[2]); data/gbutils-6.0/gbaepfit.c:1015:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[3]); data/gbutils-6.0/gbaepfit.c:1016:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[4]); data/gbutils-6.0/gbaepfit.c:1017:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_NL,fmin); data/gbutils-6.0/gbaepfit.c:1024:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"bl"); data/gbutils-6.0/gbaepfit.c:1025:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"br"); data/gbutils-6.0/gbaepfit.c:1026:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"al"); data/gbutils-6.0/gbaepfit.c:1027:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"ar"); data/gbutils-6.0/gbaepfit.c:1028:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"m"); data/gbutils-6.0/gbaepfit.c:1029:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_NL,"log-like"); data/gbutils-6.0/gbaepfit.c:1031:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_NL,"sigma_m\n"); data/gbutils-6.0/gbaepfit.c:1036:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[0]); data/gbutils-6.0/gbaepfit.c:1037:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[1]); data/gbutils-6.0/gbaepfit.c:1038:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[2]); data/gbutils-6.0/gbaepfit.c:1039:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[3]); data/gbutils-6.0/gbaepfit.c:1040:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[4]); data/gbutils-6.0/gbaepfit.c:1041:26: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for(i=0;i<dim;i++) fprintf(Fparams,FLOAT_SEP,sqrt(gsl_matrix_get(V,i,i))); data/gbutils-6.0/gbalafit.c:69:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_SEP,Data[i]); data/gbutils-6.0/gbalafit.c:70:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,dtmp1); data/gbutils-6.0/gbalafit.c:83:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_SEP,dtmp1); data/gbutils-6.0/gbalafit.c:86:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,exp(-dtmp1/ar)/norm); data/gbutils-6.0/gbalafit.c:89:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,exp( dtmp1/al)/norm); data/gbutils-6.0/gbalafit.c:342:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"m"); data/gbutils-6.0/gbalafit.c:343:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"al"); data/gbutils-6.0/gbalafit.c:344:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"ar"); data/gbutils-6.0/gbalafit.c:345:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_NL,"log-like"); data/gbutils-6.0/gbalafit.c:347:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,m); data/gbutils-6.0/gbalafit.c:348:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,al); data/gbutils-6.0/gbalafit.c:349:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,ar); data/gbutils-6.0/gbalafit.c:350:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_NL,fmin); data/gbutils-6.0/gbalafit.c:355:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"m"); data/gbutils-6.0/gbalafit.c:356:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"al"); data/gbutils-6.0/gbalafit.c:357:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"ar"); data/gbutils-6.0/gbalafit.c:358:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_NL,"log-like"); data/gbutils-6.0/gbalafit.c:365:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"m"); data/gbutils-6.0/gbalafit.c:366:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"al"); data/gbutils-6.0/gbalafit.c:367:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"ar"); data/gbutils-6.0/gbalafit.c:368:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_NL,"log-like"); data/gbutils-6.0/gbalafit.c:375:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"m"); data/gbutils-6.0/gbalafit.c:376:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"al"); data/gbutils-6.0/gbalafit.c:377:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"ar"); data/gbutils-6.0/gbalafit.c:378:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"sigma_m"); data/gbutils-6.0/gbalafit.c:379:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"sigma_al"); data/gbutils-6.0/gbalafit.c:380:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"sima_ar"); data/gbutils-6.0/gbalafit.c:381:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"corr_m_al"); data/gbutils-6.0/gbalafit.c:382:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"corr_m_ar"); data/gbutils-6.0/gbalafit.c:383:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_NL,"log-like"); data/gbutils-6.0/gbalafit.c:385:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,m); data/gbutils-6.0/gbalafit.c:386:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,al); data/gbutils-6.0/gbalafit.c:387:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,ar); data/gbutils-6.0/gbalafit.c:388:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,sigma[0]/sqrt(Size)); data/gbutils-6.0/gbalafit.c:389:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,sigma[1]/sqrt(Size)); data/gbutils-6.0/gbalafit.c:390:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,sigma[2]/sqrt(Size)); data/gbutils-6.0/gbalafit.c:391:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,sigma[3]); data/gbutils-6.0/gbalafit.c:392:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_NL,sigma[4]); data/gbutils-6.0/gbbin.c:385:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP, (double) actualbinum ); data/gbutils-6.0/gbbin.c:387:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,stats[0][outtype[j]]); data/gbutils-6.0/gbbin.c:389:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,stats[0][8]); data/gbutils-6.0/gbbin.c:392:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,stats[h][outtype[j]-5]); data/gbutils-6.0/gbbin.c:394:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL, (double) actualbinum); data/gbutils-6.0/gbbin.c:396:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,stats[0][outtype[j]]); data/gbutils-6.0/gbbin.c:398:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,stats[0][8]); data/gbutils-6.0/gbbin.c:401:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,stats[h][outtype[outnum-1]-5]); data/gbutils-6.0/gbbin.c:402:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,stats[columns-1][outtype[outnum-1]-5]); data/gbutils-6.0/gbbin.c:429:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,data[printcolumn[h]-1][j+i*binum]); data/gbutils-6.0/gbbin.c:435:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,data[printcolumn[h]-1][j]); data/gbutils-6.0/gbbin.c:439:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_SEP,"nan"); data/gbutils-6.0/gbbin.c:443:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,data[printcolumn[h]-1][j+(steps-1)*binum]); data/gbutils-6.0/gbbin.c:452:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_SEP,"nan"); data/gbutils-6.0/gbbin.c:455:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,data[printcolumn[h]-1][j+(steps-1)*binum]); data/gbutils-6.0/gbboot.c:136:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,data[(size_t) (size*( (double) random())/RAND_MAX ) ]); data/gbutils-6.0/gbboot.c:157:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,data[j][(size_t) (rows*( (double) random())/RAND_MAX ) ]); data/gbutils-6.0/gbboot.c:181:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,data[j][index]); data/gbutils-6.0/gbboot.c:245:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,gsl_interp_eval(interpolator,x,y, data/gbutils-6.0/gbboot.c:303:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,data[j][h]+noise*minskip[j]*(2.0*random()/RAND_MAX-1.0)); data/gbutils-6.0/gbdist.c:34:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,data[i]); data/gbutils-6.0/gbdist.c:35:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,(double) (i+1)/(size+1)); data/gbutils-6.0/gbdist.c:40:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,data[size-i-1]); data/gbutils-6.0/gbdist.c:41:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,(double) (i+1)/(size+1)); data/gbutils-6.0/gbdist.c:52:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,data[i]); data/gbutils-6.0/gbdist.c:53:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,(double) (i+1)/(size+1)); data/gbutils-6.0/gbdist.c:59:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,data[size-i-1]); data/gbutils-6.0/gbdist.c:60:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,(double) (i+1)/(size+1)); data/gbutils-6.0/gbepfit.c:102:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_SEP,Data[i]); data/gbutils-6.0/gbepfit.c:103:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,dtmp1); data/gbutils-6.0/gbepfit.c:119:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_SEP,dtmp1); data/gbutils-6.0/gbepfit.c:120:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,exp(-pow(fabs(dtmp1-m)/a,b)/b)/norm); data/gbutils-6.0/gbepfit.c:995:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"b"); data/gbutils-6.0/gbepfit.c:996:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"a"); data/gbutils-6.0/gbepfit.c:997:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"m"); data/gbutils-6.0/gbepfit.c:998:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_NL,"log-like"); data/gbutils-6.0/gbepfit.c:1000:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,par[0]); data/gbutils-6.0/gbepfit.c:1001:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,par[1]); data/gbutils-6.0/gbepfit.c:1002:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,par[2]); data/gbutils-6.0/gbepfit.c:1003:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_NL,fmin); data/gbutils-6.0/gbepfit.c:1018:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"b"); data/gbutils-6.0/gbepfit.c:1019:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"a"); data/gbutils-6.0/gbepfit.c:1020:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"m"); data/gbutils-6.0/gbepfit.c:1021:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"sigma_b"); data/gbutils-6.0/gbepfit.c:1022:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"sigma_a"); data/gbutils-6.0/gbepfit.c:1024:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_NL,"sigma_m"); data/gbutils-6.0/gbepfit.c:1029:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,par[0]); data/gbutils-6.0/gbepfit.c:1030:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,par[1]); data/gbutils-6.0/gbepfit.c:1031:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,par[2]); data/gbutils-6.0/gbepfit.c:1032:26: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for(i=0;i<dim;i++) fprintf(Fparams,FLOAT_SEP,sqrt(gsl_matrix_get(V,i,i))); data/gbutils-6.0/gbfilternear.c:139:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,vals[j][i]); data/gbutils-6.0/gbfilternear.c:140:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,vals[columns-1][i]); data/gbutils-6.0/gbgcorr.c:301:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(INT_SEP,d+1); data/gbutils-6.0/gbgcorr.c:302:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,sqrt(r2[i])); data/gbutils-6.0/gbgcorr.c:303:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,mm[d][i]); data/gbutils-6.0/gbgcorr.c:305:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,sqrt(var[d][i])); data/gbutils-6.0/gbget.c:1427:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(finaltransform+len2,optarg); data/gbutils-6.0/gbglreg.c:477:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,label); data/gbutils-6.0/gbglreg.c:485:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,gsl_vector_get(C,i)); data/gbutils-6.0/gbglreg.c:506:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,label); data/gbutils-6.0/gbglreg.c:508:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbglreg.c:515:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,gsl_vector_get(C,i)); data/gbutils-6.0/gbglreg.c:516:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,sqrt(gsl_matrix_get(COV,i,i))); data/gbutils-6.0/gbglreg.c:569:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,label); data/gbutils-6.0/gbglreg.c:571:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbglreg.c:575:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,gsl_vector_get(C,i)); data/gbutils-6.0/gbglreg.c:576:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,sqrt(gsl_matrix_get(COV,i,i))); data/gbutils-6.0/gbglreg.c:585:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,gsl_matrix_get(X,i,j)); data/gbutils-6.0/gbglreg.c:586:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP, gsl_vector_get(Y,i)-gsl_vector_get(RES,i)); data/gbutils-6.0/gbglreg.c:587:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP, gsl_vector_get(YERR,i)); data/gbutils-6.0/gbglreg.c:588:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL, gsl_vector_get(RES,i)); data/gbutils-6.0/gbglreg.c:609:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,label); data/gbutils-6.0/gbglreg.c:617:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,gsl_vector_get(C,i)); data/gbutils-6.0/gbglreg.c:622:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,gsl_matrix_get(COV,i,j)); data/gbutils-6.0/gbglreg.c:662:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,label); data/gbutils-6.0/gbglreg.c:664:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"expl.var"); data/gbutils-6.0/gbglreg.c:671:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,gsl_vector_get(C,i)); data/gbutils-6.0/gbglreg.c:672:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,gsl_matrix_get(XVAR,i,i)*gsl_vector_get(C,i)*gsl_vector_get(C,i)/(YVAR-RESVAR)); data/gbutils-6.0/gbglreg.c:683:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,gsl_matrix_get(XVAR,i,j)*gsl_vector_get(C,i)*gsl_vector_get(C,j)/(YVAR-RESVAR)); data/gbutils-6.0/gbgrid.c:139:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr,EMPTY_SEP,F[i].args[j]); data/gbutils-6.0/gbgrid.c:155:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,evaluator_evaluate (F[h].f,2,names,values)); data/gbutils-6.0/gbgrid.c:168:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP, (int) floor(evaluator_evaluate (F[h].f,2,names,values))); data/gbutils-6.0/gbhill.c:771:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,xname[i]); data/gbutils-6.0/gbhill.c:772:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_NL,"min NLL/obs"); data/gbutils-6.0/gbhill.c:777:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,x[i]); data/gbutils-6.0/gbhill.c:778:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,llmin); data/gbutils-6.0/gbhill.c:788:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,xname[i]); data/gbutils-6.0/gbhill.c:789:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbhill.c:792:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,xname[i]); data/gbutils-6.0/gbhill.c:793:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_NL,"+/-"); data/gbutils-6.0/gbhill.c:797:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,x[i]); data/gbutils-6.0/gbhill.c:798:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbhill.c:801:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,x[i]); data/gbutils-6.0/gbhill.c:802:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbhill.c:813:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,xname[i]); data/gbutils-6.0/gbhill.c:814:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_NL,"min NLL/obs"); data/gbutils-6.0/gbhill.c:817:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,x[i]); data/gbutils-6.0/gbhill.c:818:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_NL,llmin); data/gbutils-6.0/gbhill.c:824:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,llparams.data[i]); data/gbutils-6.0/gbhill.c:825:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,F (llparams.data[i],xnum,x) ); data/gbutils-6.0/gbhill.c:829:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,llparams.data[i]); data/gbutils-6.0/gbhill.c:830:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,F (llparams.data[i],xnum,x) ); data/gbutils-6.0/gbhill.c:842:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,xname[i]); data/gbutils-6.0/gbhill.c:843:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_NL,"min NLL/obs"); data/gbutils-6.0/gbhill.c:846:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,x[i]); data/gbutils-6.0/gbhill.c:847:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_NL,llmin); data/gbutils-6.0/gbhill.c:853:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,llparams.data[i]); data/gbutils-6.0/gbhill.c:854:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL, f(llparams.data[i],xnum,x)); data/gbutils-6.0/gbhill.c:858:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,llparams.data[i]); data/gbutils-6.0/gbhill.c:859:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL, f(llparams.data[i],xnum,x)); data/gbutils-6.0/gbhill.c:915:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,xname[i]); data/gbutils-6.0/gbhill.c:916:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_NL,"min NLL/obs"); data/gbutils-6.0/gbhill.c:919:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,x[i]); data/gbutils-6.0/gbhill.c:920:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_NL,llmin); data/gbutils-6.0/gbhill.c:1018:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,xname[i]); data/gbutils-6.0/gbhill.c:1019:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_NL,"min NLL/obs"); data/gbutils-6.0/gbhill.c:1022:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,x[i]); data/gbutils-6.0/gbhill.c:1023:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_NL,llmin); data/gbutils-6.0/gbhisto.c:133:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,midpoint[i]); data/gbutils-6.0/gbhisto.c:134:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,(double) histo[i]/(size*width[i])); data/gbutils-6.0/gbhisto.c:139:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,midpoint[i]); data/gbutils-6.0/gbhisto.c:140:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,(double) histo[i]/size); data/gbutils-6.0/gbhisto.c:147:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,midpoint[i]); data/gbutils-6.0/gbhisto.c:148:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,cumprob); data/gbutils-6.0/gbhisto.c:155:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,midpoint[i]); data/gbutils-6.0/gbhisto.c:156:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,1-cumprob); data/gbutils-6.0/gbhisto.c:161:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,midpoint[i]); data/gbutils-6.0/gbhisto.c:162:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(INT_NL,histo[i]); data/gbutils-6.0/gbhisto.c:182:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(INT_SEP,(int) data[i]); data/gbutils-6.0/gbhisto.c:184:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,data[i]); data/gbutils-6.0/gbhisto.c:185:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(INT_NL,count); data/gbutils-6.0/gbhisto.c:198:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(INT_SEP,(int) data[i]); data/gbutils-6.0/gbhisto.c:200:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,data[i]); data/gbutils-6.0/gbhisto.c:201:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,(double) count/size); data/gbutils-6.0/gbhisto2d.c:221:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,xmin+xstepsize*(i+.5)); data/gbutils-6.0/gbhisto2d.c:222:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,ymin+ystepsize*(j+.5)); data/gbutils-6.0/gbhisto2d.c:223:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,(double) histo[i*xsteps+j]/(size*xstepsize*ystepsize)); data/gbutils-6.0/gbhisto2d.c:231:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,xmin+xstepsize*(i+.5)); data/gbutils-6.0/gbhisto2d.c:232:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,ymin+ystepsize*(j+.5)); data/gbutils-6.0/gbhisto2d.c:233:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,(double) histo[i*xsteps+j]/size); data/gbutils-6.0/gbhisto2d.c:241:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,xmin+xstepsize*(i+.5)); data/gbutils-6.0/gbhisto2d.c:242:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,ymin+ystepsize*(j+.5)); data/gbutils-6.0/gbhisto2d.c:243:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(INT_NL, histo[i*xsteps+j]); data/gbutils-6.0/gbinterp.c:253:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,z[i]); data/gbutils-6.0/gbinterp.c:254:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,y[0]); data/gbutils-6.0/gbinterp.c:259:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,z[i]); data/gbutils-6.0/gbinterp.c:260:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,y[size-1]); data/gbutils-6.0/gbinterp.c:264:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,z[i]); data/gbutils-6.0/gbinterp.c:265:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,gsl_interp_eval (interpolator,x,y,z[i],accelerator)); data/gbutils-6.0/gbinterp.c:273:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,z[i]); data/gbutils-6.0/gbinterp.c:274:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,0); data/gbutils-6.0/gbinterp.c:279:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,z[i]); data/gbutils-6.0/gbinterp.c:280:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,0); data/gbutils-6.0/gbinterp.c:284:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,z[i]); data/gbutils-6.0/gbinterp.c:285:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,gsl_interp_eval_deriv (interpolator,x,y,z[i],accelerator)); data/gbutils-6.0/gbinterp.c:293:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,z[i]); data/gbutils-6.0/gbinterp.c:294:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,0); data/gbutils-6.0/gbinterp.c:299:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,z[i]); data/gbutils-6.0/gbinterp.c:300:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,0); data/gbutils-6.0/gbinterp.c:304:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,z[i]); data/gbutils-6.0/gbinterp.c:305:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,gsl_interp_eval_deriv2 (interpolator,x,y,z[i],accelerator)); data/gbutils-6.0/gbker.c:363:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,a+i*delta); data/gbutils-6.0/gbker.c:364:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,csi[i]); data/gbutils-6.0/gbker.c:368:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,a+i*delta); data/gbutils-6.0/gbker.c:369:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,csi[i]); data/gbutils-6.0/gbker.c:370:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,sconf*sqrt(fabs(csi[i]))); data/gbutils-6.0/gbker.c:481:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,z); data/gbutils-6.0/gbker.c:482:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,sum); data/gbutils-6.0/gbker.c:494:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,z); data/gbutils-6.0/gbker.c:495:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,sum); data/gbutils-6.0/gbker.c:496:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,sconf*sqrt(fabs(sum))); data/gbutils-6.0/gbker.c:544:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,z); data/gbutils-6.0/gbker.c:546:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,sum); data/gbutils-6.0/gbker.c:548:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,sum); data/gbutils-6.0/gbker.c:549:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,sconf*sqrt(fabs(sum))); data/gbutils-6.0/gbker.c:580:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,z); data/gbutils-6.0/gbker.c:582:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,sum); data/gbutils-6.0/gbker.c:584:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,sum); data/gbutils-6.0/gbker.c:585:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,sconf*sqrt(fabs(sum))); data/gbutils-6.0/gbker.c:605:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,z); data/gbutils-6.0/gbker.c:607:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,sum); data/gbutils-6.0/gbker.c:609:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,sum); data/gbutils-6.0/gbker.c:610:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,sconf*sqrt(fabs(sum))); data/gbutils-6.0/gbker.c:631:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,z); data/gbutils-6.0/gbker.c:633:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,sum); data/gbutils-6.0/gbker.c:635:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,sum); data/gbutils-6.0/gbker.c:636:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,sconf*sqrt(fabs(sum))); data/gbutils-6.0/gbker2d.c:451:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,x); data/gbutils-6.0/gbker2d.c:452:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,y); data/gbutils-6.0/gbker2d.c:453:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,sum*detJ); data/gbutils-6.0/gbker2d.c:457:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,tmpx); data/gbutils-6.0/gbker2d.c:458:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,tmpy); data/gbutils-6.0/gbker2d.c:459:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,sum); data/gbutils-6.0/gbkreg.c:397:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,a+i*delta); data/gbutils-6.0/gbkreg.c:403:15: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(o_mean) printf(FLOAT_SEP,m); data/gbutils-6.0/gbkreg.c:404:15: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(o_sdev) printf(FLOAT_SEP,sqrt(v)); data/gbutils-6.0/gbkreg.c:406:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP, data/gbutils-6.0/gbkreg.c:409:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP, data/gbutils-6.0/gbkreg.c:414:15: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(o_mean) printf(FLOAT_SEP,0.0); data/gbutils-6.0/gbkreg.c:415:15: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(o_sdev) printf(FLOAT_SEP,0.0); data/gbutils-6.0/gbkreg.c:416:15: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(o_skew) printf(FLOAT_SEP,0.0); data/gbutils-6.0/gbkreg.c:417:15: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(o_kurt) printf(FLOAT_SEP,0.0); data/gbutils-6.0/gbkreg.c:505:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,z); data/gbutils-6.0/gbkreg.c:510:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(o_mean) printf(FLOAT_SEP,m); data/gbutils-6.0/gbkreg.c:512:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(o_sdev) printf(FLOAT_SEP,sqrt(v)); data/gbutils-6.0/gbkreg.c:515:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP, data/gbutils-6.0/gbkreg.c:518:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP, data/gbutils-6.0/gbkreg.c:663:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,z); data/gbutils-6.0/gbkreg.c:668:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(o_mean) printf(FLOAT_SEP,m); data/gbutils-6.0/gbkreg.c:670:13: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(o_sdev) printf(FLOAT_SEP,sqrt(v)); data/gbutils-6.0/gbkreg.c:673:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP, data/gbutils-6.0/gbkreg.c:676:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP, data/gbutils-6.0/gbkreg2d.c:576:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,x); data/gbutils-6.0/gbkreg2d.c:577:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,y); data/gbutils-6.0/gbkreg2d.c:580:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,(ker>0 ? z/ker : NAN)); data/gbutils-6.0/gbkreg2d.c:583:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,(ker>0?sqrt(fabs(z2/ker-z*z/(ker*ker))):NAN)); data/gbutils-6.0/gbkreg2d.c:589:8: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,(z3/ker-3.*mz*z2/ker+2.*mz*mz*mz)/pow(vz,1.5)); data/gbutils-6.0/gbkreg2d.c:592:8: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_SEP,"NAN"); data/gbutils-6.0/gbkreg2d.c:599:8: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,(z4/ker-4.*mz*z3/ker+6.*mz*mz*z2/ker-3.*mz*mz*mz*mz)/(vz*vz)-3.); data/gbutils-6.0/gbkreg2d.c:602:8: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_SEP,"NAN"); data/gbutils-6.0/gblaepfit.c:79:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_SEP,Data[i]); data/gbutils-6.0/gblaepfit.c:80:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,dtmp1); data/gbutils-6.0/gblaepfit.c:98:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_SEP,dtmp1); data/gbutils-6.0/gblaepfit.c:101:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,exp(-pow(dtmp1/a,br)/br)/norm); data/gbutils-6.0/gblaepfit.c:104:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,exp(-pow(-dtmp1/a,bl)/bl)/norm); data/gbutils-6.0/gblaepfit.c:739:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[0]); data/gbutils-6.0/gblaepfit.c:740:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[1]); data/gbutils-6.0/gblaepfit.c:741:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[2]); data/gbutils-6.0/gblaepfit.c:742:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,x[3]); data/gbutils-6.0/gblaepfit.c:743:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_NL,fmin); data/gbutils-6.0/gblafit.c:65:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_SEP,Data[i]); data/gbutils-6.0/gblafit.c:66:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,dtmp1); data/gbutils-6.0/gblafit.c:77:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_SEP,dtmp1); data/gbutils-6.0/gblafit.c:80:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,exp(-dtmp1/a)/(2*a)); data/gbutils-6.0/gblafit.c:83:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,exp( dtmp1/a)/(2*a)); data/gbutils-6.0/gblafit.c:300:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"m"); data/gbutils-6.0/gblafit.c:301:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"a"); data/gbutils-6.0/gblafit.c:302:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_NL,"log-like"); data/gbutils-6.0/gblafit.c:304:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,m); data/gbutils-6.0/gblafit.c:305:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,a); data/gbutils-6.0/gblafit.c:306:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_NL,fmin); data/gbutils-6.0/gblafit.c:311:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"m"); data/gbutils-6.0/gblafit.c:312:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"a"); data/gbutils-6.0/gblafit.c:313:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_NL,"log-like"); data/gbutils-6.0/gblafit.c:320:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"m"); data/gbutils-6.0/gblafit.c:321:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"a"); data/gbutils-6.0/gblafit.c:322:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_NL,"log-like"); data/gbutils-6.0/gblafit.c:329:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"m"); data/gbutils-6.0/gblafit.c:330:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"a"); data/gbutils-6.0/gblafit.c:331:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"sigma_m"); data/gbutils-6.0/gblafit.c:332:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_SEP,"sigma_a"); data/gbutils-6.0/gblafit.c:333:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fmessages,EMPTY_NL,"corr_m_a"); data/gbutils-6.0/gblafit.c:335:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,m); data/gbutils-6.0/gblafit.c:336:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,a); data/gbutils-6.0/gblafit.c:337:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,sigma[0]/sqrt(Size)); data/gbutils-6.0/gblafit.c:338:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_SEP,sigma[1]/sqrt(Size)); data/gbutils-6.0/gblafit.c:339:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Fparams,FLOAT_NL,sigma[2]); data/gbutils-6.0/gblafit.c:353:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_SEP,val); data/gbutils-6.0/gblafit.c:354:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,nll(val)); data/gbutils-6.0/gblafit.c:361:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_SEP,val); data/gbutils-6.0/gblafit.c:362:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(Ffitted,FLOAT_NL,nll(val)); data/gbutils-6.0/gblreg.c:195:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"#c0"); data/gbutils-6.0/gblreg.c:196:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"c1"); data/gbutils-6.0/gblreg.c:199:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,c0); data/gbutils-6.0/gblreg.c:200:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,c1); data/gbutils-6.0/gblreg.c:205:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"#c0"); data/gbutils-6.0/gblreg.c:206:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"+/-"); data/gbutils-6.0/gblreg.c:207:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"c1"); data/gbutils-6.0/gblreg.c:208:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"+/-"); data/gbutils-6.0/gblreg.c:211:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,c0); data/gbutils-6.0/gblreg.c:212:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,sqrt(cov00)); data/gbutils-6.0/gblreg.c:213:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,c1); data/gbutils-6.0/gblreg.c:214:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,sqrt(cov11)); data/gbutils-6.0/gblreg.c:222:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"#c0"); data/gbutils-6.0/gblreg.c:223:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"+/-"); data/gbutils-6.0/gblreg.c:224:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"c1"); data/gbutils-6.0/gblreg.c:225:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"+/-"); data/gbutils-6.0/gblreg.c:227:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,c0); data/gbutils-6.0/gblreg.c:228:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,sqrt(cov00)); data/gbutils-6.0/gblreg.c:229:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,c1); data/gbutils-6.0/gblreg.c:230:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,sqrt(cov11)); data/gbutils-6.0/gblreg.c:235:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,data[0][i]); data/gbutils-6.0/gblreg.c:236:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,y); data/gbutils-6.0/gblreg.c:237:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,y_err); data/gbutils-6.0/gblreg.c:238:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,data[1][i]-y); data/gbutils-6.0/gblreg.c:272:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"#c1"); data/gbutils-6.0/gblreg.c:274:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,c1); data/gbutils-6.0/gblreg.c:280:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"#c1"); data/gbutils-6.0/gblreg.c:281:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"+/-"); data/gbutils-6.0/gblreg.c:284:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,c1); data/gbutils-6.0/gblreg.c:285:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,sqrt(cov11)); data/gbutils-6.0/gblreg.c:294:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"#c1"); data/gbutils-6.0/gblreg.c:295:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"+/-"); data/gbutils-6.0/gblreg.c:298:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,c1); data/gbutils-6.0/gblreg.c:299:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,sqrt(cov11)); data/gbutils-6.0/gblreg.c:302:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,data[0][i]); data/gbutils-6.0/gblreg.c:303:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,y); data/gbutils-6.0/gblreg.c:304:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,y_err); data/gbutils-6.0/gblreg.c:305:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,data[1][i]-y); data/gbutils-6.0/gbmave.c:100:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(INT_SEP,i); data/gbutils-6.0/gbmave.c:103:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,average[col]); data/gbutils-6.0/gbmave.c:107:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,average[columns-1]); data/gbutils-6.0/gbmave.c:114:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(INT_SEP,i); data/gbutils-6.0/gbmave.c:116:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,average[col]); data/gbutils-6.0/gbmave.c:118:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,average[columns-1]); data/gbutils-6.0/gbmodes.c:562:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,.5*(hmax+hmin)); data/gbutils-6.0/gbmodes.c:563:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP, data/gbutils-6.0/gbmodes.c:568:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,modes_pos[i]); data/gbutils-6.0/gbmodes.c:590:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,.5*(hmax+hmin)); data/gbutils-6.0/gbmodes.c:593:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT,modes_pos[i]); data/gbutils-6.0/gbmodes.c:595:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT,modes_height[i]); data/gbutils-6.0/gbnear.c:312:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,x); data/gbutils-6.0/gbnear.c:313:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,k/(2.*h*size)); data/gbutils-6.0/gbnear.c:339:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,x); data/gbutils-6.0/gbnear.c:340:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,sum/(h*size)); data/gbutils-6.0/gbnlmult.c:42:16: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. typedef struct system { data/gbutils-6.0/gbnlmult.c:1013:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlmult.c:1015:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,Param[i]); data/gbutils-6.0/gbnlmult.c:1030:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlmult.c:1031:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlmult.c:1034:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlmult.c:1035:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"+/-"); data/gbutils-6.0/gbnlmult.c:1040:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlmult.c:1041:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlmult.c:1044:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlmult.c:1045:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlmult.c:1062:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlmult.c:1063:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlmult.c:1066:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlmult.c:1067:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_NL,"+/-"); data/gbutils-6.0/gbnlmult.c:1070:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlmult.c:1071:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlmult.c:1074:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlmult.c:1075:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_NL,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlmult.c:1097:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,data[j][i]); data/gbutils-6.0/gbnlmult.c:1106:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP, data/gbutils-6.0/gbnlmult.c:1111:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL, data/gbutils-6.0/gbnlmult.c:1126:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlmult.c:1128:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,Param[i]); data/gbutils-6.0/gbnlmult.c:1139:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,gsl_matrix_get(Pcovar,i,j)); data/gbutils-6.0/gbnlmult.c:1141:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,gsl_matrix_get(Pcovar,i,j)); data/gbutils-6.0/gbnlpanel.c:1962:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlpanel.c:1964:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,Param[i]); data/gbutils-6.0/gbnlpanel.c:1979:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlpanel.c:1980:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlpanel.c:1983:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlpanel.c:1984:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"+/-"); data/gbutils-6.0/gbnlpanel.c:1989:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlpanel.c:1990:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlpanel.c:1993:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlpanel.c:1994:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlpanel.c:2060:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlpanel.c:2061:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlpanel.c:2064:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlpanel.c:2065:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_NL,"+/-"); data/gbutils-6.0/gbnlpanel.c:2068:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlpanel.c:2069:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlpanel.c:2072:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlpanel.c:2073:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_NL,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlpanel.c:2114:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,"#sigma2c"); data/gbutils-6.0/gbnlpanel.c:2115:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_NL,"#sigma2"); data/gbutils-6.0/gbnlpanel.c:2116:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,sigma2c); data/gbutils-6.0/gbnlpanel.c:2117:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_NL,sigma2); data/gbutils-6.0/gbnlpanel.c:2119:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,sigma2c); data/gbutils-6.0/gbnlpanel.c:2120:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,sigma2); data/gbutils-6.0/gbnlpanel.c:2137:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlpanel.c:2139:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,Param[i]); data/gbutils-6.0/gbnlpanel.c:2150:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,gsl_matrix_get(Pcovar,i,j)); data/gbutils-6.0/gbnlpanel.c:2152:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,gsl_matrix_get(Pcovar,i,j)); data/gbutils-6.0/gbnlpolyit.c:1454:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlpolyit.c:1457:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_NL,Param[i]); data/gbutils-6.0/gbnlpolyit.c:1461:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlpolyit.c:1464:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_NL,Pval[i]); data/gbutils-6.0/gbnlpolyit.c:1468:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlpolyit.c:1469:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlpolyit.c:1470:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,"p-score"); data/gbutils-6.0/gbnlpolyit.c:1472:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlpolyit.c:1473:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlpolyit.c:1474:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_NL,"p-score"); data/gbutils-6.0/gbnlpolyit.c:1478:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlpolyit.c:1479:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,Pstd[i]); data/gbutils-6.0/gbnlpolyit.c:1480:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,Pscr[i]); data/gbutils-6.0/gbnlpolyit.c:1482:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlpolyit.c:1483:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,Pstd[i]); data/gbutils-6.0/gbnlpolyit.c:1484:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_NL,Pscr[i]); data/gbutils-6.0/gbnlpolyit.c:1502:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlpolyit.c:1503:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"-log-like"); data/gbutils-6.0/gbnlpolyit.c:1508:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlpolyit.c:1510:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,llmin); data/gbutils-6.0/gbnlpolyit.c:1518:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlpolyit.c:1519:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlpolyit.c:1521:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"-log-like"); data/gbutils-6.0/gbnlpolyit.c:1526:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlpolyit.c:1527:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,Pstd[i]); data/gbutils-6.0/gbnlpolyit.c:1529:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,llmin); data/gbutils-6.0/gbnlpolyit.c:1554:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,F.argname[i]); data/gbutils-6.0/gbnlpolyit.c:1556:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"n"); data/gbutils-6.0/gbnlpolyit.c:1563:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,meff[i]); data/gbutils-6.0/gbnlpolyit.c:1565:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,meff[meffnum-1]); data/gbutils-6.0/gbnlpolyit.c:1573:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,F.argname[i]); data/gbutils-6.0/gbnlpolyit.c:1574:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlpolyit.c:1575:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"p-scr"); data/gbutils-6.0/gbnlpolyit.c:1578:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"n"); data/gbutils-6.0/gbnlpolyit.c:1579:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlpolyit.c:1580:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"p-scr"); data/gbutils-6.0/gbnlpolyit.c:1588:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,meff[i]); data/gbutils-6.0/gbnlpolyit.c:1589:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,meff_std[i]); data/gbutils-6.0/gbnlpolyit.c:1590:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,meff_scr[i]); data/gbutils-6.0/gbnlpolyit.c:1592:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,meff[meffnum-1]); data/gbutils-6.0/gbnlpolyit.c:1593:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,meff_std[meffnum-1]); data/gbutils-6.0/gbnlpolyit.c:1594:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,meff_scr[meffnum-1]); data/gbutils-6.0/gbnlpolyit.c:1624:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"obs."); data/gbutils-6.0/gbnlpolyit.c:1625:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"pred."); data/gbutils-6.0/gbnlpolyit.c:1626:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"a/b"); data/gbutils-6.0/gbnlpolyit.c:1633:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,INT_SEP,datan[i]); data/gbutils-6.0/gbnlpolyit.c:1641:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,llparams.N*a/A); data/gbutils-6.0/gbnlpolyit.c:1643:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,a); data/gbutils-6.0/gbnlpolyit.c:1718:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"cmin"); data/gbutils-6.0/gbnlpolyit.c:1719:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"cmax"); data/gbutils-6.0/gbnlpolyit.c:1720:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"emp"); data/gbutils-6.0/gbnlpolyit.c:1721:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"theo"); data/gbutils-6.0/gbnlpolyit.c:1728:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,INT_SEP,(int) ( pow(2,i)-1 ) ); data/gbutils-6.0/gbnlpolyit.c:1729:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,INT_SEP,(int) ( pow(2,i+1)-2 ) ); data/gbutils-6.0/gbnlpolyit.c:1730:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,emp[i]); data/gbutils-6.0/gbnlpolyit.c:1731:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,the[i]); data/gbutils-6.0/gbnlprobit.c:1604:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlprobit.c:1606:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,Param[i]); data/gbutils-6.0/gbnlprobit.c:1622:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlprobit.c:1623:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlprobit.c:1626:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlprobit.c:1627:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"+/-"); data/gbutils-6.0/gbnlprobit.c:1632:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlprobit.c:1633:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlprobit.c:1636:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlprobit.c:1637:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlprobit.c:1675:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"obs."); data/gbutils-6.0/gbnlprobit.c:1679:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,string); data/gbutils-6.0/gbnlprobit.c:1690:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"0"); data/gbutils-6.0/gbnlprobit.c:1691:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,data0[j][i]); data/gbutils-6.0/gbnlprobit.c:1695:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL, data/gbutils-6.0/gbnlprobit.c:1703:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"1"); data/gbutils-6.0/gbnlprobit.c:1704:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,data1[j][i]); data/gbutils-6.0/gbnlprobit.c:1708:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL, data/gbutils-6.0/gbnlprobit.c:1724:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlprobit.c:1726:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,Param[i]); data/gbutils-6.0/gbnlprobit.c:1739:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlprobit.c:1741:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,Param[i]); data/gbutils-6.0/gbnlprobit.c:1748:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,gsl_matrix_get(Pcovar,i,j)); data/gbutils-6.0/gbnlprobit.c:1750:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,gsl_matrix_get(Pcovar,i,j)); data/gbutils-6.0/gbnlprobit.c:1785:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,string); data/gbutils-6.0/gbnlprobit.c:1861:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP, meff[i]); data/gbutils-6.0/gbnlprobit.c:1903:6: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,string); data/gbutils-6.0/gbnlprobit.c:2004:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP, meff[i]); data/gbutils-6.0/gbnlqreg.c:831:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlqreg.c:833:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,Param[i]); data/gbutils-6.0/gbnlqreg.c:848:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlqreg.c:849:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlqreg.c:852:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlqreg.c:853:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"+/-"); data/gbutils-6.0/gbnlqreg.c:858:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlqreg.c:859:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlqreg.c:862:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlqreg.c:863:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlqreg.c:880:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlqreg.c:881:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlqreg.c:884:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlqreg.c:885:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_NL,"+/-"); data/gbutils-6.0/gbnlqreg.c:888:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlqreg.c:889:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlqreg.c:892:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlqreg.c:893:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_NL,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlqreg.c:904:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,string); data/gbutils-6.0/gbnlqreg.c:915:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,data[j][i]); data/gbutils-6.0/gbnlqreg.c:919:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,evaluator_evaluate (F.f,columns+Pnum,F.argname,values)); data/gbutils-6.0/gbnlqreg.c:931:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlqreg.c:933:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,Param[i]); data/gbutils-6.0/gbnlqreg.c:944:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,gsl_matrix_get(Pcovar,i,j)); data/gbutils-6.0/gbnlqreg.c:946:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,gsl_matrix_get(Pcovar,i,j)); data/gbutils-6.0/gbnlreg.c:1805:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlreg.c:1807:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,Param[i]); data/gbutils-6.0/gbnlreg.c:1822:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlreg.c:1823:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlreg.c:1826:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlreg.c:1827:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"+/-"); data/gbutils-6.0/gbnlreg.c:1832:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlreg.c:1833:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlreg.c:1836:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlreg.c:1837:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlreg.c:1854:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlreg.c:1855:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlreg.c:1858:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlreg.c:1859:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,EMPTY_NL,"+/-"); data/gbutils-6.0/gbnlreg.c:1862:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlreg.c:1863:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlreg.c:1866:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlreg.c:1867:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr,FLOAT_NL,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlreg.c:1878:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,string); data/gbutils-6.0/gbnlreg.c:1889:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,data[j][i]); data/gbutils-6.0/gbnlreg.c:1893:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,evaluator_evaluate (F.f,columns+Pnum,F.argname,values)); data/gbutils-6.0/gbnlreg.c:1905:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlreg.c:1907:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,Param[i]); data/gbutils-6.0/gbnlreg.c:1918:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,gsl_matrix_get(Pcovar,i,j)); data/gbutils-6.0/gbnlreg.c:1920:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,gsl_matrix_get(Pcovar,i,j)); data/gbutils-6.0/gbnlreg.c:1956:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlreg.c:1957:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlreg.c:1958:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"s-score"); data/gbutils-6.0/gbnlreg.c:1961:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,Param[i]); data/gbutils-6.0/gbnlreg.c:1962:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_SEP,"+/-"); data/gbutils-6.0/gbnlreg.c:1963:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,EMPTY_NL,"s-score"); data/gbutils-6.0/gbnlreg.c:1968:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlreg.c:1969:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlreg.c:1970:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,sscore[i]); data/gbutils-6.0/gbnlreg.c:1973:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,Pval[i]); data/gbutils-6.0/gbnlreg.c:1974:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_SEP,sqrt(gsl_matrix_get(Pcovar,i,i))); data/gbutils-6.0/gbnlreg.c:1975:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stdout,FLOAT_NL,sscore[i]); data/gbutils-6.0/gbquant.c:188:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_SEP,"#quant."); data/gbutils-6.0/gbquant.c:189:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_NL,"val"); data/gbutils-6.0/gbquant.c:196:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,dtmp1); data/gbutils-6.0/gbquant.c:197:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,vals[index-1]*(1.-delta)+vals[index]*delta); data/gbutils-6.0/gbquant.c:237:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_SEP,"#quant."); data/gbutils-6.0/gbquant.c:238:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_NL,"vals->"); data/gbutils-6.0/gbquant.c:333:27: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for(j=0;j<columns-1;j++) printf(FLOAT_SEP,vals[j][i]); data/gbutils-6.0/gbquant.c:334:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,vals[columns-1][i]); data/gbutils-6.0/gbquant.c:382:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,result[j][i]); data/gbutils-6.0/gbquant.c:384:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,NAN); data/gbutils-6.0/gbquant.c:408:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_NL,"#cumulated"); data/gbutils-6.0/gbquant.c:410:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_SEP,"#cumulated"); data/gbutils-6.0/gbquant.c:411:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_NL,"std.err."); data/gbutils-6.0/gbquant.c:417:19: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(xval<vals[0]) printf(FLOAT_NL,0.0); data/gbutils-6.0/gbquant.c:418:30: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. else if (xval>vals[size-1]) printf(FLOAT_NL,1.0); data/gbutils-6.0/gbquant.c:426:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,(i*dtmp2+(i+1.)*dtmp1)/((size+1.)*(dtmp1+dtmp2))); data/gbutils-6.0/gbquant.c:428:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,(i*dtmp2+(i+1.)*dtmp1)/((size+1.)*(dtmp1+dtmp2))); data/gbutils-6.0/gbquant.c:429:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL, data/gbutils-6.0/gbquant.c:478:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_NL,"#cumulated->"); data/gbutils-6.0/gbquant.c:502:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_NL,"#quantiles"); data/gbutils-6.0/gbquant.c:504:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_SEP,"#quantiles"); data/gbutils-6.0/gbquant.c:505:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_NL,"std.err."); data/gbutils-6.0/gbquant.c:511:24: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(qval<1./(size+1.)) printf(FLOAT_NL,vals[0]); data/gbutils-6.0/gbquant.c:512:33: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. else if (qval>1.-1./(size+1.)) printf(FLOAT_NL,vals[size-1]); data/gbutils-6.0/gbquant.c:518:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,quantile); data/gbutils-6.0/gbquant.c:524:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,vals[index-1]*(1.-delta)+vals[index]*delta); data/gbutils-6.0/gbquant.c:525:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,(supdist>infdist?supdist:infdist)); data/gbutils-6.0/gbquant.c:567:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_NL,"#quantiles->"); data/gbutils-6.0/gbrand.c:236:68: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define INTOUTPUT(x) for (i=0;i<rows;i++){for(j=0;j<columns-1;j++) printf(INT_SEP, (x)); printf(INT_NL, (x));} data/gbutils-6.0/gbrand.c:236:90: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define INTOUTPUT(x) for (i=0;i<rows;i++){for(j=0;j<columns-1;j++) printf(INT_SEP, (x)); printf(INT_NL, (x));} data/gbutils-6.0/gbrand.c:238:75: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define OUTPUT2(a,x,y) for (i=0;i<rows;i++){for(j=0;j<columns-1;j++) { a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)) ;} a; printf(FLOAT_SEP, (x)); printf(FLOAT_NL, (y));} data/gbutils-6.0/gbrand.c:238:99: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define OUTPUT2(a,x,y) for (i=0;i<rows;i++){for(j=0;j<columns-1;j++) { a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)) ;} a; printf(FLOAT_SEP, (x)); printf(FLOAT_NL, (y));} data/gbutils-6.0/gbrand.c:238:128: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define OUTPUT2(a,x,y) for (i=0;i<rows;i++){for(j=0;j<columns-1;j++) { a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)) ;} a; printf(FLOAT_SEP, (x)); printf(FLOAT_NL, (y));} data/gbutils-6.0/gbrand.c:238:152: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define OUTPUT2(a,x,y) for (i=0;i<rows;i++){for(j=0;j<columns-1;j++) { a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)) ;} a; printf(FLOAT_SEP, (x)); printf(FLOAT_NL, (y));} data/gbutils-6.0/gbrand.c:240:77: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define OUTPUT3(a,x,y,z) for (i=0;i<rows;i++){for(j=0;j<columns-1;j++) { a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)); printf(FLOAT_SEP, (z));} a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)); printf(FLOAT_NL, (z));} data/gbutils-6.0/gbrand.c:240:101: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define OUTPUT3(a,x,y,z) for (i=0;i<rows;i++){for(j=0;j<columns-1;j++) { a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)); printf(FLOAT_SEP, (z));} a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)); printf(FLOAT_NL, (z));} data/gbutils-6.0/gbrand.c:240:125: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define OUTPUT3(a,x,y,z) for (i=0;i<rows;i++){for(j=0;j<columns-1;j++) { a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)); printf(FLOAT_SEP, (z));} a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)); printf(FLOAT_NL, (z));} data/gbutils-6.0/gbrand.c:240:153: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define OUTPUT3(a,x,y,z) for (i=0;i<rows;i++){for(j=0;j<columns-1;j++) { a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)); printf(FLOAT_SEP, (z));} a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)); printf(FLOAT_NL, (z));} data/gbutils-6.0/gbrand.c:240:177: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define OUTPUT3(a,x,y,z) for (i=0;i<rows;i++){for(j=0;j<columns-1;j++) { a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)); printf(FLOAT_SEP, (z));} a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)); printf(FLOAT_NL, (z));} data/gbutils-6.0/gbrand.c:240:202: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define OUTPUT3(a,x,y,z) for (i=0;i<rows;i++){for(j=0;j<columns-1;j++) { a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)); printf(FLOAT_SEP, (z));} a; printf(FLOAT_SEP, (x)); printf(FLOAT_SEP, (y)); printf(FLOAT_NL, (z));} data/gbutils-6.0/gbrand.c:394:8: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP, xarr[h]); data/gbutils-6.0/gbrand.c:399:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP, xarr[h]); data/gbutils-6.0/gbrand.c:400:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL, xarr[n1-1]); data/gbutils-6.0/gbstat.c:246:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,result[outtype[i]]); data/gbutils-6.0/gbstat.c:247:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,result[outtype[outnum-1]]); data/gbutils-6.0/gbstat.c:252:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,result[outtype[i]]); data/gbutils-6.0/gbstat.c:269:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_SEP,output_description[outtype[i]]); data/gbutils-6.0/gbstat.c:270:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(EMPTY_NL,output_description[outtype[outnum-1]]); data/gbutils-6.0/gbstat.c:307:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,result[outtype[j]]); data/gbutils-6.0/gbstat.c:308:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,result[outtype[outnum-1]]); data/gbutils-6.0/gbtest.c:2124:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,res[i]); data/gbutils-6.0/gbtest.c:2125:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,res[columns-1]); data/gbutils-6.0/gbtest.c:2130:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,res[i]); data/gbutils-6.0/gbtest.c:2131:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,res[columns+1]); data/gbutils-6.0/gbtest.c:2133:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,res[columns-1]); data/gbutils-6.0/gbtest.c:2134:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,res[2*columns-1]); data/gbutils-6.0/gbtest.c:2200:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,res[2]); data/gbutils-6.0/gbtest.c:2206:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,res[i1*columns+i2]); data/gbutils-6.0/gbtest.c:2209:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,res[i1*columns+i2]); data/gbutils-6.0/gbtest.c:2215:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,res[2]); data/gbutils-6.0/gbtest.c:2216:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,res[1]); data/gbutils-6.0/gbtest.c:2221:15: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(i2 != i1) printf(FLOAT_SEP,res[i1*columns+i2]); data/gbutils-6.0/gbtest.c:2222:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. else printf(EMPTY_SEP,"----"); data/gbutils-6.0/gbtest.c:2225:20: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(i2 != i1) printf(FLOAT_NL,res[i1*columns+i2]); data/gbutils-6.0/gbtest.c:2226:12: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. else printf(EMPTY_NL,"----"); data/gbutils-6.0/gbtest.c:2294:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,res[2]); data/gbutils-6.0/gbtest.c:2300:2: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,res[i1*columns+i2]); data/gbutils-6.0/gbtest.c:2303:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,res[i1*columns+i2]); data/gbutils-6.0/gbtest.c:2309:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,res[2]); data/gbutils-6.0/gbtest.c:2310:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,res[1]); data/gbutils-6.0/gbtest.c:2315:15: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(i2 != i1) printf(FLOAT_SEP,res[i1*columns+i2]); data/gbutils-6.0/gbtest.c:2316:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. else printf(EMPTY_SEP,"----"); data/gbutils-6.0/gbtest.c:2319:20: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if(i2 != i1) printf(FLOAT_NL,res[i1*columns+i2]); data/gbutils-6.0/gbtest.c:2320:12: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. else printf(EMPTY_NL,"----"); data/gbutils-6.0/gbtest.c:2352:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,statistic); data/gbutils-6.0/gbtest.c:2357:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,significance); data/gbutils-6.0/gbtest.c:2360:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,statistic); data/gbutils-6.0/gbtest.c:2624:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,statistic); data/gbutils-6.0/gbtest.c:2630:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,significance); data/gbutils-6.0/gbtest.c:2633:4: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,statistic); data/gbutils-6.0/gbxcorr.c:147:7: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_SEP,res[i][j]); data/gbutils-6.0/gbxcorr.c:148:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FLOAT_NL,res[i][columns-1]); data/gbutils-6.0/tools.c:72:12: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. length=snprintf(NULL,0,FLOAT,M_PI); data/gbutils-6.0/tools.c:109:12: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. length=snprintf(NULL,0,FLOAT,M_PI); data/gbutils-6.0/tools.c:138:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(FLOAT_SEP,FLOAT); data/gbutils-6.0/tools.c:139:3: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(FLOAT_SEP,SEP); data/gbutils-6.0/tools.c:142:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(FLOAT_NL,FLOAT); data/gbutils-6.0/tools.c:143:3: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(FLOAT_NL,NL); data/gbutils-6.0/tools.c:146:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(EMPTY_SEP,EMPTY); data/gbutils-6.0/tools.c:147:3: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(EMPTY_SEP,SEP); data/gbutils-6.0/tools.c:150:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(EMPTY_NL,EMPTY); data/gbutils-6.0/tools.c:151:3: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(EMPTY_NL,NL); data/gbutils-6.0/tools.c:154:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(INT_SEP,INT); data/gbutils-6.0/tools.c:155:3: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(INT_SEP,SEP); data/gbutils-6.0/tools.c:158:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(INT_NL,INT); data/gbutils-6.0/tools.c:159:3: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(INT_NL,NL); data/gbutils-6.0/tools.c:304:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,FLOAT_SEP,data[i]); data/gbutils-6.0/tools.c:306:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,FLOAT_NL,data[size-1]); data/gbutils-6.0/tools.c:314:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,FLOAT_NL,data[i]); data/gbutils-6.0/tools.c:326:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,FLOAT_SEP,data[j][i]); data/gbutils-6.0/tools.c:327:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,FLOAT_NL,data[j][columns-1]); data/gbutils-6.0/tools.c:333:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,FLOAT_SEP,(int) floor(data[j][i])); data/gbutils-6.0/tools.c:334:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,FLOAT_NL,(int) floor(data[j][columns-1])); data/gbutils-6.0/tools.c:352:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,FLOAT_SEP,data[i][j]); data/gbutils-6.0/tools.c:353:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,FLOAT_NL,data[columns-1][j]); data/gbutils-6.0/tools.c:359:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,FLOAT_SEP,(int) floor(data[i][j])); data/gbutils-6.0/tools.c:360:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,FLOAT_NL, (int) floor(data[columns-1][j])); data/gbutils-6.0/tools.c:388:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,FLOAT_SEP,data[j][i]); data/gbutils-6.0/tools.c:390:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,EMPTY_SEP," "); data/gbutils-6.0/tools.c:393:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,FLOAT_NL,data[columns-1][i]); data/gbutils-6.0/tools.c:395:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,EMPTY_NL," "); data/gbutils-6.0/tools.c:402:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,FLOAT_SEP,(int) floor(data[j][i])); data/gbutils-6.0/tools.c:404:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,EMPTY_SEP," "); data/gbutils-6.0/tools.c:407:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,FLOAT_NL,(int) floor(data[columns-1][i])); data/gbutils-6.0/tools.c:409:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out,EMPTY_NL," "); data/gbutils-6.0/gbacorr.c:48:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"hF:M:t:p:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbaepfit.c:496:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"O:s:d:hV:I:G:s:m:M:x:F:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbalafit.c:155:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"n:O:m:V:x:h",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbbin.c:63:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"vn:hF:O:xyc:w:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbboot.c:47:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"vhF:M:O:R:n:e:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbboot.c:115:3: [3] (random) srandom: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srandom(seed); data/gbutils-6.0/gbboot.c:136:49: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. printf(FLOAT_NL,data[(size_t) (size*( (double) random())/RAND_MAX ) ]); data/gbutils-6.0/gbboot.c:157:55: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. printf(FLOAT_SEP,data[j][(size_t) (rows*( (double) random())/RAND_MAX ) ]); data/gbutils-6.0/gbboot.c:179:39: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. const size_t index = rows*( (double) random())/RAND_MAX; data/gbutils-6.0/gbboot.c:246:16: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ((double) random())/RAND_MAX,accelerator)); data/gbutils-6.0/gbboot.c:303:56: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. printf(FLOAT_SEP,data[j][h]+noise*minskip[j]*(2.0*random()/RAND_MAX-1.0)); data/gbutils-6.0/gbboot.c:344:48: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. const size_t index= (size_t) (rows*( (double) random())/RAND_MAX ); data/gbutils-6.0/gbdist.c:90:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"rhtviF:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbenv.c:38:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"h",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbenv.c:178:6: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if(getenv("GB_ERROR_HANDLER_OFF")) data/gbutils-6.0/gbenv.c:189:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if(FLOAT==NULL && getenv("GB_OUT_FLOAT_FORMAT")) data/gbutils-6.0/gbenv.c:190:19: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. printf("%s\n",getenv("GB_OUT_FLOAT_FORMAT")); data/gbutils-6.0/gbenv.c:195:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if(FLOAT==NULL && getenv("GB_OUT_EMPTY_FORMAT")) data/gbutils-6.0/gbenv.c:196:19: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. printf("%s\n",getenv("GB_OUT_EMPTY_FORMAT")); data/gbutils-6.0/gbenv.c:201:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if(FLOAT==NULL && getenv("GB_OUT_SEP")) data/gbutils-6.0/gbenv.c:202:19: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. printf("%s\n",getenv("GB_OUT_SEP")); data/gbutils-6.0/gbenv.c:207:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if(FLOAT==NULL && getenv("GB_OUT_NL")) data/gbutils-6.0/gbenv.c:208:19: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. printf("%s\n",getenv("GB_OUT_NL")); data/gbutils-6.0/gbepfit.c:482:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"O:s:d:hV:I:G:s:m:M:x:F:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbfilternear.c:42:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"vhF:d:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbfun.c:102:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"htvr:R:F:o:s:b:T",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbgcorr.c:65:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"hvF:r:l:m:t:R:p:s",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbgcorr.c:142:3: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(seed); data/gbutils-6.0/gbget.c:1307:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"vhF:e:o:s:t:b:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbglreg.c:284:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"v:hF:O:wV:M:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbgrid.c:57:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"hvc:r:o:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbhill.c:91:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"v:hF:O:A:u:M:V:ab:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbhisto.c:239:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"n:M:tvhB:r:F:w:S:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbhisto2d.c:46:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"n:M:vhF:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbinterp.c:66:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"vn:hr:M:O:F:I:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbker.c:70:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"H:K:n:S:hvM:F:p:w:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbker2d.c:65:16: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"H:K:n:S:hvDF:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbkreg.c:89:16: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"H:K:n:S:hvM:O:F:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbkreg2d.c:78:16: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"H:K:n:S:hvDO:f:F:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gblaepfit.c:369:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"x:O:s:d:hV:I:G:s:m:M:F:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gblafit.c:135:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"n:O:m:V:x:hF:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gblreg.c:106:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"v:hF:M:O:w",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbmave.c:42:16: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"s:hnF:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbmodes.c:354:16: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"t:n:m:he:vR:K:r:O:s:F:S:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbmstat.c:51:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"s:hF:tO:Db:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbnear.c:225:16: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"vn:K:k:hF:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbnlmult.c:484:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"v:hF:O:V:M:e:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbnlpanel.c:1550:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"M:v:hF:O:V:e:A:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbnlpolyit.c:803:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"v:hF:O:VA:R:r:M:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbnlpolyit.c:1243:5: [3] (random) srandom: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srandom(seed); data/gbutils-6.0/gbnlpolyit.c:1255:42: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. size_t index= (size_t) (rows*( (double) random())/RAND_MAX ); data/gbutils-6.0/gbnlprobit.c:764:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"v:hF:O:V:A:t:g:zB:M:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbnlqreg.c:368:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"v:hF:O:V:e:q:M:s:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbnlreg.c:953:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"v:hF:O:V:M:e:E:I:i:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbquant.c:47:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"W:w:vhtx:q:en:F:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbrand.c:78:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"hvc:r:R:b:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbstat.c:109:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"hstmF:O:o:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbtest.c:2387:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"hF:v:spb:o:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/gbxcorr.c:42:14: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((opt=getopt_long(argc,argv,"hF:M:",gb_long_options, &gb_option_index))!=EOF){ data/gbutils-6.0/tools.c:51:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if(FLOAT==NULL && getenv("GB_OUT_FLOAT_FORMAT")) data/gbutils-6.0/tools.c:52:20: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. FLOAT = strdup(getenv("GB_OUT_FLOAT_FORMAT")); data/gbutils-6.0/tools.c:53:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if(EMPTY==NULL && getenv("GB_OUT_EMPTY_FORMAT")) data/gbutils-6.0/tools.c:54:20: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. EMPTY = strdup(getenv("GB_OUT_EMPTY_FORMAT")); data/gbutils-6.0/tools.c:55:19: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if(SEP==NULL && getenv("GB_OUT_SEP")) data/gbutils-6.0/tools.c:56:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. SEP = strdup(getenv("GB_OUT_SEP")); data/gbutils-6.0/tools.c:57:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if(NL==NULL && getenv("GB_OUT_NL")) data/gbutils-6.0/tools.c:58:17: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. NL = strdup(getenv("GB_OUT_NL")); data/gbutils-6.0/tools.c:163:6: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if(getenv("GB_ERROR_HANDLER_OFF")) data/gbutils-6.0/gbacorr.c:97:7: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). tini=atoi(stmp2); data/gbutils-6.0/gbacorr.c:111:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_method = atoi(optarg); data/gbutils-6.0/gbaepfit.c:551:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). O_verbose=atoi(optarg); data/gbutils-6.0/gbaepfit.c:556:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). O_method = (unsigned) atoi(optarg); data/gbutils-6.0/gbaepfit.c:559:28: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). interv_step=(size_t) atoi(optarg); data/gbutils-6.0/gbaepfit.c:575:38: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). global_oparams.maxiter=(unsigned) atoi(stmp2); data/gbutils-6.0/gbaepfit.c:587:38: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). global_oparams.method= (unsigned) atoi(stmp2); data/gbutils-6.0/gbaepfit.c:605:38: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). interv_oparams.maxiter=(unsigned) atoi(stmp2); data/gbutils-6.0/gbaepfit.c:617:38: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). interv_oparams.method= (unsigned) atoi(stmp2); data/gbutils-6.0/gbaepfit.c:622:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). O_output=atoi(optarg); data/gbutils-6.0/gbalafit.c:191:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). O_verbose=atoi(optarg); data/gbutils-6.0/gbalafit.c:194:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). O_output=atoi(optarg); data/gbutils-6.0/gbalafit.c:215:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). steps = atoi(optarg); data/gbutils-6.0/gbbin.c:79:24: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). steps = (size_t) atoi(optarg); data/gbutils-6.0/gbbin.c:96:36: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printcolumn[printnum-1]= (size_t) atoi(stmp2); data/gbutils-6.0/gbboot.c:89:25: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = (unsigned) atol(optarg); data/gbutils-6.0/gbboot.c:97:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_output = atoi(optarg); data/gbutils-6.0/gbboot.c:101:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n=atoi(optarg); data/gbutils-6.0/gbboot.c:283:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(x,data[j],rows*sizeof(double)); data/gbutils-6.0/gbepfit.c:541:28: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). O_verbose=(unsigned) atoi(optarg); data/gbutils-6.0/gbepfit.c:546:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). O_method = (char) atoi(optarg); data/gbutils-6.0/gbepfit.c:549:30: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). interv_step=(unsigned) atoi(optarg); data/gbutils-6.0/gbepfit.c:565:38: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). global_oparams.maxiter=(unsigned) atoi(stmp2); data/gbutils-6.0/gbepfit.c:577:38: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). global_oparams.method= (unsigned) atoi(stmp2); data/gbutils-6.0/gbepfit.c:595:42: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). interv_oparams.maxiter=(unsigned) atoi(stmp2); data/gbutils-6.0/gbepfit.c:607:42: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). interv_oparams.method= (unsigned) atoi(stmp2); data/gbutils-6.0/gbepfit.c:612:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). O_output=atoi(optarg); data/gbutils-6.0/gbfun.c:153:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). switch(atoi(optarg)){ data/gbutils-6.0/gbfun.c:167:70: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). fprintf(stderr,"unclear binary specification %d, option ignored.\n",atoi(optarg)); data/gbutils-6.0/gbgcorr.c:111:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ntau = (unsigned) atoi(optarg); data/gbutils-6.0/gbgcorr.c:114:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ndim = (unsigned) atoi(optarg); data/gbutils-6.0/gbgcorr.c:117:24: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ntc = (unsigned) atoi(optarg); data/gbutils-6.0/gbgcorr.c:121:24: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed= (unsigned) atoi(optarg); data/gbutils-6.0/gbgcorr.c:125:24: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nref= (unsigned) atoi(optarg); data/gbutils-6.0/gbgcorr.c:132:24: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nres= (unsigned) atoi(optarg); data/gbutils-6.0/gbget.c:193:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). fin = ini = atoi(stmp5); data/gbutils-6.0/gbget.c:195:30: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if(strlen(stmp5)>0) fin = atoi(stmp5); data/gbutils-6.0/gbget.c:205:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). skip= atoi(stmp5); data/gbutils-6.0/gbget.c:1323:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). switch(atoi(optarg)){ data/gbutils-6.0/gbget.c:1341:70: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). fprintf(stderr,"unclear binary specification %d, option ignored.\n",atoi(optarg)); data/gbutils-6.0/gbget.c:1498:24: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). else if( (file = open(filename,O_RDONLY)) == -1){ data/gbutils-6.0/gbglreg.c:300:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_model = atoi(optarg); data/gbutils-6.0/gbglreg.c:304:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_output = atoi(optarg); data/gbutils-6.0/gbglreg.c:317:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_covtype = atoi(optarg); data/gbutils-6.0/gbglreg.c:327:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_verbose = atoi(optarg); data/gbutils-6.0/gbgrid.c:87:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). columns=atoi(optarg); data/gbutils-6.0/gbgrid.c:90:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rows=atoi(optarg); data/gbutils-6.0/gbhill.c:163:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_output = atoi(optarg); data/gbutils-6.0/gbhill.c:172:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_varcovar = atoi(optarg); data/gbutils-6.0/gbhill.c:181:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). llparams.method = atoi(optarg); data/gbutils-6.0/gbhill.c:202:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mmparams.maxiter=(unsigned) atoi(stmp2); data/gbutils-6.0/gbhill.c:214:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mmparams.method= (unsigned) atoi(stmp2); data/gbutils-6.0/gbhill.c:219:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_verbose = atoi(optarg); data/gbutils-6.0/gbhill.c:225:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). switch(atoi(optarg)){ data/gbutils-6.0/gbhill.c:242:70: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). fprintf(stderr,"unclear binary specification %d, option ignored.\n",atoi(optarg)); data/gbutils-6.0/gbhisto.c:274:26: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). steps = (unsigned) atoi(optarg); data/gbutils-6.0/gbhisto.c:278:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_output = atoi(optarg); data/gbutils-6.0/gbhisto.c:287:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_bintype = atoi(optarg); data/gbutils-6.0/gbhisto2d.c:58:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). xsteps=ysteps=atoi(optarg); data/gbutils-6.0/gbhisto2d.c:62:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). xsteps = atoi(strtok (stmp1,",")); data/gbutils-6.0/gbhisto2d.c:63:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ysteps = atoi(strtok (NULL,",")); data/gbutils-6.0/gbhisto2d.c:69:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_output = atoi(optarg); data/gbutils-6.0/gbhisto2d.c:264:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(merged,data[0],size*sizeof(double)); data/gbutils-6.0/gbhisto2d.c:265:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(merged+size,data[1],size*sizeof(double)); data/gbutils-6.0/gbhisto2d.c:371:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(xsorted,data[0],size*sizeof(double)); data/gbutils-6.0/gbhisto2d.c:372:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ysorted,data[1],size*sizeof(double)); data/gbutils-6.0/gbinterp.c:88:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n = atoi(optarg); data/gbutils-6.0/gbinterp.c:93:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_method = atoi(optarg); data/gbutils-6.0/gbinterp.c:97:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_output = atoi(optarg); data/gbutils-6.0/gbinterp.c:186:20: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( (infile = open(infilename,O_RDONLY)) == -1 ){ data/gbutils-6.0/gbker.c:85:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). M=(int) atoi(optarg); data/gbutils-6.0/gbker.c:123:22: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_kerneltype = atoi(optarg); data/gbutils-6.0/gbker.c:132:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_method= atoi(optarg); data/gbutils-6.0/gbker2d.c:89:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). M[0]=M[1]=atoi(optarg); data/gbutils-6.0/gbker2d.c:93:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). M[0] = atoi(strtok (stmp1,",")); data/gbutils-6.0/gbker2d.c:94:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). M[1] = atoi(strtok (NULL,",")); data/gbutils-6.0/gbker2d.c:100:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_kerneltype = atoi(optarg); data/gbutils-6.0/gbkreg.c:104:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). M=(size_t) atoi(optarg); data/gbutils-6.0/gbkreg.c:108:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_kerneltype = atoi(optarg); data/gbutils-6.0/gbkreg.c:117:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_method= atoi(optarg); data/gbutils-6.0/gbkreg2d.c:102:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). M[0]=M[1]=atoi(optarg); data/gbutils-6.0/gbkreg2d.c:106:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). M[0] = atoi(strtok (stmp1,",")); data/gbutils-6.0/gbkreg2d.c:107:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). M[1] = atoi(strtok (NULL,",")); data/gbutils-6.0/gbkreg2d.c:125:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_kerneltype = atoi(optarg); data/gbutils-6.0/gblaepfit.c:421:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). O_verbose= (unsigned) atoi(optarg); data/gbutils-6.0/gblaepfit.c:426:29: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). O_method = (unsigned) atoi(optarg); data/gbutils-6.0/gblaepfit.c:429:30: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). interv_step=(unsigned) atoi(optarg); data/gbutils-6.0/gblaepfit.c:445:38: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). global_oparams.maxiter=(unsigned) atoi(stmp2); data/gbutils-6.0/gblaepfit.c:457:38: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). global_oparams.method= (unsigned) atoi(stmp2); data/gbutils-6.0/gblaepfit.c:475:38: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). interv_oparams.maxiter=(unsigned) atoi(stmp2); data/gbutils-6.0/gblaepfit.c:487:38: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). interv_oparams.method= (unsigned) atoi(stmp2); data/gbutils-6.0/gblaepfit.c:492:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). O_output=atoi(optarg); data/gbutils-6.0/gblafit.c:167:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). O_verbose=atoi(optarg); data/gbutils-6.0/gblafit.c:170:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). O_output=atoi(optarg); data/gbutils-6.0/gblafit.c:191:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). steps = atoi(optarg); data/gbutils-6.0/gblreg.c:122:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_model = atoi(optarg); data/gbutils-6.0/gblreg.c:126:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_output = atoi(optarg); data/gbutils-6.0/gblreg.c:134:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_verbose = atoi(optarg); data/gbutils-6.0/gbmave.c:62:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lag=(size_t) atoi(optarg); data/gbutils-6.0/gbmodes.c:365:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N=(int) atoi(optarg); data/gbutils-6.0/gbmodes.c:373:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). M = (unsigned) atoi(optarg); data/gbutils-6.0/gbmodes.c:397:20: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = (unsigned) atol(optarg); data/gbutils-6.0/gbmodes.c:401:22: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). trials = (unsigned) atoi(optarg); data/gbutils-6.0/gbmodes.c:405:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_kerneltype = atoi(optarg); data/gbutils-6.0/gbmodes.c:409:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_output = atoi(optarg); data/gbutils-6.0/gbmstat.c:71:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lag=(size_t) atoi(optarg); data/gbutils-6.0/gbmstat.c:80:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). switch(atoi(optarg)){ data/gbutils-6.0/gbmstat.c:94:70: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). fprintf(stderr,"unclear binary specification %d, option ignored.\n",atoi(optarg)); data/gbutils-6.0/gbnear.c:236:5: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). k= atoi(optarg); data/gbutils-6.0/gbnear.c:240:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n= (size_t) atoi(optarg); data/gbutils-6.0/gbnear.c:244:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_kerneltype = atoi(optarg); data/gbutils-6.0/gbnlmult.c:535:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_output = atoi(optarg); data/gbutils-6.0/gbnlmult.c:544:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_varcovar = atoi(optarg); data/gbutils-6.0/gbnlmult.c:552:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_verbose = atoi(optarg); data/gbutils-6.0/gbnlmult.c:649:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). size_t index = (atoi(stmp1+1)>0?atoi(stmp1+1):0); data/gbutils-6.0/gbnlmult.c:649:36: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). size_t index = (atoi(stmp1+1)>0?atoi(stmp1+1):0); data/gbutils-6.0/gbnlpanel.c:1631:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mmparams.maxiter=(unsigned) atoi(stmp2); data/gbutils-6.0/gbnlpanel.c:1643:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mmparams.method= (unsigned) atoi(stmp2); data/gbutils-6.0/gbnlpanel.c:1655:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_model = atoi(optarg); data/gbutils-6.0/gbnlpanel.c:1664:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_output = atoi(optarg); data/gbutils-6.0/gbnlpanel.c:1673:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_varcovar = atoi(optarg); data/gbutils-6.0/gbnlpanel.c:1682:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_verbose = atoi(optarg); data/gbutils-6.0/gbnlpanel.c:1763:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). size_t index = (atoi(stmp1+1)>0?atoi(stmp1+1):0); data/gbutils-6.0/gbnlpanel.c:1763:34: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). size_t index = (atoi(stmp1+1)>0?atoi(stmp1+1):0); data/gbutils-6.0/gbnlpolyit.c:858:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_model=atoi(optarg); data/gbutils-6.0/gbnlpolyit.c:867:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_output = atoi(optarg); data/gbutils-6.0/gbnlpolyit.c:880:25: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed = (unsigned) atol(optarg); data/gbutils-6.0/gbnlpolyit.c:884:27: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). replicas = (size_t) atoi(optarg); data/gbutils-6.0/gbnlpolyit.c:900:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mmparams.maxiter=(unsigned) atoi(stmp2); data/gbutils-6.0/gbnlpolyit.c:912:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mmparams.method= (unsigned) atoi(stmp2); data/gbutils-6.0/gbnlpolyit.c:917:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_verbose = atoi(optarg); data/gbutils-6.0/gbnlpolyit.c:1033:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). size_t index = (atoi(stmp1+1)>0?atoi(stmp1+1):0); data/gbutils-6.0/gbnlpolyit.c:1033:34: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). size_t index = (atoi(stmp1+1)>0?atoi(stmp1+1):0); data/gbutils-6.0/gbnlprobit.c:872:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_method = atoi(optarg); data/gbutils-6.0/gbnlprobit.c:885:26: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). thsteps = (size_t) atoi(optarg); data/gbutils-6.0/gbnlprobit.c:894:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_output = atoi(optarg); data/gbutils-6.0/gbnlprobit.c:903:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_varcovar = atoi(optarg); data/gbutils-6.0/gbnlprobit.c:924:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mmparams.maxiter=(unsigned) atoi(stmp2); data/gbutils-6.0/gbnlprobit.c:936:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mmparams.method= (unsigned) atoi(stmp2); data/gbutils-6.0/gbnlprobit.c:950:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). scoremmparams.maxiter=(unsigned) atoi(stmp2); data/gbutils-6.0/gbnlprobit.c:959:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_verbose = atoi(optarg); data/gbutils-6.0/gbnlprobit.c:1170:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). size_t index = (atoi(stmp1+1)>0?atoi(stmp1+1):0); data/gbutils-6.0/gbnlprobit.c:1170:34: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). size_t index = (atoi(stmp1+1)>0?atoi(stmp1+1):0); data/gbutils-6.0/gbnlqreg.c:439:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_method = atoi(optarg); data/gbutils-6.0/gbnlqreg.c:448:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_output = atoi(optarg); data/gbutils-6.0/gbnlqreg.c:457:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_varcovar = atoi(optarg); data/gbutils-6.0/gbnlqreg.c:465:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_verbose = atoi(optarg); data/gbutils-6.0/gbnlqreg.c:545:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). size_t index = (atoi(stmp1+1)>0?atoi(stmp1+1):0); data/gbutils-6.0/gbnlqreg.c:545:34: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). size_t index = (atoi(stmp1+1)>0?atoi(stmp1+1):0); data/gbutils-6.0/gbnlreg.c:1010:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxiter = atoi(optarg); data/gbutils-6.0/gbnlreg.c:1014:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). restart_maxiter = atoi(optarg); data/gbutils-6.0/gbnlreg.c:1023:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_method = atoi(optarg); data/gbutils-6.0/gbnlreg.c:1032:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_output = atoi(optarg); data/gbutils-6.0/gbnlreg.c:1041:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_varcovar = atoi(optarg); data/gbutils-6.0/gbnlreg.c:1049:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_verbose = atoi(optarg); data/gbutils-6.0/gbnlreg.c:1127:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). size_t index = (atoi(stmp1+1)>0?atoi(stmp1+1):0); data/gbutils-6.0/gbnlreg.c:1127:34: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). size_t index = (atoi(stmp1+1)>0?atoi(stmp1+1):0); data/gbutils-6.0/gbquant.c:85:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_position=atoi(optarg); data/gbutils-6.0/gbquant.c:126:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). n=atoi(optarg); data/gbutils-6.0/gbrand.c:153:12: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). seed=atol(optarg); data/gbutils-6.0/gbrand.c:159:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). columns=atoi(optarg); data/gbutils-6.0/gbrand.c:162:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rows=atoi(optarg); data/gbutils-6.0/gbrand.c:166:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). switch(atoi(optarg)){ data/gbutils-6.0/gbrand.c:180:70: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). fprintf(stdout,"unclear binary specification %d, option ignored.\n",atoi(optarg)); data/gbutils-6.0/gbrand.c:248:41: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). #define INT_ARG(x) if (argc-optind) { x=atoi(argv[optind]);optind++;} else {PERROR( #x);}; data/gbutils-6.0/gbtest.c:2094:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data1,data[i],sizeof(double)*len); data/gbutils-6.0/gbtest.c:2169:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data1,data[i1],sizeof(double)*len); data/gbutils-6.0/gbtest.c:2170:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data2,data[i2],sizeof(double)*len); data/gbutils-6.0/gbtest.c:2263:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data1,data[i1],sizeof(double)*len1); data/gbutils-6.0/gbtest.c:2264:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data2,data[i2],sizeof(double)*len2); data/gbutils-6.0/gbtest.c:2456:28: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). O_Verbose=(unsigned) atoi(optarg); data/gbutils-6.0/gbtest.c:2466:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). switch(atoi(optarg)){ data/gbutils-6.0/gbtest.c:2480:70: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). fprintf(stderr,"unclear binary specification %d, option ignored.\n",atoi(optarg)); data/gbutils-6.0/gbxcorr.c:74:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). o_method= atoi(optarg); data/gbutils-6.0/tools.c:279:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, str, n); data/gbutils-6.0/gbacorr.c:96:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbacorr.c:98:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(stmp1 != NULL && strlen(stmp1)>0) data/gbutils-6.0/gbaepfit.c:566:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:570:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:574:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:578:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:582:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:586:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:596:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:600:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:604:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:608:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:612:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:616:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:633:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:637:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:641:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:645:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbaepfit.c:649:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbalafit.c:205:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbbin.c:93:53: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). while( (stmp2=strsep (&stmp1,",")) != NULL && strlen(stmp2)>0 ){ data/gbutils-6.0/gbbin.c:148:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0 && stmp1 != NULL && strlen(stmp1)>0){ data/gbutils-6.0/gbbin.c:148:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0 && stmp1 != NULL && strlen(stmp1)>0){ data/gbutils-6.0/gbenv.c:160:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int cnt = val ? strlen (val) : 0; data/gbutils-6.0/gbepfit.c:556:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbepfit.c:560:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbepfit.c:564:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbepfit.c:568:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbepfit.c:572:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbepfit.c:576:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbepfit.c:586:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbepfit.c:590:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbepfit.c:594:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbepfit.c:598:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbepfit.c:602:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbepfit.c:606:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbepfit.c:623:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbepfit.c:627:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbepfit.c:631:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbget.c:73:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if(idx1<strlen(pointer)) data/gbutils-6.0/gbget.c:147:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strspn(*blockslice,"-1234567890:;")<strlen(*blockslice)){ data/gbutils-6.0/gbget.c:151:43: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strspn(*columnslice,"-1234567890:;")<strlen(*columnslice)){ data/gbutils-6.0/gbget.c:155:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strspn(*rowslice,"-1234567890:;")<strlen(*rowslice)){ data/gbutils-6.0/gbget.c:192:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( (stmp5=strsep (&stmp4,":")) != NULL && strlen(stmp5)>0 ) data/gbutils-6.0/gbget.c:195:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp5)>0) fin = atoi(stmp5); data/gbutils-6.0/gbget.c:204:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( (stmp5=strsep (&stmp4,",")) != NULL && strlen(stmp5)>0 ) data/gbutils-6.0/gbget.c:970:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for(itmp1=0;itmp1<strlen(transform);itmp1++){ data/gbutils-6.0/gbget.c:1130:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i=itmp1;i<strlen(transform) && transform[i] != '>';i++); data/gbutils-6.0/gbget.c:1151:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i=itmp1;i<strlen(transform) && transform[i] != '}';i++); data/gbutils-6.0/gbget.c:1226:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(finaltransform)>0) data/gbutils-6.0/gbget.c:1243:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(finaltransform)>0) data/gbutils-6.0/gbget.c:1424:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len1 = strlen(optarg); data/gbutils-6.0/gbget.c:1425:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len2 = strlen(finaltransform); data/gbutils-6.0/gbget.c:1443:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2) >0){ data/gbutils-6.0/gbget.c:1572:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(transform)>0 && strcmp(transform,"P") ) data/gbutils-6.0/gbgrid.c:148:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strcspn (FLOAT,"fge") < strlen(FLOAT) ){ data/gbutils-6.0/gbgrid.c:161:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if( strcspn (FLOAT,"d") < strlen(FLOAT) ){ data/gbutils-6.0/gbhill.c:193:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbhill.c:197:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbhill.c:201:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbhill.c:205:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbhill.c:209:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbhill.c:213:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbhisto.c:261:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0 && stmp1 != NULL && strlen(stmp1)>0){ data/gbutils-6.0/gbhisto.c:261:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0 && stmp1 != NULL && strlen(stmp1)>0){ data/gbutils-6.0/gbker.c:95:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbker.c:97:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(stmp1 != NULL && strlen(stmp1)>0) data/gbutils-6.0/gblaepfit.c:436:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblaepfit.c:440:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblaepfit.c:444:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblaepfit.c:448:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblaepfit.c:452:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblaepfit.c:456:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblaepfit.c:466:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblaepfit.c:470:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblaepfit.c:474:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblaepfit.c:478:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblaepfit.c:482:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblaepfit.c:486:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblaepfit.c:503:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblaepfit.c:507:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblaepfit.c:511:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblaepfit.c:515:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gblafit.c:181:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlmult.c:586:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strlen(stmp5)>0 && strlen(stmp4)>0){ data/gbutils-6.0/gbnlmult.c:586:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strlen(stmp5)>0 && strlen(stmp4)>0){ data/gbutils-6.0/gbnlpanel.c:1622:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlpanel.c:1626:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlpanel.c:1630:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlpanel.c:1634:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlpanel.c:1638:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlpanel.c:1642:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlpanel.c:1715:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strlen(stmp5)>0 && strlen(stmp4)>0){ data/gbutils-6.0/gbnlpanel.c:1715:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strlen(stmp5)>0 && strlen(stmp4)>0){ data/gbutils-6.0/gbnlpolyit.c:891:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlpolyit.c:895:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlpolyit.c:899:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlpolyit.c:903:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlpolyit.c:907:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlpolyit.c:911:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlpolyit.c:983:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strlen(stmp5)>0 && strlen(stmp4)>0){ data/gbutils-6.0/gbnlpolyit.c:983:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strlen(stmp5)>0 && strlen(stmp4)>0){ data/gbutils-6.0/gbnlprobit.c:915:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlprobit.c:919:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlprobit.c:923:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlprobit.c:927:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlprobit.c:931:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlprobit.c:935:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlprobit.c:945:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlprobit.c:949:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlprobit.c:953:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbnlprobit.c:1120:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strlen(stmp5)>0 && strlen(stmp4)>0){ data/gbutils-6.0/gbnlprobit.c:1120:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strlen(stmp5)>0 && strlen(stmp4)>0){ data/gbutils-6.0/gbnlprobit.c:1516:73: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fprintf(stderr,"%*s point est. st. err. se/pe P{pe=0}",(int) strlen(Param[0])+2,""); data/gbutils-6.0/gbnlqreg.c:497:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strlen(stmp5)>0 && strlen(stmp4)>0){ data/gbutils-6.0/gbnlqreg.c:497:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strlen(stmp5)>0 && strlen(stmp4)>0){ data/gbutils-6.0/gbnlreg.c:1079:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strlen(stmp5)>0 && strlen(stmp4)>0){ data/gbutils-6.0/gbnlreg.c:1079:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strlen(stmp5)>0 && strlen(stmp4)>0){ data/gbutils-6.0/gbquant.c:101:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(stmp2)>0) data/gbutils-6.0/gbquant.c:103:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(stmp1 != NULL && strlen(stmp1)>0) data/gbutils-6.0/gbquant.c:133:53: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). while( (stmp2=strsep (&stmp1,",")) != NULL && strlen(stmp2)>0 ){ data/gbutils-6.0/gbquant.c:146:53: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). while( (stmp2=strsep (&stmp1,",")) != NULL && strlen(stmp2)>0 ){ data/gbutils-6.0/gbrand.c:558:50: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). while( (stmp2=strsep (&stmp1,",")) != NULL && strlen(stmp2)>0 ){ data/gbutils-6.0/gbtest.c:947:13: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. else if(equal != 0){ data/gbutils-6.0/gbtest.c:949:39: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. const double meanrank = i+1-0.5*equal; data/gbutils-6.0/gbtest.c:950:16: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. for (j=i-equal;j<=i;j++) data/gbutils-6.0/gbtest.c:967:10: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if(equal != 0){ data/gbutils-6.0/gbtest.c:969:34: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. const double meanrank = i+1-0.5*equal; data/gbutils-6.0/gbtest.c:970:11: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. for (j=i-equal;j<=i;j++) data/gbutils-6.0/lib/getdelim.c:82:11: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). i = getc (fp); data/gbutils-6.0/tools.c:46:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(thsep)>0) data/gbutils-6.0/tools.c:137:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). FLOAT_SEP = (char *) my_alloc((strlen(FLOAT)+strlen(SEP)+1)*sizeof(char)); data/gbutils-6.0/tools.c:137:48: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). FLOAT_SEP = (char *) my_alloc((strlen(FLOAT)+strlen(SEP)+1)*sizeof(char)); data/gbutils-6.0/tools.c:141:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). FLOAT_NL=(char *) my_alloc((strlen(FLOAT)+3)*sizeof(char)); data/gbutils-6.0/tools.c:145:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). EMPTY_SEP=(char *) my_alloc((strlen(EMPTY)+strlen(SEP)+1)*sizeof(char)); data/gbutils-6.0/tools.c:145:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). EMPTY_SEP=(char *) my_alloc((strlen(EMPTY)+strlen(SEP)+1)*sizeof(char)); data/gbutils-6.0/tools.c:149:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). EMPTY_NL=(char *) my_alloc((strlen(EMPTY)+3)*sizeof(char)); data/gbutils-6.0/tools.c:153:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). INT_SEP = (char *) my_alloc((strlen(INT)+strlen(SEP)+1)*sizeof(char)); data/gbutils-6.0/tools.c:153:44: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). INT_SEP = (char *) my_alloc((strlen(INT)+strlen(SEP)+1)*sizeof(char)); data/gbutils-6.0/tools.c:157:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). INT_NL=(char *) my_alloc((strlen(INT)+3)*sizeof(char)); data/gbutils-6.0/tools.c:274:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). n = strlen(str); data/gbutils-6.0/tools.c:323:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strcspn (FLOAT,"fge") < strlen(FLOAT) ){ data/gbutils-6.0/tools.c:330:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if( strcspn (FLOAT,"d") < strlen(FLOAT) ){ data/gbutils-6.0/tools.c:349:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strcspn (FLOAT,"fge") < strlen(FLOAT) ){ data/gbutils-6.0/tools.c:356:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if( strcspn (FLOAT,"d") < strlen(FLOAT) ){ data/gbutils-6.0/tools.c:384:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strcspn (FLOAT,"fge") < strlen(FLOAT) ){ data/gbutils-6.0/tools.c:398:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if( strcspn (FLOAT,"d") < strlen(FLOAT) ){ data/gbutils-6.0/tools.c:582:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). while(strspn(line," \t\n") == strlen(line) || line[0]=='#'); data/gbutils-6.0/tools.c:588:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(stmp1 [strlen(stmp1)-1]=='\n') data/gbutils-6.0/tools.c:589:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). stmp1 [strlen(stmp1)-1]='\0'; data/gbutils-6.0/tools.c:634:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(stmp1 [strlen(stmp1)-1]=='\n') data/gbutils-6.0/tools.c:635:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). stmp1 [strlen(stmp1)-1]='\0'; data/gbutils-6.0/tools.c:640:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( strspn(stmp1," \t") == strlen(stmp1) ){ /*empty line*/ ANALYSIS SUMMARY: Hits = 1116 Lines analyzed = 35879 in approximately 1.27 seconds (28360 lines/second) Physical Source Lines of Code (SLOC) = 23982 Hits@level = [0] 2659 [1] 153 [2] 175 [3] 68 [4] 720 [5] 0 Hits@level+ = [0+] 3775 [1+] 1116 [2+] 963 [3+] 788 [4+] 720 [5+] 0 Hits/KSLOC@level+ = [0+] 157.41 [1+] 46.5349 [2+] 40.1551 [3+] 32.858 [4+] 30.0225 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.