summaryrefslogtreecommitdiffstats
path: root/lib/libarchive
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2012-11-03 22:23:08 +0000
committerjilles <jilles@FreeBSD.org>2012-11-03 22:23:08 +0000
commitabfb4133f0f4a270aac26954a7db140b3f7b8646 (patch)
treece5dea03ee6757d8392afd4938c3450015c01c80 /lib/libarchive
parente77bf633a0b379566f2c9ad79dc776ed4c716f54 (diff)
downloadFreeBSD-src-abfb4133f0f4a270aac26954a7db140b3f7b8646.zip
FreeBSD-src-abfb4133f0f4a270aac26954a7db140b3f7b8646.tar.gz
sh: Use C99 flexible array instead of accessing array beyond bounds.
Although sufficient memory is available for a longer string in cmdname, this is undefined behaviour anyway. Side effect: for alignment reasons, an additional byte of memory is allocated per hashed command.
Diffstat (limited to 'lib/libarchive')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud