Bug#408522: sed: sed croaks, prints heap and segfaults on /foo/i\\

2007-01-26 Thread Jonas Koelker
Package: sed Version: 4.1.5-1 Severity: normal Sed seems to be unable to handle the program /foo/i\\, interpreted as a C string (that is, the two last characters of the program are i and backslash; there's no newline). $ echo -e bar\nfoo | sed /foo/i\\ bar data sed: couldn't write -1 items to

Bug#408522: sed: sed croaks, prints heap and segfaults on /foo/i\\

2007-01-26 Thread Paolo Bonzini
Sed seems to be unable to handle the program /foo/i\\, interpreted as a C string (that is, the two last characters of the program are i and backslash; there's no newline). Thanks, I'm committing a patch upstream. Paolo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of