[fpc-devel] Memory Streams unable to handle reads past 2GB

Andrew atbrunner at aurawin.com
Wed Nov 7 00:40:08 CET 2012


On 12-11-06 05:23 PM, Michael Van Canneyt wrote:
>
> Also, it contains a flaw, since the buffer is not initialized, and 
> will contain random data. So the tests at the end will fail and cause 
> an error. But this has nothing to do with range checking.

const
     MyBuffer:Array[0..1] of byte=(0,0);


It should be [0,0] in debugger.  @ Runtime before I change it. Check it out.



More information about the fpc-devel mailing list