]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix potential null pointer dereference in rgw_admin. 15667/head
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Tue, 13 Jun 2017 11:31:18 +0000 (13:31 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 22 Jun 2017 16:39:22 +0000 (12:39 -0400)
commitcebbf958be3e459749e2227b5a8e0e13d9bf0478
treeebf53e9a38d2fbf3f1ced3a7933e1fd693d0c1e9
parent1031f90219b42047cf3e4eb92dec027b37b516c5
rgw: fix potential null pointer dereference in rgw_admin.

The recent Static Analysis for Ceph (linked 13 June 2017 on
ceph-devel) shows that the send_to_remote_gateway of rgw_admin
potentially dereferences a null pointer. This commit rectifies
that behaviour.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/rgw/rgw_admin.cc