lkml.org 
[lkml]   [2015]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/2] lib: Fix strnlen_user() to not touch memory after specified maximum
From
On Tue, Jun 2, 2015 at 8:10 AM, Jan Kara <jack@suse.cz> wrote:
>
> Fix the off-by-one bug in the test whether we are at the end of the
> specified range.

Ack. I'll apply it with an added comment.

Linus


\
 
 \ /
  Last update: 2015-06-02 20:01    [W:0.044 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site