Messages in this thread | | | Date | Wed, 19 Jul 2017 12:05:32 -0400 | From | Dave Jones <> | Subject | Re: [PATCH] lib/strscpy: avoid KASAN false positive |
| |
On Wed, Jul 19, 2017 at 11:39:32AM -0400, Chris Metcalf wrote:
> > We could just remove all that word-at-a-time logic. Do we have any > > evidence that this would harm anything? > > The word-at-a-time logic was part of the initial commit since I wanted > to ensure that strscpy could be used to replace strlcpy or strncpy without > serious concerns about performance.
I'm curious what the typical length of the strings we're concerned about in this case are if this makes a difference.
Dave
| |