Ilya Dryomov 0c5f2e8992 libceph: check authorizer reply/challenge length before reading
commit 130f52f2b203aa0aec179341916ffb2e905f3afd upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-05 19:41:27 +01:00
..
2018-12-05 19:41:10 +01:00
2018-12-05 19:41:10 +01:00