]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
localedef(1): Fix small coverity issues.
authorpfg <pfg@FreeBSD.org>
Thu, 9 Mar 2017 21:49:11 +0000 (21:49 +0000)
committerpfg <pfg@FreeBSD.org>
Thu, 9 Mar 2017 21:49:11 +0000 (21:49 +0000)
commit56cb3fb0c6733004f89b425ccf4bc88a39917934
tree2da0675626791dabc89f745661f94ea74202027d
parentf6041056ad25863987cfb29880064cc3ab79f051
localedef(1): Fix small coverity issues.

- Operands don't affect result (CONSTANT_EXPRESSION_RESULT)
- Buffer not null terminated (BUFFER_SIZE_WARNING)

CID: 13385571338565

Obtained from: illumos
MFC after: 5 days
usr.bin/localedef/ctype.c