On 1/14/24 7:24 PM, Grisha Levit wrote:
See also (even after the fix pushed today):bash -c '(( X=([))])' heap-use-after-free parse.y:2712:60 in shell_getc bash -c '(( X=([))]) ))' heap-use-after-free parse.y:2077:11 in parser_expanding_alias
Thanks. This is a different issue. In this case, the parser needs to treat a string pushed by a failed attempt to parse `((' as an arithmetic command (in which case we fall back and try to parse the text as a nested subshell) the same as an alias and fix up the pushed string list. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature