Displaying test cases 19026 - 19050 of 45437 in total
-
CWE: 832 Unlock Of Resource That Is Not Locked Sinks: GoodSink: Acquire a lock before releasing it BadSink : Release the lock before acquiring it Flow Variant: 07 Control flow: if(staticFive==5) and if(staticFive!=5)
-
CWE: 832 Unlock Of Resource That Is Not Locked Sinks: GoodSink: Acquire a lock before releasing it BadSink : Release the lock before acquiring it Flow Variant: 06 Control flow: if(STATIC_CONST_FIVE==5) and if(STATIC_CONST_FIVE!=5)
-
CWE: 832 Unlock Of Resource That Is Not Locked Sinks: GoodSink: Acquire a lock before releasing it BadSink : Release the lock before acquiring it Flow Variant: 05 Control flow: if(staticTrue) and if(staticFalse)
-
CWE: 832 Unlock Of Resource That Is Not Locked Sinks: GoodSink: Acquire a lock before releasing it BadSink : Release the lock before acquiring it Flow Variant: 04 Control flow: if(STATIC_CONST_TRUE) and if(STATIC_CONST_FALSE)
-
CWE: 832 Unlock Of Resource That Is Not Locked Sinks: GoodSink: Acquire a lock before releasing it BadSink : Release the lock before acquiring it Flow Variant: 03 Control flow: if(5==5) and if(5!=5)
-
CWE: 832 Unlock Of Resource That Is Not Locked Sinks: GoodSink: Acquire a lock before releasing it BadSink : Release the lock before acquiring it Flow Variant: 02 Control flow: if(1) and if(0)
-
CWE: 832 Unlock Of Resource That Is Not Locked Sinks: GoodSink: Acquire a lock before releasing it BadSink : Release the lock before acquiring it Flow Variant: 01 Baseline
-
CWE: 789 Uncontrolled Memory Allocation BadSource: rand Set data to result of rand(), which may be zero GoodSource: Small number greater than zero Sinks: GoodSink: Allocate memory with malloc() and check the size of the memory to be allocated BadSink : Allocate memory with malloc(), but inco...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: listen_socket Read data using a listen socket (server side) GoodSource: Small number greater than zero Sinks: GoodSink: Allocate memory with malloc() and check the size of the memory to be allocated BadSink : Allocate memory with malloc(), b...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: fgets Read data from the console using fgets() GoodSource: Small number greater than zero Sinks: GoodSink: Allocate memory with malloc() and check the size of the memory to be allocated BadSink : Allocate memory with malloc(), but incorrectl...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: connect_socket Read data using a connect socket (client side) GoodSource: Small number greater than zero Sinks: GoodSink: Allocate memory with malloc() and check the size of the memory to be allocated BadSink : Allocate memory with malloc(),...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: rand Set data to result of rand(), which may be zero GoodSource: Small number greater than zero Sinks: GoodSink: Allocate memory with malloc() and check the size of the memory to be allocated BadSink : Allocate memory with malloc(), but inco...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: listen_socket Read data using a listen socket (server side) GoodSource: Small number greater than zero Sinks: GoodSink: Allocate memory with malloc() and check the size of the memory to be allocated BadSink : Allocate memory with malloc(), b...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: fgets Read data from the console using fgets() GoodSource: Small number greater than zero Sinks: GoodSink: Allocate memory with malloc() and check the size of the memory to be allocated BadSink : Allocate memory with malloc(), but incorrectl...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: connect_socket Read data using a connect socket (client side) GoodSource: Small number greater than zero Sinks: GoodSink: Allocate memory with malloc() and check the size of the memory to be allocated BadSink : Allocate memory with malloc(),...
-
CWE: 785 Path Manipulation Function Without Max Sized Buffer Sinks: GoodSink: Ensure the path parameter is MAX_PATH BadSink : Use PathAppend() with a buffer that is less than MAX_PATH Flow Variant: 18 Control flow: goto statements
-
CWE: 785 Path Manipulation Function Without Max Sized Buffer Sinks: GoodSink: Ensure the path parameter is MAX_PATH BadSink : Use PathAppend() with a buffer that is less than MAX_PATH Flow Variant: 17 Control flow: for loops
-
CWE: 785 Path Manipulation Function Without Max Sized Buffer Sinks: GoodSink: Ensure the path parameter is MAX_PATH BadSink : Use PathAppend() with a buffer that is less than MAX_PATH Flow Variant: 16 Control flow: while(1)
-
CWE: 785 Path Manipulation Function Without Max Sized Buffer Sinks: GoodSink: Ensure the path parameter is MAX_PATH BadSink : Use PathAppend() with a buffer that is less than MAX_PATH Flow Variant: 15 Control flow: switch(6)
-
CWE: 785 Path Manipulation Function Without Max Sized Buffer Sinks: GoodSink: Ensure the path parameter is MAX_PATH BadSink : Use PathAppend() with a buffer that is less than MAX_PATH Flow Variant: 14 Control flow: if(globalFive==5) and if(globalFive!=5)
-
CWE: 785 Path Manipulation Function Without Max Sized Buffer Sinks: GoodSink: Ensure the path parameter is MAX_PATH BadSink : Use PathAppend() with a buffer that is less than MAX_PATH Flow Variant: 13 Control flow: if(GLOBAL_CONST_FIVE==5) and if(GLOBAL_CONST_FIVE!=5)
-
CWE: 785 Path Manipulation Function Without Max Sized Buffer Sinks: GoodSink: Ensure the path parameter is MAX_PATH BadSink : Use PathAppend() with a buffer that is less than MAX_PATH Flow Variant: 12 Control flow: if(globalReturnsTrueOrFalse())
-
CWE: 785 Path Manipulation Function Without Max Sized Buffer Sinks: GoodSink: Ensure the path parameter is MAX_PATH BadSink : Use PathAppend() with a buffer that is less than MAX_PATH Flow Variant: 11 Control flow: if(globalReturnsTrue()) and if(globalReturnsFalse())
-
CWE: 785 Path Manipulation Function Without Max Sized Buffer Sinks: GoodSink: Ensure the path parameter is MAX_PATH BadSink : Use PathAppend() with a buffer that is less than MAX_PATH Flow Variant: 10 Control flow: if(globalTrue) and if(globalFalse)
-
CWE: 785 Path Manipulation Function Without Max Sized Buffer Sinks: GoodSink: Ensure the path parameter is MAX_PATH BadSink : Use PathAppend() with a buffer that is less than MAX_PATH Flow Variant: 09 Control flow: if(GLOBAL_CONST_TRUE) and if(GLOBAL_CONST_FALSE)