naviserver - scan-build results (alpha checkers enabled)

User:isvv@SI-SAFE-VM
Working Directory:/home/isvv/naviserver
Command Line:make
Clang Version:clang version 15.0.0 (https://github.com/llvm/llvm-project.git b59f135f1602e52cb5cd57c03dd86fdd6b419f51)
Date:Sat Jul 23 13:09:58 2022

Bug Summary

Bug TypeQuantityDisplay?
All Bugs113
API
Argument with 'nonnull' attribute passed null1
Code clone
Exact code clone53
Logic error
Break out of jail18
Dereference of null pointer1
Out-of-bound array access13
Potential unintended use of sizeof() on pointer type1
Use fixed address11
Memory error
Memory leak1
Use of invalidated pointer3
Security
Potential insecure temporary file in call 'mktemp'2
Unused code
Dead assignment2
Unreachable code7

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed nullnsd/queue.cNsConnThread218424View Report
Logic errorBreak out of jailnsd/nsmain.cNs_Main53738View Report
Logic errorBreak out of jailnsd/nsmain.cSetCwd139641View Report
Logic errorBreak out of jailnsd/nsmain.cNs_Main53538View Report
Logic errorBreak out of jailnsd/nsmain.cNs_Main53538View Report
Logic errorBreak out of jailnsd/nsmain.cSetCwd139539View Report
Logic errorBreak out of jailnsd/nsmain.cNs_Main56446View Report
Logic errorBreak out of jailnsd/nsmain.cNs_Main54538View Report
Logic errorBreak out of jailnsd/nsmain.cNs_Main55140View Report
Logic errorBreak out of jailnsd/nsmain.cSetCwd139641View Report
Logic errorBreak out of jailnsd/nsmain.cSetCwd139843View Report
Logic errorBreak out of jailnsd/nsmain.cNs_Main56344View Report
Logic errorBreak out of jailnsd/nsmain.cSetCwd140446View Report
Logic errorBreak out of jailnsd/nsmain.cSetCwd140146View Report
Logic errorBreak out of jailnsd/nsmain.cSetCwd139641View Report
Logic errorBreak out of jailnsd/nsmain.cNs_Main55242View Report
Logic errorBreak out of jailnsd/nsmain.cNs_Main53538View Report
Logic errorBreak out of jailnsd/nsmain.cSetCwd139339View Report
Logic errorBreak out of jailnsd/nsmain.cSetCwd139944View Report
Unused codeDead assignmentnsthread/rwlock.cNs_RWLockRdLock3481View Report
Unused codeDead assignmentnsthread/rwlock.cNs_RWLockWrLock4051View Report
Logic errorDereference of null pointernsd/tclmisc.cNsTclCrashObjCmd9142View Report
Code cloneExact code clonensdb/dbtcl.cunknown6372View Report
Code cloneExact code clonensd/nsmain.cunknown2273View Report
Code cloneExact code clonensd/conn.cunknown12582View Report
Code cloneExact code clonensd/tclhttp.cunknown38622View Report
Code cloneExact code clonensd/tclmisc.cunknown18312View Report
Code cloneExact code clonensd/url.cunknown8082View Report
Code cloneExact code clonensproxy/nsproxylib.cunknown17602View Report
Code cloneExact code clonensd/tclmisc.cunknown11862View Report
Code cloneExact code clonensd/tclmisc.cunknown5912View Report
Code cloneExact code clonensdb/dbtcl.cunknown7202View Report
Code cloneExact code clonensproxy/nsproxylib.cunknown14192View Report
Code cloneExact code clonensd/tclcrypto.cunknown6452View Report
Code cloneExact code clonensd/queue.cunknown9042View Report
Code cloneExact code clonensproxy/nsproxylib.cunknown23152View Report
Code cloneExact code clonensd/nsmain.cunknown2332View Report
Code cloneExact code clonensd/url.cunknown8002View Report
Code cloneExact code clonensd/tclmisc.cunknown18142View Report
Code cloneExact code clonensd/tclmisc.cunknown11602View Report
Code cloneExact code clonensd/cookies.cunknown6692View Report
Code cloneExact code clonensd/url.cunknown2962View Report
Code cloneExact code clonensd/binder.cunknown11712View Report
Code cloneExact code clonensd/queue.cunknown8372View Report
Code cloneExact code clonensd/url.cunknown1512View Report
Code cloneExact code clonensd/tclhttp.cunknown29222View Report
Code cloneExact code clonensd/httptime.cunknown1912View Report
Code cloneExact code clonensthread/time.cunknown1882View Report
Code cloneExact code clonensd/tclxkeylist.cunknown10792View Report
Code cloneExact code clonensd/tclmisc.cunknown12072View Report
Code cloneExact code clonensd/url.cunknown1272View Report
Code cloneExact code cloneperm/nsperm.cunknown9792View Report
Code cloneExact code clonensd/tclparsefieldvalue.cunknown932View Report
Code cloneExact code clonensd/tclhttp.cunknown46462View Report
Code cloneExact code clonenslog/nslog.cunknown4862View Report
Code cloneExact code clonenslog/nslog.cunknown9942View Report
Code cloneExact code clonensd/tclmisc.cunknown17972View Report
Code cloneExact code clonensd/sched.cunknown11312View Report
Code cloneExact code clonensd/driver.cunknown25002View Report
Code cloneExact code clonensd/tclhttp.cunknown6782View Report
Code cloneExact code clonenslog/nslog.cunknown7162View Report
Code cloneExact code clonensd/connchan.cunknown11092View Report
Code cloneExact code clonensd/tclmisc.cunknown17802View Report
Code cloneExact code clonensd/tclmisc.cunknown11652View Report
Code cloneExact code clonensd/tclhttp.cunknown26822View Report
Code cloneExact code clonensd/conn.cunknown12112View Report
Code cloneExact code clonensd/binder.cunknown8072View Report
Code cloneExact code clonensdb/dbtcl.cunknown6042View Report
Code cloneExact code clonensd/tclmisc.cunknown11442View Report
Code cloneExact code clonensd/tcltime.cunknown4852View Report
Code cloneExact code clonensd/tclmisc.cunknown13952View Report
Code cloneExact code clonensd/quotehtml.cunknown3512View Report
Code cloneExact code clonensproxy/nsproxylib.cunknown21942View Report
Code cloneExact code clonensd/tclinit.cunknown23632View Report
Code cloneExact code clonensproxy/nsproxylib.cunknown19722View Report
Memory errorMemory leaknsd/tclenv.cPutEnv36520View Report
Logic errorOut-of-bound array accessnsd/binder.cPrebindCloseSockets27311View Report
Logic errorOut-of-bound array accessnsd/binder.cPrebindGet20934View Report
Logic errorOut-of-bound array accessnsd/form.cParseMultipartEntry61734View Report
Logic errorOut-of-bound array accessnsd/auth.cNsParseAuth33715View Report
Logic errorOut-of-bound array accessnsd/tclcallbacks.cNs_TclNewCallback9815View Report
Logic errorOut-of-bound array accessnsd/adpeval.cAdpExec114168View Report
Logic errorOut-of-bound array accessnsd/index.cNs_IndexFindMultiple32210View Report
Logic errorOut-of-bound array accessnsd/driver.cSockParse436455View Report
Logic errorOut-of-bound array accessnsd/binder.cPrebindAlloc12539View Report
Logic errorOut-of-bound array accessnsd/binder.cPrebindGet22038View Report
Logic errorOut-of-bound array accessnsd/connio.cNs_ConnReadLine104612View Report
Logic errorOut-of-bound array accessnsd/adpeval.cFreeObjs13768View Report
Logic errorOut-of-bound array accessnsd/driver.cDriverLookupHost468541View Report
SecurityPotential insecure temporary file in call 'mktemp'nsd/tclfile.cNsTclMkTempObjCmd2791View Report
SecurityPotential insecure temporary file in call 'mktemp'nsd/tclfile.cNsTclMkTempObjCmd2721View Report
Logic errorPotential unintended use of sizeof() on pointer typensd/proc.cAllocFuncptrEntry1371View Report
Unused codeUnreachable codensthread/rwlock.cNs_RWLockWrLock4141View Report
Unused codeUnreachable codensd/url2file.cNsTclRegisterFastUrl2FileObjCmd5381View Report
Unused codeUnreachable codensthread/pthread.cThreadMain8711View Report
Unused codeUnreachable codensthread/rwlock.cNs_RWLockRdLock3571View Report
Unused codeUnreachable codensd/tclsched.cNsTclSchedDailyObjCmd2381View Report
Unused codeUnreachable codensthread/pthread.cNsLockSet2721View Report
Unused codeUnreachable codensd/tclsched.cNsTclSchedWeeklyObjCmd2951View Report
Logic errorUse fixed addressnsthread/tls.cNs_TlsAlloc863View Report
Logic errorUse fixed addressnsd/tclobj.cNsTclInitAddrType1043View Report
Logic errorUse fixed addressnsd/log.cNsInitLog2862View Report
Logic errorUse fixed addressnsd/encoding.cLoadEncoding66518View Report
Logic errorUse fixed addressnsd/binder.cPrebindSockets107332View Report
Logic errorUse fixed addressnsproxy/nsproxylib.cGetObjCmd250118View Report
Logic errorUse fixed addressnsd/tclobjv.cObjvTclArgs17145View Report
Logic errorUse fixed addressnsdb/dbinit.cIncrCount157212View Report
Logic errorUse fixed addressnsd/encoding.cLoadEncoding66916View Report
Logic errorUse fixed addressnsd/log.cNs_AddLogFilter8484View Report
Logic errorUse fixed addressnsd/tclobjv.cObjvTcl16714View Report
Memory errorUse of invalidated pointernsd/nsmain.cNs_Main62844View Report
Memory errorUse of invalidated pointernsd/nsmain.cNs_Main63246View Report
Memory errorUse of invalidated pointernsd/nsmain.cNs_Main63746View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Crashnsd/tls.cclang_crash_1kPfZD.iclang_crash_1kPfZD.i.stderr.txt

Please consider submitting preprocessed files as bug reports.