[Pkg-mc-devel] Bug#486676: mcedit: Segmentation fault when Replacing (F4) text with empty string (removing it)

Michal Pokrywka mpokrywka at hoga.pl
Sun Jun 22 13:54:30 UTC 2008


Hi,
That's my fault, in my patch (debian/patches/bugs/99_regexp-replace-fixed.patch)
I assumed that "wchar_to_mbstr" returns sensible values,
but it appears that this function returns NULL when
zero length string is passed as argument.

I attach reworked patch that fixes my bug, Patrick please
use this patch instead those from http://bugs.debian.org/474484

Regards,

Michal Pokrywka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 99_regexp-replace-fixed.patch
Type: text/x-patch
Size: 7669 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mc-devel/attachments/20080622/8f6d2835/attachment.bin 


More information about the Pkg-mc-devel mailing list