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

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Thu May 21 22:33:15 MSK 2020


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(-)
> 


More information about the Tarantool-patches mailing list