Skip to content

Fix technical undefined behavior with snprintf#2328

Merged
sphaero merged 1 commit intozeromq:masterfrom
jdavidberger:master
Apr 15, 2026
Merged

Fix technical undefined behavior with snprintf#2328
sphaero merged 1 commit intozeromq:masterfrom
jdavidberger:master

Conversation

@jdavidberger
Copy link
Copy Markdown
Contributor

To be clear there is no input / data path that could cause a buffer overflow; however there are various instrumentation / dynamic checks for this sort of thing that this code triggers (along with the general issue with it being UB).

Specifically this snprintf implementation aborts here.

@sphaero
Copy link
Copy Markdown
Contributor

sphaero commented Apr 15, 2026

Thanks

@sphaero sphaero merged commit 321aa4c into zeromq:master Apr 15, 2026
8 of 10 checks passed
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.

2 participants