[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091104031540.GF12841@linux-sh.org>
Date: Wed, 4 Nov 2009 12:15:40 +0900
From: Paul Mundt <lethal@...ux-sh.org>
To: Roel Kluin <roel.kluin@...il.com>
Cc: linux-sh@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sh: Make sure indexes are positive
On Mon, Nov 02, 2009 at 05:14:42PM +0100, Roel Kluin wrote:
> The indexes are signed, make sure they are not negative
> when we read array elements.
>
> Signed-off-by: Roel Kluin <roel.kluin@...il.com>
In practice none of these are likely to be an issue, but it doesn't
really hurt to add the sanity checks given that there's already a number
of them anyways. So, applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists