From: Chen Gang Date: Mon, 21 Jan 2013 09:36:33 +0000 (+0800) Subject: staging: tidspbridge/pmgr: another using strlcpy instead of strncpy X-Git-Tag: v3.9-rc1~127^2~355 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b90d01425468cac50275ce2bd3b35218b56282d;p=pandora-kernel.git staging: tidspbridge/pmgr: another using strlcpy instead of strncpy The fields must be null-terminated, or next strstr in dcd_get_objects, will cause issue additoinal info: nldr_create may call cod_get_base_name, let sz_zl_file to get name (sz_name) and then call dcd_get_objects, passing sz_zl_file as a name string. Signed-off-by: Chen Gang Cc: Omar Ramirez Luna Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed