Re: [fpc-pascal] Processing passwords etc.

2014-04-12 Thread Ludo Brands
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 ReturnNilIfGrowHeap

Re: [fpc-pascal] Processing passwords etc.

2014-04-12 Thread Michael Van Canneyt
On Sat, 12 Apr 2014, waldo kitty wrote: On 4/12/2014 8:24 AM, Michael Van Canneyt wrote: Attached is an implementation that allows you to specify: What to do when allocating memory (zero out, randomize, nothing) What to do when freeing memory (zero out, randomize, nothing). very nice! than

Re: [fpc-pascal] Processing passwords etc.

2014-04-12 Thread waldo kitty
On 4/12/2014 8:24 AM, Michael Van Canneyt wrote: Attached is an implementation that allows you to specify: What to do when allocating memory (zero out, randomize, nothing) What to do when freeing memory (zero out, randomize, nothing). very nice! thank you sir! i'm still learning FPC and all it

Re: [fpc-pascal] Watching for file change

2014-04-12 Thread Henry Vermaak
On Sat, Apr 12, 2014 at 08:08:20PM +, Mark Morgan Lloyd wrote: > Henry Vermaak wrote: > >On Sat, Apr 12, 2014 at 12:32:14AM +0100, Graeme Geldenhuys wrote: > >>On 2014-04-11 20:06, Krzysztof wrote: > >>>idea how to do this in thread loop but maybe FPC has OS solution > >>As the others have said

Re: [fpc-pascal] Watching for file change

2014-04-12 Thread Mark Morgan Lloyd
Henry Vermaak wrote: On Sat, Apr 12, 2014 at 12:32:14AM +0100, Graeme Geldenhuys wrote: On 2014-04-11 20:06, Krzysztof wrote: idea how to do this in thread loop but maybe FPC has OS solution As the others have said, the OS solutions are very version/distro dependent - especially under Linux wh

Re: [fpc-pascal] Watching for file change

2014-04-12 Thread Henry Vermaak
On Sat, Apr 12, 2014 at 12:32:14AM +0100, Graeme Geldenhuys wrote: > On 2014-04-11 20:06, Krzysztof wrote: > > idea how to do this in thread loop but maybe FPC has OS solution > > As the others have said, the OS solutions are very version/distro > dependent - especially under Linux which changes u

Re: [fpc-pascal] Processing passwords etc.

2014-04-12 Thread Michael Van Canneyt
On Sat, 12 Apr 2014, Sven Barth wrote: Am 11.04.2014 20:50 schrieb "waldo kitty" : > > On 4/11/2014 5:03 AM, Michael Van Canneyt wrote: >> >> The main point is that in FPC you can install a memory manager that wipes out >> any memory when getting or releasing it, if you want to make your soft

Re: [fpc-pascal] Processing passwords etc.

2014-04-12 Thread Sven Barth
Am 11.04.2014 20:50 schrieb "waldo kitty" : > > On 4/11/2014 5:03 AM, Michael Van Canneyt wrote: >> >> The main point is that in FPC you can install a memory manager that wipes out >> any memory when getting or releasing it, if you want to make your software more >> secure that way. > [snip] > > i

Re: [fpc-pascal] https support; call for testers

2014-04-12 Thread Michael Van Canneyt
On Fri, 11 Apr 2014, Dimitrios Chr. Ioannidis wrote: Hi, Στις 11/4/2014 4:00 μμ, ο/η Michael Van Canneyt έγραψε: I've just committed support for SSL in the ssockets unit of FPC. I also made the OpenSSL unit more thread-safe. I would like to invite people to test and report if they find pro

Re: [fpc-pascal] Watching for file change

2014-04-12 Thread Graeme Geldenhuys
On 2014-04-11 20:06, Krzysztof wrote: > idea how to do this in thread loop but maybe FPC has OS solution As the others have said, the OS solutions are very version/distro dependent - especially under Linux which changes underlying functionality every 6 months or so (so damn annoying). A cross-pla