diff options
author | delphij <delphij@FreeBSD.org> | 2008-10-23 00:31:15 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2008-10-23 00:31:15 +0000 |
commit | 4274559e693eb18b4a489b667304bc51c2d6b21a (patch) | |
tree | a5a273452a7bca2e3dbbe735de645c2fe13c25ed /usr.bin/getopt | |
parent | be08be711cde5e375ec2ea50020483aa967fe67f (diff) | |
download | FreeBSD-src-4274559e693eb18b4a489b667304bc51c2d6b21a.zip FreeBSD-src-4274559e693eb18b4a489b667304bc51c2d6b21a.tar.gz |
Slightly adjust code logic: we allocate a "size"ed length of memory, not
size+1. Use strlcpy() to avoid using - 1 as length for strncpy().
Diffstat (limited to 'usr.bin/getopt')
0 files changed, 0 insertions, 0 deletions