Hello,

I analyzed postfix using cppcheck and I would like to submit patches.
how can I do that ?


[src/milter/milter.c:778] -> [src/milter/milter.c:805]: (warning) Either
the condition 'milters!=0' is redundant or there is possible null pointer
dereference: milters.
[src/milter/test-milter.c:549]: (warning) sscanf() without field width
limits can crash with huge input data.
[src/posttls-finger/posttls-finger.c:878]: (warning) Redundant assignment
of 'stream' to itself.
[src/smtp/smtp_sasl_auth_cache.c:212]: (warning) sscanf() without field
width limits can crash with huge input data.
[src/smtpd/smtpd_check.c:3337] -> [src/smtpd/smtpd_check.c:3338]: (warning)
Either the condition '(rbl)==0' is redundant or there is possible null
pointer dereference: rbl.
[src/smtpd/smtpd_check.c:3337] -> [src/smtpd/smtpd_check.c:3339]: (warning)
Either the condition '(rbl)==0' is redundant or there is possible null
pointer dereference: rbl.
[src/smtpd/smtpd_check.c:3337] -> [src/smtpd/smtpd_check.c:3340]: (warning)
Either the condition '(rbl)==0' is redundant or there is possible null
pointer dereference: rbl.
[src/smtpd/smtpd_check.c:3337] -> [src/smtpd/smtpd_check.c:3341]: (warning)
Either the condition '(rbl)==0' is redundant or there is possible null
pointer dereference: rbl.
[src/smtpd/smtpd_sasl_glue.c:233]: (warning) Redundant assignment of
'tls_flag' to itself.
[src/tlsproxy/tlsproxy.c:811]: (warning) Redundant assignment of
'cipher_grade' to itself.
[src/tlsproxy/tlsproxy.c:1195]: (warning) Redundant assignment of
'cert_file' to itself.
[src/util/dict_tcp.c:227] -> [src/util/dict_tcp.c:241]: (warning) Either
the condition 'start' is redundant or there is possible null pointer
dereference: start.
[src/util/gccw.c:42]: (warning) %s in format string (no. 1) requires 'char
*' but the argument type is 'signed int'.
[src/util/gccw.c:46]: (warning) printf format string requires 1 parameter
but 2 are given.


cheers,
Ilya Shipitsin

Reply via email to