chiark / gitweb /
Replace the one use of sprintf() with snprintf()
authorBen Harris <bjh21@bjh21.me.uk>
Thu, 13 Mar 2025 13:49:43 +0000 (13:49 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Thu, 13 Mar 2025 13:49:43 +0000 (13:49 +0000)
commitbcd1d5304a76609feda859c6ed65076a525f9484
tree198b52589038d6bd2b319c3d9e756f40d14a0d1e
parentaea0b12ba2e4c2a0b56a8ba79f7659574bc075d0
Replace the one use of sprintf() with snprintf()

It only acts on constant strings, so it can't actually overflow, but
this way I can assert() that it really doesn't.
bedstead.c