lkml.org 
[lkml]   [2003]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[BUG] in drivers/net/strip.c
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/
\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.049 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site