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: 67 Data flow: data passed in a struct from one function to another in different source files
Have any comments on this test case? Please, send us an email.