[fpc-devel] Copy function and dynamic array

Martin Schreiber mse00000 at gmail.com
Wed Feb 29 17:33:24 CET 2012


Am 29.02.2012 14:31, schrieb Sergei Gorelkin:

> The current situation where out of range 'length' parameter is adjusted
> but 'index' out of range raises exception is simply self-inconsistent.
> It is also inconsistent with behavior of Copy for strings.
> Adjusting index will neither cause any buffer overflows nor make code
> slower, so it should be fixed.
>
Agreed, please fix it.

Martin



More information about the fpc-devel mailing list