From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 23 Apr 2018 19:20:45 +0300 From: Vladimir Davydov Subject: Re: [PATCH 3/8] console: fix a bug in interactive readline usage Message-ID: <20180423162045.bk7fuiy5dsthsi4r@esperanza> References: <634d1f3fd9f96b7302a77a9508705206d115bd82.1523903144.git.v.shpilevoy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <634d1f3fd9f96b7302a77a9508705206d115bd82.1523903144.git.v.shpilevoy@tarantool.org> To: Vladislav Shpilevoy Cc: tarantool-patches@freelists.org List-ID: On Mon, Apr 16, 2018 at 09:39:13PM +0300, Vladislav Shpilevoy wrote: > Spurious wakeups are possible in console, that makes readline > think that there are some data on stdin. Waked up readline > returns garbage instead of string, that crashes a server on > assertion in Lua. > > Closes #3343 > --- > src/box/lua/console.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Ack