On Sun, Nov 17, 2024 at 10:25:03AM +0800, Herbert Xu wrote: > Johannes Altmanninger <aclopte@xxxxxxxxx> wrote: > > I'm hitting an easily reproducible crash. > > It bisects to c5bf970 (expand: Add multi-byte support to pmatch, 2024-06-02). > > > > After bisecting I reduced it to this example (probably not minimal) > > > > echo \\ | dash -c 'foo=$(cat; printf .); foo=${foo%.}' > > Thanks for the report. This patch should fix the problem: thanks this works for me. I've been using master for the trap fix.