[PATCH v2] staging: android: ion: Replace strncpy() for stracpy()

2019-09-10 Thread Adam Zerella
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

[PATCH] staging: android: ion: Replace strncpy() for stracpy()

2019-09-07 Thread Adam Zerella
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