Displaying test cases 3901 - 3925 of 9725 in total
-
CWE: 773 Missing Reference to Active File Descriptor or Handle BadSource: Create a file handle using CreateFile() Sinks: GoodSink: Close the file handle before reusing it BadSink : Reassign the file handle before closing it Flow Variant: 12 Control flow: if(globalReturnsTrueOrFalse())
-
CWE: 773 Missing Reference to Active File Descriptor or Handle BadSource: Create a file handle using CreateFile() Sinks: GoodSink: Close the file handle before reusing it BadSink : Reassign the file handle before closing it Flow Variant: 11 Control flow: if(globalReturnsTrue()) and if(globa...
-
CWE: 773 Missing Reference to Active File Descriptor or Handle BadSource: Create a file handle using CreateFile() Sinks: GoodSink: Close the file handle before reusing it BadSink : Reassign the file handle before closing it Flow Variant: 10 Control flow: if(globalTrue) and if(globalFalse)
-
CWE: 773 Missing Reference to Active File Descriptor or Handle BadSource: Create a file handle using CreateFile() Sinks: GoodSink: Close the file handle before reusing it BadSink : Reassign the file handle before closing it Flow Variant: 09 Control flow: if(GLOBAL_CONST_TRUE) and if(GLOBAL_...
-
CWE: 773 Missing Reference to Active File Descriptor or Handle BadSource: Create a file handle using CreateFile() Sinks: GoodSink: Close the file handle before reusing it BadSink : Reassign the file handle before closing it Flow Variant: 08 Control flow: if(staticReturnsTrue()) and if(stati...
-
CWE: 773 Missing Reference to Active File Descriptor or Handle BadSource: Create a file handle using CreateFile() Sinks: GoodSink: Close the file handle before reusing it BadSink : Reassign the file handle before closing it Flow Variant: 07 Control flow: if(staticFive==5) and if(staticFive!=5)
-
CWE: 773 Missing Reference to Active File Descriptor or Handle BadSource: Create a file handle using CreateFile() Sinks: GoodSink: Close the file handle before reusing it BadSink : Reassign the file handle before closing it Flow Variant: 06 Control flow: if(STATIC_CONST_FIVE==5) and if(STAT...
-
CWE: 773 Missing Reference to Active File Descriptor or Handle BadSource: Create a file handle using CreateFile() Sinks: GoodSink: Close the file handle before reusing it BadSink : Reassign the file handle before closing it Flow Variant: 05 Control flow: if(staticTrue) and if(staticFalse)
-
CWE: 773 Missing Reference to Active File Descriptor or Handle BadSource: Create a file handle using CreateFile() Sinks: GoodSink: Close the file handle before reusing it BadSink : Reassign the file handle before closing it Flow Variant: 04 Control flow: if(STATIC_CONST_TRUE) and if(STATIC_...
-
CWE: 773 Missing Reference to Active File Descriptor or Handle BadSource: Create a file handle using CreateFile() Sinks: GoodSink: Close the file handle before reusing it BadSink : Reassign the file handle before closing it Flow Variant: 03 Control flow: if(5==5) and if(5!=5)
-
CWE: 773 Missing Reference to Active File Descriptor or Handle BadSource: Create a file handle using CreateFile() Sinks: GoodSink: Close the file handle before reusing it BadSink : Reassign the file handle before closing it Flow Variant: 02 Control flow: if(1) and if(0)
-
CWE: 773 Missing Reference to Active File Descriptor or Handle BadSource: Create a file handle using CreateFile() Sinks: GoodSink: Close the file handle before reusing it BadSink : Reassign the file handle before closing it Flow Variant: 01 Baseline
-
CWE: 761 Free Pointer not at Start of Buffer BadSource: environment Read input from an environment variable Sinks: GoodSink: free() memory correctly at the start of the buffer BadSink : free() memory not at the start of the buffer Flow Variant: 74 Data flow: data passed in a map from one fun...
-
CWE: 761 Free Pointer not at Start of Buffer BadSource: environment Read input from an environment variable Sinks: GoodSink: free() memory correctly at the start of the buffer BadSink : free() memory not at the start of the buffer Flow Variant: 73 Data flow: data passed in a list from one fu...
-
CWE: 761 Free Pointer not at Start of Buffer BadSource: environment Read input from an environment variable Sinks: GoodSink: free() memory correctly at the start of the buffer BadSink : free() memory not at the start of the buffer Flow Variant: 72 Data flow: data passed in a vector from one ...
-
CWE: 761 Free Pointer not at Start of Buffer BadSource: environment Read input from an environment variable Sinks: GoodSink: free() memory correctly at the start of the buffer BadSink : free() memory not at the start of the buffer Flow Variant: 62 Data flow: data flows using a C++ reference ...
-
Undefined Behavior - Return Value From Function Using Implicit Return Type
-
Undefined Behavior - Missing Return Value From Function With Implicit Return Type
-
Undefined Behavior - Bare Return From Function With Implicit Return Type
-
Undefined Behavior - Bare Return From Function
-
CWE: 690 Unchecked Return Value To NULL Pointer BadSource: w32_wfopen Open data with wfopen() Sinks: 0 GoodSink: Check data for NULL BadSink : Do not check data for NULL Flow Variant: 84 Data flow: data passed to class constructor and destructor by declaring the class object on the heap and ...
-
CWE: 690 Unchecked Return Value To NULL Pointer BadSource: w32_wfopen Open data with wfopen() Sinks: 0 GoodSink: Check data for NULL BadSink : Do not check data for NULL Flow Variant: 83 Data flow: data passed to class constructor and destructor by declaring the class object on the stack
-
CWE: 690 Unchecked Return Value To NULL Pointer BadSource: w32_wfopen Open data with wfopen() Sinks: 0 GoodSink: Check data for NULL BadSink : Do not check data for NULL Flow Variant: 82 Data flow: data passed in a parameter to an virtual method called via a pointer
-
CWE: 690 Unchecked Return Value To NULL Pointer BadSource: w32_wfopen Open data with wfopen() Sinks: 0 GoodSink: Check data for NULL BadSink : Do not check data for NULL Flow Variant: 81 Data flow: data passed in a parameter to an virtual method called via a reference
-
CWE: 690 Unchecked Return Value To NULL Pointer BadSource: w32_wfopen Open data with wfopen() Sinks: 0 GoodSink: Check data for NULL BadSink : Do not check data for NULL Flow Variant: 74 Data flow: data passed in a map from one function to another in different source files