Veracode has highlighted the flaw “External Control of File Name or Path (CWE ID 73) ” in the code below.
Can someone advise how to fix this?
Public Sub openwriter() Me.FileStream = New FileStream(Me.sFilePath, FileMode.Create, FileAccess.Write) Me.sw = New StreamWriter(FileStream) End Su
b