summaryrefslogtreecommitdiffstats
path: root/xlators/performance/decompounder/src
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2017-02-14 20:47:48 +0530
committerJeff Darcy <jdarcy@redhat.com>2017-02-16 15:07:57 -0500
commitfca31ae5faa15a02e64143b9efb7e19c3b907c2d (patch)
tree11e55453effa0c59682d28fdfd764fd901a49527 /xlators/performance/decompounder/src
parent6588204568ab73bf8456ca3b2eccf2ae1182fb95 (diff)
performance/decompounder: Have terminal value in options[]
Absence of terminal values is leading to buffer-over-flow errors in address sanitizer. BUG: 1422152 Change-Id: I769c0e4b5bbb3ef2849b8d1097b9def522ae08d9 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: https://review.gluster.org/16615 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 'xlators/performance/decompounder/src')
-rw-r--r--xlators/performance/decompounder/src/decompounder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/performance/decompounder/src/decompounder.c b/xlators/performance/decompounder/src/decompounder.c
index b899b399152..d3d9b9f7830 100644
--- a/xlators/performance/decompounder/src/decompounder.c
+++ b/xlators/performance/decompounder/src/decompounder.c
@@ -893,6 +893,7 @@ struct xlator_cbks cbks = {
};
struct volume_options options[] = {
+ { .key = {NULL} },
};
struct xlator_fops fops = {