Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1590443
| From | Eric Dumazet <eric.dumazet@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4] net: don't call strlen() on the user buffer in packet_bind_spkt() |
| Date | 2017-03-01 17:00 +0100 |
| Message-ID | <tgePx-5b2-37@gated-at.bofh.it> (permalink) |
| References | <tgcb1-3ud-61@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 2017-03-01 at 12:57 +0100, Alexander Potapenko wrote: > KMSAN (KernelMemorySanitizer, a new error detection tool) reports use of > uninitialized memory in packet_bind_spkt(): ... > Signed-off-by: Alexander Potapenko <glider@google.com> > --- > Changes since v3: > - addressed comments by Eric Dumazet (avoid using constants, > use memcpy() instead of strncpy()) > --- Acked-by: Eric Dumazet <edumazet@google.com>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4] net: don't call strlen() on the user buffer in packet_bind_spkt() Alexander Potapenko <glider@google.com> - 2017-03-01 14:10 +0100 Re: [PATCH v4] net: don't call strlen() on the user buffer in packet_bind_spkt() Eric Dumazet <eric.dumazet@gmail.com> - 2017-03-01 17:00 +0100 Re: [PATCH v4] net: don't call strlen() on the user buffer in packet_bind_spkt() Cong Wang <xiyou.wangcong@gmail.com> - 2017-03-02 06:30 +0100 Re: [PATCH v4] net: don't call strlen() on the user buffer in packet_bind_spkt() David Miller <davem@davemloft.net> - 2017-03-02 07:20 +0100
csiph-web