[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5930109a-f31f-8a2a-87bf-70326ed91e16@oracle.com>
Date: Sat, 16 Dec 2017 14:46:18 -0800
From: "santosh.shilimkar@...cle.com" <santosh.shilimkar@...cle.com>
To: Ma Shimiao <mashimiao.fnst@...fujitsu.com>, ssantosh@...nel.org
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] divers/soc/ti: fix max dup length for kstrndup
On 12/12/17 1:29 AM, Ma Shimiao wrote:
> If source string longer than max, kstrndup will alloc max+1 space.
> So, we should make sure the result will not over limit.
>
> Signed-off-by: Ma Shimiao <mashimiao.fnst@...fujitsu.com>
> ---
Applied. Thanks !!
Powered by blists - more mailing lists