Task #1572 - fixed.err
back to task #1572download
Error: CLANG_WARNING:
zstd-1.5.5/programs/benchzstd.c:42: included_from: Included from here.
zstd-1.5.5/lib/common/xxhash.h:1457:76: warning[unix.cstring.NullArg]: Null pointer passed as 2nd argument to memory copy function
# 1455| static void* XXH_malloc(size_t s) { return ZSTD_malloc(s); }
# 1456| static void XXH_free (void* p) { ZSTD_free(p); }
# 1457|-> static void* XXH_memcpy(void* dest, const void* src, size_t size) { return ZSTD_memcpy(dest,src,size); }
# 1458|
# 1459|
Error: CLANG_WARNING:
zstd-1.5.5/programs/benchzstd.c:42: included_from: Included from here.
zstd-1.5.5/lib/common/xxhash.h:2450:16: warning[core.NullDereference]: Dereference of null pointer
# 2448| }
# 2449| while (len > 0) {
# 2450|-> h64 ^= (*ptr++) * XXH_PRIME64_5;
# 2451| h64 = XXH_rotl64(h64, 11) * XXH_PRIME64_1;
# 2452| --len;
Error: CLANG_WARNING:
zstd-1.5.5/lib/compress/zstdmt_compress.c:251:5: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 249| DEBUGLOG(5, "ZSTDMT_releaseBuffer");
# 250| if (buf.start == NULL) return; /* compatible with release on NULL */
# 251|-> ZSTD_pthread_mutex_lock(&bufPool->poolMutex);
# 252| if (bufPool->nbBuffers < bufPool->totalBuffers) {
# 253| bufPool->bTable[bufPool->nbBuffers++] = buf; /* stored for later use */
Error: CLANG_WARNING:
zstd-1.5.5/lib/compress/zstdmt_compress.c:982:44: warning[core.NullDereference]: Dereference of null pointer
# 980| for (jobID=0; jobID <= mtctx->jobIDMask; jobID++) {
# 981| /* Copy the mutex/cond out */
# 982|-> ZSTD_pthread_mutex_t const mutex = mtctx->jobs[jobID].job_mutex;
# 983| ZSTD_pthread_cond_t const cond = mtctx->jobs[jobID].job_cond;
# 984|