[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPXgP130QzSzPObbDedqMLc2Fw6CgzJNW56ccQeRPmZPp27JOA@mail.gmail.com>
Date: Sat, 16 Jun 2012 14:50:53 +0200
From: Kay Sievers <kay@...y.org>
To: Yuanhan Liu <yuanhan.liu@...ux.intel.com>
Cc: linux-kernel@...r.kernel.org, wfg@...ux.intel.com,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [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@...ux.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
--
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