You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got complaints about the potential unsafe use of os.Open and ioutil.ReadFile and I was wondering why I didn't get any about os.Create.
The program that I was working on was a really trivial tool, only for internal use (so, no real risk) but in all cases (os.Open, ioutil.ReadFile and os.Create) the provided variable to these functions could have been manipulated by a malicious user.
The text was updated successfully, but these errors were encountered:
I got complaints about the potential unsafe use of os.Open and ioutil.ReadFile and I was wondering why I didn't get any about os.Create.
The program that I was working on was a really trivial tool, only for internal use (so, no real risk) but in all cases (os.Open, ioutil.ReadFile and os.Create) the provided variable to these functions could have been manipulated by a malicious user.
The text was updated successfully, but these errors were encountered: