mirror_zfs/cmd
Brian Behlendorf 8aceded193 Fix -Wformat-overflow warning in zfs_project_handle_dir()
Switch to using asprintf() to satisfy the compiler and resolve the
potential format-overflow warning.  Not the conditional before the
sprintf() would have prevented this regardless.

    cmd/zfs/zfs_project.c: In function ‘zfs_project_handle_dir’:
    cmd/zfs/zfs_project.c:241:38: error: ‘/’ directive writing
    1 byte into a region of size between 0 and 4352
    [-Werror=format-overflow=]
    cmd/zfs/zfs_project.c:241:17: note: ‘sprintf’ output between
    2 and 4609 bytes into a destination of size 4352

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13528
Closes #13575
2022-06-27 14:19:38 -07:00
..
raidz_test autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
zdb zdb: Fix handling of nul termination in symlink targets 2022-05-20 10:32:49 -07:00
zed Replace EXTRA_DIST with dist_noinst_DATA 2022-05-26 09:24:50 -07:00
zfs Fix -Wformat-overflow warning in zfs_project_handle_dir() 2022-06-27 14:19:38 -07:00
zinject autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
zpool Replace ZPROP_INVAL with ZPROP_USERPROP where it means a user property 2022-06-14 11:27:53 -07:00
zpool_influxdb autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
zstream Add a "zstream decompress" subcommand 2022-06-24 13:28:42 -07:00
arc_summary cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
arcstat.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
dbufstat.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
fsck.zfs.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
Makefile.am Replace EXTRA_DIST with dist_noinst_DATA 2022-05-26 09:24:50 -07:00
mount_zfs.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
zfs_ids_to_path.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
zgenhostid.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
zhack.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
ztest.c Introduce BLAKE3 checksums as an OpenZFS feature 2022-06-08 15:55:57 -07:00
zvol_wait cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00