Actions
Bug #10786
closedmd4: NULL pointer errors
Start date:
2019-04-14
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
NULL pointer errors:
In file included from ../../common/sys/param.h:48:0, from ../../common/sys/t_lock.h:38, from ../../common/sys/systm.h:39, from ../../common/crypto/io/md4_mod.c:38: ../../common/sys/null.h:32:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion] #define NULL ((void *)0) ^ ../../common/crypto/io/md4_mod.c:157:55: note: in expansion of macro 'NULL' static crypto_kcf_provider_handle_t md4_prov_handle = NULL; ^~~~ ../../common/crypto/io/md4_mod.c: In function '_fini': ../../common/crypto/io/md4_mod.c:180:22: error: comparison between pointer and integer [-Werror] if (md4_prov_handle != NULL) { ^~ ../../common/crypto/io/md4_mod.c:184:19: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] md4_prov_handle = NULL; ^ cc1: all warnings being treated as errors
Actions