diff options
author | Raghavendra Talur <rtalur@redhat.com> | 2016-07-04 18:36:26 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2016-07-07 01:54:41 -0700 |
commit | 01fed48b5b096bc22069003190377f45cca2176f (patch) | |
tree | 2acc2d142cab2d7df9245591b95121c14258ff56 /contrib/uuid | |
parent | 1b5ed7e2ee3a3ac7d85e649b4ed3adc170f3a9a1 (diff) |
gfapi: update count when glfs_buf_copy is used
Backport of http://review.gluster.org/#/c/14854
glfs_buf_copy collates all iovecs into a iovec with count=1. If
gio->count is not updated it will lead to dereferencing of invalid
address.
Change-Id: I7c58071d5c6515ec6fee3ab36af206fa80cf37c3
BUG: 1352632
Signed-off-by: Raghavendra Talur <rtalur@redhat.com>
Signed-off-by: Poornima G <pgurusid@redhat.com>
Reported-By: Lindsay Mathieson <lindsay.mathieson@gmail.com>
Reported-By: Dmitry Melekhov <dm@belkam.com>
Reported-By: Tom Emerson <TEmerson@cyberitas.com>
Reviewed-on: http://review.gluster.org/14858
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Prashanth Pai <ppai@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'contrib/uuid')
0 files changed, 0 insertions, 0 deletions