diff options
author | Michael Adam <obnox@samba.org> | 2015-03-31 10:30:22 +0200 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-03-31 23:51:33 -0700 |
commit | 5c1ce6d29ee52af9daa23c1c7a54f23ce29a687e (patch) | |
tree | cbd058854391132894fc2c84a3a441b4fa8d0897 /rpc/Makefile.am | |
parent | 406a9a497764d2e18b02ed8684c79fa802280405 (diff) |
features/trash: fix remove_trash_path() to do what it is intended.
The intention is to set the the rem_path string pointer that
is handed in from the outside. So the string has to be passed
in by reference, or else the function just sets a pointer on
the stack.
Found by Coverity, CID 1288791
Also fixes:
CID 1288791
CID 1288809
CID 1288810
CID 1288814
CID 1288815
CID 1288817
CUD 1288818
Change-Id: I6ef5eeb58b83a875cf90513291abe37dee3fc9fb
BUG: 789278
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-on: http://review.gluster.org/10064
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anoop C S <achiraya@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'rpc/Makefile.am')
0 files changed, 0 insertions, 0 deletions