Displaying test cases 42401 - 42425 of 74755 in total
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 19 Control flow: Dead code after a return
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 18 Control flow: goto statements
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 17 Control flow: for loops
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 16 Control flow: while(1) and while(0)
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 15 Control flow: switch(6)
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 14 Control flow: if(global_five==5) and if(global_...
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 13 Control flow: if(global_const_five==5) and if(g...
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 12 Control flow: if(global_returns_t_or_f())
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 11 Control flow: if(global_returns_t()) and if(glo...
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 10 Control flow: if(global_t) and if(global_f)
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 09 Control flow: if(global_const_t) and if(global_...
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 08 Control flow: if(static_returns_t()) and if(sta...
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 07 Control flow: if(static_five==5) and if(static_...
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 06 Control flow: if(static_const_five==5) and if(s...
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 05 Control flow: if(static_t) and if(static_f)
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 04 Control flow: if(static_const_t) and if(static_...
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 03 Control flow: if(5==5) and if(5!=5)
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 02 Control flow: if(1) and if(0)
-
CWE: 467 Use of sizeof() on a Pointer Type BadSource: Initialize the source buffer using the size of a pointer GoodSource: Initialize the source buffer using the size of the DataElementType Sink: BadSink : Print then free data Flow Variant: 01 Baseline
-
CWE: 464 Insertion of Data Structure Sentinel BadSource: Read in data from the console and convert to an int GoodSource: Set data to a fixed char Sink: BadSink : Place data into and print an array Flow Variant: 68 Data flow: data passed as a global variable from one function to another in d...
-
CWE: 464 Insertion of Data Structure Sentinel BadSource: Read in data from the console and convert to an int GoodSource: Set data to a fixed char Sinks: BadSink : Place data into and print an array Flow Variant: 67 Data flow: data passed in a struct from one function to another in different...
-
CWE: 464 Insertion of Data Structure Sentinel BadSource: Read in data from the console and convert to an int GoodSource: Set data to a fixed char Sinks: BadSink : Place data into and print an array Flow Variant: 66 Data flow: data passed in an array from one function to another in different...
-
CWE: 464 Insertion of Data Structure Sentinel BadSource: Read in data from the console and convert to an int GoodSource: Set data to a fixed char Sinks: BadSink : Place data into and print an array Flow Variant: 65 Data/control flow: data passed as an argument from one function to a functio...
-
CWE: 464 Insertion of Data Structure Sentinel BadSource: Read in data from the console and convert to an int GoodSource: Set data to a fixed char Sinks: BadSink : Place data into and print an array Flow Variant: 64 Data flow: void pointer to data passed from one function to another in diffe...
-
CWE: 464 Insertion of Data Structure Sentinel BadSource: Read in data from the console and convert to an int GoodSource: Set data to a fixed char Sinks: BadSink : Place data into and print an array Flow Variant: 63 Data flow: pointer to data passed from one function to another in different ...