> >     strncpy(kim_data->dev_name, buf, count);
> > +   kim_data->dev_name[count - 1] = '\n';
> 
> Of course this does not add termination, but adds a newline at the end of the 
> buffer? Huh?

strlcpy?

Attachment: signature.asc
Description: Digital signature

Reply via email to