diff options
author | jilles <jilles@FreeBSD.org> | 2012-11-03 22:23:08 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2012-11-03 22:23:08 +0000 |
commit | abfb4133f0f4a270aac26954a7db140b3f7b8646 (patch) | |
tree | ce5dea03ee6757d8392afd4938c3450015c01c80 /lib/libarchive | |
parent | e77bf633a0b379566f2c9ad79dc776ed4c716f54 (diff) | |
download | FreeBSD-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