diff options
author | Yuri Weinstein <yuri.weinstein@gmail.com> | 2017-05-19 18:32:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-19 18:32:19 +0200 |
commit | 5c203e86dbdf0c509d79e9030ee06eadb3d8b0c2 (patch) | |
tree | 0cffcab532c9014e1e6aa6566d3d423914baf4b3 | |
parent | Merge pull request #15164 from tchaikov/wip-check-gperf-before-using-it (diff) | |
parent | pybind/rados: avoid call free() on invalid pointer (diff) | |
download | ceph-5c203e86dbdf0c509d79e9030ee06eadb3d8b0c2.tar.xz ceph-5c203e86dbdf0c509d79e9030ee06eadb3d8b0c2.zip |
Merge pull request #15159 from LiumxNL/fix-ping-monitor
pybind/rados: avoid call free() on invalid pointer
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
-rw-r--r-- | src/pybind/rados/rados.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pybind/rados/rados.pyx b/src/pybind/rados/rados.pyx index 54a818507f0..73d4d5a1db2 100644 --- a/src/pybind/rados/rados.pyx +++ b/src/pybind/rados/rados.pyx @@ -815,7 +815,7 @@ Rados object in state %s." % self.state) mon_id = cstr(mon_id, 'mon_id') cdef: char *_mon_id = mon_id - size_t outstrlen + size_t outstrlen = 0 char *outstr with nogil: |