Euphoria Ticket #164: Replace realloc error

In some cases the code for replace() does not realloc enough memory, causing a crash.

Details

Type: Bug Report Severity: Blocking Category: Interpreter
Assigned To: mattlewis Status: Fixed Reported Release: 3238
Fixed in SVN #: 3239,3240 View VCS: 3239, 3240 Milestone:

1. Comment by mattlewis Jun 05, 2010

svn:3239 fixed the back end and also changed the point of the code where this problem was found (in shift.e) to use slicing and concatenating in an attempt to allow a smooth update path if need be. The original problem was found while merging the coverage branch into the trunk, at which point translation broke.

svn:3240 reverts shift.e to use replace(), since it is much faster.

Search



Quick Links

User menu

Not signed in.

Misc Menu