hi, > Hi, > > i study the cases of pointers and i found at this page > http://www.yolinux.com/TUTORIALS/C++MemoryCorruptionAndMemoryLeaks.html > > cases of program crashes from bad usage of pointers. > > i made a test for > Attempting to write to memory already freed. > > ... > > in this example i free the pointer and then try to write to it. > The result is that i can write and read normally after Free(pPointer) > > Is this ok? >
i noticed the same thing some time ago with a c program. this hasn't to be a bug in gambas... i think this is just as jussi said: > Seems that Gambas still owns that address, but it is not "protected" anymore ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user