From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 4 Apr 2019 19:00:07 +0300 From: Vladimir Davydov Subject: Re: [PATCH v2 1/3] sql: allocate memory for index_id in VDBE Message-ID: <20190404160007.bpzp5wgfsiklhfph@esperanza> References: <67e2542a83b9db776d04af47af4cbb78f95b8711.1554310018.git.imeevma@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <67e2542a83b9db776d04af47af4cbb78f95b8711.1554310018.git.imeevma@gmail.com> To: imeevma@tarantool.org Cc: tarantool-patches@freelists.org List-ID: On Wed, Apr 03, 2019 at 07:58:32PM +0300, imeevma@tarantool.org wrote: > Currently, the memory for index_id is not allocated in VDBE code > in the sql_code_drop_table() and sql_drop_index() functions. This > may lead to SEGMENTATION FAULT. > > Needed for #2843 > --- > src/box/sql/build.c | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) Ack