Johannes Altmanninger
1b668f5675
Don't use results of quoted command substitution in adjacent variable expansion
...
Given
set var a
echo "$var$(echo b)"
the double-quoted string is expanded right-to-left, so we construct an
intermediate "$varb". Since the variable "varb" is undefined, this wrongly
expands to the empty string (should be "ab"). Fix this by isolating the
expanded command substitution internally. We do the same when handling
unquoted command substitutions.
Fixes #8849
2022-04-03 11:24:55 +02:00
..
2019-06-25 22:31:06 +02:00
2021-11-11 16:46:23 +01:00
2020-12-11 23:09:16 +01:00
2021-11-03 22:54:55 -07:00
2020-03-09 19:46:43 +01:00
2022-01-15 12:17:43 +01:00
2020-02-08 13:30:48 +01:00
2022-03-03 12:18:13 +01:00
2021-11-03 22:54:55 -07:00
2020-03-09 19:46:43 +01:00
2019-06-25 22:31:06 +02:00
2021-11-03 22:54:55 -07:00
2020-02-08 16:23:25 -08:00
2021-09-24 17:35:45 -07:00
2021-03-06 17:13:20 -06:00
2021-10-18 17:02:17 +02:00
2021-01-07 11:38:52 -08:00
2022-04-03 11:24:55 +02:00
2019-11-02 16:48:08 -07:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2022-03-31 15:16:01 +02:00
2019-06-25 20:56:29 +02:00
2021-08-14 11:29:22 +02:00
2020-10-25 23:01:51 -05:00
2022-02-09 08:34:03 +01:00
2020-03-09 19:46:43 +01:00
2019-06-26 21:19:40 +02:00
2020-01-18 11:50:50 -08:00
2020-01-19 15:07:06 +01:00
2019-12-08 11:44:21 -08:00
2020-01-13 20:34:22 +01:00
2019-06-28 11:22:49 -07:00
2021-02-15 17:08:26 +01:00
2021-11-20 17:44:05 +01:00
2020-01-13 20:34:22 +01:00
2021-11-27 19:11:24 +01:00
2021-10-21 23:50:42 -07:00
2021-07-23 22:58:51 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2021-11-25 18:46:31 +01:00
2021-08-29 12:38:28 -05:00
2019-06-25 20:56:29 +02:00
2019-08-13 22:56:31 -07:00
2019-08-13 22:56:31 -07:00
2021-06-23 21:30:10 +02:00
2021-07-14 16:37:30 +02:00
2021-10-28 16:32:58 +02:00
2020-01-03 14:40:28 -08:00
2021-11-03 22:54:55 -07:00
2021-11-03 22:54:55 -07:00
2022-03-30 18:25:00 +02:00
2020-12-29 12:48:11 +01:00
2021-11-03 22:54:55 -07:00
2021-08-01 18:59:45 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2020-02-14 20:09:07 +01:00
2021-08-29 08:36:54 +02:00
2021-03-10 18:04:04 +01:00
2020-04-18 16:26:54 -07:00
2020-01-25 14:06:34 +01:00
2021-10-28 10:02:48 -07:00
2020-03-15 21:01:11 +01:00
2021-11-03 22:54:55 -07:00
2021-08-17 15:36:07 +02:00
2021-06-06 09:28:32 +02:00
2021-11-03 22:54:55 -07:00
2022-03-13 11:24:31 +01:00
2021-05-01 18:59:25 +02:00
2020-02-17 11:39:53 +01:00
2021-12-29 22:33:24 +08:00
2021-12-28 19:32:30 +01:00
2020-10-06 17:40:22 +02:00
2021-11-20 17:44:05 +01:00
2021-11-20 17:44:05 +01:00
2021-08-09 17:42:00 +02:00
2020-03-09 19:46:43 +01:00
2021-11-03 22:54:55 -07:00
2019-06-25 20:56:29 +02:00
2022-04-02 13:44:58 -07:00
2021-09-09 18:41:11 +02:00
2021-11-20 17:44:05 +01:00
2021-04-20 15:15:52 -07:00
2021-07-21 22:33:39 +02:00
2021-11-03 22:54:55 -07:00
2019-12-11 16:34:20 -08:00
2022-03-10 18:28:50 +01:00
2019-07-09 10:02:50 -07:00
2021-08-18 22:20:03 +08:00
2021-03-10 18:04:04 +01:00
2021-06-24 18:17:10 +02:00
2021-06-10 16:46:17 +02:00
2019-11-10 12:36:46 -08:00
2021-06-24 20:46:03 +02:00
2020-01-25 17:28:41 -08:00
2021-12-13 01:24:47 -08:00
2021-03-21 10:03:35 +01:00
2022-03-13 11:21:53 +01:00
2021-08-11 18:40:37 +02:00
2021-08-29 12:38:28 -05:00
2022-03-31 16:14:59 -07:00
2021-12-24 16:08:41 +01:00
2020-03-09 19:46:43 +01:00
2022-02-21 22:48:43 +01:00
2021-11-14 11:52:10 +01:00
2021-09-24 08:07:17 -07:00
2021-12-02 15:10:13 +01:00
2022-03-13 11:48:52 +01:00
2021-09-24 08:07:17 -07:00
2020-12-11 21:24:33 +01:00
2021-03-02 14:53:02 +01:00
2022-03-24 10:23:04 +08:00
2020-03-16 21:21:10 +01:00
2020-01-17 14:53:35 +01:00
2021-07-27 18:37:20 +02:00
2019-06-25 20:56:29 +02:00
2021-06-24 18:17:10 +02:00
2021-08-29 08:56:12 +02:00
2020-09-26 18:39:38 -07:00
2021-08-15 13:48:41 -05:00