AMaiti102429 (Community Member) asked a question.

I have tried several validation for filepath. But still having the flaw of cwe id 73 for the below code. could you suggest how to solve?
var fs = new FileStream(filepath, FileMode.Open, FileAccess.Read, FileShare.None);

Topics (3)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.