[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200906142235.26522.arnd@arndb.de>
Date: Sun, 14 Jun 2009 22:35:26 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Mike Frysinger <vapier@...too.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/4] asm-generic: uaccess: add missing access_ok() check to strnlen_user()
On Sunday 14 June 2009, Mike Frysinger wrote:
> The strnlen_user() function was missing a access_ok() check on the pointer
> given. We've had cases on Blackfin systems where test programs caused
> kernel crashes here because userspace passed up a NULL/-1 pointer and the
> kernel gladly attempted to run strlen() on it.
>
> Signed-off-by: Mike Frysinger <vapier@...too.org>
Applied, thanks.
Arnd <><
--
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