On 1/8/24 12:10 AM, Nathan Mills wrote:
Bash Version: 5.2 Patch Level: bash-5.2-22-g4b0f8ba2 Release Status: masterDescription: Bash 5.2 segfaults when I run the following crashing input (SeeRepeat-By:).
Thanks for the report and detailed diagnosis, and the reproducer. Your fix, unfortunately, introduces a number of memory leaks without changes to restore_parser_state and some other code paths. I think there's a simpler way to fix it in parse_compound_assignment and parse_string_to_word_list directly, and that change will be in the next devel branch push. 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