OpenSMTPD b899a8b6

User:runner@fv-az92
Working Directory:/home/runner/work/OpenSMTPD/OpenSMTPD
Command Line:make
Clang Version:clang version 9.0.0-2~ubuntu18.04.2 (tags/RELEASE_900/final)
Date:Thu Feb 20 23:02:50 2020

Bug Summary

Bug TypeQuantityDisplay?
All Bugs31
API
Argument with 'nonnull' attribute passed null6
Dead store
Dead assignment1
Dead increment2
Logic error
Result of operation is garbage or undefined2
Uninitialized argument value1
Unix API3
Memory error
Memory leak3
Use-after-free6
Security
Return value is not checked in call to 'seteuid'7

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed nullsmtpd/mproc.cm_get_envelope6418View Report
APIArgument with 'nonnull' attribute passed nullsmtpd/table.cparse_sockaddr66515View Report
APIArgument with 'nonnull' attribute passed nullcontrib/libexec/mail.local/mail.local.cstoremail12918View Report
APIArgument with 'nonnull' attribute passed nullsmtpd/smtpctl.csrv_get_envelope30223View Report
APIArgument with 'nonnull' attribute passed nullcontrib/libexec/mail.local/mail.local.cstoremail14524View Report
APIArgument with 'nonnull' attribute passed nullsmtpd/mproc.cm_get_params66111View Report
Dead storeDead assignmentsmtpd/lka_filter.clka_filter_register_hook4181View Report
Dead storeDead incrementcontrib/libexec/mail.local/mail.local.cmain881View Report
Dead storeDead incrementsmtpd/proxy.cproxy_io2081View Report
Memory errorMemory leakcontrib/libexec/mail.local/mail.local.cstoremail14533View Report
Memory errorMemory leaksmtpd/ssl.cssl_load_pkey40432View Report
Memory errorMemory leaksmtpd/ssl.cssl_load_pkey40432View Report
Logic errorResult of operation is garbage or undefinedsmtpd/mda.cmda_imsg1619View Report
Logic errorResult of operation is garbage or undefinedsmtpd/smtpd.cimsg_dispatch18887View Report
SecurityReturn value is not checked in call to 'seteuid'contrib/libexec/mail.local/locking.cgetlock791View Report
SecurityReturn value is not checked in call to 'seteuid'contrib/libexec/mail.local/locking.cgetlock911View Report
SecurityReturn value is not checked in call to 'seteuid'contrib/libexec/mail.local/locking.cgetlock1201View Report
SecurityReturn value is not checked in call to 'seteuid'contrib/libexec/mail.local/locking.cgetlock1311View Report
SecurityReturn value is not checked in call to 'seteuid'contrib/libexec/mail.local/locking.cgetlock1101View Report
SecurityReturn value is not checked in call to 'seteuid'contrib/libexec/mail.local/locking.cgetlock931View Report
SecurityReturn value is not checked in call to 'seteuid'contrib/libexec/mail.local/locking.cgetlock1221View Report
Logic errorUninitialized argument valuesmtpd/lka_session.clka_submit54921View Report
Logic errorUnix APIsmtpd/table.ctable_parse_lookup56014View Report
Logic errorUnix APIsmtpd/smtp_session.csmtp_check_rcpt_to159233View Report
Logic errorUnix APIsmtpd/smtp_session.csmtp_check_mail_from154033View Report
Memory errorUse-after-freeopenbsd-compat/imsg-buffer.cmsgbuf_clear22314View Report
Memory errorUse-after-freesmtpd/bounce.cbounce_delivery61923View Report
Memory errorUse-after-freeopenbsd-compat/imsg.cimsg_get_fd30613View Report
Memory errorUse-after-freesmtpd/expand.cexpand_clear11921View Report
Memory errorUse-after-freesmtpd/expand.cexpand_clear11921View Report
Memory errorUse-after-freesmtpd/mta.cmta_on_timeout131344View Report