about summary refs log tree commit diff
path: root/src/stdlib/ldiv.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-01-29 11:24:20 -0500
committerRich Felker <dalias@aerifal.cx>2017-01-29 11:24:20 -0500
commitd6601f0af0452b218d247cb47513fc9cd6bbf2e2 (patch)
treeae9cddaee72229a553ccd859e0860821608f3bfe /src/stdlib/ldiv.c
parentdbbb3734d8c0176feabd6c46e2e85bbc3b8a60af (diff)
downloadmusl-d6601f0af0452b218d247cb47513fc9cd6bbf2e2.tar.gz
musl-d6601f0af0452b218d247cb47513fc9cd6bbf2e2.tar.xz
musl-d6601f0af0452b218d247cb47513fc9cd6bbf2e2.zip
avoid unbounded strlen in gettext functions
use the standard strnlen idiom for cases where lengths greater than an
imposed limit are going to be rejected immediately anyway.
Diffstat (limited to 'src/stdlib/ldiv.c')
0 files changed, 0 insertions, 0 deletions