Re: [PATCH] Avoid buffer overflows in get_user_pages()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Robert Hancock <hancockr@...>
Cc: Jonathan Corbet <corbet@...>, <linux-kernel@...>, <akpm@...>, <torvalds@...>
Date: Tuesday, February 12, 2008 - 1:56 am

On Tuesday 12 February 2008 14:16, Robert Hancock wrote:

Which is a bug, and you want to catch it.



If it is due to a security bug, then the fix is to fix the point
where the kernel starts trusting an untrusted value. Not to hide
the bug like this. Arguably, a BUG_ON is better in the case of a
security hole because you want to halt the process as soon as you
detect a problem.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Avoid buffer overflows in get_user_pages(), Robert Hancock, (Mon Feb 11, 11:16 pm)
Re: [PATCH] Avoid buffer overflows in get_user_pages(), Nick Piggin, (Tue Feb 12, 1:56 am)