Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1691971
| From | Dave Jones <davej@codemonkey.org.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] lib/strscpy: avoid KASAN false positive |
| Date | 2017-07-19 18:10 +0200 |
| Message-ID | <u4ZHY-2x4-15@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <u4Hi2-71I-23@gated-at.bofh.it> <u4Hi2-71I-21@gated-at.bofh.it> <u4IQO-86Q-25@gated-at.bofh.it> <u4IQO-86Q-23@gated-at.bofh.it> <u4ZHY-2x4-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH] lib/strscpy: avoid KASAN false positive Linus Torvalds <torvalds@linux-foundation.org> - 2017-07-18 19:30 +0200
Re: [PATCH] lib/strscpy: avoid KASAN false positive Linus Torvalds <torvalds@linux-foundation.org> - 2017-07-18 22:30 +0200
Re: [PATCH] lib/strscpy: avoid KASAN false positive Andrew Morton <akpm@linux-foundation.org> - 2017-07-19 00:10 +0200
Re: [PATCH] lib/strscpy: avoid KASAN false positive Linus Torvalds <torvalds@linux-foundation.org> - 2017-07-19 00:40 +0200
Re: [PATCH] lib/strscpy: avoid KASAN false positive Dmitry Vyukov <dvyukov@google.com> - 2017-07-19 09:50 +0200
Re: [PATCH] lib/strscpy: avoid KASAN false positive Dave Jones <davej@codemonkey.org.uk> - 2017-07-19 18:10 +0200
Re: [PATCH] lib/strscpy: avoid KASAN false positive Dmitry Vyukov <dvyukov@google.com> - 2017-07-26 14:10 +0200
csiph-web