[PATCH] ARM:mach-msm: seting tail NUL after strncpy

Chen Gang gang.chen at asianux.com
Wed Jan 30 05:46:14 EST 2013


于 2013年01月30日 17:19, Bjørn Mork 写道:
> Maybe use strlcpy() instead?

  ok, I will send patch v2.

  it will be "strlcpy(temp, clock->dbg_name, ARRAY_SIZE(temp));"


  thanks.

-- 
Chen Gang

Asianux Corporation



More information about the linux-arm-kernel mailing list