Re: [PATCH] modpost: fix segfault in sym_is() with prefixed arches

From: Rusty Russell
Date: Thu Dec 03 2009 - 02:52:57 EST


On Thu, 3 Dec 2009 02:20:52 pm Mike Frysinger wrote:
> The sym_is() compares a symbol in an attempt to automatically skip symbol
> prefixes. It does this first by searching the real symbol with the normal
> unprefixed symbol. But then it uses the length of the original symbol to
> check the end of the substring instead of the length of the symbol it is
> looking for.

Thanks, applied.

Cheers,
Rusty.
--
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/