[Gc] security issue with libgc ?
skaller at users.sourceforge.net
Mon Mar 19 18:10:29 PST 2007
On Mon, 2007-03-19 at 17:18 -0700, Hans Boehm wrote:
> Pointers in mmapped files are also generally not traced, though that's
> configurable on some common platforms.
Yeah, the problem is some systems use page management to implement
advanced data structures -- extensible arrays being a 'non-advanced'
example .. and copying garbage collectors being an advanced one.
Mlton does that: it has its own stack, and uses mmap to
extend it. You may say, well why be interested in Boehm gc
when you have a language using an advanced copying collector?
The answer is: you still want to interface such languages
with C libraries.
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: https://felix.sf.net
More information about the Gc