Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add filepath.EvalSymlinks to clean functions in rule G304 #1137

Merged
merged 1 commit into from
May 13, 2024

Conversation

ccojocar
Copy link
Member

@ccojocar ccojocar commented May 13, 2024

fixes #1127

Signed-off-by: Cosmin Cojocar <cosmin@cojocar.ch>
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.44%. Comparing base (d34f8b7) to head (d5253ba).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1137   +/-   ##
=======================================
  Coverage   68.43%   68.44%           
=======================================
  Files          68       68           
  Lines        3738     3739    +1     
=======================================
+ Hits         2558     2559    +1     
  Misses       1065     1065           
  Partials      115      115           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ccojocar ccojocar merged commit 417a44c into securego:master May 13, 2024
6 checks passed
@ccojocar ccojocar deleted the false_postivive_evalsymlinks branch May 13, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positive on G304 (CWE-22) after filepath.EvalSymlinks
2 participants