Tcl Source Code

View Ticket
Login
Ticket UUID: 3408718
Title: TIP 389 segfault
Type: Bug Version: None
Submitter: dgp Created on: 2011-09-13 15:21:46
Subsystem: 69. Other Assigned To: jan.nijtmans
Priority: 7 High Severity: Minor
Status: Closed Last Modified: 2018-01-10 15:07:36
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2018-01-10 15:07:36
Description:
Looking over the tip-389-impl branch, I see:

% set u \U012345\U016789
ðメヘナðヨ゙ノ
% string range $u 0 0
make: *** [shell] Segmentation fault
User Comments: jan.nijtmans added on 2018-01-10 15:07:36:
Yes, should be fixed now. Thanks!

dgp added on 2018-01-10 15:01:37:
I don't see a segfault from this test case on today's tip-389 branch.

Maybe this can be closed?

anonymous added on 2015-05-08 20:45:44:
I added two additional files: a patchfile with more proposed fixes (my changes to StringRplcCmd don't work yet, but i solved it with the attached tcl file)

jan.nijtmans added on 2015-01-17 17:16:56:
Yes, I'm interested in your patch.

anonymous added on 2015-01-17 11:37:50:
I have a patch fixing this, are you interested?

ferrieux added on 2012-05-11 04:16:09:
Lowering prio as this is not mature enough, and the TIP is for 8.7, and not accepted yet anyway.

nijtmans added on 2011-09-14 01:54:56:
Yes, I know, that's why tip-389 is not
ready to be released at all ;-)

The UTF-8 <-> unicode conversions still
don't take surrogates into account, when
the number of unicode characters is not
equal to the number of words in the
UCS representation ;-)

Attachments: