]> granicus.if.org Git - zfs/commit
Fedora 28: Fix misc bounds check compiler warnings
authorTony Hutter <hutter2@llnl.gov>
Wed, 4 Apr 2018 17:16:47 +0000 (10:16 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 4 Apr 2018 17:16:47 +0000 (10:16 -0700)
commit21a4f5cc867b4f166704df84985edc048caa2578
tree18eb614a113f6a16c9ab5cd3c8247f2230b33cea
parent1724eb62debfaa48f5861660615d49a994945d94
Fedora 28: Fix misc bounds check compiler warnings

Fix a bunch of (mostly) sprintf/snprintf truncation compiler
warnings that show up on Fedora 28 (GCC 8.0.1).

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #7361
Closes #7368
cmd/zvol_id/zvol_id_main.c
lib/libspl/include/umem.h
lib/libzfs/libzfs_dataset.c
lib/libzfs/libzfs_sendrecv.c
module/zfs/dsl_scan.c
tests/zfs-tests/cmd/devname2devid/devname2devid.c
tests/zfs-tests/cmd/mkbusy/mkbusy.c
tests/zfs-tests/cmd/mktree/mktree.c
tests/zfs-tests/cmd/xattrtest/xattrtest.c
tests/zfs-tests/tests/functional/cli_root/zfs_diff/socket.c