https://s3.amazonaws.com/clickhouse-builds/39557/917fbb9b07765571319203b472e5e5a982755144/clickhouse_build_check/report.html

```
Jul 25 16:13:12 =================================================================
Jul 25 16:13:12 ==28549==ERROR: LeakSanitizer: detected memory leaks
Jul 25 16:13:12 
Jul 25 16:13:12 Direct leak of 5080 byte(s) in 1 object(s) allocated from:
Jul 25 16:13:12     #0 0x3699de in malloc (/build/build_docker/utils/self-extracting-executable/compressor+0x3699de) (BuildId: 12ab7250ca47544c)
Jul 25 16:13:12     #1 0x3ab435 in ZSTD_customMalloc build_docker/../contrib/zstd/lib/common/zstd_common.c:60:12
Jul 25 16:13:12     #2 0x3ab962 in ZSTD_createCCtx_advanced build_docker/../contrib/zstd/lib/compress/zstd_compress.c:115:45
Jul 25 16:13:12     #3 0x3ab962 in ZSTD_createCCtx build_docker/../contrib/zstd/lib/compress/zstd_compress.c:95:12
Jul 25 16:13:12     #4 0x3a7442 in compress(int, int, int, long&, stat const&) build_docker/../utils/self-extracting-executable/compressor.cpp:92:24
Jul 25 16:13:12     #5 0x3a8393 in compressFiles(char**, int, int, int, stat const&) build_docker/../utils/self-extracting-executable/compressor.cpp:283:18
Jul 25 16:13:12     #6 0x3aa07a in main build_docker/../utils/self-extracting-executable/compressor.cpp:530:14
Jul 25 16:13:12     #7 0x7f2f7f9ac082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: 1878e6b475720c7c51969e69ab2d276fae6d1dee)
Jul 25 16:13:12 
Jul 25 16:13:12 Indirect leak of 3659832 byte(s) in 1 object(s) allocated from:
Jul 25 16:13:12     #0 0x3699de in malloc (/build/build_docker/utils/self-extracting-executable/compressor+0x3699de) (BuildId: 12ab7250ca47544c)
Jul 25 16:13:12     #1 0x3ab435 in ZSTD_customMalloc build_docker/../contrib/zstd/lib/common/zstd_common.c:60:12
Jul 25 16:13:12     #2 0x3ced03 in ZSTD_cwksp_create build_docker/../contrib/zstd/lib/compress/zstd_cwksp.h:587:23
Jul 25 16:13:12     #3 0x3ced03 in ZSTD_resetCCtx_internal build_docker/../contrib/zstd/lib/compress/zstd_compress.c:1899:17
Jul 25 16:13:12     #4 0x3be5e5 in ZSTD_compressBegin_internal build_docker/../contrib/zstd/lib/compress/zstd_compress.c:4519:5
Jul 25 16:13:12     #5 0x3cbb64 in ZSTD_CCtx_init_compressStream2 build_docker/../contrib/zstd/lib/compress/zstd_compress.c:5639:9
Jul 25 16:13:12     #6 0x3c9fde in ZSTD_compressStream2 build_docker/../contrib/zstd/lib/compress/zstd_compress.c:5697:9
Jul 25 16:13:12     #7 0x3b8348 in ZSTD_compressStream2_simpleArgs build_docker/../contrib/zstd/lib/compress/zstd_compress.c:5772:25
Jul 25 16:13:12     #8 0x3b8348 in ZSTD_compress2 build_docker/../contrib/zstd/lib/compress/zstd_compress.c:5791:31
Jul 25 16:13:12     #9 0x3a7072 in doCompress(char*, char*, long&, long&, long, long, ZSTD_CCtx_s*) build_docker/../utils/self-extracting-executable/compressor.cpp:67:30
Jul 25 16:13:12     #10 0x3a791a in compress(int, int, int, long&, stat const&) build_docker/../utils/self-extracting-executable/compressor.cpp:151:18
Jul 25 16:13:12     #11 0x3a8393 in compressFiles(char**, int, int, int, stat const&) build_docker/../utils/self-extracting-executable/compressor.cpp:283:18
Jul 25 16:13:12     #12 0x3aa07a in main build_docker/../utils/self-extracting-executable/compressor.cpp:530:14
Jul 25 16:13:12     #13 0x7f2f7f9ac082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: 1878e6b475720c7c51969e69ab2d276fae6d1dee)
Jul 25 16:13:12 
Jul 25 16:13:12 SUMMARY: AddressSanitizer: 3664912 byte(s) leaked in 2 allocation(s).
```
{
    int input_fd = open(self, O_RDONLY);
    if (input_fd == -1)
    {
        perror(nullptr);
        return 1;
    }
    if (-1 == lseek(input_fd, -15, SEEK_END))
    {
        perror(nullptr);
        close(input_fd);
        return 1;