OSDN Git Service

net: sockev: fix uninitialized data leak into userspace
authorTejaswi Tanikella <tejaswit@codeaurora.org>
Mon, 11 Jun 2018 11:00:24 +0000 (16:30 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Tue, 3 Jul 2018 05:19:07 +0000 (22:19 -0700)
commit5539367290c83768be0235c2acc644e82606c117
tree4f7db6baa98a7e17b11ce8ddd35e714d7a9cdfe5
parent642d3ae98bb49b7abacea7d120f81921755de3a0
net: sockev: fix uninitialized data leak into userspace

Socket event string, notifying userspace of socket event, can leak
data into userspace. Memset it before filling it using strlcpy.

Change-Id: I37851f32a1b7ce3307644998c2cc7dd617bb7022
Signed-off-by: Tejaswi Tanikella <tejaswit@codeaurora.org>
net/core/sockev_nlmcast.c