CWE: 775 Missing Release of File Descriptor or Handle After Effective Lifetime
BadSource: Open a file using fopen()
GoodSink: Close the file using fclose()
BadSink : Do not close file
Flow Variant: 33 Data flow: use of a C++ reference to data within the same function
Have any comments on this test case? Please, send us an email.