mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
67395be0c2
* `zstream_do_token()` does not handle failures from `libzfs_init()`
* `ztest_global_vars_to_zdb_args()` does not handle failures from
`calloc()`.
* `zfs_snapshot_nvl()` will pass an offset to a NULL pointer as a
source to `strlcpy()` if the provided nvlist is `NULL`.
We handle these by doing what the existing error handling does for other
errors involving these functions.
Coverity complained about these. It had complained about several more,
but one was fixed by
|
||
---|---|---|
.. | ||
Makefile.am | ||
zstream_decompress.c | ||
zstream_dump.c | ||
zstream_redup.c | ||
zstream_token.c | ||
zstream.c | ||
zstream.h |