diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2018-07-27 19:40:30 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-08-02 21:33:26 +0200 |
commit | 130f52f2b203aa0aec179341916ffb2e905f3afd (patch) | |
tree | bff0676cab201746527089611ead79b1948d1ff5 /net/ceph/auth_x.c | |
parent | libceph: implement CEPHX_V2 calculation mode (diff) | |
download | linux-130f52f2b203aa0aec179341916ffb2e905f3afd.tar.xz linux-130f52f2b203aa0aec179341916ffb2e905f3afd.zip |
libceph: check authorizer reply/challenge length before reading
Avoid scribbling over memory if the received reply/challenge is larger
than the buffer supplied with the authorizer.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'net/ceph/auth_x.c')
0 files changed, 0 insertions, 0 deletions