lkml.org 
[lkml]   [2012]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 2/2] printk: return -EINVAL if the message len is bigger than the buf size
On Sat, Jun 16, 2012 at 6:40 AM, Yuanhan Liu
<yuanhan.liu@linux.intel.com> wrote:
> Just like what devkmsg_read() does, return -EINVAL if the message len is
> bigger than the buf size, or it will trigger a segfault error.

Looks good to me.

Thanks,
Kay


\
 
 \ /
  Last update: 2012-06-16 15:41    [W:0.047 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site