lkml.org 
[lkml]   [2000]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.053 / U:4.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site