Re: copy_from_user/syscall got me stock

manfred@colorfullife.com
Wed, 28 Jun 2000 05:43:42 -0400


Zitiere Gregory <lkhacker@thatindex.com>:
>
>
> Jun 24 16:57:07 thinker kernel: Unable to handle
> kernel NULL pointer dereference at
> virtual address 00000276

You caused a stack overrun and overwrote your own
return address.

* double check that nargs[] is really < 24
* verify the generated asm code: copy_from_user is a
complex macro, perhaps gcc miscompiled that line.

Which gcc version do you use? Which kernel?

--
  Manfred

----------------------------------------------------- This mail sent through IMP: http://web.horde.org/imp/

- 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/