Juliet C/C++ 1.0 Test suite #25
DownloadDescription
A collection of test cases in the C/C++ language. It contains examples for 116 different CWEs. This software is not subject to copyright protection and is in the public domain. NIST assumes no responsibility whatsoever for its use by other parties, and makes no guaranties, expressed or implied, about its quality, reliability, or any other characteristic. All documents related to the Juliet Test Suite can be found at the documents page.
Documentation
Displaying test cases 13251 - 13275 of 45309 in total
-
CWE: 134 Uncontrolled Format String BadSource: connect_socket Read data using a connect socket (client side) GoodSource: Copy a fixed string into data Sinks: vsnprintf GoodSink: _vsnwprintf with a format string BadSink : _vsnwprintf without a format string Flow Variant: 68 Data flow: data p...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 01 Base...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 02 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 03 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 04 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 05 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 06 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 07 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 08 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 09 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 10 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 11 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 12 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 13 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 14 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 15 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 16 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 17 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 18 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 19 Cont...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 31 Data...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 32 Data...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 34 Data...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 41 Data...
-
CWE: 134 Uncontrolled Format String BadSource: fromConsole Read input from the console GoodSource: Copy a fixed string into data Sinks: fprintf GoodSink: fwprintf with "%s" as the second argument and data as the third BadSink : fwprintf with data as the second argument Flow Variant: 42 Data...