Actions
Bug #10658
closedkiconv_ja: NULL pointer errors
Start date:
2019-04-01
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Description
Build error with NULL pointer:
../../common/kiconv/kiconv_ja/kiconv_ja.c: In function '_do_kiconvstr_fr_eucjp': ../../common/kiconv/kiconv_ja/kiconv_ja.c:529:33: error: comparison between pointer and integer [-Werror] if ((inbuf == NULL) || (*inbuf == NULL)) { ^~ ../../common/kiconv/kiconv_ja/kiconv_ja.c: In function '_do_kiconvstr_to_eucjp': ../../common/kiconv/kiconv_ja/kiconv_ja.c:679:33: error: comparison between pointer and integer [-Werror] if ((inbuf == NULL) || (*inbuf == NULL)) { ^~ ../../common/kiconv/kiconv_ja/kiconv_ja.c: In function '_do_kiconvstr_fr_sjis': ../../common/kiconv/kiconv_ja/kiconv_ja.c:1138:33: error: comparison between pointer and integer [-Werror] if ((inbuf == NULL) || (*inbuf == NULL)) { ^~ ../../common/kiconv/kiconv_ja/kiconv_ja.c: In function '_do_kiconvstr_to_sjis': ../../common/kiconv/kiconv_ja/kiconv_ja.c:1372:33: error: comparison between pointer and integer [-Werror] if ((inbuf == NULL) || (*inbuf == NULL)) { ^~ cc1: all warnings being treated as errors
Actions