[BUG] in drivers/net/strip.c

From: Jörn Engel (joern@wohnheim.fh-wedel.de)
Date: Tue Jan 28 2003 - 10:39:38 EST


Hi!

This one-liner appears to be fixing a range error, but I'd like
someone to check it first.

Jörn

-- 
Jörn Engel
mailto: joern@wohnheim.fh-wedel.de
http://wohnheim.fh-wedel.de/~joern
Phone: +49 179 6704074

diff -Naur linux-2.4.21-pre3-ac4/drivers/net/strip.c scratch/drivers/net/strip.c --- linux-2.4.21-pre3-ac4/drivers/net/strip.c Fri Nov 9 23:02:24 2001 +++ scratch/drivers/net/strip.c Tue Jan 28 13:38:57 2003 @@ -527,7 +527,7 @@ *p++ = '\"'; - while (ptr<end && p < &pkt_text[MAX_DumpData-4]) + while (ptr<end && p < &pkt_text[MAX_DumpData-5]) { if (*ptr == '\\') { - 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/



This archive was generated by hypermail 2b29 : Fri Jan 31 2003 - 22:00:19 EST