Skip to content

Fix FFI soundness hole in ptrlen_to_str#27211

Open
ngaturjiwo77-hue wants to merge 1 commit intoprotocolbuffers:mainfrom
ngaturjiwo77-hue:patch-1
Open

Fix FFI soundness hole in ptrlen_to_str#27211
ngaturjiwo77-hue wants to merge 1 commit intoprotocolbuffers:mainfrom
ngaturjiwo77-hue:patch-1

Conversation

@ngaturjiwo77-hue
Copy link
Copy Markdown

Removed unsafe conversion from bytes to ProtoStr to prevent undefined behavior when C++ bypasses validation.

Removed unsafe conversion from bytes to ProtoStr to prevent undefined behavior when C++ bypasses validation.
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.

1 participant