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-affyio-1.60.0/src/fread_functions.c Examining data/r-bioc-affyio-1.60.0/src/fread_functions.h Examining data/r-bioc-affyio-1.60.0/src/init_package.c Examining data/r-bioc-affyio-1.60.0/src/read_abatch.c Examining data/r-bioc-affyio-1.60.0/src/read_abatch.h Examining data/r-bioc-affyio-1.60.0/src/read_bpmap.c Examining data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c Examining data/r-bioc-affyio-1.60.0/src/read_cdffile2.c Examining data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c Examining data/r-bioc-affyio-1.60.0/src/read_celfile_generic.h Examining data/r-bioc-affyio-1.60.0/src/read_clf.c Examining data/r-bioc-affyio-1.60.0/src/read_generic.c Examining data/r-bioc-affyio-1.60.0/src/read_generic.h Examining data/r-bioc-affyio-1.60.0/src/read_multichannel_celfile_generic.c Examining data/r-bioc-affyio-1.60.0/src/read_multichannel_celfile_generic.h Examining data/r-bioc-affyio-1.60.0/src/read_pgf.c FINAL RESULTS: data/r-bioc-affyio-1.60.0/src/read_abatch.c:322: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(my_tokenset->tokens[i],current_token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1251: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(buffercopy,buffer); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1254: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(header_info->DatHeader,(get_token(cur_tokenset,0)+10)); /* the +10 is to avoid the starting "DatHeader=" */ data/r-bioc-affyio-1.60.0/src/read_abatch.c:1282: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(header_info->Algorithm,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1290: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(header_info->AlgorithmParameters,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2042: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(buffercopy,buffer); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2045: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(header_info->DatHeader,(get_token(cur_tokenset,0)+10)); /* the +10 is to avoid the starting "DatHeader=" */ data/r-bioc-affyio-1.60.0/src/read_abatch.c:2073: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(header_info->Algorithm,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2081: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(header_info->AlgorithmParameters,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2658: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(header_info->Algorithm,my_header->algorithm); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2668: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(header_copy,my_header->header); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2678:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(tmpbuffer,get_token(my_tokenset,i)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2688:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(tmpbuffer,get_token(my_tokenset,i)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2698:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(tmpbuffer,get_token(my_tokenset,i)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2708:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(tmpbuffer,get_token(my_tokenset,i)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2718:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(header_info->DatHeader,(get_token(my_tokenset,i)+10)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2729: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(header_copy,my_header->header); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3407: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(header_info->Algorithm,my_header->algorithm); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3417: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(header_copy,my_header->header); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3427:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(tmpbuffer,get_token(my_tokenset,i)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3437:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(tmpbuffer,get_token(my_tokenset,i)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3447:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(tmpbuffer,get_token(my_tokenset,i)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3457:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(tmpbuffer,get_token(my_tokenset,i)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3467:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(header_info->DatHeader,(get_token(my_tokenset,i)+10)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3478: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(header_copy,my_header->header); data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:817:15: [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). tmp_name = strcpy(tmp_name,my_cdf.probesetnames[i]); data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:818:15: [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). tmp_name = strcat(tmp_name,my_cdf.units[i].unit_block[j].blockname); data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:875:15: [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). tmp_name = strcpy(tmp_name,my_cdf.probesetnames[i]); data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:876:15: [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). tmp_name = strcat(tmp_name,my_cdf.units[i].unit_block[j].blockname); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:273: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(my_tokenset->tokens[i],current_token); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:477: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(mycdf->header.name,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:511: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(mycdf->header.chipreference,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:555:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(mycdf->qc_units[index].qc_probes[i].probe,get_token(cur_tokenset,3)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:675: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(mycdf->units[unit].blocks[block].probes[i].probe,get_token(cur_tokenset,3)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:677: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(mycdf->units[unit].blocks[block].probes[i].feat,get_token(cur_tokenset,4)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:679: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(mycdf->units[unit].blocks[block].probes[i].qual,get_token(cur_tokenset,5)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:683: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(mycdf->units[unit].blocks[block].probes[i].cbase,get_token(cur_tokenset,8)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:685: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(mycdf->units[unit].blocks[block].probes[i].pbase,get_token(cur_tokenset,9)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:687: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(mycdf->units[unit].blocks[block].probes[i].tbase,get_token(cur_tokenset,10)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:725: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(mycdf->units[unit].blocks[i].name,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:802: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(mycdf->units[i].name,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:898: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(mycdf->header.version,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_clf.c:197: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(my_tokenset->tokens[i],current_token); data/r-bioc-affyio-1.60.0/src/read_clf.c:445: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(temp_str,header_str); data/r-bioc-affyio-1.60.0/src/read_clf.c:579:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_clf.c:584:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_clf.c:588:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_clf.c:592:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_clf.c:600:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_clf.c:606:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_clf.c:610:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_clf.c:616:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_clf.c:629:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_clf.c:632:2: [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(temp_str,get_token(cur_tokenset,0)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:268: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(my_tokenset->tokens[i],current_token); data/r-bioc-affyio-1.60.0/src/read_pgf.c:715: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(temp_str,header_str); data/r-bioc-affyio-1.60.0/src/read_pgf.c:745: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(temp_str,header_str); data/r-bioc-affyio-1.60.0/src/read_pgf.c:775: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(temp_str,header_str); data/r-bioc-affyio-1.60.0/src/read_pgf.c:923:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:928:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:932:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:936:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:940:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:946:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:952:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:958:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:962:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:975:2: [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(temp_str,get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:978:2: [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(temp_str,get_token(cur_tokenset,0)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1020: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(temp_str,get_token(cur_tokenset,header2->type)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1034: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(temp_str,get_token(cur_tokenset,header2->probe_sequence)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1106: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(temp_str,get_token(cur_tokenset,header1->type)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1111: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(temp_str,get_token(cur_tokenset,header1->exon_position)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1177: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(temp_str,get_token(cur_tokenset,header0->type)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1182: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(temp_str,get_token(cur_tokenset,header0->probeset_name)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1260:2: [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(my_type_list[0].type,my_pgf->probesets->current->type); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1281: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(my_type_list[n].type,cur_type); data/r-bioc-affyio-1.60.0/src/read_abatch.c:4523: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-affyio-1.60.0/src/fread_functions.c:745:17: [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 ((infile = fopen("LittleEndianTest.bin", "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/fread_functions.c:818:17: [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 ((infile = fopen("BigEndianTest.bin", "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_abatch.c:487: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:489:17: [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). currentFile = fopen(filename,mode); data/r-bioc-affyio-1.60.0/src/read_abatch.c:575: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:584: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). dim1 = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:589: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). dim2 = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:639: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:669: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). cur_x = atoi(current_token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:681: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). cur_y = atoi(current_token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:747: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:777: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). cur_x = atoi(current_token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:788: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). cur_y = atoi(current_token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:853: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:882: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). cur_x = atoi(current_token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:894: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). cur_y = atoi(current_token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:928: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). cur_npixels = atoi(current_token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:982: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:997: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). numcells = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1007: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). cur_x = atoi(get_token(cur_tokenset,0)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1008: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). cur_y = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1023: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). numcells = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1029: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). cur_x = atoi(get_token(cur_tokenset,0)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1030: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). cur_y = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1057: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:1070:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). numcells = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1085: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). cur_x = atoi(get_token(cur_tokenset,0)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1086: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). cur_y = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1099:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). numcells = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1111: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). cur_x = atoi(get_token(cur_tokenset,0)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1112: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). cur_y = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1148: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:1156:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *dim1 = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1161:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *dim2 = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1204: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:1215:23: [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). header_info->cols = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1220:23: [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). header_info->rows = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1225:33: [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). header_info->GridCornerULx = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1226:33: [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). header_info->GridCornerULy = atoi(get_token(cur_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1231:33: [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). header_info->GridCornerURx = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1232:33: [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). header_info->GridCornerURy = atoi(get_token(cur_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1237:33: [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). header_info->GridCornerLRx = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1238:33: [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). header_info->GridCornerLRy = atoi(get_token(cur_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1243:33: [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). header_info->GridCornerLLx = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1244:33: [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). header_info->GridCornerLLy = atoi(get_token(cur_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1321: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:1323:17: [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). currentFile = fopen(filename,mode); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1390: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:1481: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:1490: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). dim1 = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1495: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). dim2 = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1546: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:1571: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). cur_x = atoi(current_token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1582: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). cur_y = atoi(current_token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1643: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:1669: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). cur_x = atoi(current_token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1681: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). cur_y = atoi(current_token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1748: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:1772: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). cur_x = atoi(current_token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1783: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). cur_y = atoi(current_token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1814: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). cur_npixels = atoi(current_token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1857: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:1872: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). numcells = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1882: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). cur_x = atoi(get_token(cur_tokenset,0)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1883: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). cur_y = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1898: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). numcells = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1904: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). cur_x = atoi(get_token(cur_tokenset,0)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1905: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). cur_y = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1937: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:1945:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *dim1 = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1950:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *dim2 = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1995: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:2006:23: [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). header_info->cols = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2011:23: [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). header_info->rows = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2016:33: [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). header_info->GridCornerULx = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2017:33: [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). header_info->GridCornerULy = atoi(get_token(cur_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2022:33: [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). header_info->GridCornerURx = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2023:33: [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). header_info->GridCornerURy = atoi(get_token(cur_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2028:33: [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). header_info->GridCornerLRx = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2029:33: [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). header_info->GridCornerLRy = atoi(get_token(cur_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2034:33: [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). header_info->GridCornerLLx = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2035:33: [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). header_info->GridCornerLLy = atoi(get_token(cur_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2105: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:2118:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). numcells = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2133: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). cur_x = atoi(get_token(cur_tokenset,0)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2134: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). cur_y = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2147:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). numcells = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2159: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). cur_x = atoi(get_token(cur_tokenset,0)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2160: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). cur_y = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2201: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 buffer[BUF_SIZE]; data/r-bioc-affyio-1.60.0/src/read_abatch.c:2378:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_abatch.c:2448:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_abatch.c:2681:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerULx = atoi(get_token(temp_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2682:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerULy = atoi(get_token(temp_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2691:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerURx = atoi(get_token(temp_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2692:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerURy = atoi(get_token(temp_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2701:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerLRx = atoi(get_token(temp_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2702:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerLRy = atoi(get_token(temp_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2711:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerLLx = atoi(get_token(temp_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2712:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerLLy = atoi(get_token(temp_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3430:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerULx = atoi(get_token(temp_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3431:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerULy = atoi(get_token(temp_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3440:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerURx = atoi(get_token(temp_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3441:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerURy = atoi(get_token(temp_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3450:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerLRx = atoi(get_token(temp_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3451:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerLRy = atoi(get_token(temp_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3460:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerLLx = atoi(get_token(temp_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3461:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header_info->GridCornerLLy = atoi(get_token(temp_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_abatch.c:4525: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-affyio-1.60.0/src/read_abatch.c:4564: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(cur_indexes[i], NUMERIC_POINTER(AS_NUMERIC(curIndices)), sizeof(double)*n_probes[i]*2); data/r-bioc-affyio-1.60.0/src/read_abatch.c:4585: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 thread_data)); data/r-bioc-affyio-1.60.0/src/read_bpmap.c:112: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(&version_number,&unsigned_version_number_int, sizeof(float)); data/r-bioc-affyio-1.60.0/src/read_bpmap.c:385: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. static void packedSeqTobaseStr(unsigned char probeseq[7], char *dest){ data/r-bioc-affyio-1.60.0/src/read_bpmap.c:520: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 buf[10]; data/r-bioc-affyio-1.60.0/src/read_bpmap.c:540: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. unsigned char probeseq[7]; data/r-bioc-affyio-1.60.0/src/read_bpmap.c:603: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(buf, "%d", j+1); data/r-bioc-affyio-1.60.0/src/read_bpmap.c:655:4: [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(buf, "%d", j+1); data/r-bioc-affyio-1.60.0/src/read_bpmap.c:698:4: [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(buf, "%d", j+1); data/r-bioc-affyio-1.60.0/src/read_bpmap.c:847:17: [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 ((infile = fopen(cur_file_name, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:162: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 blockname[64]; data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:376:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:556:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:1033: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 buf[11]; data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:1172: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(buf, "%d", j+1); data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:1268:4: [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(buf, "%d", k+1); data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:1289:4: [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(buf, "%c",my_cdf.units[i].unit_block[j].unit_cells[k].pbase); data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:1292:4: [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(buf, "%c",my_cdf.units[i].unit_block[j].unit_cells[k].tbase); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:484: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). mycdf->header.rows = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:489: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). mycdf->header.cols = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:494:33: [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). mycdf->header.numberofunits = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:499:27: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mycdf->header.maxunit = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:504:30: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mycdf->header.NumQCUnits = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:548:47: [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). mycdf->qc_units[index].qc_probes[i].x = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:551:47: [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). mycdf->qc_units[index].qc_probes[i].y = atoi(get_token(cur_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:558:50: [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). mycdf->qc_units[index].qc_probes[i].plen = atoi(get_token(cur_tokenset,4)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:561:50: [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). mycdf->qc_units[index].qc_probes[i].atom = atoi(get_token(cur_tokenset,5)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:564:51: [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). mycdf->qc_units[index].qc_probes[i].index = atoi(get_token(cur_tokenset,6)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:567:51: [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). mycdf->qc_units[index].qc_probes[i].match = atoi(get_token(cur_tokenset,7)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:570:48: [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). mycdf->qc_units[index].qc_probes[i].bg = atoi(get_token(cur_tokenset,8)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:605:47: [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). mycdf->qc_units[i].type = (unsigned short)atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:609: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). mycdf->qc_units[i].n_probes = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:672:52: [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). mycdf->units[unit].blocks[block].probes[i].x = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:673:52: [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). mycdf->units[unit].blocks[block].probes[i].y = atoi(get_token(cur_tokenset,2)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:680:56: [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). mycdf->units[unit].blocks[block].probes[i].expos = atoi(get_token(cur_tokenset,6)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:681:54: [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). mycdf->units[unit].blocks[block].probes[i].pos = atoi(get_token(cur_tokenset,7)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:688:55: [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). mycdf->units[unit].blocks[block].probes[i].atom = atoi(get_token(cur_tokenset,11)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:689:56: [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). mycdf->units[unit].blocks[block].probes[i].index = atoi(get_token(cur_tokenset,12)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:690:58: [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). mycdf->units[unit].blocks[block].probes[i].codonid = atoi(get_token(cur_tokenset,13)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:691:56: [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). mycdf->units[unit].blocks[block].probes[i].codon = atoi(get_token(cur_tokenset,14)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:692:61: [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). mycdf->units[unit].blocks[block].probes[i].regiontype = atoi(get_token(cur_tokenset,15)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:733:48: [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). mycdf->units[unit].blocks[i].blocknumber = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:739:46: [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). mycdf->units[unit].blocks[i].num_atoms = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:744:46: [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). mycdf->units[unit].blocks[i].num_cells = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:750:51: [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). mycdf->units[unit].blocks[i].start_position = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:755:50: [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). mycdf->units[unit].blocks[i].stop_position = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:761:48: [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). mycdf->units[unit].blocks[i].direction = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:810:33: [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). mycdf->units[i].direction = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:815:33: [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). mycdf->units[i].num_atoms = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:820:33: [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). mycdf->units[i].num_cells = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:825: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). mycdf->units[i].unit_number = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:830:33: [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). mycdf->units[i].unit_type = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:835:36: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mycdf->units[i].numberblocks = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:873: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 linebuffer[BUFFER_SIZE]; /* a character buffer */ data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:876:17: [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 ((infile = fopen(filename, "r")) == NULL) data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:980: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 linebuffer[BUFFER_SIZE]; /* a character buffer */ data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:983:17: [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 ((infile = fopen(filename, "r")) == NULL) data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:1071: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 buf[11]; /* temporary buffer for making names */ data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:1274: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(buf, "%d", j+1); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:1469: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(buf, "%d", l+1); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:56:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:104:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:164:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:651:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:720:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:767:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:818:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:877:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:971:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_clf.c:536:17: [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). currentFile = fopen(filename,mode); data/r-bioc-affyio-1.60.0/src/read_clf.c:595:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header->rows = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_clf.c:597:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). header->cols = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_clf.c:613:23: [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). header->sequential = atoi(get_token(cur_tokenset,1)); data/r-bioc-affyio-1.60.0/src/read_clf.c:667:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). cur_id = atoi(get_token(cur_tokenset,header->header0->probe_id)); data/r-bioc-affyio-1.60.0/src/read_clf.c:668: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). x = atoi(get_token(cur_tokenset,header->header0->x)); data/r-bioc-affyio-1.60.0/src/read_clf.c:669: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). y = atoi(get_token(cur_tokenset,header->header0->y)); data/r-bioc-affyio-1.60.0/src/read_clf.c:675: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). cur_id = atoi(get_token(cur_tokenset,header->header0->probe_id)); data/r-bioc-affyio-1.60.0/src/read_clf.c:676:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). x = atoi(get_token(cur_tokenset,header->header0->x)); data/r-bioc-affyio-1.60.0/src/read_clf.c:677:11: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). y = atoi(get_token(cur_tokenset,header->header0->y)); data/r-bioc-affyio-1.60.0/src/read_generic.c:269: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(return_value, value.value, value.len); data/r-bioc-affyio-1.60.0/src/read_generic.c:291: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(temp.value, value.value,value.len); data/r-bioc-affyio-1.60.0/src/read_generic.c:311: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(&contents,value.value, sizeof(int32_t)); data/r-bioc-affyio-1.60.0/src/read_generic.c:326: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(&contents,value.value, sizeof(uint32_t)); data/r-bioc-affyio-1.60.0/src/read_generic.c:341: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(&contents,value.value, sizeof(int32_t)); data/r-bioc-affyio-1.60.0/src/read_generic.c:357: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(&contents,value.value, sizeof(uint32_t)); data/r-bioc-affyio-1.60.0/src/read_generic.c:373: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(&contents,value.value, sizeof(int32_t)); data/r-bioc-affyio-1.60.0/src/read_generic.c:389: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(&contents,value.value, sizeof(uint32_t)); data/r-bioc-affyio-1.60.0/src/read_generic.c:407: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(&contents,value.value, sizeof(uint32_t)); data/r-bioc-affyio-1.60.0/src/read_generic.c:414: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(&returnvalue,&contents, sizeof(uint32_t)); data/r-bioc-affyio-1.60.0/src/read_generic.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(temp,"%u",temp_uint8); data/r-bioc-affyio-1.60.0/src/read_generic.c:569: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",temp_int8); data/r-bioc-affyio-1.60.0/src/read_generic.c:577: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,"%u",temp_uint16); data/r-bioc-affyio-1.60.0/src/read_generic.c:585: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",temp_int16); data/r-bioc-affyio-1.60.0/src/read_generic.c:593: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,"%u",temp_uint32); data/r-bioc-affyio-1.60.0/src/read_generic.c:601: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",temp_int32); data/r-bioc-affyio-1.60.0/src/read_generic.c:609: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,"%f",temp_float); data/r-bioc-affyio-1.60.0/src/read_generic.c:1450:17: [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 ((infile = fopen(cur_file_name, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_generic.c:1980:17: [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 ((infile = fopen(cur_file_name, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_multichannel_celfile_generic.c:57:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_multichannel_celfile_generic.c:121:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_multichannel_celfile_generic.c:172:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_multichannel_celfile_generic.c:227:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_multichannel_celfile_generic.c:281:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_multichannel_celfile_generic.c:342:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_multichannel_celfile_generic.c:410:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_multichannel_celfile_generic.c:514:17: [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 ((infile = fopen(filename, "rb")) == NULL) data/r-bioc-affyio-1.60.0/src/read_pgf.c:883:17: [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). currentFile = fopen(filename,mode); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1016:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). temp_node->probe_id = atoi(get_token(cur_tokenset,header2->probe_id)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1024:27: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). temp_node->gc_count = atoi(get_token(cur_tokenset,header2->gc_count)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1027:31: [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). temp_node->probe_length = atoi(get_token(cur_tokenset,header2->probe_length)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1030:41: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). temp_node->interrogation_position = atoi(get_token(cur_tokenset,header2->interrogation_position)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1102: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). temp_node->atom_id = atoi(get_token(cur_tokenset,header1->atom_id)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1173:28: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). temp_node->probeset_id = atoi(get_token(cur_tokenset,header0->probeset_id)); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1256: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(my_type_list[0].type,"none"); data/r-bioc-affyio-1.60.0/src/read_abatch.c:321:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). my_tokenset->tokens[i] = Calloc(strlen(current_token)+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:323: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). my_tokenset->tokens[i][(strlen(current_token))] = '\0'; data/r-bioc-affyio-1.60.0/src/read_abatch.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 tokenlength = strlen(token); data/r-bioc-affyio-1.60.0/src/read_abatch.c:420: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 ends_length = strlen(ends_in); data/r-bioc-affyio-1.60.0/src/read_abatch.c:523: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). int starts_len = strlen(starts); data/r-bioc-affyio-1.60.0/src/read_abatch.c:599:59: [1] (buffer) strlen: Does not handle 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 (strncasecmp(get_token(cur_tokenset,i),ref_cdfName,strlen(ref_cdfName)) == 0){ data/r-bioc-affyio-1.60.0/src/read_abatch.c:655: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(buffer) <=2){ data/r-bioc-affyio-1.60.0/src/read_abatch.c:763: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(buffer) <=2){ data/r-bioc-affyio-1.60.0/src/read_abatch.c:869: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(buffer) <=2){ data/r-bioc-affyio-1.60.0/src/read_abatch.c:1173:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(cdfName,get_token(cur_tokenset,i),endpos); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1250: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). buffercopy = Calloc(strlen(buffer)+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1253: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). header_info->DatHeader = Calloc(strlen(get_token(cur_tokenset,0))-8,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1268:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy( header_info->cdfName,get_token(cur_tokenset,i),endpos); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1281: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). header_info->Algorithm = Calloc(strlen(get_token(cur_tokenset,1))+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1289: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). header_info->AlgorithmParameters = Calloc(strlen(get_token(cur_tokenset,1))+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1428: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). int starts_len = strlen(starts); data/r-bioc-affyio-1.60.0/src/read_abatch.c:1505:59: [1] (buffer) strlen: Does not handle 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 (strncasecmp(get_token(cur_tokenset,i),ref_cdfName,strlen(ref_cdfName)) == 0){ data/r-bioc-affyio-1.60.0/src/read_abatch.c:1962:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(cdfName,get_token(cur_tokenset,i),endpos); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2041: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). buffercopy = Calloc(strlen(buffer)+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2044: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). header_info->DatHeader = Calloc(strlen(get_token(cur_tokenset,0))-8,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2059:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy( header_info->cdfName,get_token(cur_tokenset,i),endpos); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2072: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). header_info->Algorithm = Calloc(strlen(get_token(cur_tokenset,1))+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2080: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). header_info->AlgorithmParameters = Calloc(strlen(get_token(cur_tokenset,1))+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2597:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(cdfName,get_token(my_tokenset,i),endpos); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2656: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). header_info->Algorithm = Calloc(strlen(my_header->algorithm)+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2660: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). header_info->AlgorithmParameters = Calloc(strlen(my_header->alg_param)+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2661:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(header_info->AlgorithmParameters,my_header->alg_param,strlen(my_header->alg_param)-1); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2661:65: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strncpy(header_info->AlgorithmParameters,my_header->alg_param,strlen(my_header->alg_param)-1); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2667: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). header_copy = Calloc(strlen(my_header->header) +1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2677:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmpbuffer = Calloc(strlen(get_token(my_tokenset,i))+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2687:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmpbuffer = Calloc(strlen(get_token(my_tokenset,i))+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2697:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmpbuffer = Calloc(strlen(get_token(my_tokenset,i))+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2707:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmpbuffer = Calloc(strlen(get_token(my_tokenset,i))+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2717: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). header_info->DatHeader = Calloc(strlen(get_token(my_tokenset,i))+1, char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2738:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(header_info->cdfName,get_token(my_tokenset,i),endpos); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2808:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(cdfName,get_token(my_tokenset,i),endpos); data/r-bioc-affyio-1.60.0/src/read_abatch.c:2818: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). if (strncasecmp(cdfName,ref_cdfName,strlen(ref_cdfName)) != 0){ data/r-bioc-affyio-1.60.0/src/read_abatch.c:3348:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(cdfName,get_token(my_tokenset,i),endpos); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3405: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). header_info->Algorithm = Calloc(strlen(my_header->algorithm)+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3409: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). header_info->AlgorithmParameters = Calloc(strlen(my_header->alg_param)+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3410:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(header_info->AlgorithmParameters,my_header->alg_param,strlen(my_header->alg_param)-1); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3410:65: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strncpy(header_info->AlgorithmParameters,my_header->alg_param,strlen(my_header->alg_param)-1); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3416: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). header_copy = Calloc(strlen(my_header->header) +1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3426:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmpbuffer = Calloc(strlen(get_token(my_tokenset,i))+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3436:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmpbuffer = Calloc(strlen(get_token(my_tokenset,i))+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3446:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmpbuffer = Calloc(strlen(get_token(my_tokenset,i))+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3456:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmpbuffer = Calloc(strlen(get_token(my_tokenset,i))+1,char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3466: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). header_info->DatHeader = Calloc(strlen(get_token(my_tokenset,i))+1, char); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3487:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(header_info->cdfName,get_token(my_tokenset,i),endpos); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3547:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(cdfName,get_token(my_tokenset,i),endpos); data/r-bioc-affyio-1.60.0/src/read_abatch.c:3557: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). if (strncasecmp(cdfName,ref_cdfName,strlen(ref_cdfName)) != 0){ data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:815: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(my_cdf.units[i].unit_block[j].blockname) == 1){ data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:816: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). tmp_name = Calloc(strlen(my_cdf.probesetnames[i])+2,char); data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:873: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(my_cdf.units[i].unit_block[j].blockname) == 1){ data/r-bioc-affyio-1.60.0/src/read_cdf_xda.c:874: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). tmp_name = Calloc(strlen(my_cdf.probesetnames[i])+2,char); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:272:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). my_tokenset->tokens[i] = Calloc(strlen(current_token)+1,char); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:428: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). int starts_len = strlen(starts); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:476: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). mycdf->header.name = Calloc(strlen(get_token(cur_tokenset,1))+1,char); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:510:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). mycdf->header.chipreference = Calloc(strlen(get_token(cur_tokenset,1))+1,char); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:554: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). mycdf->qc_units[index].qc_probes[i].probe=Calloc(strlen(get_token(cur_tokenset,3))+1,char); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:674:61: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). mycdf->units[unit].blocks[block].probes[i].probe=Calloc(strlen(get_token(cur_tokenset,3))+1,char); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:676:60: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). mycdf->units[unit].blocks[block].probes[i].feat=Calloc(strlen(get_token(cur_tokenset,4))+1,char); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:678:60: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). mycdf->units[unit].blocks[block].probes[i].qual=Calloc(strlen(get_token(cur_tokenset,5))+1,char); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:682: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). mycdf->units[unit].blocks[block].probes[i].cbase = Calloc(strlen(get_token(cur_tokenset,8))+1,char); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:684: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). mycdf->units[unit].blocks[block].probes[i].pbase = Calloc(strlen(get_token(cur_tokenset,9))+1,char); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:686: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). mycdf->units[unit].blocks[block].probes[i].tbase = Calloc(strlen(get_token(cur_tokenset,10))+1,char); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:724: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). mycdf->units[unit].blocks[i].name = Calloc(strlen(get_token(cur_tokenset,1))+1,char); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:801: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). mycdf->units[i].name = Calloc(strlen(get_token(cur_tokenset,1))+1,char); data/r-bioc-affyio-1.60.0/src/read_cdffile2.c:897:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). mycdf->header.version = Calloc(strlen(get_token(cur_tokenset,1))+1,char); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:272:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(header_info->AlgorithmParameters,"Percentile:",11); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:282:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:294:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"CellMargin:",11); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:304:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:315:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"OutlierHigh:",12); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:325:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:336:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"OutlierLow:",11); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:346:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:357:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"AlgVersion:",11); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:367:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:378:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"FixedCellSize:",14); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:388:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:399:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"FullFeatureWidth:",17); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:409:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:420:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"FullFeatureHeight:",18); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:430:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:441:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"IgnoreOutliersInShiftRows:",26); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:451:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:464:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"FeatureExtraction:",18); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:474:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:488:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"PoolWidthExtenstion:",20); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:498:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:510:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"PoolHeightExtension:",20); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:520:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:532:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"UseSubgrids:",12); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:541:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:553:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"RandomizePixels:",16); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:562:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:575:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"ErrorBasis:",11); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:585:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:597:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"StdMult:",8); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:607:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:684: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). if (strncasecmp(cdfName,ref_cdfName,strlen(ref_cdfName)) != 0){ data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1270:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(header_info->AlgorithmParameters,"Percentile:",11); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1280:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1292:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"CellMargin:",11); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1302:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1313:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"OutlierHigh:",12); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1323:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1334:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"OutlierLow:",11); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1344:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1355:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"AlgVersion:",11); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1365:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1376:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"FixedCellSize:",14); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1386:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1397:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"FullFeatureWidth:",17); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1407:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1418:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"FullFeatureHeight:",18); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1428:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1439:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"IgnoreOutliersInShiftRows:",26); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1449:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1462:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"FeatureExtraction:",18); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1472:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1486:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"PoolWidthExtenstion:",20); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1496:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1508:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"PoolHeightExtension:",20); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1518:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1530:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"UseSubgrids:",12); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1539:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1551:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"RandomizePixels:",16); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1560:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1573:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"ErrorBasis:",11); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1583:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1595:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(&header_info->AlgorithmParameters[algorithm_paramsize],"StdMult:",8); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1605:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&header_info->AlgorithmParameters[algorithm_paramsize], chartemp, size); data/r-bioc-affyio-1.60.0/src/read_celfile_generic.c:1682: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). if (strncasecmp(cdfName,ref_cdfName,strlen(ref_cdfName)) != 0){ data/r-bioc-affyio-1.60.0/src/read_clf.c:196:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). my_tokenset->tokens[i] = Calloc(strlen(current_token)+1,char); data/r-bioc-affyio-1.60.0/src/read_clf.c:198: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). my_tokenset->tokens[i][(strlen(current_token))] = '\0'; data/r-bioc-affyio-1.60.0/src/read_clf.c:442: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). char *temp_str = Calloc(strlen(header_str) +1, char); data/r-bioc-affyio-1.60.0/src/read_clf.c:578: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1))+1,char); data/r-bioc-affyio-1.60.0/src/read_clf.c:583: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_clf.c:587: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_clf.c:591: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_clf.c:599: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_clf.c:605: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_clf.c:609: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_clf.c:615: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_clf.c:628: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_clf.c:631: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). temp_str = Calloc(strlen(get_token(cur_tokenset,0)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_generic.c:473: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). *size = strlen(temp); data/r-bioc-affyio-1.60.0/src/read_generic.c:480:13: [1] (buffer) wcslen: Does not handle 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 = wcslen(temp2); data/r-bioc-affyio-1.60.0/src/read_generic.c:542: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). *size = strlen(temp); data/r-bioc-affyio-1.60.0/src/read_generic.c:551: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). *size = strlen(temp); data/r-bioc-affyio-1.60.0/src/read_generic.c:562: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). *size = strlen(temp); data/r-bioc-affyio-1.60.0/src/read_generic.c:570: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). *size = strlen(temp); data/r-bioc-affyio-1.60.0/src/read_generic.c:578: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). *size = strlen(temp); data/r-bioc-affyio-1.60.0/src/read_generic.c:586: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). *size = strlen(temp); data/r-bioc-affyio-1.60.0/src/read_generic.c:594: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). *size = strlen(temp); data/r-bioc-affyio-1.60.0/src/read_generic.c:602: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). *size = strlen(temp); data/r-bioc-affyio-1.60.0/src/read_generic.c:610: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). *size = strlen(temp); data/r-bioc-affyio-1.60.0/src/read_generic.c:644: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-affyio-1.60.0/src/read_pgf.c:267:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). my_tokenset->tokens[i] = Calloc(strlen(current_token)+1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:269: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). my_tokenset->tokens[i][(strlen(current_token))] = '\0'; data/r-bioc-affyio-1.60.0/src/read_pgf.c:365: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 tokenlength = strlen(token); data/r-bioc-affyio-1.60.0/src/read_pgf.c:366: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 ends_length = strlen(ends_in); data/r-bioc-affyio-1.60.0/src/read_pgf.c:712: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). char *temp_str = Calloc(strlen(header_str) +1, char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:742: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). char *temp_str = Calloc(strlen(header_str) +1, char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:772: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). char *temp_str = Calloc(strlen(header_str) +1, char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:922: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1))+1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:927: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:931: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:935: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:939: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:945: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:951: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:957: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:961: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:974: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). temp_str = Calloc(strlen(get_token(cur_tokenset,1)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:977: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). temp_str = Calloc(strlen(get_token(cur_tokenset,0)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1019: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). temp_str = Calloc(strlen(get_token(cur_tokenset,header2->type)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1033: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). temp_str = Calloc(strlen(get_token(cur_tokenset,header2->probe_sequence)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1105: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). temp_str = Calloc(strlen(get_token(cur_tokenset,header1->type)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1110: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). temp_str = Calloc(strlen(get_token(cur_tokenset,header1->exon_position)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1176: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). temp_str = Calloc(strlen(get_token(cur_tokenset,header0->type)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1181: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). temp_str = Calloc(strlen(get_token(cur_tokenset,header0->probeset_name)) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1259: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). my_type_list[0].type = Calloc(strlen(my_pgf->probesets->current->type) + 1,char); data/r-bioc-affyio-1.60.0/src/read_pgf.c:1280: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). my_type_list[n].type = Calloc(strlen(cur_type) + 1,char); ANALYSIS SUMMARY: Hits = 487 Lines analyzed = 18175 in approximately 0.49 seconds (36921 lines/second) Physical Source Lines of Code (SLOC) = 10687 Hits@level = [0] 19 [1] 186 [2] 223 [3] 1 [4] 77 [5] 0 Hits@level+ = [0+] 506 [1+] 487 [2+] 301 [3+] 78 [4+] 77 [5+] 0 Hits/KSLOC@level+ = [0+] 47.3472 [1+] 45.5694 [2+] 28.1651 [3+] 7.29859 [4+] 7.20502 [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.