Skip to content
This repository was archived by the owner on Apr 22, 2026. It is now read-only.

fix: favor snprintf over insecure sprintf#54

Open
ricochet wants to merge 3 commits into
mbientlab:masterfrom
ricochet:snprintf
Open

fix: favor snprintf over insecure sprintf#54
ricochet wants to merge 3 commits into
mbientlab:masterfrom
ricochet:snprintf

Conversation

@ricochet

@ricochet ricochet commented Jul 5, 2023

Copy link
Copy Markdown

When building with clang and warnings, I bumped into a warning about a potential buffer overflow.

This is easily mitigated by changing to snprintf.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant