[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1408740472.24496.5.camel@haakon3.risingtidesystems.com>
Date: Fri, 22 Aug 2014 13:47:52 -0700
From: "Nicholas A. Bellinger" <nab@...ux-iscsi.org>
To: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
Cc: linux-scsi@...r.kernel.org, target-devel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] target: target_core_transport.c: Cleaning up missing
null-terminate in conjunction with strncpy
Hi Rickard,
On Sun, 2014-08-03 at 23:50 +0200, Rickard Strandqvist wrote:
> Ensures that the string is null-terminate in connection with the
> use of strncpy. Optimized code by replacing unnecessary sprintf
> with strlcat and more, and simultaneously guarantees that the
> string does not get bigger than sizeof.
>
> Signed-off-by: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
> ---
Apologies for missing this patch earlier.
Applied to target-pending.
Thanks!
--nab
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists