Re: segfaults and sockets

From: David S. Miller
Date: Mon Jul 05 2004 - 15:36:57 EST


On Mon, 05 Jul 2004 16:23:44 -0400
David Ford <david+challenge-response@xxxxxxxxxxxxx> wrote:


> ioctl(5, 0x8906, 0x7fbfffeff0) = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++

0x8906 is SIOCGSTAMP, aparently the app isn't using a large enough
structure to capture the timestamp, and the kernel is thus overwriting
some critical part of the stack causing it to crash.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/