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/octave-octclip-2.0.1/src/posmatvec.c
Examining data/octave-octclip-2.0.1/src/dpeuckera.c
Examining data/octave-octclip-2.0.1/src/dpeucker.c
Examining data/octave-octclip-2.0.1/src/fgeneral.c
Examining data/octave-octclip-2.0.1/src/libgeoc/dpeucker.h
Examining data/octave-octclip-2.0.1/src/libgeoc/errores.h
Examining data/octave-octclip-2.0.1/src/libgeoc/mate.h
Examining data/octave-octclip-2.0.1/src/libgeoc/dpeuckere.h
Examining data/octave-octclip-2.0.1/src/libgeoc/compilador.h
Examining data/octave-octclip-2.0.1/src/libgeoc/arco.h
Examining data/octave-octclip-2.0.1/src/libgeoc/ptopol.h
Examining data/octave-octclip-2.0.1/src/libgeoc/dpeuckera.h
Examining data/octave-octclip-2.0.1/src/libgeoc/constantes.h
Examining data/octave-octclip-2.0.1/src/libgeoc/calctopo.h
Examining data/octave-octclip-2.0.1/src/libgeoc/proyecaux.h
Examining data/octave-octclip-2.0.1/src/libgeoc/geocomp.h
Examining data/octave-octclip-2.0.1/src/libgeoc/posmatvec.h
Examining data/octave-octclip-2.0.1/src/libgeoc/geom.h
Examining data/octave-octclip-2.0.1/src/libgeoc/eucli.h
Examining data/octave-octclip-2.0.1/src/libgeoc/polil.h
Examining data/octave-octclip-2.0.1/src/libgeoc/general.h
Examining data/octave-octclip-2.0.1/src/libgeoc/greiner.h
Examining data/octave-octclip-2.0.1/src/libgeoc/recpolil.h
Examining data/octave-octclip-2.0.1/src/libgeoc/polig.h
Examining data/octave-octclip-2.0.1/src/libgeoc/dpeuckerp.h
Examining data/octave-octclip-2.0.1/src/libgeoc/fgeneral.h
Examining data/octave-octclip-2.0.1/src/libgeoc/ventorno.h
Examining data/octave-octclip-2.0.1/src/libgeoc/geocnan.h
Examining data/octave-octclip-2.0.1/src/libgeoc/segmento.h
Examining data/octave-octclip-2.0.1/src/eucli.c
Examining data/octave-octclip-2.0.1/src/polil.c
Examining data/octave-octclip-2.0.1/src/recpolil.c
Examining data/octave-octclip-2.0.1/src/geocnan.c
Examining data/octave-octclip-2.0.1/src/octclip.h
Examining data/octave-octclip-2.0.1/src/mate.c
Examining data/octave-octclip-2.0.1/src/dpeuckerp.c
Examining data/octave-octclip-2.0.1/src/polig.c
Examining data/octave-octclip-2.0.1/src/geocomp.c
Examining data/octave-octclip-2.0.1/src/ventorno.c
Examining data/octave-octclip-2.0.1/src/proyecaux.c
Examining data/octave-octclip-2.0.1/src/compilador.c
Examining data/octave-octclip-2.0.1/src/greiner.c
Examining data/octave-octclip-2.0.1/src/arco.c
Examining data/octave-octclip-2.0.1/src/calctopo.c
Examining data/octave-octclip-2.0.1/src/segmento.c
Examining data/octave-octclip-2.0.1/src/errores.c
Examining data/octave-octclip-2.0.1/src/dpeuckere.c
Examining data/octave-octclip-2.0.1/src/ptopol.c
Examining data/octave-octclip-2.0.1/src/_oc_polybool.cc

FINAL RESULTS:

data/octave-octclip-2.0.1/src/_oc_polybool.cc:198:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(&errorText[strlen(errorText)],
data/octave-octclip-2.0.1/src/geocnan.c:121:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(cadena,formato,1);
data/octave-octclip-2.0.1/src/geocnan.c:142:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(formatoTexto,"%s%zu%s","%",lon,"s");
data/octave-octclip-2.0.1/src/geocnan.c:163:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(idFich,formato,GEOC_NAN_TXT);
data/octave-octclip-2.0.1/src/geocomp.c:49:9:  [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(version,GEOC_OMP_V_1_0);
data/octave-octclip-2.0.1/src/geocomp.c:54:9:  [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(version,GEOC_OMP_V_2_0);
data/octave-octclip-2.0.1/src/geocomp.c:59:9:  [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(version,GEOC_OMP_V_2_5);
data/octave-octclip-2.0.1/src/geocomp.c:64:9:  [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(version,GEOC_OMP_V_3_0);
data/octave-octclip-2.0.1/src/geocomp.c:69:9:  [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(version,GEOC_OMP_V_3_1);
data/octave-octclip-2.0.1/src/geocomp.c:74:9:  [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(version,GEOC_OMP_V_DESC);
data/octave-octclip-2.0.1/src/libgeoc/errores.h:170:9:  [4] (format) 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,GEOC_PLINEA" %d del fichero '%s'\n",__LINE__,__FILE__); \
data/octave-octclip-2.0.1/src/polig.c:1862:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(idFich,formArea,area);
data/octave-octclip-2.0.1/src/polig.c:1928:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(idFich,formCoor,xMin);
data/octave-octclip-2.0.1/src/polig.c:1930:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(idFich,formCoor,xMax);
data/octave-octclip-2.0.1/src/polig.c:1932:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(idFich,formCoor,yMin);
data/octave-octclip-2.0.1/src/polig.c:1934:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(idFich,formCoor,yMax);
data/octave-octclip-2.0.1/src/polig.c:1943:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(idFich,formAtr,poli->atr[indice]);
data/octave-octclip-2.0.1/src/polig.c:2018:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(idFich,formCoor,factorX*poli->x[pos+j]);
data/octave-octclip-2.0.1/src/polig.c:2019:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(idFich,formCoor,factorY*poli->y[pos+j]);
data/octave-octclip-2.0.1/src/polil.c:1435:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(idFich,formCoor,xMin);
data/octave-octclip-2.0.1/src/polil.c:1437:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(idFich,formCoor,xMax);
data/octave-octclip-2.0.1/src/polil.c:1439:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(idFich,formCoor,yMin);
data/octave-octclip-2.0.1/src/polil.c:1441:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(idFich,formCoor,yMax);
data/octave-octclip-2.0.1/src/polil.c:1505:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(idFich,formCoor,factorX*poli->x[pos+j]);
data/octave-octclip-2.0.1/src/polil.c:1506:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(idFich,formCoor,factorY*poli->y[pos+j]);
data/octave-octclip-2.0.1/src/posmatvec.c:61:5:  [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(tipo,GEOC_MATR_COD_ALM_RMO);
data/octave-octclip-2.0.1/src/posmatvec.c:64:5:  [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(tipo,GEOC_MATR_COD_ALM_CMO);
data/octave-octclip-2.0.1/src/greiner.c:757:5:  [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((unsigned int)time(NULL));
data/octave-octclip-2.0.1/src/ventorno.c:51:14:  [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.
    valEnv = getenv(var);
data/octave-octclip-2.0.1/src/_oc_polybool.cc:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errorText[ERRORTEXT+1]="_oc_polybool:\n\t";
data/octave-octclip-2.0.1/src/_oc_polybool.cc:112:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(&errorText[strlen(errorText)],
data/octave-octclip-2.0.1/src/_oc_polybool.cc:162:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(&errorText[strlen(errorText)],"Error in memory allocation");
data/octave-octclip-2.0.1/src/_oc_polybool.cc:218:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(&errorText[strlen(errorText)],"Error in memory allocation");
data/octave-octclip-2.0.1/src/dpeucker.c:64:63:  [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).
    sal = CasosEspecialesAligeraPolilinea(x,y,nPtos,incX,incY,atol,nPtosSal,
data/octave-octclip-2.0.1/src/dpeucker.c:89:58:  [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).
        sal = DouglasPeuckerOriginal(x,y,nPtos,incX,incY,atol,esf,nPtosSal);
data/octave-octclip-2.0.1/src/dpeucker.c:94:57:  [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).
        sal = DouglasPeuckerRobusto(x,y,nPtos,incX,incY,atol,paralelizaTol,
data/octave-octclip-2.0.1/src/dpeucker.c:156:58:  [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).
        DouglasPeuckerOriginalEsfera(x,y,nPtos,incX,incY,atol,0,nPtos-1,usados);
data/octave-octclip-2.0.1/src/dpeucker.c:161:57:  [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).
        DouglasPeuckerOriginalPlano(x,y,nPtos,incX,incY,atol,0,nPtos-1,usados);
data/octave-octclip-2.0.1/src/dpeucker.c:254:63:  [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).
    sal = CasosEspecialesAligeraPolilinea(x,y,nPtos,incX,incY,atol,nPtosSal,
data/octave-octclip-2.0.1/src/dpeucker.c:279:63:  [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).
        sal = DouglasPeuckerRobustoEsfera(x,y,nPtos,incX,incY,atol,
data/octave-octclip-2.0.1/src/dpeuckere.c:183:63:  [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).
    sal = CasosEspecialesAligeraPolilinea(x,y,nPtos,incX,incY,atol,nPtosSal,
data/octave-octclip-2.0.1/src/dpeuckere.c:302:56:  [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).
                                                       atol,i,j,i+1,j-1,lonFinR,
data/octave-octclip-2.0.1/src/dpeuckere.c:309:58:  [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).
                                                         atol,i,j,i+1,j-1,
data/octave-octclip-2.0.1/src/dpeuckere.c:474:13:  [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).
    atol = (atol<=(2.0*GEOC_CONST_PI)) ? sin(atol) : 1.0-cos(atol);
data/octave-octclip-2.0.1/src/dpeuckere.c:474:46:  [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).
    atol = (atol<=(2.0*GEOC_CONST_PI)) ? sin(atol) : 1.0-cos(atol);
data/octave-octclip-2.0.1/src/dpeuckere.c:474:62:  [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).
    atol = (atol<=(2.0*GEOC_CONST_PI)) ? sin(atol) : 1.0-cos(atol);
data/octave-octclip-2.0.1/src/dpeuckere.c:486:71:  [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).
 shared(posPtoIni,posPtoFin,incX,x,incY,y,ccart,xG,yG,zG,mRot,lonFinR,atol) \
data/octave-octclip-2.0.1/src/dpeuckere.c:519:21:  [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).
            if(dist>atol)
data/octave-octclip-2.0.1/src/dpeuckere.c:581:13:  [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).
    atol = (atol<=(2.0*GEOC_CONST_PI)) ? sin(atol) : 1.0-cos(atol);
data/octave-octclip-2.0.1/src/dpeuckere.c:581:46:  [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).
    atol = (atol<=(2.0*GEOC_CONST_PI)) ? sin(atol) : 1.0-cos(atol);
data/octave-octclip-2.0.1/src/dpeuckere.c:581:62:  [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).
    atol = (atol<=(2.0*GEOC_CONST_PI)) ? sin(atol) : 1.0-cos(atol);
data/octave-octclip-2.0.1/src/dpeuckere.c:607:17:  [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).
        if(dist>atol)
data/octave-octclip-2.0.1/src/dpeuckerp.c:106:17:  [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).
        if(dist>atol)
data/octave-octclip-2.0.1/src/dpeuckerp.c:169:63:  [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).
    sal = CasosEspecialesAligeraPolilinea(x,y,nPtos,incX,incY,atol,nPtosSal,
data/octave-octclip-2.0.1/src/dpeuckerp.c:240:69:  [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).
            entol = DouglasPeuckerPuntosEnTolPlanoOMP(x,y,incX,incY,atol,i,j,
data/octave-octclip-2.0.1/src/dpeuckerp.c:246:71:  [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).
            entol = DouglasPeuckerPuntosEnTolPlanoSerie(x,y,incX,incY,atol,i,j,
data/octave-octclip-2.0.1/src/dpeuckerp.c:399:62:  [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).
 shared(posPtoIni,posPtoFin,incX,x,incY,y,xIni,yIni,dx,sA,cA,atol) \
data/octave-octclip-2.0.1/src/dpeuckerp.c:417:21:  [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).
            if(dist>atol)
data/octave-octclip-2.0.1/src/dpeuckerp.c:491:17:  [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).
        if(dist>atol)
data/octave-octclip-2.0.1/src/geocnan.c:115:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cadena[GEOC_NAN_LON_FORM_NUM_SIMPLE+1];
data/octave-octclip-2.0.1/src/polig.c:1975:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char formNan[GEOC_NAN_LON_FORM_NUM_SIMPLE+1];
data/octave-octclip-2.0.1/src/polil.c:1468:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char formNan[GEOC_NAN_LON_FORM_NUM_SIMPLE+1];
data/octave-octclip-2.0.1/src/_oc_polybool.cc:112:28:  [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).
        sprintf(&errorText[strlen(errorText)],
data/octave-octclip-2.0.1/src/_oc_polybool.cc:162: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).
            sprintf(&errorText[strlen(errorText)],"Error in memory allocation");
data/octave-octclip-2.0.1/src/_oc_polybool.cc:198: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).
            sprintf(&errorText[strlen(errorText)],
data/octave-octclip-2.0.1/src/_oc_polybool.cc:218: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).
            sprintf(&errorText[strlen(errorText)],"Error in memory allocation");
data/octave-octclip-2.0.1/src/dpeuckere.c:58:9:  [1] (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). Risk is low because the source is a constant character.
        strcpy(version,"");
data/octave-octclip-2.0.1/src/dpeuckerp.c:58:9:  [1] (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). Risk is low because the source is a constant character.
        strcpy(version,"");
data/octave-octclip-2.0.1/src/fgeneral.c:58:9:  [1] (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). Risk is low because the source is a constant character.
        strcpy(version,"");
data/octave-octclip-2.0.1/src/geocnan.c:123:11:  [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).
    lon = strlen(cadena);
data/octave-octclip-2.0.1/src/polig.c:57:9:  [1] (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). Risk is low because the source is a constant character.
        strcpy(version,"");
data/octave-octclip-2.0.1/src/polil.c:57:9:  [1] (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). Risk is low because the source is a constant character.
        strcpy(version,"");
data/octave-octclip-2.0.1/src/ptopol.c:82:9:  [1] (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). Risk is low because the source is a constant character.
        strcpy(version,"");

ANALYSIS SUMMARY:

Hits = 73
Lines analyzed = 28310 in approximately 0.99 seconds (28628 lines/second)
Physical Source Lines of Code (SLOC) = 11408
Hits@level = [0]  26 [1]  11 [2]  33 [3]   2 [4]  27 [5]   0
Hits@level+ = [0+]  99 [1+]  73 [2+]  62 [3+]  29 [4+]  27 [5+]   0
Hits/KSLOC@level+ = [0+] 8.67812 [1+] 6.39902 [2+] 5.43478 [3+] 2.54208 [4+] 2.36676 [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.