[Groonga-commit] groonga/groonga at 0f5b19e [master] Simplify

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Aug 1 11:02:17 JST 2018


Kouhei Sutou	2018-08-01 11:02:17 +0900 (Wed, 01 Aug 2018)

  New Revision: 0f5b19eea65e4df804f39f30358cc3dbe190686e
  https://github.com/groonga/groonga/commit/0f5b19eea65e4df804f39f30358cc3dbe190686e

  Message:
    Simplify
    
    It may access broken address.

  Modified files:
    lib/expr.c

  Modified: lib/expr.c (+1 -2)
===================================================================
--- lib/expr.c    2018-08-01 11:01:01 +0900 (187dd3cf9)
+++ lib/expr.c    2018-08-01 11:02:17 +0900 (3b232020a)
@@ -4029,8 +4029,7 @@ grn_table_select_index_match(grn_ctx *ctx,
   default :
     break;
   }
-  optarg.weight_vector = (int *)GRN_BULK_HEAD(&wv);
-  /* optarg.vector_size = GRN_BULK_VSIZE(&si->wv); */
+  optarg.weight_vector = NULL;
   optarg.vector_size = 1;
   optarg.proc = NULL;
   optarg.max_size = 0;
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180801/2d09ea85/attachment.htm 



More information about the Groonga-commit mailing list
Back to archive index