diff options
| author | Karthikeyan Ramasubramanian <kramasub@codeaurora.org> | 2016-06-02 12:01:34 -0600 |
|---|---|---|
| committer | Kyle Yan <kyan@codeaurora.org> | 2016-06-21 15:15:15 -0700 |
| commit | bf40e26c898ddb9b868c9f9b024adf18014bd464 (patch) | |
| tree | 9e4c532397bedd66c051f3890d02f7dd3d9db1a8 /tools/perf/scripts/python | |
| parent | f9be69b92474adf7cd33d0dc2fc71bc49c153eb9 (diff) | |
net: ipc_router: Add a dummy write_space callback
IPC Router assigns NULL to write_space callback for all sockets in its
family by defaults. The setsockopt operation with SO_SNDBUF option
accesses write_space callback without checking its validity. This may
lead to a NULL pointer dereferencing when that operation is performed.
Assign a dummy write_space callback operation by default to all IPC Router
sockets.
CRs-Fixed: 1025150
Change-Id: Id2454683116c948b7bb4fa3c50a91a5a9585a491
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
