Files
kernel-tenderloin-3.0/drivers/gpu
Olav Haugan 6625c7d1f8 gpu: ion: Replace strncpy with strlcpy
strncpy is unsafe because it does not guarantee
that the resultant string is NULL-terminated.

Replace strncpy with strlcpy and remove explicit
NULL-termination. Also correct allocation of
string buffer.

Change-Id: Id5075ef7b04f80e2bf828f52def329b926e9ec3f
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2012-01-24 14:26:04 -08:00
..
2011-10-03 09:57:10 -07:00