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:17 -0700 |
commit | e51beeacf7fcb7359c129c8067cc95dcd2767e39 (patch) | |
tree | 2365e1d51dc2bdcaaa4ab9aa4a172eeb763a19e3 /xlators | |
parent | 8680261cbb7cacdc565feb578d6afd3fac50cec4 (diff) |
gfapi: update count when glfs_buf_copy is used
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: 1352634
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/14854
Reviewed-by: Prashanth Pai <ppai@redhat.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Niels de Vos <ndevos@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions