[fpc-pascal] Array clearing

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Tue Apr 4 12:51:54 CEST 2017

On 02/04/17 10:00, Jonas Maebe wrote:

> Allocating new memory via setlength also clears the memory (+ the
> overhead of allocating the memory).

Jonas, is it still the case that if SetLength() results in existing data 
being moved that the original- which might be e.g. an unencrypted 
password- isn't cleared?

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the fpc-pascal mailing list