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: 03 Control flow: if(5==5) and if(5!=5)
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.