]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc0042185cfc37eb5d393e962fe45828c6e4f9941
treeff53595692f3e7d62dca8ca42a9918ffde10fab1
parentb1663af3be8753e353132e710c0857898bc800cc
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