lkml.org 
[lkml]   [2006]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: 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/

    \
     
     \ /
      Last update: 2006-07-03 22:23    [W:0.022 / U:119.400 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site