mirror_zfs/cmd
Mateusz Piotrowski 3408332d71
zhack: Fix importing large allocation profiles on small pools (#18256)
This patch fixes a segmentation fault in zhack metaslab leak which might
be triggered by feeding zhack with a fragmentation profile that's
exported from a pool larger than the target pool.

Fixes: 8f15d2e4d5
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Paul Dagnelie <paul.dagnelie@klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>

Signed-off-by: Mateusz Piotrowski <mateusz.piotrowski@klarasystems.com>
2026-02-24 10:24:22 -08:00
..
raidz_test build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
zdb Move range_tree, btree, highbit64 to common code 2026-02-22 11:43:51 -08:00
zed build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
zfs Include missing newline in 'man' error 2026-02-09 10:19:08 -08:00
zinject build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
zpool Improve misleading error messages for ZPOOL_STATUS_CORRUPT_POOL 2026-02-23 09:41:24 -08:00
zpool_influxdb build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
zstream build: add SPDX license tags to build system files 2026-01-08 15:08:03 -08:00
dbufstat.in SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -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 Move range_tree, btree, highbit64 to common code 2026-02-22 11:43:51 -08:00
mount_zfs.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zarcstat.in cmd: rename arcstat to zarcstat 2025-09-10 10:45:21 -07:00
zarcsummary cmd: rename arc_summary to zarcsummary 2025-09-10 10:45:13 -07:00
zfs_ids_to_path.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zgenhostid.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zhack.c zhack: Fix importing large allocation profiles on small pools (#18256) 2026-02-24 10:24:22 -08:00
zilstat.in ZIL: "crash" the ZIL if the pool suspends during fallback 2025-08-08 16:43:26 -07:00
ztest.c cmd/ztest: avoid PATH_MAX stack allocation in ztest_get_zdb_bin() (#18085) 2025-12-29 11:16:34 -08:00
zvol_wait zvol_wait logic may terminate prematurely 2022-10-11 12:12:04 -07:00