Displaying test cases 10201 - 10225 of 25795 in total
-
CWE: 476 NULL Pointer Dereference BadSource: Set data to NULL GoodSource: Initialize data Sinks: GoodSink: Check data for NULL before attempting to print data->a BadSink : Print data->a Flow Variant: 66 Data flow: data passed in an array from one function to another in different source files
-
CWE: 476 NULL Pointer Dereference BadSource: Set data to NULL GoodSource: Initialize data Sinks: GoodSink: Check data for NULL before attempting to print data->a BadSink : Print data->a Flow Variant: 65 Data/control flow: data passed as an argument from one function to a function in a diff...
-
CWE: 476 NULL Pointer Dereference BadSource: Set data to NULL GoodSource: Initialize data Sinks: GoodSink: Check data for NULL before attempting to print data->a BadSink : Print data->a Flow Variant: 64 Data flow: void pointer to data passed from one function to another in different source...
-
CWE: 476 NULL Pointer Dereference BadSource: Set data to NULL GoodSource: Initialize data Sinks: GoodSink: Check data for NULL before attempting to print data->a BadSink : Print data->a Flow Variant: 63 Data flow: pointer to data passed from one function to another in different source files
-
CWE: 476 NULL Pointer Dereference BadSource: Set data to NULL GoodSource: Initialize data Sinks: GoodSink: Check data for NULL before attempting to print data->a BadSink : Print data->a Flow Variant: 54 Data flow: data passed as an argument from one function through three others to a fifth...
-
CWE: 476 NULL Pointer Dereference BadSource: Set data to NULL GoodSource: Initialize data Sinks: GoodSink: Check data for NULL before attempting to print data->a BadSink : Print data->a Flow Variant: 53 Data flow: data passed as an argument from one function through two others to a fourth;...
-
CWE: 476 NULL Pointer Dereference BadSource: Set data to NULL GoodSource: Initialize data Sinks: GoodSink: Check data for NULL before attempting to print data->a BadSink : Print data->a Flow Variant: 52 Data flow: data passed as an argument from one function to another to another in three ...
-
CWE: 476 NULL Pointer Dereference BadSource: Set data to NULL GoodSource: Initialize data Sinks: GoodSink: Check data for NULL before attempting to print data->a BadSink : Print data->a Flow Variant: 51 Data flow: data passed as an argument from one function to another in different source ...
-
CWE: 476 NULL Pointer Dereference BadSource: Set data to NULL GoodSource: Initialize data Sinks: GoodSink: Check data for NULL before attempting to print data->a BadSink : Print data->a Flow Variant: 22 Control flow: Flow controlled by value of a global variable. Sink functions are in a se...
-
CWE: 476 NULL Pointer Dereference BadSource: Set data to NULL GoodSource: Initialize data Sinks: GoodSink: Check for NULL before attempting to print data BadSink : Print data Flow Variant: 82 Data flow: data passed in a parameter to an virtual method called via a pointer
-
CWE: 476 NULL Pointer Dereference BadSource: Set data to NULL GoodSource: Initialize data Sinks: GoodSink: Check for NULL before attempting to print data BadSink : Print data Flow Variant: 81 Data flow: data passed in a parameter to an virtual method called via a reference
-
CWE: 476 NULL Pointer Dereference BadSource: Set data to NULL GoodSource: Initialize data Sinks: GoodSink: Check for NULL before attempting to print data BadSink : Print data Flow Variant: 74 Data flow: data passed in a map from one function to another in different source files
-
CWE: 476 NULL Pointer Dereference BadSource: Set data to NULL GoodSource: Initialize data Sinks: GoodSink: Check for NULL before attempting to print data BadSink : Print data Flow Variant: 73 Data flow: data passed in a list from one function to another in different source files
-
CWE: 476 NULL Pointer Dereference BadSource: Set data to NULL GoodSource: Initialize data Sinks: GoodSink: Check for NULL before attempting to print data BadSink : Print data Flow Variant: 72 Data flow: data passed in a vector from one function to another in different source files
-
CWE: 476 NULL Pointer Dereference BadSource: Set data to NULL GoodSource: Initialize data Sinks: GoodSink: Check for NULL before attempting to print data BadSink : Print data Flow Variant: 33 Data flow: use of a C++ reference to data within the same function
-
incorrect pointer scaling
-
CWE: 464 Addition 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: 84 Data flow: data passed to class constructor and destructor by declaring the c...
-
CWE: 464 Addition 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: 83 Data flow: data passed to class constructor and destructor by declaring the c...
-
CWE: 464 Addition of Data Structure Sentinel BadSource: Read in data from the console and convert to an int GoodSource: Set data to a fixed char BadSink : Place data into and print an array Flow Variant: 82 Data flow: data passed in a parameter to an virtual method called via a pointer
-
CWE: 464 Addition 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: 81 Data flow: data passed in a parameter to an virtual method called via a refer...
-
CWE: 464 Addition 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: 74 Data flow: data passed in a map from one function to another in different sou...
-
CWE: 464 Addition 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: 73 Data flow: data passed in a list from one function to another in different so...
-
CWE: 464 Addition 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: 72 Data flow: data passed in a vector from one function to another in different ...
-
CWE: 464 Addition 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: 62 Data flow: data flows using a C++ reference from one function to another in d...
-
CWE: 464 Addition 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: 43 Data flow: data flows using a C++ reference from one function to another in t...