diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2023-11-10 18:46:44 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2023-11-10 20:43:58 +0100 |
commit | a72f2094ac7c81c496b17288c11d9a817a1e900d (patch) | |
tree | 736924dcaf681dd546a0b4e9c23092b517f9e0bb /source/a/bash/bash-5.2-patches/bash52-016 | |
parent | 2d1558f83088dc6f975d1d648d24fa228fc98d83 (diff) | |
download | current-a72f2094ac7c81c496b17288c11d9a817a1e900d.tar.gz current-a72f2094ac7c81c496b17288c11d9a817a1e900d.tar.xz |
Fri Nov 10 18:46:44 UTC 202320231110184644
a/bash-5.2.021-x86_64-1.txz: Upgraded.
ap/rdfind-1.6.0-x86_64-1.txz: Added.
ap/sudo-1.9.15p2-x86_64-1.txz: Upgraded.
l/ffmpeg-5.1.4-x86_64-1.txz: Upgraded.
n/dhcpcd-10.0.5-x86_64-1.txz: Upgraded.
n/whois-5.5.20-x86_64-1.txz: Upgraded.
Added the .gn TLD server.
Removed 6 new gTLDs which are no longer active.
xfce/xfce4-whiskermenu-plugin-2.8.1-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a/bash/bash-5.2-patches/bash52-016')
-rw-r--r-- | source/a/bash/bash-5.2-patches/bash52-016 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/source/a/bash/bash-5.2-patches/bash52-016 b/source/a/bash/bash-5.2-patches/bash52-016 new file mode 100644 index 000000000..e9fbbef17 --- /dev/null +++ b/source/a/bash/bash-5.2-patches/bash52-016 @@ -0,0 +1,47 @@ + BASH PATCH REPORT + ================= + +Bash-Release: 5.2 +Patch-ID: bash52-016 + +Bug-Reported-by: F G <frank.graziano@gmail.com> +Bug-Reference-ID: <CAOhYt35M5VctK+xAPu=Gy_UzzGmHedWPJE4q+kL4UHF_6Nb1kA@mail.gmail.com> +Bug-Reference-URL: + +Bug-Description: + +If an expression in an arithmetic for loop expands to NULL, the shell +would crash. + +Patch (apply with `patch -p0'): + +*** ../bash-5.2-patched/execute_cmd.c Thu Feb 23 14:15:05 2023 +--- execute_cmd.c Mon Feb 27 17:53:08 2023 +*************** +*** 3051,3055 **** + if (l->next) + free (expr); +! new = make_word_list (make_word (temp), (WORD_LIST *)NULL); + free (temp); + +--- 3051,3055 ---- + if (l->next) + free (expr); +! new = make_word_list (make_word (temp ? temp : ""), (WORD_LIST *)NULL); + free (temp); + +*** ../bash-5.2/patchlevel.h 2020-06-22 14:51:03.000000000 -0400 +--- patchlevel.h 2020-10-01 11:01:28.000000000 -0400 +*************** +*** 26,30 **** + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 15 + + #endif /* _PATCHLEVEL_H_ */ +--- 26,30 ---- + looks for to find the patch level (for the sccs version string). */ + +! #define PATCHLEVEL 16 + + #endif /* _PATCHLEVEL_H_ */ |