commit | c2acfd95d0c7df0bf6826d9d1ca3796160728a42 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Thu Jul 13 15:57:26 2017 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Jul 17 14:54:58 2017 +0200 |
tree | ec72f9f1cc4ec422a54d910667cf15c897ee984d | |
parent | 00c8ebb360937bbc5da02929d62fcbf6a72801eb [diff] |
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>