]> git.ipfire.org Git - thirdparty/shadow.git/commit
Avoid usage of sprintf
authorChristian Göttsche <cgzones@googlemail.com>
Thu, 26 Jan 2023 19:49:41 +0000 (20:49 +0100)
committerSerge Hallyn <serge@hallyn.com>
Mon, 21 Aug 2023 21:04:09 +0000 (16:04 -0500)
commitf76c31f50ed0cca018591cc2d0b43837d6224f7d
treeaf0546e346b5fb519e8aa589bee23a3838e3ef0b
parente0d3ba69340f9257501681ec516d75f5c5562e6e
Avoid usage of sprintf

sprintf(3) does not take the destination buffer into account. Although
the destination in these case is large enough, sprintf(3) indicates a
code smell.

Use snprintf(3).
lib/subordinateio.c