Repository navigation
[SBOMblebee] ChessCom/protobuf: fix 8 SAST findings (strcpy, source-size copies) - #12
Open
sbomblebee[bot] wants to merge 9 commits into
Open
sbomblebee[bot] wants to merge 9 commits into
sbomblebee[bot] wants to merge 9 commits into
Conversation
…-4490-be17-e0ffe7e4956d
…90-be17-e0ffe7e4956d
…0-be17-e0ffe7e4956d
…ba5-47a9-acac-73ff5bff574f
…5a0-bbae-33c30229b21f
…0-bbae-33c30229b21f
…f41-6bad-45a0-bbae-33c30229b21f
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
[SBOMblebee] Automated fix
Repository dashboard
SAST dashboard
Run ID:
80eecf41-6bad-45a0-bbae-33c30229b21fsubprocess.cc: portable_strdup now copies with snprintf into a malloc of the string length plus NUL, so strcpy is gone.
strtod.c: locale radix and the rest of the localized number copy into caller-sized buffers with dest clamps.
def_builder.c: prefix is memcpy'd using a dest cap of prefix plus name plus NUL, not strcpy.
php message Any type_url: snprintf into an arena buffer sized for prefix plus name.
conformance JSON errors: snprintf into an arena buffer of the error length plus NUL.
Dest-bounded copies confirmed on the fix-branch files.
Generated by the security team's GNS fix agent. Questions → #ask_security. If this change isn't right, close the PR and security will triage.