From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp56.i.mail.ru (smtp56.i.mail.ru [217.69.128.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 3A516469710 for ; Thu, 21 May 2020 22:33:18 +0300 (MSK) From: Vladislav Shpilevoy References: Message-ID: <2624a605-6f8f-828c-f96a-4690fdad30a1@tarantool.org> Date: Thu, 21 May 2020 21:33:15 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH 0/2] Sanitize uuid and bit alignment List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org, tsafin@tarantool.org, gorcunov@gmail.com, alyapunov@tarantool.org Pushed to master. On 16/05/2020 01:03, Vladislav Shpilevoy wrote: > The patchset fixes unaligned memory access in UUID and bit > libraries. Also in the bit library the bitshift overflow UB is > fixed. > > This is not all of issue 4609, but it is going to consist of a lot > of independent parts like this, which can be reviewed and pushed > without waiting for the whole patchset. To speed up the process. > > Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-4609-sanitize-uuid-and-bit > Issue: https://github.com/tarantool/tarantool/issues/4609 > > Vladislav Shpilevoy (2): > bit: fix unaligned memory access and UB bit shift > uuid: fix unaligned memory access > > src/lib/bit/bit.h | 30 ++++--- > src/lib/uuid/tt_uuid.h | 11 +-- > test/unit/bit.c | 4 +- > test/unit/bit.result | 180 ----------------------------------------- > 4 files changed, 27 insertions(+), 198 deletions(-) >