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-preprocesscore-1.52.0/inst/include/R_subColSummarize.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/R_subColSummarize_stubs.c
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/avg.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/avg_log.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/biweight.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/lm.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/log_avg.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/log_median.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/median.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/median_log.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/medianpolish.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/plmd.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/plmr.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/preprocessCore_background_stubs.c
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/preprocessCore_background_stubs.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/preprocessCore_normalization_stubs.c
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/preprocessCore_normalization_stubs.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/preprocessCore_summarization_stubs.c
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/preprocessCore_summarization_stubs.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/qnorm.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/rlm.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/rlm_se.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/rma_background4.h
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/weightedkerneldensity_stubs.c
Examining data/r-bioc-preprocesscore-1.52.0/inst/include/weightedkerneldensity_stubs.h
Examining data/r-bioc-preprocesscore-1.52.0/src/R_colSummarize.c
Examining data/r-bioc-preprocesscore-1.52.0/src/R_colSummarize.h
Examining data/r-bioc-preprocesscore-1.52.0/src/R_plmd_interfaces.c
Examining data/r-bioc-preprocesscore-1.52.0/src/R_plmr_interfaces.c
Examining data/r-bioc-preprocesscore-1.52.0/src/R_plmr_interfaces.h
Examining data/r-bioc-preprocesscore-1.52.0/src/R_rlm_interfaces.c
Examining data/r-bioc-preprocesscore-1.52.0/src/R_rlm_interfaces.h
Examining data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c
Examining data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.h
Examining data/r-bioc-preprocesscore-1.52.0/src/R_subrcModel_interfaces.c
Examining data/r-bioc-preprocesscore-1.52.0/src/avg.c
Examining data/r-bioc-preprocesscore-1.52.0/src/avg.h
Examining data/r-bioc-preprocesscore-1.52.0/src/avg_log.c
Examining data/r-bioc-preprocesscore-1.52.0/src/avg_log.h
Examining data/r-bioc-preprocesscore-1.52.0/src/biweight.c
Examining data/r-bioc-preprocesscore-1.52.0/src/biweight.h
Examining data/r-bioc-preprocesscore-1.52.0/src/common.h
Examining data/r-bioc-preprocesscore-1.52.0/src/dqrls.h
Examining data/r-bioc-preprocesscore-1.52.0/src/init_package.c
Examining data/r-bioc-preprocesscore-1.52.0/src/lm.c
Examining data/r-bioc-preprocesscore-1.52.0/src/lm.h
Examining data/r-bioc-preprocesscore-1.52.0/src/log_avg.c
Examining data/r-bioc-preprocesscore-1.52.0/src/log_avg.h
Examining data/r-bioc-preprocesscore-1.52.0/src/log_median.c
Examining data/r-bioc-preprocesscore-1.52.0/src/log_median.h
Examining data/r-bioc-preprocesscore-1.52.0/src/matrix_functions.c
Examining data/r-bioc-preprocesscore-1.52.0/src/matrix_functions.h
Examining data/r-bioc-preprocesscore-1.52.0/src/median.c
Examining data/r-bioc-preprocesscore-1.52.0/src/median.h
Examining data/r-bioc-preprocesscore-1.52.0/src/median_log.c
Examining data/r-bioc-preprocesscore-1.52.0/src/median_log.h
Examining data/r-bioc-preprocesscore-1.52.0/src/medianpolish.c
Examining data/r-bioc-preprocesscore-1.52.0/src/medianpolish.h
Examining data/r-bioc-preprocesscore-1.52.0/src/plmd.c
Examining data/r-bioc-preprocesscore-1.52.0/src/plmd.h
Examining data/r-bioc-preprocesscore-1.52.0/src/plmr.c
Examining data/r-bioc-preprocesscore-1.52.0/src/plmr.h
Examining data/r-bioc-preprocesscore-1.52.0/src/psi_fns.c
Examining data/r-bioc-preprocesscore-1.52.0/src/psi_fns.h
Examining data/r-bioc-preprocesscore-1.52.0/src/qnorm.c
Examining data/r-bioc-preprocesscore-1.52.0/src/qnorm.h
Examining data/r-bioc-preprocesscore-1.52.0/src/rlm.c
Examining data/r-bioc-preprocesscore-1.52.0/src/rlm.h
Examining data/r-bioc-preprocesscore-1.52.0/src/rlm_anova.c
Examining data/r-bioc-preprocesscore-1.52.0/src/rlm_se.c
Examining data/r-bioc-preprocesscore-1.52.0/src/rlm_se.h
Examining data/r-bioc-preprocesscore-1.52.0/src/rma_background4.c
Examining data/r-bioc-preprocesscore-1.52.0/src/rma_background4.h
Examining data/r-bioc-preprocesscore-1.52.0/src/rma_common.c
Examining data/r-bioc-preprocesscore-1.52.0/src/rma_common.h
Examining data/r-bioc-preprocesscore-1.52.0/src/weightedkerneldensity.c
Examining data/r-bioc-preprocesscore-1.52.0/src/weightedkerneldensity.h

FINAL RESULTS:

data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:146: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:319: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:495: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:673: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:848: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:1025: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:1200: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:1374: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:1557: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:1733: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/R_subrcModel_interfaces.c:220: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/R_subrcModel_interfaces.c:546: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/qnorm.c:520: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/qnorm.c:1646: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/qnorm.c:1929: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/qnorm.c:2528: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/qnorm.c:3051: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/rma_background4.c:379: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.
  nthreads = getenv(THREADS_ENV_VAR);
data/r-bioc-preprocesscore-1.52.0/src/R_colSummarize.c:482: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(resids, matrix, rows*cols*sizeof(double));
data/r-bioc-preprocesscore-1.52.0/src/R_colSummarize.c:540: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(resids, matrix, rows*cols*sizeof(double));
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:148: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:190:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:321: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:364:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:497: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:540:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:675: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:717:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:850: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:893:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:1027: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:1070:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:1202: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:1245:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:1376: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:1419:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:1559: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:1602:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:1735: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/R_subColSummarize.c:1778:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/R_subrcModel_interfaces.c:222: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/R_subrcModel_interfaces.c:265:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/R_subrcModel_interfaces.c:548: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/R_subrcModel_interfaces.c:594:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/qnorm.c:522: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/qnorm.c:563:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/qnorm.c:1648: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/qnorm.c:1690:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/qnorm.c:1931: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/qnorm.c:1972:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/qnorm.c:2530: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/qnorm.c:2572:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/qnorm.c:3053: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/qnorm.c:3096:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/rma_background4.c:381: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).
    num_threads = atoi(nthreads);
data/r-bioc-preprocesscore-1.52.0/src/rma_background4.c:421:8:  [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(&(args[t]), &(args[0]), sizeof(struct loop_data));
data/r-bioc-preprocesscore-1.52.0/src/rma_common.c:65: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(buffer,x,length*sizeof(double));
data/r-bioc-preprocesscore-1.52.0/src/weightedkerneldensity.c:679: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(buffer,x,nx*sizeof(double));

ANALYSIS SUMMARY:

Hits = 58
Lines analyzed = 20457 in approximately 0.58 seconds (35272 lines/second)
Physical Source Lines of Code (SLOC) = 9621
Hits@level = [0]   0 [1]   0 [2]  40 [3]  18 [4]   0 [5]   0
Hits@level+ = [0+]  58 [1+]  58 [2+]  58 [3+]  18 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 6.02848 [1+] 6.02848 [2+] 6.02848 [3+] 1.87091 [4+]   0 [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.