Opened 6 months ago

Last modified 3 weeks ago

#1590 new defect

xsubstring with `to' argument less than string length results in a crash

Reported by: dieggsy Owned by:
Priority: major Milestone: someday
Component: extensions Version: 5.0.0
Keywords: srfi13, xsubstring Cc:
Estimated difficulty:

Description

I would expect:

(xsubstring "foo" 0 2) => "fo"

But I get:

#;4> (xsubstring "foo" 0 2)
[panic] Detected corrupted data in stack - execution terminated

<syntax>
<eval>  <--

Change History (2)

comment:1 Changed 6 months ago by dieggsy

Component: core librariesextensions

comment:2 Changed 3 weeks ago by dieggsy

Milestone: someday
Note: See TracTickets for help on using tickets.