wstrings.inc: Procedure Delete causes crashes
Original Reporter info from Mantis: somusque
-
Reporter name: Tobias Giesen
Original Reporter info from Mantis: somusque
- Reporter name: Tobias Giesen
Description:
This has been fixed in FPC 2.3. Please copy the fix to all earlier maintained branches. This causes crashes. Applications using this function will crash. The "Move" line must be:
Move(PWideChar(S)[Index+Size],PWideChar(S)[Index],(LS-Index-Size+1)*sizeof(WideChar));
Additional information:
Crash, sometimes it takes a few thousand Deletes, but the crash will occur. My testing system: Mac OS X 10.4 (i386) with the latest Lazarus snapshots.
Mantis conversion info:
- Mantis ID: 11365
- Version: 2.2.0