Re: 2.2.17 --- extreme format string weirdness in /proc

From: Andries Brouwer (aeb@veritas.com)
Date: Sat Sep 30 2000 - 10:23:29 EDT

  • Next message: Alan Cox: "Re: 2.2.17 --- extreme format string weirdness in /proc"

    On Sat, Sep 30, 2000 at 03:09:10PM +0100, Nix wrote:

    > Yesterday, I noticed that netstat had stopped working on my 2.2.17 box
    > The reason is fairly self-evident:
    >
    > : loki:/# cat /proc/net/dev
    ...
    > : lo:%lu %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu
    > : eth0:%lu %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu %lu
    >
    > Probably not right.
    >
    > This is repeated in other files (I only checked /proc; its

    This could be explained by a single-bit corruption of your kernel,
    namely if the place where printk tests a format character against '%'
    is broken. Maybe the '%' is bad, or maybe the comparison instruction.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 10:27:46 EDT