-
由 Ma Shimiao 提交于
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: NMa Shimiao <mashimiao.fnst@cn.fujitsu.com> Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@oracle.com>
aefc5818