Deprecated test case
Description
CWE: 193 Off by One Error
Sinks: ncpy
GoodSink: Use strncpy() to perform a string copy correctly
BadSink : Use strncpy() to perform a string copy, but copy one too many characters
Flow Variant: 02 Control flow: if(1) and if(0)
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.