Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752637AbaG0Sog (ORCPT ); Sun, 27 Jul 2014 14:44:36 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:40263 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752579AbaG0Sof (ORCPT ); Sun, 27 Jul 2014 14:44:35 -0400 Date: Sun, 27 Jul 2014 11:44:34 -0700 From: Greg Kroah-Hartman To: Rickard Strandqvist Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Monam Agarwal Subject: Re: [PATCH] staging: ced1401: userspace: use1401.c: Cleaning up missing null-terminate in conjunction with strncpy Message-ID: <20140727184434.GA29496@kroah.com> References: <1406416225-8795-1-git-send-email-rickard_strandqvist@spectrumdigital.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1406416225-8795-1-git-send-email-rickard_strandqvist@spectrumdigital.se> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > drivers/staging/ced1401/userspace/use1401.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) This file is no longer in my tree :( -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/