ubsan.patch 564 B

123456789101112131415
  1. From 929d4ee707b1e023d3858b7eaa359d457e878f1f Mon Sep 17 00:00:00 2001
  2. From: Антон Самохвалов <pg@yandex-team.ru>
  3. Date: Thu, 14 Jan 2016 14:15:59 +0000
  4. Subject: [PATCH] shut up ubsan
  5. git-svn-id: svn+ssh://arcadia.yandex.ru/arc/trunk/arcadia/contrib/libs/zlib@2026327 41d65440-b5be-11dd-afe3-b2e846d9b4f8
  6. --- a/deflate.c
  7. +++ b/deflate.c
  8. @@ -52,2 +52,3 @@
  9. #include "deflate.h"
  10. +#include <util/system/compiler.h>
  11. @@ -1148,1 +1148,2 @@ local void lm_init (s)
  12. +Y_NO_SANITIZE("undefined")
  13. local uInt longest_match(deflate_state *s, IPos cur_match) {