zfs/lib/libzfs
Richard Yao fbe150fe5b Call va_end() before return in zpool_standard_error_fmt()
Commit ecd6cf800b63704be73fb264c3f5b6e0dafc068d by marks in OpenSolaris
at Tue Jun 26 07:44:24 2007 -0700 introduced a bug where we fail to call
`va_end()` before returning.

The man page for va_start() says:

"Each invocation of va_start() must be matched by a corresponding
invocation of va_end() in the same function."

Coverity complained about this.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Chunwei Chen <david.chen@nutanix.com>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #13904
2022-12-01 12:39:41 -08:00
..
os linux: libzfs: mount: fix uninitialised flags 2022-02-03 15:28:01 -08:00
.gitignore Clean up lib dependencies 2020-07-10 14:26:00 -07:00
Makefile.am Ask libtool to stop hiding some errors 2022-09-21 16:12:14 -07:00
THIRDPARTYLICENSE.openssl Fix typos in lib/ 2019-09-02 17:53:27 -07:00
THIRDPARTYLICENSE.openssl.descrip Encryption patch follow-up 2017-10-11 16:54:48 -04:00
libzfs.abi libzfs: add keylocation=https://, backed by fetch(3) or libcurl 2022-02-16 17:58:37 -08:00
libzfs.pc.in Spruce up pkg-config files for libzfs/libzfs_core 2020-09-04 11:11:18 -07:00
libzfs.suppr Library ABI tracking with abigail 2020-11-17 09:18:52 -08:00
libzfs_changelist.c Add 'zfs rename -u' to rename without remounting 2020-09-01 16:14:16 -07:00
libzfs_config.c Use zfs_ioctl with zfs_cmd_t in libzfs 2019-10-23 17:29:43 -07:00
libzfs_crypto.c get_key_material_https: removed bogus free() call 2022-03-17 10:22:13 -07:00
libzfs_dataset.c libzfs: Fail making a dataset handle gracefully 2022-06-06 16:57:51 -07:00
libzfs_diff.c libzfs: diff: stream_bytes: use fputc, %hho formats chars 2022-04-01 09:58:45 -07:00
libzfs_import.c libzfs: import: zpool_clear_label: actually fail if clearing l2arc header fails 2022-04-15 14:16:59 -07:00
libzfs_iter.c lib/: set O_CLOEXEC on all fds 2021-04-14 13:23:07 -07:00
libzfs_mount.c libzfs: mount: don't leak mnt_param_t if mnt_func fails 2022-06-06 16:57:46 -07:00
libzfs_pool.c zpool_load_compat() should create strings of length ZFS_MAXPROPLEN 2022-12-01 12:39:40 -08:00
libzfs_sendrecv.c libzfs recv: Check if user prop before inheritable 2022-11-30 10:13:23 -08:00
libzfs_status.c Improvements to the 'compatibility' property 2021-04-14 13:23:08 -07:00
libzfs_util.c Call va_end() before return in zpool_standard_error_fmt() 2022-12-01 12:39:41 -08:00