[PATCH] divers/soc/ti: fix max dup length for kstrndup

santosh.shilimkar at oracle.com santosh.shilimkar at oracle.com
Sat Dec 16 14:46:18 PST 2017


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 at cn.fujitsu.com>
> ---
Applied. Thanks !!



More information about the linux-arm-kernel mailing list