diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2017-07-13 15:57:26 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-07-17 14:54:58 +0200 |
commit | c2acfd95d0c7df0bf6826d9d1ca3796160728a42 (patch) | |
tree | ec72f9f1cc4ec422a54d910667cf15c897ee984d /COPYING | |
parent | libceph: NULL deref on osdmap_apply_incremental() error path (diff) | |
download | linux-c2acfd95d0c7df0bf6826d9d1ca3796160728a42.tar.xz linux-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 'COPYING')
0 files changed, 0 insertions, 0 deletions