Re: [kallsyms] general protection fault: 0000 [#1] PREEMPTDEBUG_PAGEALLOC

From: Andi Kleen
Date: Sun Nov 10 2013 - 10:23:46 EST


On Sun, Nov 10, 2013 at 05:40:05PM +0800, Fengguang Wu wrote:
> Hi Joe,
>
> FYI. Here is another bisect result.

I bet it's that strncpy() in kallsyms.c and someone passing in a too
short buffer on a 32bit kernel.

We should really kill strncpy(), it's just evil.

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