Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2004 12:08:40 +0400 (MSD)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        Ted Unangst <tedu@coverity.com>
Cc:        hackers@freebsd.org
Subject:   Re: off by one bounds
Message-ID:  <20040821120624.I34489@mp2.macomnet.net>
In-Reply-To: <412652AA.5020308@coverity.com>
References:  <412652AA.5020308@coverity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Ted,

On Fri, 20 Aug 2004, 12:36-0700, Ted Unangst wrote:

> errors in freebsd 4.10 found by Coverity's analysis.

[...]
> ip_icmp.c:ip_next_mtu, i == sizeof, dir >= 0

This one is not a bug really.  If i == sizeof then mtutab[i] == 0 and
we return 0 at the line 818.  Or I miss something?

-- 
Maxim Konovalov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040821120624.I34489>