lkml.org 
[lkml]   [2014]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] staging: ced1401: userspace: use1401.c: Cleaning up missing null-terminate in conjunction with strncpy
On Sun, Jul 27, 2014 at 01:10:25AM +0200, Rickard Strandqvist wrote:
> Replacing strncpy with strlcpy to avoid strings that lacks null terminate.
> And replacing strncat with strlcat because of incorrect use.
>
> Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
> ---
> drivers/staging/ced1401/userspace/use1401.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)

This file is no longer in my tree :(


\
 
 \ /
  Last update: 2014-07-27 21:21    [W:0.373 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site