Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@dev.tarantool.org, tsafin@tarantool.org,
	gorcunov@gmail.com, alyapunov@tarantool.org
Subject: [Tarantool-patches] [PATCH 0/2] Sanitize uuid and bit alignment
Date: Sat, 16 May 2020 01:03:48 +0200	[thread overview]
Message-ID: <cover.1589583614.git.v.shpilevoy@tarantool.org> (raw)

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)

             reply	other threads:[~2020-05-15 23:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15 23:03 Vladislav Shpilevoy [this message]
2020-05-15 23:03 ` [Tarantool-patches] [PATCH 1/2] bit: fix unaligned memory access and UB bit shift Vladislav Shpilevoy
2020-05-21 14:37   ` Timur Safin
2020-05-15 23:03 ` [Tarantool-patches] [PATCH 2/2] uuid: fix unaligned memory access Vladislav Shpilevoy
2020-05-18 12:55   ` Aleksandr Lyapunov
2020-05-18 21:17     ` Vladislav Shpilevoy
2020-05-19  7:28       ` Aleksandr Lyapunov
2020-05-19  8:34         ` Timur Safin
2020-05-19 21:24         ` Vladislav Shpilevoy
2020-05-20  8:18           ` Aleksandr Lyapunov
2020-05-20 21:38             ` Vladislav Shpilevoy
2020-05-21  8:28               ` Aleksandr Lyapunov
2020-05-21 14:37           ` Timur Safin
2020-05-21 19:33 ` [Tarantool-patches] [PATCH 0/2] Sanitize uuid and bit alignment Vladislav Shpilevoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1589583614.git.v.shpilevoy@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=alyapunov@tarantool.org \
    --cc=gorcunov@gmail.com \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=tsafin@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH 0/2] Sanitize uuid and bit alignment' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox