[1.20.0] 'sed' segfaults while trying to match wildcards (fwd)

Tomasz Czapiewski xeros at irc.pl
Tue Apr 24 08:01:09 UTC 2012


Problem is caused by commit: d29ae7e071a11c51436922654c2de73a8ac36333
('sed: fix possible case of signed char bug; expand debugging printouts')

After reverting this commit problem gets solved.

Confirmed on x86_64 (dynamicly linked with glibc) and MIPSel (dynamicly 
linked on uClibc 0.9.29).

Regards,
Tomasz Czapiewski

---------- Forwarded message ----------
Date: Mon, 23 Apr 2012 23:41:19 +0200 (CEST)
From: Tomasz Czapiewski <xeros at irc.pl>
To: busybox at busybox.net
Subject: [1.20.0] 'sed' segfaults while trying to match wildcards

# echo "anything" | sed 's/\t*//g'
Segmentation fault

# echo "anything" | sed 's/\t//g'
anything

# echo "anything" | sed 's/a*//g'
Segmentation fault

Worked fine on 1.19.3.

Regards,
Tomasz Czapiewski


More information about the busybox mailing list