[Gc] security issue with libgc ?

Andrew Haley aph at redhat.com
Sun Mar 18 07:41:31 PST 2007


Florian Weimer writes:
 > * Andrew Haley:
 > 
 > > But injecting code or crashing the program?  Not unless your program
 > > has some other bug that is triggered by running out of memory.
 > 
 > Isn't there always some risk that a live pointer is missed due to
 > legitimate compiler optimizations? 

It's not impossible, but generally speaking compilers don't do
optimizations that might break the gc.  As far as I know it's never
happened, but of course we'll keep looking out for it.  It's far more
likely that a user will do such an "optimization" than a compiler.

Andrew.


More information about the Gc mailing list