libceph: validate blob_struct_v in process_one_ticket()
authorIlya Dryomov <idryomov@gmail.com>
Fri, 19 May 2017 10:21:56 +0000 (12:21 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 23 May 2017 18:32:25 +0000 (20:32 +0200)
commitd18a1247c4070390fc0c2d83d89a72afe921882e
treeff53595692f3e7d62dca8ca42a9918ffde10fab1
parentf3b4e55ded9b3c52831a7d2ab9e511293c99fc11
libceph: validate blob_struct_v in process_one_ticket()

None of these are validated in userspace, but since we do validate
reply_struct_v in ceph_x_proc_ticket_reply(), tkt_struct_v (first) and
CephXServiceTicket struct_v (second) in process_one_ticket(), validate
CephXTicketBlob struct_v as well.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/auth_x.c