CWE: 775 Missing Release of File Descriptor or Handle After Effective Lifetime
BadSource: Open a file using CreateFile()
GoodSink: Close the file using CloseHandle()
BadSink : Do not close file
Flow Variant: 62 Data flow: data flows using a C++ reference from one function to another in different source files
Have any comments on this test case? Please, send us an email.