From: Chen Gang Date: Mon, 21 Jan 2013 09:35:00 +0000 (+0800) Subject: staging: tidspbridge/pmgr: use strlcpy instead of strncpy X-Git-Tag: v3.9-rc1~127^2~356 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9814a8750e7af236030c237a98bba79f5eb3c214;p=pandora-kernel.git staging: tidspbridge/pmgr: use strlcpy instead of strncpy The fields must be null-terminated, or next strcpy in dbll_find_dsp_symbol, will cause issue additoinal info: dbll_find_dsp_symbol call find_symbol_callback to get name. and then call strcpy to copy the name to upper caller. Signed-off-by: Chen Gang Cc: Omar Ramirez Luna Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed