aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/arp.c
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2020-07-05 00:19:31 -0600
committerRob Landley <rob@landley.net>2020-07-05 04:43:47 -0500
commit66f80c83e376b31f4b1ffed36ced7b2729423f6a (patch)
treebcb2631b065538982b9af2d785a25d0e70139349 /toys/pending/arp.c
parent63073aa6e16ebd0aa96e000847cb13fb0eb352fe (diff)
downloadtoybox-66f80c83e376b31f4b1ffed36ced7b2729423f6a.tar.gz
wget: do not append toybox version at runtime
The sprintf() call, while technically valid (17 bytes fits in an 18 byte allocation) trips Alpine fortify-headers due to checking for allocations that could potentially overrun. The call is pointless anyway -- as we are appending a constant to another constant, it is better to just let the compiler do so and calculate the size. This is supported by ISO C89 and later, and thus any compiler that would be used to compile toybox. Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
Diffstat (limited to 'toys/pending/arp.c')
0 files changed, 0 insertions, 0 deletions