Hi

still happy that the current snapshots seems to running fine, not too
much testing (native replies, handling of list/bulk-headers) but overall
fine and no crashes at all

http://git.dbmail.eu/paul/dbmail/commit/?id=c1ac6b05e328b95963e4b9e131ad4af4c660f58a

attached i have filtered compiler-warnings of my last build
maybe they are hints of hidden bugs, maybe not, however - reported :-)

below details of my test-environment
_____________________________________________________

* Fedora 18 x86_64 / Kernel 3.9.7
* gcc-4.7.2-8.fc18.x86_64
* libtool-2.4.2-7.fc18.x86_64
* gmime-devel-2.6.12-1.fc18.x86_64
* openssl-devel-1.0.1e-4.fc18.x86_64
* glib2-devel-2.34.2-2.fc18.x86_64
* mhash-devel-0.9.9.9-6.fc18.x86_64
* libsieve-devel-2.2.7-6.fc18.x86_64
* libzdb-devel-2.8.1-3.fc18.x86_64
* libevent-devel-2.0.21-4.fc18.20130612.rh.x86_64
* jemalloc-devel-3.4.0-1.fc18.x86_64

export CFLAGS="%{optflags} -fPIC -fPIE -funroll-loops -fstack-protector-all 
-I%{_includedir}/zdb"
export CXXFLAGS="%{optflags} -fPIC -fPIE -funroll-loops -fstack-protector-all 
-I%{_includedir}/zdb"
export LDFLAGS="-Wl,-z,now -Wl,-z,relro,-z,noexecstack -pie"
export SH_LDFLAGS="-Wl,-z,now -Wl,-z,relro,-z,noexecstack -pie"

./configure --disable-static \
 --enable-shared \
 --with-pic \
 --without-ldap \
 --with-sieve \
 --with-jemalloc=/usr \
 --enable-manpages
sortsieve.c:206:12: warning: variable 'mime' set but not used 
[-Wunused-but-set-variable]
sortsieve.c:264:17: warning: variable 'options' set but not used 
[-Wunused-but-set-variable]
sortsieve.c:263:6: warning: variable 'importance' set but not used 
[-Wunused-but-set-variable]
sortsieve.c:261:35: warning: variable 'method' set but not used 
[-Wunused-but-set-variable]
sortsieve.c:261:14: warning: variable 'message' set but not used 
[-Wunused-but-set-variable]
dbmail-mailbox.c:1072:11: warning: variable 'i' set but not used 
[-Wunused-but-set-variable]
dbmail-message.c:339:44: warning: variable 'key' set but not used 
[-Wunused-but-set-variable]
dbmail-message.c:339:28: warning: variable 'order' set but not used 
[-Wunused-but-set-variable]
dbmail-message.c:2647:6: warning: the address of 'val' will always evaluate as 
'true' [-Waddress]
dbmail-message.c:2649:11: warning: the address of 'val' will always evaluate as 
'true' [-Waddress]
dm_db.c:55:7: warning: variable 'p' set but not used [-Wunused-but-set-variable]
dm_misc.c:2301:7: warning: the address of 'hash_algorithm' will always evaluate 
as 'true' [-Waddress]
dm_misc.c:2303:12: warning: the address of 'hash_algorithm' will always 
evaluate as 'true' [-Waddress]
dm_misc.c:2305:12: warning: the address of 'hash_algorithm' will always 
evaluate as 'true' [-Waddress]
dm_misc.c:2307:12: warning: the address of 'hash_algorithm' will always 
evaluate as 'true' [-Waddress]
dm_misc.c:2309:12: warning: the address of 'hash_algorithm' will always 
evaluate as 'true' [-Waddress]
dm_misc.c:2311:12: warning: the address of 'hash_algorithm' will always 
evaluate as 'true' [-Waddress]
dbmail-message.c:1229:24: warning: 'r' may be used uninitialized in this 
function [-Wmaybe-uninitialized]
dm_db.c:1910:24: warning: variable 'mailbox_like' might be clobbered by 
'longjmp' or 'vfork' [-Wclobbered]
../src/mpool/mpool.c:1414:48: warning: variable 'fence' set but not used 
[-Wunused-but-set-variable]
../src/mpool/mpool.c:1414:28: warning: variable 'new_size' set but not used 
[-Wunused-but-set-variable]
../src/mpool/mpool.c:59:14: warning: 'version' defined but not used 
[-Wunused-variable]
dm_misc.c:1691:7: warning: 's' may be used uninitialized in this function 
[-Wmaybe-uninitialized]
dm_string.c:154:2: warning: comparison of unsigned expression >= 0 is always 
true [-Wtype-limits]
dm_misc.c:1634:7: warning: 's' may be used uninitialized in this function 
[-Wmaybe-uninitialized]
dm_db.c:2460:24: warning: variable 'mailbox_like' might be clobbered by 
'longjmp' or 'vfork' [-Wclobbered]
server.c:539:38: warning: unused parameter 'event' [-Wunused-parameter]
server.c:253:13: warning: '_cb_log_event' defined but not used 
[-Wunused-function]
clientbase.c:453:14: warning: variable 'user' might be clobbered by 'longjmp' 
or 'vfork' [-Wclobbered]
authmodule.c:163:2: warning: passing argument 2 of 'auth->validate' discards 
'const' qualifier from pointer target type [enabled by default]
authmodule.c:163:2: warning: passing argument 3 of 'auth->validate' discards 
'const' qualifier from pointer target type [enabled by default]
authmodule.c:61:37: warning: array subscript is above array bounds 
[-Warray-bounds]
imap4.c:164:26: warning: unused parameter 'fd' [-Wunused-parameter]
imap4.c:164:36: warning: unused parameter 'what' [-Wunused-parameter]
imap4.c:221:25: warning: unused parameter 'fd' [-Wunused-parameter]
user.c:357:9: warning: ignoring return value of 'fgets', declared with 
attribute warn_unused_result [-Wunused-result]
dbmail-imapsession.c:1132:12: warning: 'bodyoffset' may be used uninitialized 
in this function [-Wmaybe-uninitialized]
dbmail-imapsession.c:1068:12: warning: 'size' may be used uninitialized in this 
function [-Wmaybe-uninitialized]

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to