Skip to content

closefrom: Appease static analyzers sprintf paranoia#124

Open
stewartsmith wants to merge 1 commit into
rustyrussell:masterfrom
stewartsmith:closefrom-sprintf-warn
Open

closefrom: Appease static analyzers sprintf paranoia#124
stewartsmith wants to merge 1 commit into
rustyrussell:masterfrom
stewartsmith:closefrom-sprintf-warn

Conversation

@stewartsmith

Copy link
Copy Markdown
Contributor

While the math is correct on the buffer being adequate, some static analyzers like to complain rather than do the math. Appease them by using snprintf instead.

While the math is correct on the buffer being adequate, some static
analyzers like to complain rather than do the math. Appease them by
using snprintf instead.

Signed-off-by: Stewart Smith <trawets@amazon.com>
@ddustin

ddustin commented May 27, 2026

Copy link
Copy Markdown
Collaborator

ACK 4f35829

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