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

runtime/cgo: The x_cgo_sigaction function uses the unsafe function memset. #59498

Closed
chenweihao9 opened this issue Apr 8, 2023 · 2 comments
Closed
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FrozenDueToAge vulncheck or vulndb Issues for the x/vuln or x/vulndb repo WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@chenweihao9
Copy link

What version of Go are you using (go version)?

$ go version
all

Does this issue reproduce at the latest version of golang.org/x/vuln?

yes

What operating system and processor architecture are you using (go env)?

linux

go env Output
$ go env

What did you do?

View Code

What did you expect to see?

Whether the memset function can be modified to a secure function

@chenweihao9 chenweihao9 added the vulncheck or vulndb Issues for the x/vuln or x/vulndb repo label Apr 8, 2023
@seankhliao seankhliao changed the title runtime/cgo/: The x_cgo_sigaction function uses the unsafe function memset. runtime/cgo: The x_cgo_sigaction function uses the unsafe function memset. Apr 8, 2023
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Apr 8, 2023
@bcmills
Copy link
Contributor

bcmills commented Apr 8, 2023

What is unsafe about memset?

@bcmills bcmills added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Apr 8, 2023
@ianlancetaylor
Copy link
Contributor

These uses of memset are safe.

@ianlancetaylor ianlancetaylor closed this as not planned Won't fix, can't repro, duplicate, stale Apr 11, 2023
@golang golang locked and limited conversation to collaborators Apr 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FrozenDueToAge vulncheck or vulndb Issues for the x/vuln or x/vulndb repo WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants