Re: OS stopping stack buffer overflow exploits

From: Ralf Baechle (ralf@uni-koblenz.de)
Date: Mon Jun 05 2000 - 10:45:57 EST


On Mon, Jun 05, 2000 at 05:34:58PM +0200, Markus Pfeiffer wrote:

> > void * foo(void)
> > {
> > void bar(void)
> > {
> > }
> >
> > return bar;
> > }
> >
> ehemm, what does this code mean ?? In C one cannot declare a function in
> a fucntion ...

This is a gcc extension, RTFM. I haven't seen it being used in the kernel
but glibc does (did?) for sure.

  Ralf

-
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