Messages in this thread | | | Subject | Re: [PATCH v4] net: don't call strlen() on the user buffer in packet_bind_spkt() | From | Eric Dumazet <> | Date | Wed, 01 Mar 2017 07:48:09 -0800 |
| |
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>
| |