From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 25 Feb 2019 15:24:42 +0300 From: Vladimir Davydov Subject: Re: [tarantool-patches] [PATCH] socket: throw error when size is negative in read()/sysread() Message-ID: <20190225122442.ikbbizmkh3uvaqpo@esperanza> References: <20190222192606.60193-1-roman.habibov@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190222192606.60193-1-roman.habibov@tarantool.org> To: Roman Khabibov Cc: tarantool-patches@freelists.org, alexander.turenko@tarantool.org List-ID: On Fri, Feb 22, 2019 at 10:26:06PM +0300, Roman Khabibov wrote: > Replace assert in socket:read() and add a check in socket:sysread() > when the size is negative. > > Closes #3979 Pushed to 2.1 and 1.10.