TStream,TCustomStream, TMemoryStream on 64 bit systems
Original Reporter info from Mantis: aurawin
-
Reporter name: Andrew Brunner
Original Reporter info from Mantis: aurawin
- Reporter name: Andrew Brunner
Description:
Read/Write on stream where size>2GB causes crash when application is compiled with Range Checking / Overflow Checking
Steps to reproduce:
Compile Test with Range/Overflow on
Additional information:
The stream read/write methods must be increased from Longint to Int64.
Even if the count is 2 bytes the stream will not read or write.
Mantis conversion info:
- Mantis ID: 23284
- OS: Ubuntu x64
- OS Build: 12.10 daily
- Build: 22942
- Platform: AMD 8 Core x64 Linux
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 22945 (#a3f7a7fd)
- Target version: 2.6.2