Messages in this thread Patch in this message | | | Date | Mon, 3 Jul 2006 13:21:04 -0700 | From | Andrew Morton <> | Subject | Re: 2.6.17-mm6 |
| |
On Mon, 03 Jul 2006 23:41:42 +1200 Reuben Farrelly <reuben-lkml@reub.net> wrote:
> Allocate Port Service[0000:00:1c.0:pcie0] > Allocate Port Service[0000:00:1c.0:pcie0]
Turns out that we have a rogue patch coming in from the powerpc tree. This should fix it, thanks.
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17/2.6.17-mm6/hot-fixes/git-powerpc-revert-bogus-vsnprintf-change.patch
--- a/lib/vsprintf.c~git-powerpc-revert-bogus-vsnprintf-change +++ a/lib/vsprintf.c @@ -283,12 +283,12 @@ int vsnprintf(char *buf, size_t size, co } str = buf; - end = buf + size - 1; + end = buf + size; /* Make sure end is always >= buf */ - if (end < buf - 1) { + if (end < buf) { end = ((void *)-1); - size = end - buf + 1; + size = end - buf; } for (; *fmt ; ++fmt) { _
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |