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

mount: fix unbounded write #2412

Merged
merged 1 commit into from
May 24, 2024

Conversation

rst0git
Copy link
Member

@rst0git rst0git commented May 23, 2024

Replace sprintf() with snprintf() and specify maximum length of characters to avoid potential overflow.

Reported-by: GitHub CodeQL

Replace sprintf() with snprintf() and specify maximum length of
characters to avoid potential overflow.

Reported-by: GitHub CodeQL (https://codeql.github.com/)
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
@avagin avagin merged commit 0f3246a into checkpoint-restore:criu-dev May 24, 2024
33 of 39 checks passed
@rst0git rst0git deleted the mount-unbounded-write branch May 24, 2024 17:39
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.

None yet

2 participants