Opened 4 months ago

Last modified 4 months ago

#1590 new defect

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

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


I would expect:

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

But I get:

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

<eval>  <--

Change History (1)

comment:1 Changed 4 months ago by dieggsy

  • Component changed from core libraries to extensions
Note: See TracTickets for help on using tickets.