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.f...@cn.fujitsu.com> ---
Applied. Thanks !!
santosh.shilim...@oracle.com Sat, 16 Dec 2017 14:47:21 -0800
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.f...@cn.fujitsu.com> ---
Applied. Thanks !!