lkml.org 
[lkml]   [2006]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.17-mm2
    Andrew Morton wrote:
    > This is caused by the vsprintf() changes. Right now, if you do
    >
    > snprintf(buf, 4, "1111111111111");
    >
    > the memory at `buf' gets [31 31 31 31 00], which is not good.
    >
    > This'll plug it, but I didn't check very hard whether it still has any
    > off-by-ones, or if breaks the intent of Jeremy's patch. I think it's OK..
    >
    Damn. This patch doesn't look right; the intent is that 'end' point to
    just beyond the formatted string. I'm pretty sure I tested this, since
    its the most obvious test. Clearly not enough. I'll look into it.

    J

    -
    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-06-28 17:49    [W:0.021 / U:2.280 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site