TIP 389 segfault
Closed / Fixed3408718fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 9 years ago
Descriptionplain2011-09-13 15:21:46
Looking over the tip-389-impl branch, I see: % set u \U012345\U016789 ðメヘナðヨ゙ノ % string range $u 0 0 make: *** [shell] Segmentation fault
nijtmansplain2011-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 ;-)
ferrieuxplain2012-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.
ferrieux Ticket [3408718fff]: 1 change
[History diff]2012-05-11 04:16:35
jan.nijtmans Ticket [3408718fff]: 6 changes
[History diff]2013-08-26 14:40:35
anonymousplain2015-01-17 11:37:50
I have a patch fixing this, are you interested?
jan.nijtmansplain2015-01-17 17:16:56
Yes, I'm interested in your patch.
anonymousplain2015-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)
dgpplain2018-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?
jan.nijtmansplain2018-01-10 15:07:36
Yes, should be fixed now. Thanks!
Log in (anonymous is fine) to add a comment.