aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph/osd_client.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2017-07-13 15:57:26 +0200
committerIlya Dryomov <idryomov@gmail.com>2017-07-17 14:54:58 +0200
commitc2acfd95d0c7df0bf6826d9d1ca3796160728a42 (patch)
treeec72f9f1cc4ec422a54d910667cf15c897ee984d /net/ceph/osd_client.c
parentlibceph: NULL deref on osdmap_apply_incremental() error path (diff)
downloadlinux-dev-c2acfd95d0c7df0bf6826d9d1ca3796160728a42.tar.xz
linux-dev-c2acfd95d0c7df0bf6826d9d1ca3796160728a42.zip
libceph: set -EINVAL in one place in crush_decode()
No sooner than Dan had fixed this issue in commit 293dffaad8d5 ("libceph: NULL deref on crush_decode() error path"), I brought it back. Add a new label and set -EINVAL once, right before failing. Fixes: 278b1d709c6a ("libceph: ceph_decode_skip_* helpers") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph/osd_client.c')
0 files changed, 0 insertions, 0 deletions