[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140924225508.GO28253@tassilo.jf.intel.com>
Date: Wed, 24 Sep 2014 15:55:08 -0700
From: Andi Kleen <ak@...ux.intel.com>
To: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Dan Carpenter <dan.carpenter@...cle.com>,
Grant Likely <grant.likely@...aro.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] lib: string.c: Added a funktion function strzcpy
> Thought that I was still fairly clear, or that I just assumed that
> everyone was more or less familiar with the problems between strncpy
> strlcpy etc.
> Did not think all that should be includerad in chang log.
I don't think you need to write a novel.
So the basic issue is that you're not sure if you can replace
strncpy with strlcpy (due to not knowing what the padding
requirements are), but you still want to make sure everything
is zero terminated.
That should have been in the changelog.
-Andi
--
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