81910adfc4
Increase the size of `string` by 1 to account for the '\0' terminator. In the event that `str` doesn't contain any non-alpha chars, i would be set to MAXSTR, and the subsequent strlcpy call would overflow by a character. Remove unnecessary `string[i] = '\0'` -- this is already handled by strlcpy. MFC after: 1 week Reported by: clang Sponsored by: EMC / Isilon Storage Division |
||
---|---|---|
.. | ||
bsnmpd | ||
gensnmptree | ||
modules | ||
tools | ||
Makefile | ||
Makefile.inc |