[Tarantool-patches] [PATCH 0/2] Sanitize uuid and bit alignment

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Sat May 16 02:03:48 MSK 2020


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)



More information about the Tarantool-patches mailing list