Opened 2 months ago

Last modified 2 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:

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 (1)

comment:1 Changed 2 months ago by dieggsy

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