Using strncpy() does not always terminate the destination string.
stracpy() is a alternative function that does, by using this new
function we will no longer need to insert a null separator.
Signed-off-by: Adam Zerella
---
v2: Remove unnecessary MAX_HEAP_NAME param from stracpy()
---
drivers
Using strncpy() does not always terminate the destination string.
stracpy() is a alternative function that does, by using this new
function we will no longer need to insert a null separator.
Signed-off-by: Adam Zerella
---
drivers/staging/android/ion/ion.c | 3 +--
1 file changed, 1 insertion