Displaying test cases 383651 - 383675 of 426654 in total
-
CWE: 666 Operation on Resource in Wrong Phase of Lifetime Sinks: accept_bind_listen GoodSink: Create a listen socket correctly by placing bind(), listen(), and accept() in the correct order BadSink : Attempt to accept(), bind(), then listen() Flow Variant: 13 Control flow: if(GLOBAL_CONST_FIV...
-
CWE: 666 Operation on Resource in Wrong Phase of Lifetime Sinks: accept_bind_listen GoodSink: Create a listen socket correctly by placing bind(), listen(), and accept() in the correct order BadSink : Attempt to accept(), bind(), then listen() Flow Variant: 12 Control flow: if(globalReturnsTru...
-
CWE: 666 Operation on Resource in Wrong Phase of Lifetime Sinks: accept_bind_listen GoodSink: Create a listen socket correctly by placing bind(), listen(), and accept() in the correct order BadSink : Attempt to accept(), bind(), then listen() Flow Variant: 11 Control flow: if(globalReturnsTru...
-
CWE: 666 Operation on Resource in Wrong Phase of Lifetime Sinks: accept_bind_listen GoodSink: Create a listen socket correctly by placing bind(), listen(), and accept() in the correct order BadSink : Attempt to accept(), bind(), then listen() Flow Variant: 10 Control flow: if(globalTrue) and ...
-
CWE: 666 Operation on Resource in Wrong Phase of Lifetime Sinks: accept_bind_listen GoodSink: Create a listen socket correctly by placing bind(), listen(), and accept() in the correct order BadSink : Attempt to accept(), bind(), then listen() Flow Variant: 09 Control flow: if(GLOBAL_CONST_TRU...
-
CWE: 666 Operation on Resource in Wrong Phase of Lifetime Sinks: accept_bind_listen GoodSink: Create a listen socket correctly by placing bind(), listen(), and accept() in the correct order BadSink : Attempt to accept(), bind(), then listen() Flow Variant: 08 Control flow: if(staticReturnsTru...
-
CWE: 666 Operation on Resource in Wrong Phase of Lifetime Sinks: accept_bind_listen GoodSink: Create a listen socket correctly by placing bind(), listen(), and accept() in the correct order BadSink : Attempt to accept(), bind(), then listen() Flow Variant: 07 Control flow: if(staticFive==5) a...
-
CWE: 666 Operation on Resource in Wrong Phase of Lifetime Sinks: accept_bind_listen GoodSink: Create a listen socket correctly by placing bind(), listen(), and accept() in the correct order BadSink : Attempt to accept(), bind(), then listen() Flow Variant: 06 Control flow: if(STATIC_CONST_FIV...
-
CWE: 666 Operation on Resource in Wrong Phase of Lifetime Sinks: accept_bind_listen GoodSink: Create a listen socket correctly by placing bind(), listen(), and accept() in the correct order BadSink : Attempt to accept(), bind(), then listen() Flow Variant: 05 Control flow: if(staticTrue) and ...
-
CWE: 666 Operation on Resource in Wrong Phase of Lifetime Sinks: accept_bind_listen GoodSink: Create a listen socket correctly by placing bind(), listen(), and accept() in the correct order BadSink : Attempt to accept(), bind(), then listen() Flow Variant: 04 Control flow: if(STATIC_CONST_TRU...
-
CWE: 666 Operation on Resource in Wrong Phase of Lifetime Sinks: accept_bind_listen GoodSink: Create a listen socket correctly by placing bind(), listen(), and accept() in the correct order BadSink : Attempt to accept(), bind(), then listen() Flow Variant: 03 Control flow: if(5==5) and if(5!=5)
-
CWE: 666 Operation on Resource in Wrong Phase of Lifetime Sinks: accept_bind_listen GoodSink: Create a listen socket correctly by placing bind(), listen(), and accept() in the correct order BadSink : Attempt to accept(), bind(), then listen() Flow Variant: 02 Control flow: if(1) and if(0)
-
CWE: 666 Operation on Resource in Wrong Phase of Lifetime Sinks: accept_bind_listen GoodSink: Create a listen socket correctly by placing bind(), listen(), and accept() in the correct order BadSink : Attempt to accept(), bind(), then listen() Flow Variant: 01 Baseline
-
CWE: 665 Improper Initialization BadSource: Do not initialize data properly GoodSource: Initialize data Sinks: ncat BadSink : Copy string to data using wcsncat Flow Variant: 84 Data flow: data passed to class constructor and destructor by declaring the class object on the heap and deleting ...
-
CWE: 665 Improper Initialization BadSource: Do not initialize data properly GoodSource: Initialize data Sinks: ncat BadSink : Copy string to data using wcsncat Flow Variant: 83 Data flow: data passed to class constructor and destructor by declaring the class object on the stack
-
CWE: 665 Improper Initialization BadSource: Do not initialize data properly GoodSource: Initialize data BadSink : Copy string to data using wcsncat Flow Variant: 82 Data flow: data passed in a parameter to an virtual method called via a pointer
-
CWE: 665 Improper Initialization BadSource: Do not initialize data properly GoodSource: Initialize data Sinks: ncat BadSink : Copy string to data using wcsncat Flow Variant: 81 Data flow: data passed in a parameter to an virtual method called via a reference
-
CWE: 665 Improper Initialization BadSource: Do not initialize data properly GoodSource: Initialize data Sinks: ncat BadSink : Copy string to data using wcsncat Flow Variant: 74 Data flow: data passed in a map from one function to another in different source files
-
CWE: 665 Improper Initialization BadSource: Do not initialize data properly GoodSource: Initialize data Sinks: ncat BadSink : Copy string to data using wcsncat Flow Variant: 73 Data flow: data passed in a list from one function to another in different source files
-
CWE: 665 Improper Initialization BadSource: Do not initialize data properly GoodSource: Initialize data Sinks: ncat BadSink : Copy string to data using wcsncat Flow Variant: 72 Data flow: data passed in a vector from one function to another in different source files
-
CWE: 665 Improper Initialization BadSource: Do not initialize data properly GoodSource: Initialize data Sink: ncat BadSink : Copy string to data using wcsncat Flow Variant: 68 Data flow: data passed as a global variable from one function to another in different source files
-
CWE: 665 Improper Initialization BadSource: Do not initialize data properly GoodSource: Initialize data Sinks: ncat BadSink : Copy string to data using wcsncat Flow Variant: 67 Data flow: data passed in a struct from one function to another in different source files
-
CWE: 665 Improper Initialization BadSource: Do not initialize data properly GoodSource: Initialize data Sinks: ncat BadSink : Copy string to data using wcsncat Flow Variant: 66 Data flow: data passed in an array from one function to another in different source files
-
CWE: 665 Improper Initialization BadSource: Do not initialize data properly GoodSource: Initialize data Sinks: ncat BadSink : Copy string to data using wcsncat Flow Variant: 65 Data/control flow: data passed as an argument from one function to a function in a different source file called vi...
-
CWE: 665 Improper Initialization BadSource: Do not initialize data properly GoodSource: Initialize data Sinks: ncat BadSink : Copy string to data using wcsncat Flow Variant: 64 Data flow: void pointer to data passed from one function to another in different source files