Deprecated test case
Description
CWE: 469 Use Of Pointer Subtraction To Determine Size
Sinks: ncpy
GoodSink: using correct pointer subtraction to determine length in wcsncpy()
BadSink : Beginning and end pointers are switched leading to an incorrect length in wcsncpy()
Flow Variant: 08 Control flow: if(static_returns_t()) and if(static_returns_f())
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.