gsasl - scan-build results

User:root@runner-zxwgkjap-project-37139302-concurrent-0
Working Directory:/builds/gsasl/gsasl
Command Line:make V=1
Clang Version:clang version 20.1.3 (Fedora 20.1.3-1.fc42)
Date:Thu May 1 23:09:29 2025

Bug Summary

Bug TypeQuantityDisplay?
All Bugs27
API
Argument with 'nonnull' attribute passed null4
Logic error
Dereference of null pointer3
Result of operation is garbage or undefined1
Memory error
Memory leak9
Stream handling error
Invalid stream state3
Resource leak4
Unused code
Dead assignment2
Dead increment1

Filter Results by File

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed nulllib/gl/vasnprintf.cvasnprintf298435View Report
APIArgument with 'nonnull' attribute passed nulllib/gl/vasnprintf.cvasnprintf356056View Report
APIArgument with 'nonnull' attribute passed nullsrc/gsasl.cmain70759View Report
APIArgument with 'nonnull' attribute passed nulllib/gl/vasnprintf.cvasnprintf297945View Report
Unused codeDead assignmentexamples/openid20/smtp-server-openid20.ccallback2291View Report
Unused codeDead assignmentlib/scram/parser.cscram_parse_client_first2041View Report
Unused codeDead incrementlib/scram/parser.cscram_parse_client_first2051View Report
Logic errorDereference of null pointersrc/gsasl_cmd.cupdate_arg65220View Report
Logic errorDereference of null pointersrc/gsasl_cmd.cupdate_arg65550View Report
Logic errorDereference of null pointersrc/gsasl_cmd.cupdate_arg66024View Report
Stream handling errorInvalid stream stateexamples/smtp-server.cgettrimline9028View Report
Stream handling errorInvalid stream stateexamples/openid20/smtp-server-openid20.cserver_auth38136View Report
Stream handling errorInvalid stream stateexamples/openid20/smtp-server-openid20.csmtp45930View Report
Memory errorMemory leakexamples/saml20/smtp-server-saml20.ccallback13125View Report
Memory errorMemory leakexamples/openid20/smtp-server-openid20.ccallback26012View Report
Memory errorMemory leakexamples/openid20/smtp-server-openid20.cget_redirect_url18229View Report
Memory errorMemory leakexamples/openid20/smtp-server-openid20.ccallback22136View Report
Memory errorMemory leakexamples/saml20/smtp-server-saml20.ccallback22316View Report
Memory errorMemory leakexamples/openid20/smtp-server-openid20.ccallback27310View Report
Memory errorMemory leakexamples/saml20/smtp-server-saml20.ccallback10214View Report
Memory errorMemory leakexamples/openid20/smtp-server-openid20.cget_redirect_url19332View Report
Memory errorMemory leaksrc/gsasl.cmain116089View Report
Stream handling errorResource leakexamples/openid20/smtp-server-openid20.cget_redirect_url19333View Report
Stream handling errorResource leakexamples/openid20/smtp-server-openid20.ccallback29619View Report
Stream handling errorResource leaklib/src/md5pwd.cgsasl_simple_getpass7516View Report
Stream handling errorResource leakexamples/saml20/smtp-server-saml20.ccallback13126View Report
Logic errorResult of operation is garbage or undefinedlib/gl/malloca.cmmalloca7210View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Other Errorlib/gl/sha256.cclang_other_error_IQJcNA.iclang_other_error_IQJcNA.i.stderr.txt
Other Errorlib/gl/md5.cclang_other_error_SQmsHP.iclang_other_error_SQmsHP.i.stderr.txt
Other Errorlib/gl/md5.cclang_other_error_ZpVPpN.iclang_other_error_ZpVPpN.i.stderr.txt
Other Errorlib/gl/sha256.cclang_other_error_cE8eqo.iclang_other_error_cE8eqo.i.stderr.txt
Other Errorlib/gl/sha1.cclang_other_error_tsj6Go.iclang_other_error_tsj6Go.i.stderr.txt
Other Errorlib/gl/sha1.cclang_other_error_wKJfTg.iclang_other_error_wKJfTg.i.stderr.txt

Please consider submitting preprocessed files as bug reports.