unique_id int64 200 186k | target stringclasses 14
values | __index_level_0__ int64 0 139 | code stringlengths 819 19.9k |
|---|---|---|---|
73,752 | Cleartext_Tx_Sensitive_Info | 0 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE319_simple__w32_wchar_t_connect_socket_52b.c
Label Definition File: CWE319_simple__w32.label.xml
Template File: sources-sinks-52b.tmpl.c
*/
/*
* @description
* CWE: 319 Cleartext Transmission of Sensitive Information
* BadSource: connect_socket Read the password using... |
54,196 | Cleartext_Tx_Sensitive_Info | 1 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE319_simple__w32_wchar_t_connect_socket_73a.cpp
Label Definition File: CWE319_simple__w32.label.xml
Template File: sources-sinks-73a.tmpl.cpp
*/
/*
* @description
* CWE: 319 Cleartext Transmission of Sensitive Information
* BadSource: connect_socket Read the password u... |
169,124 | Cleartext_Tx_Sensitive_Info | 2 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE319_simple__w32_char_connect_socket_11.c
Label Definition File: CWE319_simple__w32.label.xml
Template File: sources-sinks-11.tmpl.c
*/
/*
* @description
* CWE: 319 Cleartext Transmission of Sensitive Information
* BadSource: connect_socket Read the password using a co... |
109,551 | Cleartext_Tx_Sensitive_Info | 3 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE319_simple__w32_wchar_t_listen_socket_61b.c
Label Definition File: CWE319_simple__w32.label.xml
Template File: sources-sinks-61b.tmpl.c
*/
/*
* @description
* CWE: 319 Cleartext Transmission of Sensitive Information
* BadSource: listen_socket Read the password using a... |
78,906 | Cleartext_Tx_Sensitive_Info | 4 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE319_simple__w32_char_listen_socket_14.c
Label Definition File: CWE319_simple__w32.label.xml
Template File: sources-sinks-14.tmpl.c
*/
/*
* @description
* CWE: 319 Cleartext Transmission of Sensitive Information
* BadSource: listen_socket Read the password using a list... |
169,746 | Cleartext_Tx_Sensitive_Info | 5 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE319_simple__w32_wchar_t_listen_socket_54b.c
Label Definition File: CWE319_simple__w32.label.xml
Template File: sources-sinks-54b.tmpl.c
*/
/*
* @description
* CWE: 319 Cleartext Transmission of Sensitive Information
* BadSource: listen_socket Read the password using a... |
145,939 | Cleartext_Tx_Sensitive_Info | 6 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE319_simple__w32_char_connect_socket_03.c
Label Definition File: CWE319_simple__w32.label.xml
Template File: sources-sinks-03.tmpl.c
*/
/*
* @description
* CWE: 319 Cleartext Transmission of Sensitive Information
* BadSource: connect_socket Read the password using a co... |
154,252 | Cleartext_Tx_Sensitive_Info | 7 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE319_simple__w32_char_connect_socket_54a.c
Label Definition File: CWE319_simple__w32.label.xml
Template File: sources-sinks-54a.tmpl.c
*/
/*
* @description
* CWE: 319 Cleartext Transmission of Sensitive Information
* BadSource: connect_socket Read the password using a ... |
38,512 | Cleartext_Tx_Sensitive_Info | 8 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE319_simple__w32_wchar_t_connect_socket_63a.c
Label Definition File: CWE319_simple__w32.label.xml
Template File: sources-sinks-63a.tmpl.c
*/
/*
* @description
* CWE: 319 Cleartext Transmission of Sensitive Information
* BadSource: connect_socket Read the password using... |
96,336 | Cleartext_Tx_Sensitive_Info | 9 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE319_simple__w32_char_connect_socket_43.cpp
Label Definition File: CWE319_simple__w32.label.xml
Template File: sources-sinks-43.tmpl.cpp
*/
/*
* @description
* CWE: 319 Cleartext Transmission of Sensitive Information
* BadSource: connect_socket Read the password using ... |
123,788 | Heap_Based_Buffer_Overflow | 10 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_simple__cpp_CWE805_char_ncat_74a.cpp
Label Definition File: CWE122_simple__cpp_CWE805.string.label.xml
Template File: sources-sink-74a.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate using new[] and set data pointer to a ... |
185,961 | Heap_Based_Buffer_Overflow | 11 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_simple__cpp_dest_wchar_t_cat_51b.cpp
Label Definition File: CWE122_simple__cpp_dest.label.xml
Template File: sources-sink-51b.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate using new[] and set data pointer to a small buf... |
158,921 | Heap_Based_Buffer_Overflow | 12 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_simple__c_CWE806_wchar_t_ncpy_10.c
Label Definition File: CWE122_simple__c_CWE806.label.xml
Template File: sources-sink-10.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Initialize data as a large string
* GoodSource: Initialize d... |
28,508 | Heap_Based_Buffer_Overflow | 13 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_simple__c_CWE806_char_ncat_66a.c
Label Definition File: CWE122_simple__c_CWE806.label.xml
Template File: sources-sink-66a.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Initialize data as a large string
* GoodSource: Initialize da... |
83,192 | Heap_Based_Buffer_Overflow | 14 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_simple__cpp_CWE193_wchar_t_cpy_62b.cpp
Label Definition File: CWE122_simple__cpp_CWE193.label.xml
Template File: sources-sink-62b.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate memory for a string, but do not allocate sp... |
111,482 | Heap_Based_Buffer_Overflow | 15 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_simple__cpp_CWE129_listen_socket_83a.cpp
Label Definition File: CWE122_simple__cpp_CWE129.label.xml
Template File: sources-sinks-83a.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: listen_socket Read data using a listen socket (ser... |
35,780 | Heap_Based_Buffer_Overflow | 16 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_simple__cpp_CWE129_connect_socket_31.cpp
Label Definition File: CWE122_simple__cpp_CWE129.label.xml
Template File: sources-sinks-31.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: connect_socket Read data using a connect socket (cl... |
137,451 | Heap_Based_Buffer_Overflow | 17 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_simple__cpp_CWE129_rand_84_goodG2B.cpp
Label Definition File: CWE122_simple__cpp_CWE129.label.xml
Template File: sources-sinks-84_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: rand Set data to result of rand(), which may ... |
145,716 | Heap_Based_Buffer_Overflow | 18 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_simple__cpp_CWE193_char_memmove_84a.cpp
Label Definition File: CWE122_simple__cpp_CWE193.label.xml
Template File: sources-sink-84a.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate memory for a string, but do not allocate s... |
113,535 | Heap_Based_Buffer_Overflow | 19 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_simple__c_CWE806_char_ncpy_64b.c
Label Definition File: CWE122_simple__c_CWE806.label.xml
Template File: sources-sink-64b.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Initialize data as a large string
* GoodSource: Initialize da... |
163,328 | Integer_Underflow | 20 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_simple__int64_t_fscanf_sub_31.c
Label Definition File: CWE191_simple.label.xml
Template File: sources-sinks-31.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: fscanf Read data from the console using fscanf()
* GoodSource: Set data to a small... |
10,336 | Integer_Underflow | 21 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_simple__short_min_postdec_54c.c
Label Definition File: CWE191_simple.label.xml
Template File: sources-sinks-54c.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: min Set data to the min value for short
* GoodSource: Set data to a small, non-ze... |
99,329 | Integer_Underflow | 22 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_simple__int64_t_rand_multiply_07.c
Label Definition File: CWE191_simple.label.xml
Template File: sources-sinks-07.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: rand Set data to result of rand()
* GoodSource: Set data to a small, non-zero n... |
120,922 | Integer_Underflow | 23 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_simple__int_fscanf_multiply_61b.c
Label Definition File: CWE191_simple__int.label.xml
Template File: sources-sinks-61b.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: fscanf Read data from the console using fscanf()
* GoodSource: Set data to... |
146,584 | Integer_Underflow | 24 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_simple__int_min_sub_61a.c
Label Definition File: CWE191_simple__int.label.xml
Template File: sources-sinks-61a.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: min Set data to the minimum value for int
* GoodSource: Set data to a small, non-z... |
164,683 | Integer_Underflow | 25 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_simple__char_min_multiply_16.c
Label Definition File: CWE191_simple.label.xml
Template File: sources-sinks-16.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: min Set data to the min value for char
* GoodSource: Set data to a small, non-zero ... |
146,404 | Integer_Underflow | 26 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_simple__unsigned_int_fscanf_sub_44.c
Label Definition File: CWE191_simple.label.xml
Template File: sources-sinks-44.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: fscanf Read data from the console using fscanf()
* GoodSource: Set data to a ... |
25,240 | Integer_Underflow | 27 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_simple__int_fgets_predec_07.c
Label Definition File: CWE191_simple__int.label.xml
Template File: sources-sinks-07.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: fgets Read data from the console using fgets()
* GoodSource: Set data to a smal... |
157,744 | Integer_Underflow | 28 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_simple__int_listen_socket_multiply_11.c
Label Definition File: CWE191_simple__int.label.xml
Template File: sources-sinks-11.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: listen_socket Read data using a listen socket (server side)
* GoodSou... |
122,434 | Integer_Underflow | 29 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_simple__char_rand_sub_08.c
Label Definition File: CWE191_simple.label.xml
Template File: sources-sinks-08.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: rand Set data to result of rand()
* GoodSource: Set data to a small, non-zero number (n... |
111,495 | Write_What_Where_Condition | 30 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE123_simple__fgets_63b.c
Label Definition File: CWE123_simple.label.xml
Template File: sources-sink-63b.tmpl.c
*/
/*
* @description
* CWE: 123 Write-What-Where Condition
* BadSource: fgets Overwrite linked list pointers using fgets
* GoodSource: Don't overwrite linked... |
63,007 | Write_What_Where_Condition | 31 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE123_simple__fgets_08.c
Label Definition File: CWE123_simple.label.xml
Template File: sources-sink-08.tmpl.c
*/
/*
* @description
* CWE: 123 Write-What-Where Condition
* BadSource: fgets Overwrite linked list pointers using fgets
* GoodSource: Don't overwrite linked l... |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 12