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/r-bioc-cner-1.26.0+dfsg/inst/obsolete/alignment.c
Examining data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScan.c
Examining data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c
Examining data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/CNEr.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/IRanges_stubs.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/R_init_CNEr.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/S4Vectors_stubs.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/XVector_stubs.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/io.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/_cheapcgi.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/_portimpl.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/_portimpl.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/base64.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/base64.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/binRange.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/binRange.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/bits.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/bits.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/chain.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/chain.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cirTree.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cirTree.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dlist.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dlist.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dnaseq.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dnaseq.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dnautil.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dnautil.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dystring.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dystring.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/errabort.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/errabort.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/hash.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/hash.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/htmshell.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/https.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/https.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/intExp.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/internet.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/internet.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/kxTok.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/kxTok.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/linefile.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/linefile.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/localmem.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/localmem.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/memalloc.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/memalloc.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/mime.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/mime.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/options.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/options.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/os.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/oswin9x.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/pipeline.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/pipeline.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portable.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portimpl.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portimpl.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servBrcMcw.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servCrunx.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servcis.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servcl.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servmsII.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servpws.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/sig.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/sqlList.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/sqlList.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/sqlNum.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/sqlNum.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/verbose.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/verbose.h
Examining data/r-bioc-cner-1.26.0+dfsg/src/ucsc/wildcmp.c
Examining data/r-bioc-cner-1.26.0+dfsg/src/utils.c

FINAL RESULTS:

data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:345:7:  [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(cigar, temp);
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:352:5:  [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(cigar, temp);
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:356: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(holdCigar, cigar); 
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:712: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(tName, CHAR(STRING_ELT(tNames, i)));
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:737: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(name, CHAR(STRING_ELT(names, i)));
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:921:5:  [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(name, temp);
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:923:5:  [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(name, temp);
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:925:5:  [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(name, temp); 
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:345:7:  [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(cigar, temp);
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:352:5:  [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(cigar, temp);
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:356: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(holdCigar, cigar); 
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:710: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(tName, CHAR(STRING_ELT(tNames, i)));
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:734: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(name, CHAR(STRING_ELT(names, i)));
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:806: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(filepath_elt, CHAR(STRING_ELT(outputFiles, i)));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:299:7:  [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(cigar, temp);
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:307:5:  [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(cigar, temp);
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:311: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(holdCigar, cigar); 
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:718: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(tName, CHAR(STRING_ELT(tNames, i)));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:741: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(name, CHAR(STRING_ELT(names, i)));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:784: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(buffer, CHAR(STRING_ELT(axtqNames, i)));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:792: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(buffer, CHAR(STRING_ELT(axtqSym, i)));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:796: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(buffer, CHAR(STRING_ELT(axttNames, i)));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:803: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(buffer, CHAR(STRING_ELT(axttSym, i)));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:837: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(filepath_elt, CHAR(STRING_ELT(outputFiles, i)));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:907: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(filepath_elt, CHAR(STRING_ELT(tFilterFile, 0)));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:911: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(filepath_elt, CHAR(STRING_ELT(qFilterFile, 0)));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:922: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(filepath_elt, CHAR(STRING_ELT(axtFiles, i)));
data/r-bioc-cner-1.26.0+dfsg/src/io.c:17: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(filepath_elt, CHAR(STRING_ELT(filepath, 0)));
data/r-bioc-cner-1.26.0+dfsg/src/io.c:70: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(filepath_elt, CHAR(STRING_ELT(filepath, i)));
data/r-bioc-cner-1.26.0+dfsg/src/io.c:146: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(filepath_elt, CHAR(STRING_ELT(filepath, j)));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/_portimpl.c:21: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(pathCopy, pathName);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/_portimpl.c:56: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(fi->name, name);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:600: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(sn->name, name);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:844:2:  [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(s, el->name);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:846: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(s, del);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1164:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(strPtr,"\"%s\"=",pair->name);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1168:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(strPtr,"%s=",pair->name); // warn but still make string
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1172:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(strPtr,"%s=",pair->name);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1177:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(strPtr,"\"%s\"",(char *)(pair->val));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1181:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(strPtr,"%s",(char *)(pair->val)); // warn but still make string
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1185:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(strPtr,"%s",(char *)(pair->val));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1218:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(strPtr,"\"%s\"",pair->name);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1224:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(strPtr,"%s",pair->name); // warn but still make string
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1228:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(strPtr,"%s",pair->name);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1600: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(resultPtr, string);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1604: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(resultPtr, new);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1609:1:  [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(resultPtr, string);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:2784:14:  [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.
int status = system(cmd);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3184:10:  [4] (format) vsnprintf:
  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.
int sz = vsnprintf(buffer, bufSize, format, args);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3212:1:  [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(buf, src);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3237:1:  [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(buf, src);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3308:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stdout, label, args);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3321:1:  [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(pathBuf, path);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:174: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.
#define uglyf printf  /* debugging printf */
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:261:23:  [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.
__attribute__((format(printf, 1, 2)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:268:23:  [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.
__attribute__((format(printf, 1, 2)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:278:23:  [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.
__attribute__((format(printf, 1, 2)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:285:23:  [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.
__attribute__((format(printf, 1, 2)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:294:23:  [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.
__attribute__((format(printf, 2, 3)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:306:23:  [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.
__attribute__((format(printf, 2, 3)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:1325:23:  [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.
__attribute__((format(printf, 3, 4)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:1393:23:  [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.
__attribute__((format(printf, 1, 2)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dystring.c:157:10:  [4] (format) vsnprintf:
  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.
    sz = vsnprintf(ds->string + ds->stringSize, avail, format, argscp);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dystring.h:62:23:  [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.
__attribute__((format(printf, 2, 3)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/errabort.c:55:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, format, args);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/errabort.c:127:1:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
sprintf(fbuf, "%s\n%s", strerror(errno), format);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/errabort.c:211:1:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
sprintf(fbuf, "%s\n%s", strerror(errno), format);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/errabort.h:29:23:  [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.
__attribute__((format(printf, 1, 2)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/errabort.h:39:23:  [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.
__attribute__((format(printf, 1, 2)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/errabort.h:64:23:  [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.
__attribute__((format(printf, 1, 2)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/errabort.h:71:23:  [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.
__attribute__((format(printf, 1, 2)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/linefile.h:147:23:  [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.
__attribute__((format(printf, 2, 3)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/localmem.c:197:1:  [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(n->name, name);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:429:1:  [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(buf, url);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:2609:4:  [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(npu->file, dyQ->string);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:202:6:  [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(pathName+fileNameOffset, fileName);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:302:1:  [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(host, getHost());
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:375: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(excessStart, excessEnd);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:422:1:  [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(newPath+newLen, s);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:539:1:  [4] (shell) execvp:
  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.
execvp(cmd[0], cmd);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:555:1:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
vfprintf(stderr, format, args);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/oswin9x.c:182:11:  [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(pathName+fileNameOffset, fileName);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/pipeline.c:210:1:  [4] (shell) execvp:
  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.
execvp(proc->cmd[0], proc->cmd);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portimpl.c:114:1:  [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(pathCopy, pathName);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servBrcMcw.c:21:1:  [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(tn->forCgi, tname);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servBrcMcw.c:22:1:  [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(tn->forHtml, tname);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servCrunx.c:24:1:  [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(tn->forCgi, tname);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servCrunx.c:26:1:  [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(tn->forHtml+tlhLen, tn->forCgi+tlcLen);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servcis.c:21:1:  [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(tn->forCgi, tname);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servcis.c:22:1:  [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(tn->forHtml, tname);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servcl.c:18:1:  [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(tn->forCgi, tname);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servcl.c:19:1:  [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(tn->forHtml, tn->forCgi);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servmsII.c:18:1:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
sprintf(tn->forCgi, "%s\\%s%ld%s", __trashDir, base, tempIx, suffix);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servmsII.c:19:1:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
sprintf(tn->forHtml, "%s\\%s%ld%s", __trashDir, base, tempIx, suffix);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servpws.c:18:1:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
sprintf(tn->forCgi, "%s\\%s%ld%s", __trashDir, base, tempIx, suffix);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servpws.c:19:1:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
sprintf(tn->forHtml, "%s\\%s%ld%s", __trashDir, base, tempIx, suffix);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/verbose.c:23:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(logFile, format, args);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/verbose.h:12:23:  [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.
__attribute__((format(printf, 2, 3)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/verbose.h:27:23:  [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.
__attribute__((format(printf, 2, 3)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:49:8:  [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.
return getenv("REQUEST_METHOD") != NULL;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:55:8:  [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.
return getenv("REQUEST_METHOD");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:61:8:  [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.
return getenv("REQUEST_URI");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:67:8:  [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.
return getenv("CONTENT_LENGTH");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:73:8:  [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.
return getenv("SCRIPT_NAME");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:80:8:  [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.
return getenv("SERVER_NAME");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:86: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.
char *port = getenv("SERVER_PORT");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:114: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.
char *remoteAddr = getenv("REMOTE_ADDR");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:123:8:  [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.
return getenv("HTTP_USER_AGENT");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:234:15:  [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.
inputString = getenv("QUERY_STRING");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:262:5:  [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.
s = getenv("CONTENT_LENGTH");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:267:5:  [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.
s = getenv("CONTENT_TYPE");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:474: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.
str = cloneString(getenv("HTTP_COOKIE"));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:486:33:  [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.
		 namePt, (int)(namePt - str), getenv("HTTP_COOKIE"));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:551: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.
qs = getenv("QUERY_STRING");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:554:12:  [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.
char *cl = getenv("CONTENT_LENGTH");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:722:5:  [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.
s = getenv("CONTENT_TYPE");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:2002: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.
char *host = getenv("HOST");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:2072:12:  [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.
char *ip = getenv("REMOTE_ADDR");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:2073: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.
char *cgiBinary = getenv("SCRIPT_FILENAME");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:2074: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.
char *requestUri = getenv("REQUEST_URI");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3375:8:  [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.
    tz=getenv("TZ");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/errabort.c:166: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("ERRASSERT") != NULL) || (getenv("ERRABORT") != NULL))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/errabort.c:166:39:  [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("ERRASSERT") != NULL) || (getenv("ERRABORT") != NULL))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1067: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.
char *proxyUrl = getenv("http_proxy");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:251:16:  [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.
    hostName = getenv("HTTP_HOST");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:254:13:  [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.
	hostName = getenv("HOST");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:288: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.
	return (host = getenv("MYSQLHOST"));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:404: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.
    char *homeDir = getenv("HOME");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portimpl.c:21:15:  [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.
    char *s = getenv("SERVER_SOFTWARE");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portimpl.c:35:16:  [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.
	    char *t = getenv("HTTP_HOST");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servcl.c:25: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.
if ((jkwebDir = getenv("JKWEB")) == NULL)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/verbose.c:78:23:  [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.
        char *emacs = getenv("emacs");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/verbose.c:79:22:  [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.
        char *term = getenv("TERM");
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScan.c:130:3:  [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 *row[2];
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScan.c:151:3:  [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 *row[3];
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScan.c:589:3:  [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 rest, path[PATH_LEN];
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:104:3:  [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 *row[2];
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:124:3:  [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 *row[3];
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:332:3:  [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 temp[100];
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:333:3:  [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 cigar[1000];
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:344:7:  [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(temp, "%d%c", count, type);
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:351:5:  [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(temp, "%d%c", count, type);
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:615:3:  [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 rest, path[PATH_LEN];
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:797:3:  [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 path[PATH_LEN];
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:845:3:  [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 name[20], temp[10];
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:897: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((char *) (&cached_ans_elt)->seq, CNE->cigar, INTEGER(width)[i] * sizeof(char));
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:920:5:  [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(temp, "%d", tr->minScore);
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:922:5:  [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(temp, "%c", ',');
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:924:5:  [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(temp, "%d", tr->winSize);
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:104:3:  [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 *row[2];
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:124:3:  [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 *row[3];
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:332:3:  [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 temp[100];
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:333:3:  [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 cigar[1000];
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:344:7:  [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(temp, "%d%c", count, type);
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:351:5:  [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(temp, "%d%c", count, type);
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:613:3:  [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 rest, path[PATH_LEN];
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:793:3:  [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 path[PATH_LEN];
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:43:3:  [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 *row[2];
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:63:3:  [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 *row[3];
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:280:3:  [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 temp[100];
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:282:3:  [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 cigar[1000];
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:296:7:  [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(temp, "%d%c", count, type);
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:306:5:  [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(temp, "%d%c", count, type);
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:615:3:  [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 rest, path[PATH_LEN];
data/r-bioc-cner-1.26.0+dfsg/src/io.c:20:3:  [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 *row[3];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/_cheapcgi.c:67:11:  [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 buf[4];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/_portimpl.c:20:3:  [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 pathCopy[len+1];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:56:1:  [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 *words[10], *line;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:517:1:  [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 *matrixDna[32];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:526: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).
ss->matrix['a']['a'] = atoi(matrixDna[0]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:527: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).
ss->matrix['a']['c'] = atoi(matrixDna[1]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:528: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).
ss->matrix['a']['g'] = atoi(matrixDna[2]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:529: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).
ss->matrix['a']['t'] = atoi(matrixDna[3]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:531: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).
ss->matrix['c']['a'] = atoi(matrixDna[4]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:532: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).
ss->matrix['c']['c'] = atoi(matrixDna[5]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:533: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).
ss->matrix['c']['g'] = atoi(matrixDna[6]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:534: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).
ss->matrix['c']['t'] = atoi(matrixDna[7]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:536: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).
ss->matrix['g']['a'] = atoi(matrixDna[8]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:537: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).
ss->matrix['g']['c'] = atoi(matrixDna[9]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:538: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).
ss->matrix['g']['g'] = atoi(matrixDna[10]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:539: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).
ss->matrix['g']['t'] = atoi(matrixDna[11]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:541: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).
ss->matrix['t']['a'] = atoi(matrixDna[12]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:542: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).
ss->matrix['t']['c'] = atoi(matrixDna[13]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:543: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).
ss->matrix['t']['g'] = atoi(matrixDna[14]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:544: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).
ss->matrix['t']['t'] = atoi(matrixDna[15]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:595:1:  [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 columns[24];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:596:1:  [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 *row[25];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:644: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).
	    val = atoi(row[i]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:702:1:  [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 *line, *row[4], *parts[32];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:731: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).
	    ss->gapOpen = atoi(parts[i+1]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:736: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).
	    ss->gapExtend = atoi(parts[i+1]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/bits.c:70:1:  [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(bits, orig, byteCount);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/bits.c:103:1:  [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(bits, orig, byteCount);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/chain.c:257:1:  [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 *row[13];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/chain.c:298:1:  [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 *row[3];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/chain.c:393:1:  [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 nameBuf[16];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/chain.c:455:1:  [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 nameBuf[16];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/chain.c:463:1:  [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 nameBuf[16];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:300:1:  [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 h[1024];  /* hold mime header line */
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:394:2:  [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 varNameFilename[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:409:6:  [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 varNameBinary[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:410:6:  [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 addrSizeBuf[40];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:430:2:  [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 varNameData[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:555: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).
if (cl != NULL && atoi(cl) > 0)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:898:9:  [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 buf[4];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:942:9:  [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 buf[4];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1009:8:  [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).
return atoi(data);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1096:1:  [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 javascript[1024];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1248:1:  [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 buf[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1262:1:  [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 buf[256], idBuf[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1283:1:  [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 buf[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1295:1:  [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 buf[512];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1329:1:  [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 shadName[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1358:1:  [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 buf[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1444: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).
            sz=atoi(min) + 1000;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1465:1:  [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 minLimit[20];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1466:1:  [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 maxLimit[20];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1484:1:  [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 minLimit[20];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1496:1:  [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 maxLimit[20];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1541:1:  [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 minLimit[20];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1542:1:  [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 maxLimit[20];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1560:1:  [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 minLimit[20];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1572:1:  [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 maxLimit[20];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1655:1:  [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 buf[512];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1682:1:  [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 buf[512];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1962:8:  [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.
static char queryString[65536];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1968:8:  [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.
static char hostLine[512];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:18:1:  [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(newPt, pt, size);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:27:1:  [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(d, s, copySize);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:61:1:  [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(newBuf, a, aLen);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:62:1:  [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(newBuf+aLen, b, bLen);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:614:1:  [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(sn->name, name, size);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:830:1:  [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 del[2];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1032:1:  [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 name[1024];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1033:1:  [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 val[1024];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1034:1:  [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 buf[1024];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1302: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).
return (atoi((char *)(a->val)) - atoi((char *)(b->val)));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1302: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).
return (atoi((char *)(a->val)) - atoi((char *)(b->val)));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1629: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(p,newStr,strlen(newStr));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1820: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).
       int diff = atoi(a) - atoi(b);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1820: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).
       int diff = atoi(a) - atoi(b);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:2345:1:  [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(new, line, size);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:2420:10:  [2] (misc) fopen:
  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 ((f = fopen(fileName, mode)) == NULL)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:2504:33:  [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.
boolean fastReadString(FILE *f, char buf[256])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:2567:10:  [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).
int fd = open(fileName, flags, mode);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3318:1:  [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 pathBuf[PATH_LEN];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3374: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 save_tz[100];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:252:39:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define CopyArray(source, dest,count) memcpy(dest,source,(count)*sizeof(dest[0]))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:515: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 name[1];               /* Allocated at run time to length of string. */
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:1035:16:  [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.
void splitPath(char *path, char dir[PATH_LEN], char name[FILENAME_LEN],
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:1035:28:  [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.
void splitPath(char *path, char dir[PATH_LEN], char name[FILENAME_LEN],
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:1035:48:  [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.
void splitPath(char *path, char dir[PATH_LEN], char name[FILENAME_LEN],
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:1036:9:  [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 extension[FILEEXT_LEN]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:1127:33:  [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.
boolean fastReadString(FILE *f, char buf[256]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:1208:1:  [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(buf, *pPt, size);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:1215:1:  [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(*pPt, buf, size);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:1402:35:  [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).
                               || atoi(setting) != 0) )
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dnaseq.c:34:1:  [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(seq->dna, orig->dna, seq->size+1);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dnautil.c:332:1:  [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 ntChars[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dnautil.c:352:1:  [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 ntMixedCaseChars[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dnautil.c:551:26:  [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.
long dnaOrAaFilteredSize(char *raw, char filter[256])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dnautil.c:551:37:  [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.
long dnaOrAaFilteredSize(char *raw, char filter[256])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dnautil.c:564:20:  [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.
void dnaOrAaFilter(char *in, char *out, char filter[256])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dnautil.c:564:30:  [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.
void dnaOrAaFilter(char *in, char *out, char filter[256])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dnautil.c:564:41:  [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.
void dnaOrAaFilter(char *in, char *out, char filter[256])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dnautil.c:1050: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 abbreviation[3];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dystring.c:87:1:  [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(buf+oldSize, string, stringSize);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/errabort.c:124:1:  [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 fbuf[512];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/errabort.c:208:1:  [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 fbuf[512];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/errabort.c:301:3:  [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 key[64];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/hash.c:92:1:  [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 s[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/hash.c:128: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(el->name, name, nameSize);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/https.c:93:1:  [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 hostnameProto[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/https.c:153:2:  [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 s[256];	
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/https.c:192:2:  [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 s[256];	
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/https.c:212:1:  [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 sbuf[32768];  // socket buffer sv[1] to user
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/https.c:213:1:  [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 bbuf[32768];  // bio buffer
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/internet.c:76:43:  [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.
boolean internetIpToDottedQuad(bits32 ip, char dottedQuad[17])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/internet.c:119:30:  [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.
void internetParseDottedQuad(char *dottedQuad, unsigned char quad[4])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/internet.c:119:57:  [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.
void internetParseDottedQuad(char *dottedQuad, unsigned char quad[4])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/internet.c:128: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).
    quad[i] = atoi(s);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/internet.c:133:47:  [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.
void internetUnpackIp(bits32 packed, unsigned char unpacked[4])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/internet.c:145:37:  [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.
boolean internetIpInSubnet(unsigned char unpackedIp[4], unsigned char subnet[4])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/internet.c:145:66:  [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.
boolean internetIpInSubnet(unsigned char unpackedIp[4], unsigned char subnet[4])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/internet.h:19:43:  [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.
boolean internetIpToDottedQuad(bits32 ip, char dottedQuad[17]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/internet.h:32:30:  [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.
void internetParseDottedQuad(char *dottedQuad, unsigned char quad[4]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/internet.h:32:57:  [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.
void internetParseDottedQuad(char *dottedQuad, unsigned char quad[4]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/internet.h:35:47:  [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.
void internetUnpackIp(bits32 packed, unsigned char unpacked[4]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/internet.h:39:37:  [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.
boolean internetIpInSubnet(unsigned char unpackedIp[4], 
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/internet.h:40:11:  [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.
	unsigned char subnet[4]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/kxTok.c:23:1:  [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(tok->string, string, stringSize);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/kxTok.h:43: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 string[1];  /* Allocated at run time */
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/linefile.c:20:1:  [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 buf[20];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/linefile.c:106:11:  [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 ((fd = open(fileName, O_RDONLY)) >= 0)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/linefile.c:300:14:  [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).
    int fd = open(fileName, O_RDONLY);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/linefile.c:949:8:  [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).
return atoi(ascii);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/linefile.c:1056: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).
		    *contentLength = atoi(code);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/localmem.c:126:1:  [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(new, pt, oldSize);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/localmem.c:134:1:  [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(d, pt, size);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/localmem.c:146: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(s, string, size);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/memalloc.c:253:1:  [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 cmbEndCookie[4] = {0x44, 0x33, 0x7F, 0x42};
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/memalloc.c:287: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 maxAlloc[32];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/memalloc.c:288: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 allocRequest[32];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/memalloc.c:301:1:  [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(pEndCookie, cmbEndCookie, sizeof(cmbEndCookie));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/memalloc.c:334: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(newBlk, vpt, cmb->size);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/mime.c:155:1:  [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 line[MAXPARTLINESIZE];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/mime.c:310:1:  [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 value[1024]; 
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/mime.c:337:1:  [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 value[1024]; 
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/mime.c:477: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 bound[MAXBOUNDARY]; 
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/mime.c:672: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(p->data,dy->string,dy->stringSize);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/mime.h:30: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 buf[MIMEBUFSIZE];  /* actual buffer */
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:358:21:  [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.
void netParseSubnet(char *in, unsigned char out[4])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:358:40:  [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.
void netParseSubnet(char *in, unsigned char out[4])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:366: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 *words[5];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:377:6:  [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).
	x = atoi(s);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:424:1:  [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 buf[1024];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:437:5:  [2] (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 string.
    strcpy(parsed->protocol, "http");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:477:2:  [2] (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 string.
	strcpy(parsed->user, "anonymous");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:478:2:  [2] (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 string.
	strcpy(parsed->password, "x@genome.ucsc.edu");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:509:2:  [2] (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 string.
	strcpy(parsed->port, "80");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:511:2:  [2] (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 string.
	strcpy(parsed->port, "443");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:513:2:  [2] (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 string.
	strcpy(parsed->port, "21");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:628:2:  [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 buf[4*1024];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:664: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).
int reply = atoi(startLastLine);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:691:1:  [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 *words[7];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:701: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).
result = atoi(words[4])*256+atoi(words[5]);    
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:701: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).
result = atoi(words[4])*256+atoi(words[5]);    
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:709:1:  [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 *words[3];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:725:1:  [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 *words[3];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:878:1:  [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 buf[32768];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1041: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 up[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1163: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).
		status = atoi(word);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1200:1:  [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 rangeUrl[2048];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1231:12:  [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).
    return open(url, O_RDONLY);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1254:1:  [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 buf[4*1024];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1310:1:  [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 buf[2000];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1437:3:  [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 bre[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1460: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 bre[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1663:1:  [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 outTempX[1024];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1664:1:  [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 outTemp[1024];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1700:1:  [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 outTemp[1024];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1701:1:  [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 outStat[1024];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1785:1:  [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 outTemp[1024];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1835: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 ftpTime[80];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1966: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 nicenumber[1024]="";
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1974:11:  [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).
int out = open(outPath, O_CREAT|O_WRONLY, 0664);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1989:1:  [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 buf[BUFSIZE];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:2033:6:  [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 urlExt[1024];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:2251:3:  [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 errMsg[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:2377:1:  [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 *netGetString(int sd, char buf[256])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:2377:28:  [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 *netGetString(int sd, char buf[256])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:2382:8:  [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.
static char sbuf[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:2470:1:  [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 *netRecieveString(int sd, char buf[256])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:2470:32:  [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 *netRecieveString(int sd, char buf[256])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:2534: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 up[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.h:37:36:  [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.
int netAcceptFrom(int sd, unsigned char subnet[4]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.h:66:1:  [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 *netRecieveString(int sd, char buf[256]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.h:66:32:  [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 *netRecieveString(int sd, char buf[256]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.h:78:1:  [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 *netGetString(int sd, char buf[256]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.h:78:28:  [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 *netGetString(int sd, char buf[256]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.h:102:21:  [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.
void netParseSubnet(char *in, unsigned char out[4]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.h:102:40:  [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.
void netParseSubnet(char *in, unsigned char out[4]);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.h:109:4:  [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 protocol[16];	/* Protocol - http or ftp, etc. */
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.h:110:4:  [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 user[128];	/* User name (optional)  */
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.h:111:4:  [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 password[128];	/* Password  (optional)  */
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.h:112:4:  [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 host[128];	/* Name of host computer - www.yahoo.com, etc. */
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.h:113:4:  [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 port[16];       /* Port, usually 80 or 8080. */
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.h:114:4:  [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 file[1024];	/* Remote file name/query string, starts with '/' */
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:20:11:  [2] (misc) fopen:
  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).
FILE *f = fopen(fileName, "r+b");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:28:9:  [2] (misc) fopen:
  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).
    f = fopen(fileName, "wb");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:144:1:  [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 *row[2];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:156:1:  [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 *row[2];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:192:5:  [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).
s = open(source, O_RDONLY);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:544:5:  [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(s, "%lld,%03lld,%03lld,%03lld", billions, millions, thousands, l);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:552:5:  [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(s, "%lld,%03lld,%03lld", millions, thousands, l);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:558:5:  [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(s, "%lld,%03lld", thousands, l);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:561:5:  [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(s, "%lld", l);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:567:1:  [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 ascii[32];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:693:1:  [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 temp[256];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:77:8:  [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.
static char dir[PATH_LEN];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:185:1:  [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 pathName[512];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:189:1:  [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(pathName, dir, dirNameSize);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:248:8:  [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.
static char buf[128];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:281:12:  [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.
    static char hostBuf[128];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:301:1:  [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 host[512];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:308:8:  [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.
static char name[PATH_LEN];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:318:8:  [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.
static char fileName[PATH_LEN];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:399:1:  [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 newPath[PATH_LEN];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:529:1:  [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 *cmd[3], pidStr[32];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:613:15:  [2] (misc) fopen:
  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).
    FILE *f = fopen(fileName, "w");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/oswin9x.c:72:8:  [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.
static char dir[_MAX_PATH];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/oswin9x.c:158:3:  [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 pathName[512];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/oswin9x.c:174:3:  [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(pathName, dir, dirNameSize);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/pipeline.c:359:1:  [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 buf[1];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/pipeline.c:391:10:  [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).
int fd = open(fname, O_RDONLY);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/pipeline.c:405:10:  [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).
int fd = open(fname, flags, 0666);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/pipeline.c:498:1:  [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 **cmds[2];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/pipeline.c:508:1:  [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 **cmds[2];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/pipeline.c:519:1:  [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 **cmds[2];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portable.h:31: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 name[1];	/* Allocated at run time. */
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portable.h:92:2:  [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 forCgi[128];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portable.h:93:2:  [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 forHtml[128];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portimpl.c:88:1:  [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 trashDirName[128];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portimpl.c:113:1:  [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 pathCopy[len+1];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servCrunx.c:25:1:  [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(tn->forHtml, tempDirHtml, tlhLen);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:163: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 rangeUrl[2048];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:444:46:  [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.
boolean udcFastReadString(struct udcFile *f, char buf[256])
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:467:1:  [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(path, file->cacheDir, dirLen);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:469:1:  [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(path+dirLen+1, fileName, nameLen);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:519:10:  [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).
int fd = open(fileName, O_RDWR);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:718:2:  [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(d, "Q%02X", (unsigned)c);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:750:2:  [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 auth[1024];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:872: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(&(file->connInfo), &(info.ci), sizeof(struct connInfo));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:985:1:  [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 protocol[16];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:996:1:  [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 afterProtocol[4096];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:1261:6:  [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(cbuf, file->sparseReadAheadBuf + (start-raStart), sizeInBuf);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:1397:1:  [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 shortBuf[2], *longBuf = NULL, *buf = shortBuf;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:1407: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(newBuf, buf, bufSize);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.h:144:46:  [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.
boolean udcFastReadString(struct udcFile *f, char buf[256]);
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:334:3:  [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(cigar, "");
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:711: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).
    char *tName = (char *) malloc(sizeof(char) * strlen(CHAR(STRING_ELT(tNames, i))));
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:736:49:  [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).
    char *name = (char *) malloc(sizeof(char) * strlen(CHAR(STRING_ELT(names, i))));
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:853:63:  [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).
      IntAE_insert_at(&width_buf, IntAE_get_nelt(&width_buf), strlen(CNE->cigar));
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch1.c:919:5:  [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(name, "");
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:334:3:  [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(cigar, "");
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:709: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).
    char *tName = (char *) malloc(sizeof(char) * strlen(CHAR(STRING_ELT(tNames, i))));
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:733:49:  [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).
    char *name = (char *) malloc(sizeof(char) * strlen(CHAR(STRING_ELT(names, i))));
data/r-bioc-cner-1.26.0+dfsg/inst/obsolete/src/ceScanBranch2.c:805: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).
    char *filepath_elt = (char *) R_alloc(strlen(CHAR(STRING_ELT(outputFiles, i))), sizeof(char));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:284:3:  [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(cigar, "");
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:717: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).
        (strlen(CHAR(STRING_ELT(tNames, i)))+1));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:740: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).
        (strlen(CHAR(STRING_ELT(names, i)))+1));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:783: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).
      R_alloc(strlen(CHAR(STRING_ELT(axtqNames, i))) + 1, sizeof(char));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:791: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).
      R_alloc(strlen(CHAR(STRING_ELT(axtqSym, i))) + 1, sizeof(char));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:795: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).
      R_alloc(strlen(CHAR(STRING_ELT(axttNames, i))) + 1, sizeof(char));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:802: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).
      R_alloc(strlen(CHAR(STRING_ELT(axttSym, i))) + 1, sizeof(char));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:836: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).
      R_alloc(strlen(CHAR(STRING_ELT(outputFiles, i)))+1, sizeof(char));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:906: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).
    R_alloc(strlen(CHAR(STRING_ELT(tFilterFile, 0)))+1, sizeof(char));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:910: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).
    R_alloc(strlen(CHAR(STRING_ELT(qFilterFile, 0)))+1, sizeof(char));
data/r-bioc-cner-1.26.0+dfsg/src/ceScan.c:921: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).
      R_alloc(strlen(CHAR(STRING_ELT(axtFiles, i)))+1, sizeof(char));
data/r-bioc-cner-1.26.0+dfsg/src/io.c:16: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).
    R_alloc(strlen(CHAR(STRING_ELT(filepath, 0))) + 1, sizeof(char));
data/r-bioc-cner-1.26.0+dfsg/src/io.c:69:24:  [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).
      (char *) R_alloc(strlen(CHAR(STRING_ELT(filepath, i)))+1, sizeof(char));
data/r-bioc-cner-1.26.0+dfsg/src/io.c:145:24:  [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).
      (char *) R_alloc(strlen(CHAR(STRING_ELT(filepath, j)))+1, sizeof(char));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/_portimpl.c:19: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).
  int len = strlen(pathName);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/_portimpl.c:50: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).
  int len = strlen(name);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:83: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).
axt->symCount = symCount = strlen(line);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:86: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(line) != symCount)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:88: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).
    	symCount, (int)strlen(line), lf->lineIx, lf->fileName);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:115: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(axt->tSym) != strlen(axt->qSym)) || (axt->symCount > strlen(axt->tSym)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:115: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 ((strlen(axt->tSym) != strlen(axt->qSym)) || (axt->symCount > strlen(axt->tSym)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:115:66:  [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(axt->tSym) != strlen(axt->qSym)) || (axt->symCount > strlen(axt->tSym)))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:118: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).
	    (int)strlen(axt->qSym), (int)strlen(axt->tSym), axt->symCount,
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:118:35:  [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)strlen(axt->qSym), (int)strlen(axt->tSym), axt->symCount,
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:119: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).
	    (int)strlen(axt->tSym), axt->qName, ix);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:619: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(letter) != 1)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/axt.c:631: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(row[0]) != 1 || isdigit(letter))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/base64.c:61: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).
l = strlen(p);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/base64.c:89:17:  [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 inplen = strlen(input);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:154:20:  [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).
            ptr += strlen("MSIE ");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:160:20:  [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).
            ptr += strlen("(Firefox/");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:166:20:  [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).
            ptr += strlen("Chrome/");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:172:20:  [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).
            ptr += strlen("Safari/");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:184:20:  [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).
            ptr += strlen("Windows ");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:190:20:  [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).
            ptr += strlen("Linux ");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:196:20:  [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).
            ptr += strlen("Mac ");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:260: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).
int getSize = strlen(inputString);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:280:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    r = getc(stdin);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:287:1:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
strncpy(temp+i, inputString, getSize);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:495: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).
    cgiDecode(dataPt,dataPt,strlen(dataPt));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:605: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).
    cgiDecode(namePt,namePt,strlen(namePt));	/* for unusual ct names */
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:606: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).
    cgiDecode(dataPt,dataPt,strlen(dataPt));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1387: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 (charSize == 0) charSize = strlen(initialVal);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1410: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).
    width=strlen(initialVal)*10;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1439: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).
        width=strlen(max)*10;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:1524: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).
        width=strlen(max)*10;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/cheapcgi.c:2081: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).
size_t len = strlen(ascTime);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:35: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).
return cloneStringZExt(s, strlen(s), size);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:44: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).
size = strlen(s);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:51: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).
size_t size = strlen(s);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:58: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).
int aLen = strlen(a), bLen = strlen(b);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:58:30:  [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 aLen = strlen(a), bLen = strlen(b);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:598: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).
    int len = strlen(name);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:837: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).
	len += strlen(el->name);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1081: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(name)<1)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1140: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).
    count += strlen(pair->name);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1141: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).
    count += strlen((char *)(pair->val));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1157:62:  [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 (pair = list; pair != NULL; pair = pair->next, strPtr += strlen(strPtr))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1173: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).
    strPtr += strlen(strPtr);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1200: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).
    count += strlen(pair->name);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1211:62:  [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 (pair = list; pair != NULL; pair = pair->next, strPtr += strlen(strPtr))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1371: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).
int len = strlen(firstWord);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1388: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).
char c = line[strlen(firstWord)];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1403: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 (ix == strlen(word))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1424: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).
int nSize = strlen(needle);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1426: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).
for (pos = haystack + strlen(haystack) - nSize; pos >= haystack; pos -= 1)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1443: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).
    pos = p + strlen(start);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1459: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).
sLen = strlen(string);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1460: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).
eLen = strlen(end);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1472: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).
return s[strlen(s)-1];
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1478: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).
int len = strlen(s);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1489:19:  [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).
char *sPos = s + (strlen(s) - 1);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1579: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).
int oldLen = strlen(old);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1580: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).
int newLen = strlen(new);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1592: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).
strLen = max(strlen(string) + (numTimes * (newLen - oldLen)), strlen(string));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1592:63:  [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).
strLen = max(strlen(string) + (numTimes * (newLen - oldLen)), strlen(string));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1620: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).
for(p=strstr(string,oldStr);p!=NULL;p=strstr(p+strlen(oldStr),oldStr))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1624: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(string)+(count*(strlen(newStr) - strlen(oldStr))))>=sz)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1624: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).
if((strlen(string)+(count*(strlen(newStr) - strlen(oldStr))))>=sz)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1624: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((strlen(string)+(count*(strlen(newStr) - strlen(oldStr))))>=sz)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1626: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).
for(p=strstr(string,oldStr);p!=NULL;p=strstr(p+strlen(newStr),oldStr))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1628: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).
    memmove(p+strlen(newStr),p+strlen(oldStr),strlen(p+strlen(oldStr))+1); // NULL at end is also moved!
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1628: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).
    memmove(p+strlen(newStr),p+strlen(oldStr),strlen(p+strlen(oldStr))+1); // NULL at end is also moved!
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1628:47:  [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).
    memmove(p+strlen(newStr),p+strlen(oldStr),strlen(p+strlen(oldStr))+1); // NULL at end is also moved!
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1628:56:  [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).
    memmove(p+strlen(newStr),p+strlen(oldStr),strlen(p+strlen(oldStr))+1); // NULL at end is also moved!
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1629: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).
    memcpy(p,newStr,strlen(newStr));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1679: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).
if (inout == NULL || strlen(inout) < 2 || *inout != encloser)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1682: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).
char *end = inout + (strlen(inout) - 1);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1694:30:  [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).
return memmove(inout,inout+1,strlen(inout));  // use memmove to safely copy in place
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:1701:17:  [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 stripSize = strlen(strip);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:2116: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).
int len = strlen(s);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:2356: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).
    *line += strlen(new);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:2370: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).
*pStrings += strlen(p)+1;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:2465: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).
int len = strlen(s);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:2594:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    actualSize = read(fd, cbuf, size);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:2640: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).
int size = strlen(head) + strlen(suffix) +1;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:2640: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).
int size = strlen(head) + strlen(suffix) +1;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3083:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
while (((ch = getc(fh)) != EOF) && (ch != '\n'))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3151: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).
haystackLen = strlen(haystack);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3152: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).
needleLen = strlen(needle);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3209: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).
size_t slen = strlen(src);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3226:1:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
strncpy(buf, src, n);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3233: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).
size_t blen = strlen(buf);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3234: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).
size_t slen = strlen(src);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3243: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).
size_t blen = strlen(buf);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3246: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).
size_t slen = strlen(src);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.c:3249:1:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
strncat(buf, src, n);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:857: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).
#define strSwapChar(s,old,new)   memSwapChar((s),strlen(s),(old),(new))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:858: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).
#define subChar(s,old,new) (void)memSwapChar((s),strlen(s),(old),(new))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/common.h:1105:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define readOneFd(fd, var) (read((fd), &(var), sizeof(var)) == sizeof(var))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dnautil.c:319: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).
dnaSize = strlen(dna);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dystring.c:122: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).
dyStringAppendN(ds, string, strlen(string));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dystring.c:183: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).
int len = strlen(format) * 3;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dystring.c:196: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).
int inLen = strlen(in), outLen = strlen(out), origLen = strlen(orig);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dystring.c:196: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).
int inLen = strlen(in), outLen = strlen(out), origLen = strlen(orig);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/dystring.c:196:57:  [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 inLen = strlen(in), outLen = strlen(out), origLen = strlen(orig);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/hash.c:151: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).
return hashAddN(hash, name, strlen(name), val);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/https.c:264:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    srd = read(params->sv[1], sbuf, 32768);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/linefile.c:109:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ((bytesread=read(fd,result,numbytes)) < numbytes)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/linefile.c:193: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).
lf->bufSize = lf->bytesInBuf = strlen(s);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/linefile.c:207:19:  [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 tbiNameSize = strlen(fileOrUrl) + strlen(".tbi") + 1;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/linefile.c:207:39:  [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 tbiNameSize = strlen(fileOrUrl) + strlen(".tbi") + 1;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/linefile.c:252: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).
    tabixSeqId = ti_get_tid(lf->tabix->idx, seqName+strlen("chr"));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/linefile.c:366:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    oneSize = read(fd, buf, size);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/linefile.c:748: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).
        end = start + strlen(start);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/localmem.c:157:39:  [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).
    return lmCloneStringZ(lm, string, strlen(string));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/localmem.c:195: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).
int size = sizeof(*n) + strlen(name) + 1;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/mime.c:56: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).
b->blen = boundary ? strlen(b->boundary) : 0;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/mime.c:109:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bytesRead = read(b->d, b->eoi, bytesToRead);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/mime.c:348: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).
	fld+=strlen(field);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/mime.c:490: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(boundary) >= MAXBOUNDARY)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/mime.c:537: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).
	for (i=0;i<strlen(boundary);++i)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:331:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    oneRead = read(sd, buf + totalRead, size - totalRead);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:427: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(url) >= sizeof(buf))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:453:5:  [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(parsed->file, "/");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:472:2:  [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(parsed->user, "");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:473:2:  [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(parsed->password, "");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:489:2:  [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(parsed->password, "");
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:498:41:  [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).
    cgiDecode(parsed->user,parsed->user,strlen(parsed->user));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:499:49:  [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).
    cgiDecode(parsed->password,parsed->password,strlen(parsed->password));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:612: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).
mustWriteFd(sd, cmd, strlen(cmd));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:634:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((readSize = read(sd, buf, sizeof(buf))) == 0)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:643: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).
    startLastLine = rs->string+strlen(rs->string)-1;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:651: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(startLastLine)>4)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:730: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(words[1]) < strlen(EXPECTED_MDTM_FORMAT))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:730:24:  [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(words[1]) < strlen(EXPECTED_MDTM_FORMAT))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:883:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
while((rd = read(params->sdata, buf, 32768)) > 0) 
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1044:30:  [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).
    b64up = base64Encode(up, strlen(up));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1259:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
while ((readSize = read(sd, buf, sizeof(buf))) > 0)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1341:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nread = read(sd, &c, 1);  /* one char at a time, but http headers are small */
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:1602: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).
    cgiDecode(url, urlDecoded, strlen(url));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:2125:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		readCount = read(pc->sd, buf, BUFSIZE);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:2306: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).
int length = strlen(s);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:2328:19:  [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).
unsigned length = strlen(s);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:2354:24:  [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).
unsigned long length = strlen(s);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/net.c:2537:30:  [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).
    b64up = base64Encode(up, strlen(up));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:201:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
while ((bytesRead = read(s, buf, bufSize)) > 0)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:216:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
while ((c = fgetc(inFh)) != EOF)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:232:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    readSize = read(s, buf, bufSize);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:393: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).
int newSize = strlen(in) + countChars(in, toEscape);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:403:19:  [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 newSize = 2 + strlen(in) + countChars(in, quoteChar);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/obscure.c:719: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).
int nameLen = strlen(name);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:183:19:  [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 dirNameSize = strlen(dir);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:267:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buf, hostName, sizeof(buf));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:383: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).
	int len = strlen(path);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:417: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).
    newLen = strlen(newPath);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:419: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).
int remainingLen  = strlen(s);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:427: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).
int lastPos = strlen(newPath)-1;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/osunix.c:507:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
if (read(STDIN_FILENO,&c,1) != 1)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/oswin9x.c:156: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).
  int dirNameSize = strlen(dir);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/pipeline.c:362:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
ssize_t l = read(proc->execPipeParent, buf, sizeof(buf));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portimpl.c:29: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 (strncmp(wssMicrosoftII.name, s, strlen(wssMicrosoftII.name)) == 0)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portimpl.c:31:51:  [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 (strncmp(wssMicrosoftPWS.name, s, strlen(wssMicrosoftPWS.name)) == 0)
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portimpl.c:78: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).
int size = strlen(name) + strlen(value) + 2;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portimpl.c:78: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).
int size = strlen(name) + strlen(value) + 2;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/portimpl.c:112: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).
int len = strlen(pathName);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servCrunx.c:20: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).
int tlcLen = strlen(tempDirCgi);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/servCrunx.c:21: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).
int tlhLen = strlen(tempDirHtml);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/sqlList.c:1217:1:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
strncpy(buf, sqlGetOptQuoteString(pS), bufSize);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:127:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bits64 rd = read(sd, buf, chunkSize);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:339:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
while ((remaining > 0) && ((rd = read(sd, buf, remaining)) > 0))
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:464: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).
int dirLen = strlen(file->cacheDir);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:465: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).
int nameLen = strlen(fileName);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:757: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).
	afterHost = afterProtocol+strlen(afterProtocol);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:781: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).
int len = strlen(cacheDir) + 1 + strlen(protocol) + 1 + strlen(afterProtocol) + 1;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:781: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).
int len = strlen(cacheDir) + 1 + strlen(protocol) + 1 + strlen(afterProtocol) + 1;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:781:57:  [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 len = strlen(cacheDir) + 1 + strlen(protocol) + 1 + strlen(afterProtocol) + 1;
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:982: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).
    offset = strlen(cacheDir);
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:986:1:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
strncpy(protocol, path+offset, sizeof(protocol));
data/r-bioc-cner-1.26.0+dfsg/src/ucsc/udc.c:997: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).
qDecode(path+1+strlen(protocol)+1, afterProtocol, sizeof(afterProtocol));

ANALYSIS SUMMARY:

Hits = 618
Lines analyzed = 34183 in approximately 0.97 seconds (35257 lines/second)
Physical Source Lines of Code (SLOC) = 23460
Hits@level = [0] 169 [1] 199 [2] 286 [3]  34 [4]  99 [5]   0
Hits@level+ = [0+] 787 [1+] 618 [2+] 419 [3+] 133 [4+]  99 [5+]   0
Hits/KSLOC@level+ = [0+] 33.5465 [1+] 26.3427 [2+] 17.8602 [3+] 5.66922 [4+] 4.21995 [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.