[bug #65019] Let function segfaults when foreach return empty list

2023-12-12 Thread Jouke Witteveen
Follow-up Comment #2, bug#65019 (group make): The attached patch should fix the issue and prevent regressions. (file #55442) ___ Additional Item Attachment: File name: SV-65019-Fix-let-segfault-on-value-with-trailing-whi.patch Size:1 KB

[bug #65019] Let function segfaults when foreach return empty list

2023-12-12 Thread Jouke Witteveen
Follow-up Comment #1, bug#65019 (group make): You are right! An even shorter way to reproduce the segfault is with $(let a b, ,) Having more than one variable is needed to trigger the bug. Without the whitespace in the value list, the bug also does not trigger. I believe the following will fix

[bug #65019] Let function segfaults when foreach return empty list

2023-12-12 Thread John Olsson
URL: Summary: Let function segfaults when foreach return empty list Group: make Submitter: ermingol Submitted: Tue 12 Dec 2023 12:47:49 PM UTC Severity: 3 - Normal