Skip to content

Fix technical undefined behavior with snprintf - #2328

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

sphaero merged 1 commit into
zeromq: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

sphaero commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

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