]> git.ipfire.org Git - thirdparty/zstd.git/commit
minor refactor
authorYann Collet <cyan@fb.com>
Wed, 1 Nov 2017 23:57:48 +0000 (16:57 -0700)
committerYann Collet <cyan@fb.com>
Wed, 1 Nov 2017 23:57:48 +0000 (16:57 -0700)
commit150354c5fe59b7c0ca970589d54d67da60048cbd
treee91ac137582e66090b3226aa92ba685f31f5b0ee
parent428e8b3bf49ed9d36e732acf634d6150d0e2b302
minor refactor

added some traces and assert
related to hunting a potential ubsan error in 32-bits more
(it ends up being a compiler-side issue : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82802).

Modified one pointer arithmetic expression for a more conformant way.
lib/compress/zstd_compress.c
lib/compress/zstdmt_compress.c
tests/zstreamtest.c