From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp46.i.mail.ru (smtp46.i.mail.ru [94.100.177.106]) (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 7FE6A469710 for ; Sat, 16 May 2020 02:03:52 +0300 (MSK) From: Vladislav Shpilevoy Date: Sat, 16 May 2020 01:03:48 +0200 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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 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(-) -- 2.21.1 (Apple Git-122.3)