[fpc-pascal] Processing passwords etc.

Ludo Brands ludo.brands at free.fr
Sun Apr 13 10:04:55 CEST 2014


On 04/13/2014 09:02 AM, Michael Van Canneyt wrote:
> 

> 
> You are right. A logic error. ReallocMem is the more tricky one.
> Revised.

In case of a block move, the memory (OP) is already freed when you
clear/scramble it. I'm afraid you can't simply re-use the underlying
ReAllocMem (think cmem for example).

> 
> That's why I post such quick code; for peer review.
> 
> Thanks for pointing these out, revised version attached.
> Again, comments/reviews welcome.
> 
You're welcome :)

Ludo




More information about the fpc-pascal mailing list