libslang2 2.0.5-1build2 does not properly handle multibyte characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
slang2 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: libslang2
A patch which Ubuntu applies to the Slang package breaks the SLutf8_skip_chars() function, causing it to incorrectly report the number of characters skipped. More details may be found in Debian bug #369152, along with a test case (thanks to Jörg Sommer):
http://
In addition, in looking through the patches to Slang (of which there are several) I notice quite a few suspicious chunks of code and worrying comments; e.g. "/* XXX how this should work???? */", "/* HACK HACK!!!! */" followed by a conversion of tab to spaces, etc. Perhaps it is time for a review of the libslang2 patches.
This bug prevents navigation through files containing double-wide characters in the jed editor, and almost certainly affects other programs which use Slang. (Editing Japanese in jed with this bug is impossible.)
Changed in slang2: | |
status: | New → Fix Released |
This bug remains in Ubuntu Edgy, with libslang2 2.0.6-2.