mirror_zfs/contrib
Turbo Fredriksson 61ab032ae0 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
2025-12-16 09:15:51 -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 libuutil: remove packaging 2025-11-17 06:23:17 -08:00
dracut contrib: dracut: install dependent kernel modules 2025-09-23 16:58:38 -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. 2025-12-16 09:15:51 -08:00
intel_qat docs: fix a few small typos (#17804) 2025-10-01 10:15:46 -07:00
pam_zfs_key libuutil: remove the whole thing 2025-11-17 06:23:05 -08:00
pyzfs CI: Remove Buildbot references 2025-09-26 15:32:41 -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