-
Notifications
You must be signed in to change notification settings - Fork 253
Potential fix for code scanning alert no. 974: Restrict permissions on host-created files #7916
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
23ca5d0
Potential fix for code scanning alert no. 974: File created without r…
achamayou 3024f5b
Harden remaining file creation sites
Copilot c5e20f3
Address validation feedback on secure file writes
Copilot 974d919
Polish secure file write helper handling
Copilot ae39220
Merge branch 'main' into alert-autofix-974
achamayou 0fa1219
Modernize files::dump overloads
Copilot 3962663
Fix dump overload docstring
Copilot a0c3230
Use std::as_bytes in dump helpers
Copilot 5a63f6a
Align dump helper overload naming
Copilot 01e41ea
Format files helper header
Copilot 87b80c0
Suppress clang-tidy fclose warning
Copilot 6a3d31f
Potential fix for pull request finding
achamayou 29eb7d3
Potential fix for pull request finding
achamayou 3c35a8b
Merge branch 'main' into alert-autofix-974
achamayou 97b68fd
Add changelog entry for restrictive file permissions (0600) on host-c…
Copilot 734556a
Merge branch 'main' into alert-autofix-974
achamayou 44e83bc
Rename saved_errno to fdopen_errno for clarity in open_file()
Copilot 1a8ef37
Merge remote-tracking branch 'origin/main' into alert-autofix-974
Copilot d55fada
Merge branch 'main' into alert-autofix-974
maxtropets cc863b7
Move security changelog entry to new [7.0.5] block and bump pyproject…
Copilot a19c350
Add PR number (#7916) to changelog security entry
Copilot 089b417
Merge branch 'main' into alert-autofix-974
achamayou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.