Kouhei Sutou
null+****@clear*****
Wed Dec 28 18:03:35 JST 2016
Kouhei Sutou 2016-12-28 18:03:35 +0900 (Wed, 28 Dec 2016) New Revision: 9be02e5e92e96d1db72fc10fd5fed432b011f350 https://github.com/groonga/groonga/commit/9be02e5e92e96d1db72fc10fd5fed432b011f350 Message: Ensure initializing grn_select_optarg Modified files: lib/expr.c Modified: lib/expr.c (+1 -0) =================================================================== --- lib/expr.c 2016-12-28 18:01:20 +0900 (7caffbc) +++ lib/expr.c 2016-12-28 18:03:35 +0900 (aadde66) @@ -8187,6 +8187,7 @@ grn_expr_parse(grn_ctx *ctx, grn_obj *expr, efsi.escalation_threshold = GRN_DEFAULT_MATCH_ESCALATION_THRESHOLD; efsi.escalation_decaystep = DEFAULT_DECAYSTEP; efsi.weight_offset = 0; + memset(&(efsi.opt), 0, sizeof(grn_select_optarg)); efsi.opt.weight_vector = NULL; efsi.weight_set = NULL; efsi.object_literal = NULL; -------------- next part -------------- HTML����������������������������... Download