From fca31ae5faa15a02e64143b9efb7e19c3b907c2d Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Tue, 14 Feb 2017 20:47:48 +0530 Subject: 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 Reviewed-on: https://review.gluster.org/16615 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Jeff Darcy --- xlators/performance/decompounder/src/decompounder.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/performance') 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 = { -- cgit