[fpc-pascal] Processing passwords etc.

Ludo Brands ludo.brands at free.fr
Sun Apr 13 08:35:53 CEST 2014

On 04/12/2014 02:24 PM, Michael Van Canneyt wrote:

> Attached is an implementation that allows you to specify:

A few comments:
- allocmem already zeros the memory. No need to do it a second time
- Getmem and Allocmem can return nil (dependent on mem manager,
sometimes on ReturnNilIfGrowHeapfails). A test in ZeroMem and RandomMem
on nil would be "Safe".
- SafeReAllocMem doesn't clear/scramble the memory in case a realloc
moves the memory block to a different place.


More information about the fpc-pascal mailing list