zstd icon indicating copy to clipboard operation
zstd copied to clipboard

cpp check errors

Open Crow-Control opened this issue 6 years ago • 3 comments

Hi, While checking the ZSTD library for use in ZFS, I got 2 cppcheck errors.

This might be worthwhile to have documented in an issue and/or fixed:

[contrib/zstd/compress/zstd_double_fast.c:99]: (error) Pointer addition with NULL pointer.
[contrib/zstd/compress/zstd_lazy.c:663]: (error) Pointer addition with NULL pointer.

Crow-Control avatar Dec 16 '19 21:12 Crow-Control

Hi @Ornias1993, what version of Zstd are you working with? I believe @terrelln fixed this with #1903. Do you have the same issue with the current dev branch?

felixhandte avatar Dec 16 '19 21:12 felixhandte

Sorry, totally forgot to add the version: 1.4.4 on Debian 10

If 1903 is next version, you can close this :)

(any hint when next version is planned btw?)

Crow-Control avatar Dec 16 '19 21:12 Crow-Control

Checked, 1903 is not in 1.4.4... Closing this! :)

Crow-Control avatar Dec 16 '19 21:12 Crow-Control