]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
global: Added uchar_empty_ptr and use it instead of &uchar_nul.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 19 Aug 2016 10:15:09 +0000 (13:15 +0300)
committerGitLab <gitlab@git.dovecot.net>
Tue, 23 Aug 2016 10:53:38 +0000 (13:53 +0300)
commit5965eaa2d972e6264cecaf54091cd43019bc7d1f
treed8488c9c8d0c5b5d3da0f70925f736ecb23ff747
parent72e25ec1e51eeeaf038584835171fcad0203497f
global: Added uchar_empty_ptr and use it instead of &uchar_nul.

This makes Coverity happier about not treating a char as an array.
For now this is a pointer to a 0, but could as well become a pointer
that crashes if dereferenced. Shouldn't be NULL anyway because clang's
-fsanitize=nonnull-attribute will complain about them.
src/auth/auth-master-connection.c
src/auth/auth-request-handler.c
src/auth/auth-request.c
src/auth/mech.c
src/auth/userdb-static.c
src/lib-imap/imap-parser.c
src/lib-sasl/mech-login.c
src/lib/istream.c
src/lib/strfuncs.c
src/lib/strfuncs.h