diff options
| author | Dan Carpenter <[email protected]> | 2017-07-17 08:13:35 +0000 |
|---|---|---|
| committer | Ilya Dryomov <[email protected]> | 2017-07-17 12:54:59 +0000 |
| commit | 7c40b22f6f84c98a1d36e6d0a4346e58f05e45d8 (patch) | |
| tree | 83ca96fd7f28d2efc8ba8fa8dcabc37a3ba82ba1 /include/net/af_unix.h | |
| parent | ceph: fix race in concurrent readdir (diff) | |
| download | kernel-7c40b22f6f84c98a1d36e6d0a4346e58f05e45d8.tar.gz kernel-7c40b22f6f84c98a1d36e6d0a4346e58f05e45d8.zip | |
libceph: potential NULL dereference in ceph_msg_data_create()
If kmem_cache_zalloc() returns NULL then the INIT_LIST_HEAD(&data->links);
will Oops. The callers aren't really prepared for NULL returns so it
doesn't make a lot of difference in real life.
Fixes: 5240d9f95dfe ("libceph: replace message data pointer with list")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'include/net/af_unix.h')
0 files changed, 0 insertions, 0 deletions
