Re: OS stopping stack buffer overflow exploits

From: Florian Weimer (fw@deneb.cygnus.argh.org)
Date: Sun Jun 04 2000 - 06:14:47 EST


"Peter T. Breuer" <ptb@it.uc3m.es> writes:

> "A month of sundays ago Florian Weimer wrote:"
> > The C and C++ frontends only generate trampolines if you use a GNU
> > extension (nested functions).
>
> And I have no idea why they should want to: nesting is purely a
> question of namespaces and syntactic scoping. It should impact
> the implementation semantics not at all.

Yes, that's right. That's why we need trampolines: otherwise, pointers
to nested functions would have semantics differing from ordinary function
pointers.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:18 EST