[Groonga-commit] groonga/groonga at 1693151 [master] column_create: fix a crash bug when grn_column_create() is failed

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Mar 17 14:34:50 JST 2016


Kouhei Sutou	2016-03-17 14:34:50 +0900 (Thu, 17 Mar 2016)

  New Revision: 16931517ff0db8498fe63a7c0b2b4fdf467ddbd4
  https://github.com/groonga/groonga/commit/16931517ff0db8498fe63a7c0b2b4fdf467ddbd4

  Message:
    column_create: fix a crash bug when grn_column_create() is failed

  Modified files:
    lib/proc/proc_column.c

  Modified: lib/proc/proc_column.c (+1 -0)
===================================================================
--- lib/proc/proc_column.c    2016-03-17 12:53:31 +0900 (8e9bf2d)
+++ lib/proc/proc_column.c    2016-03-17 14:34:50 +0900 (28ac7d6)
@@ -237,6 +237,7 @@ command_column_create(grn_ctx *ctx, int nargs, grn_obj **args,
                              NULL, flags, type);
   if (!column) {
     succeeded = GRN_FALSE;
+    goto exit;
   }
 
   if (GRN_TEXT_LEN(source_raw) > 0) {
-------------- next part --------------
HTML����������������������������...
Download 



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