commit | d6601f0af0452b218d247cb47513fc9cd6bbf2e2 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Sun Jan 29 11:24:20 2017 -0500 |
committer | Rich Felker <dalias@aerifal.cx> | Sun Jan 29 11:24:20 2017 -0500 |
tree | ae9cddaee72229a553ccd859e0860821608f3bfe | |
parent | dbbb3734d8c0176feabd6c46e2e85bbc3b8a60af [diff] |
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.