summaryrefslogtreecommitdiffstats
path: root/net/ceph/mon_client.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2015-08-31 15:21:39 +0300
committerIlya Dryomov <idryomov@gmail.com>2015-09-08 23:14:29 +0300
commit3ebe138ac642a195c7f2efdb918f464734421fd6 (patch)
tree46a1a5e7244247574e78f39ea7053f9b08bb97ea /net/ceph/mon_client.c
parent6dd74e44dc1df85f125982a8d6591bc4a76c9f5d (diff)
downloadblackbird-op-linux-3ebe138ac642a195c7f2efdb918f464734421fd6.tar.gz
blackbird-op-linux-3ebe138ac642a195c7f2efdb918f464734421fd6.zip
rbd: fix double free on rbd_dev->header_name
If rbd_dev_image_probe() in rbd_dev_probe_parent() fails, header_name is freed twice: once in rbd_dev_probe_parent() and then in its caller rbd_dev_image_probe() (rbd_dev_image_probe() is called recursively to handle parent images). rbd_dev_probe_parent() is responsible for probing the parent, so it shouldn't muck with clone's fields. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'net/ceph/mon_client.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud