summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-transport/socket/src
diff options
context:
space:
mode:
authorMichael Scherer <misc@redhat.com>2017-09-08 18:45:12 +0200
committerRaghavendra G <rgowdapp@redhat.com>2017-09-15 08:28:37 +0000
commite9acd3130374ce5d512b784310a729734e6655a5 (patch)
tree63433565cdeea9c48d84931c39118dbdca26db63 /rpc/rpc-transport/socket/src
parent777ad8f6a17d11e4582cf11d332a1a4d4c0c706f (diff)
Fix use-after-free in gf_rdma_do_reads
If iobref_new can't allocate a ref, we free the iobuf, and then go to the cleanup part of the function, that will run iobuf_unref a 2nd time, which trigger a warning with coverity. Change-Id: Ie9cf7a5d5f98244a390e44e1403c614199eb650c BUG: 789278 Signed-off-by: Michael Scherer <misc@redhat.com> Reviewed-on: https://review.gluster.org/18245 Smoke: Gluster Build System <jenkins@build.gluster.org> Tested-by: Raghavendra G <rgowdapp@redhat.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'rpc/rpc-transport/socket/src')
0 files changed, 0 insertions, 0 deletions