On Mon, 03 Jul 2006 23:41:42 +1200
Reuben Farrelly <[email protected]> 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]