summaryrefslogtreecommitdiffstats
path: root/usr.bin/getopt
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2008-10-23 00:31:15 +0000
committerdelphij <delphij@FreeBSD.org>2008-10-23 00:31:15 +0000
commit4274559e693eb18b4a489b667304bc51c2d6b21a (patch)
treea5a273452a7bca2e3dbbe735de645c2fe13c25ed /usr.bin/getopt
parentbe08be711cde5e375ec2ea50020483aa967fe67f (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud