diff options
| author | Aravinda VK <avishwan@redhat.com> | 2016-06-22 14:57:44 +0530 |
|---|---|---|
| committer | Jeff Darcy <jdarcy@redhat.com> | 2016-07-05 04:58:48 -0700 |
| commit | 528a19825420362b4b873bbd4070b0496ab86a39 (patch) | |
| tree | 9ce9947fd8473d6244084e41df5ec1252b2354e5 /cli/src/cli-cmd.h | |
| parent | 50f8fd392badbec83196638045ed213e8f27e514 (diff) | |
glusterd/geo-rep: Add relative path validation to copy file command
Added validation for input file, command fails if input file path is
relative path pointing outside of GLUSTERD_WORKDIR.
BUG: 1350785
Change-Id: I329d43ebed69bfe9fe03d6be70dc8c78a605ffc5
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/14772
(cherry picked from commit 888de8851e718d8e3117e47fa35cfc075b998f62)
Reviewed-on: http://review.gluster.org/14819
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'cli/src/cli-cmd.h')
0 files changed, 0 insertions, 0 deletions
