Re: OS stopping stack buffer overflow exploits

From: Markus Pfeiffer (profmakx.fmp@gmx.de)
Date: Mon Jun 05 2000 - 10:34:58 EST


Ralf Baechle wrote:
>
> On Sun, Jun 04, 2000 at 10:03:37AM +0200, Ingo Oeser wrote:
>
> > > Hrm... this could cause some problems for applications which use
> > > self-modifying code (i.e. trampoline handlers, etc.)
> >
> > Could you please show a daily example of any *need* for
> > trampolines? I mean code, which could only be implemented
> > (efficiently) via trampolines.
> >
> > I never saw one generated by GCC and never wrote an explicit one
> > by myself. So for what important piece of code we do need it and
> > can't code it without trampolines?
>
> void * foo(void)
> {
> void bar(void)
> {
> }
>
> return bar;
> }
>
ehemm, what does this code mean ?? In C one cannot declare a function in
a fucntion ...

-- 
´ The light was brighter
' The grass was greener 

profmakx.fmp@gmx.de

- 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:21 EST