mirror_zfs/contrib
Turbo Fredriksson ddbfd0f2e1 Fix potential global variable overwrite.
In a previous commit (e865e7809e), the
`local` keyword was removed in functions because of bashism.

Removing bashisms is correct, however this could cause variable overwrites,
since several functions use the same variable name.

So this commit make function variables unique in the (now) global name
space.

The problem from the original bug report (see #17963) could not be duplicated,
but it is still sane to make sure that variables stay unique.

Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rob Norris <robn@despairlabs.com>
Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Closes #18000
2026-02-10 16:55:11 -08:00
..
bash_completion.d Updating bash completion build file 2024-08-08 15:39:25 -07:00
bpftrace Replace EXTRA_DIST with dist_noinst_DATA 2022-05-26 09:24:50 -07:00
coverity Coverity Model Update 2022-11-29 10:00:56 -08:00
debian Bump SONAME of libzfs and libzpool 2025-11-12 13:07:28 -08:00
dracut contrib: dracut: install dependent kernel modules 2025-09-25 12:08:02 -07:00
icp/gcm-simd/boringssl Backport AVX2 AES-GCM implementation from BoringSSL 2025-08-13 14:51:20 -07:00
initramfs Fix potential global variable overwrite. 2026-02-10 16:55:11 -08:00
intel_qat docs: fix a few small typos (#17804) 2025-10-21 09:50:43 -07:00
pam_zfs_key Update pam_zfs_key.c defaultt path for FreeBSD 2025-09-09 17:04:06 -07:00
pyzfs CI: Remove Buildbot references 2025-09-29 16:50:35 -07:00
zcp Replace EXTRA_DIST with dist_noinst_DATA 2022-05-26 09:24:50 -07:00
Makefile.am Fix missing packaging files from release tarballs 2024-10-04 11:18:08 -07:00