diff options
author | Jim Meyering <meyering@redhat.com> | 2012-06-20 14:03:14 +0200 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-07-02 15:58:33 -0700 |
commit | b8bc3adfd943071bdab2ed186736f99d39397576 (patch) | |
tree | 375ec7c2c6e2695f0272880fdde7ded1d4085c61 /rpc/xdr/src/xdr-generic.c | |
parent | 004d01ddfa6b9388835bb05a3b13a766719e2158 (diff) |
get_mnt_opts: don't let empty option string cause (*mpt_optsp)[-1] reference
This looks like a "can't happen" case (depending on what add_option does),
so you may prefer to add an assertion instead.
Change-Id: Ibfdd34fca045e5213de836cca252bd96408b2136
BUG: 789278
Signed-off-by: Jim Meyering <meyering@redhat.com>
Reviewed-on: http://review.gluster.com/3604
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'rpc/xdr/src/xdr-generic.c')
0 files changed, 0 insertions, 0 deletions