firefox-scan-build - scan-build results

User:jenkins@ip-172-31-3-76
Working Directory:/var/lib/jenkins/workspace/firefox-scan-build
Command Line:./mach --log-no-times build
Clang Version:Debian clang version 18.0.0 (++20240123100859+dc410f94f602-1~exp1~20240123221021.1839)
Date:Thu Apr 18 05:00:37 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs213
API
Argument with 'nonnull' attribute passed null3
C++ move semantics
Use-after-move1
Logic error
Assigned value is garbage or undefined1
Branch condition evaluates to a garbage value5
Called C++ object pointer is null6
Called C++ object pointer is uninitialized3
Dereference of null pointer8
Dereference of undefined pointer value2
Garbage return value1
Result of operation is garbage or undefined5
Uninitialized argument value5
Unix API4
Memory error
Bad deallocator3
Double free3
Memory leak4
Use-after-free3
Performance
Excessive Padding18
Suspicious operation
Bitwise shift2
Unused code
Dead assignment72
Dead increment14
Dead initialization46
Dead nested assignment4

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length Description
APIArgument with 'nonnull' attribute passed nullvar/lib/jenkins/workspace/firefox-scan-build/mfbt/lz4/lz4frame.cLZ4F_updateDict152244Null pointer passed to 2nd parameter expecting 'nonnull'View Report
APIArgument with 'nonnull' attribute passed nullvar/lib/jenkins/workspace/firefox-scan-build/mfbt/lz4/lz4frame.cLZ4F_updateDict153144Null pointer passed to 2nd parameter expecting 'nonnull'View Report
APIArgument with 'nonnull' attribute passed nullvar/lib/jenkins/workspace/firefox-scan-build/config/pathsub.cino2name9413Null pointer passed to 1st parameter expecting 'nonnull'View Report
Logic errorAssigned value is garbage or undefinedvar/lib/jenkins/workspace/firefox-scan-build/dom/bindings/PrimitiveConversions.hValueToPrimitive32230Assigned value is garbage or undefinedView Report
Memory errorBad deallocatorvar/lib/jenkins/workspace/firefox-scan-build/gfx/2d/RecordedEventImpl.h~RecordedFontData389220Memory allocated by malloc() should be deallocated by free(), not 'delete[]'View Report
Memory errorBad deallocatorvar/lib/jenkins/workspace/firefox-scan-build/gfx/2d/RecordedEventImpl.h~RecordedSourceSurfaceCreation344526Memory allocated by malloc() should be deallocated by free(), not 'delete[]'View Report
Memory errorBad deallocatorvar/lib/jenkins/workspace/firefox-scan-build/mfbt/UniquePtr.hoperator()47212Memory allocated by malloc() should be deallocated by free(), not 'delete[]'View Report
Suspicious operationBitwise shiftvar/lib/jenkins/workspace/firefox-scan-build/mfbt/HashTable.hhash1173068The result of right shift is undefined because the right operand '32' is not smaller than 32, the capacity of 'HashNumber'View Report
Suspicious operationBitwise shiftvar/lib/jenkins/workspace/firefox-scan-build/js/src/irregexp/imported/regexp-compiler.ccRationalize143557The result of left shift is undefined because the right operand '32' is not smaller than 32, the capacity of 'uint32_t'View Report
Logic errorBranch condition evaluates to a garbage valuevar/lib/jenkins/workspace/firefox-scan-build/mozglue/baseprofiler/public/BaseProfilerLabels.h~AutoProfilerLabel15724Branch condition evaluates to a garbage valueView Report
Logic errorBranch condition evaluates to a garbage valuevar/lib/jenkins/workspace/firefox-scan-build/mfbt/HashTable.h~HashTable172437Branch condition evaluates to a garbage valueView Report
Logic errorBranch condition evaluates to a garbage valuevar/lib/jenkins/workspace/firefox-scan-build/mfbt/Maybe.h~MaybeStorage27335Branch condition evaluates to a garbage valueView Report
Logic errorBranch condition evaluates to a garbage valuevar/lib/jenkins/workspace/firefox-scan-build/tools/profiler/public/ProfilerLabels.h~AutoProfilerLabel25932Branch condition evaluates to a garbage valueView Report
Logic errorBranch condition evaluates to a garbage valuevar/lib/jenkins/workspace/firefox-scan-build/mfbt/RefPtr.h~RefPtr7924Branch condition evaluates to a garbage valueView Report
Logic errorCalled C++ object pointer is nullvar/lib/jenkins/workspace/firefox-scan-build/mfbt/HashTable.hget115646Called C++ object pointer is nullView Report
Logic errorCalled C++ object pointer is nullvar/lib/jenkins/workspace/firefox-scan-build/mfbt/HashTable.hoperator*130620Called C++ object pointer is nullView Report
Logic errorCalled C++ object pointer is nullvar/lib/jenkins/workspace/firefox-scan-build/mfbt/HashTable.hoperator->131419Called C++ object pointer is nullView Report
Logic errorCalled C++ object pointer is nullvar/lib/jenkins/workspace/firefox-scan-build/dom/base/nsContentUtils.cppNewXULOrHTMLElement1005829Called C++ object pointer is nullView Report
Logic errorCalled C++ object pointer is nullvar/lib/jenkins/workspace/firefox-scan-build/dom/base/nsContentUtils.cppNewXULOrHTMLElement1009829Called C++ object pointer is nullView Report
Logic errorCalled C++ object pointer is nullvar/lib/jenkins/workspace/firefox-scan-build/layout/base/nsRefreshDriver.cppEnsureTimerStarted188617Called C++ object pointer is nullView Report
Logic errorCalled C++ object pointer is uninitializedvar/lib/jenkins/workspace/firefox-scan-build/gfx/gl/GLContextProviderGLX.cppoperator()34522Called C++ object pointer is uninitializedView Report
Logic errorCalled C++ object pointer is uninitializedvar/lib/jenkins/workspace/firefox-scan-build/js/src/threading/LockGuard.h~LockGuard2510Called C++ object pointer is uninitializedView Report
Logic errorCalled C++ object pointer is uninitializedvar/lib/jenkins/workspace/firefox-scan-build/js/src/vm/Realm-inl.h~AutoRealm7125Called C++ object pointer is uninitializedView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/reputationservice/ApplicationReputation.cppDoLookupInternal14361Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/ipc/glue/BackgroundUtils.cppLoadInfoToLoadInfoArgs5271Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheFileContextEvictor.cppLoadEvictInfoFromDisk3481Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheFileIOManager.cppDoomFileInternal22961Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheFileIOManager.cppOnProfile13421Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheFileIOManager.cppOnProfile13471Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheFileIOManager.cppRemoveTrashInternal36161Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheIndex.cppParseJournal23981Value stored to 'pos' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheIndex.cppParseRecords22711Value stored to 'pos' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/cache2/CacheStorageService.cppCheckStorageEntry17001Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/url-classifier/Classifier.cppSwapDirectoryContent5491Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/url-classifier/Classifier.cppSwapDirectoryContent5501Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/js/src/debugger/Debugger.cppsweepAll40731Value stored to 'dbg' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/places/FaviconHelpers.cppFetchIconPerSpec4241Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/protocol/http/HttpBaseChannel.cppTimingAllowCheck54551Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/base/Location.cppGetHost1901Value stored to 'result' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/base/Location.cppGetSearch5051Value stored to 'result' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/notification/Notification.cppRun5411Value stored to 'blocked' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/media/ogg/OggDemuxer.cppSeekBisection20571Value stored to 'mustBackoff' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/protocol/http/OpaqueResponseUtils.hDetermineContentType1901Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/gfx/vr/service/OpenVRSession.cppGetControllerHandFromControllerRole1211Value stored to 'hand' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/media/encoder/OpusTrackEncoder.cppEncode4011Value stored to 'result' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/payments/PaymentRequestService.cppRequestPayment3371Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/payments/PaymentRequestService.cppShowPayment5641Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/modules/libpref/Preferences.cppReadSavedPrefs43821Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/modules/libpref/Preferences.cppReadUserOverridePrefs44041Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/prototype/PrototypeDocumentContentSink.cppLoadScript7581Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/prototype/PrototypeDocumentContentSink.cppLoadScript7361Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/prototype/PrototypeDocumentContentSink.cppOnScriptCompileComplete9131Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/js/src/jit/RangeAnalysis.cppdump4821Value stored to 'first' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/startupcache/StartupCache.cppInit1891Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/dns/TRR.cppSendHTTPRequest2631Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/antitracking/URLQueryStringStripper.cppURLQueryStringStripper701Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/gfx/vr/ipc/VRManagerChild.cppUpdateDisplayInfo1781Value stored to 'found' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/gfx/layers/wr/WebRenderLayerManager.cppEndTransactionWithoutLayer3711Value stored to 'builderDumpIndex' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/gfx/layers/wr/WebRenderLayerManager.cppEndTransactionWithoutLayer3791Value stored to 'builderDumpIndex' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/protocol/websocket/WebSocketChannel.cppHandleExtensions26781Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/js/xpconnect/src/XPCShellImpl.cppGetLocationProperty1931Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/extensions/spellcheck/hunspell/glue/mozHunspell.cppLoadDictionaryList2461Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/storage/mozStorageAsyncStatementExecution.cppexecuteStatement2361Value stored to 'busyRetry' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/storage/mozStorageConnection.cppinternalClose15441Value stored to 'srv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/base/nsAsyncRedirectVerifyHelper.cppRun2601Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/extensions/auth/nsAuthGSSAPI.cppLogGssError2351Value stored to 'ret' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/protocol/http/nsCORSListenerProxy.cppCheckRequestApproved6621Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/forms/nsDateTimeControlFrame.cppReflow1081Value stored to 'contentBoxBSize' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/docshell/base/nsDocShell.cppDisplayLoadError34421Value stored to 'error' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/docshell/base/nsDocShell.cppDisplayLoadError34461Value stored to 'error' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/serializers/nsDocumentEncoder.cppEncodeToStream14551Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/base/nsDocumentViewer.cppShow20811Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/base/nsFocusManager.cppGetSelectionLocation33111Value stored to 'startFrame' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/widget/gtk/nsGtkKeyUtils.cppHandleKeyPressEvent15541Value stored to 'handlingState' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/protocol/http/nsHttpChannel.cppOpenCacheInputStream45761Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/generic/nsIFrame.cppBuildDisplayListForStackingContext35761Value stored to 'createdContainer' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/generic/nsImageFrame.cppCreateWebRenderCommands24031Value stored to 'flags' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/generic/nsImageFrame.cppCreateWebRenderCommands1701Value stored to 'result' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/generic/nsImageFrame.cppPaint22951Value stored to 'result' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/netwerk/base/nsInputStreamPump.cppOnInputStreamReady4191Value stored to 'nextState' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/mathml/nsMathMLmmultiscriptsFrame.cppPlaceMultiScript4701Value stored to 'trySupScriptShift' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/xul/nsMenuPopupFrame.cppFindMenuWithShortcut20551Value stored to 'stringLength' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/security/manager/ssl/nsNTLMAuthModule.cppGenerateType1Msg3791Value stored to 'cursor' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/security/manager/ssl/nsNTLMAuthModule.cppGenerateType3Msg8641Value stored to 'cursor' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/places/nsNavHistory.cppRowToResult25891Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/xpcom/string/nsStringBuffer.cppRelease521Value stored to 'count' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/generic/nsSubDocumentFrame.cppGetSubdocumentPresShellForPainting2521Value stored to 'subdocView' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/layout/generic/nsSubDocumentFrame.cppGetSubdocumentPresShellForPainting2531Value stored to 'subdocRootFrame' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/profile/nsToolkitProfileService.cppCreateProfile19491Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/profile/nsToolkitProfileService.cppInit9901Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/url-classifier/nsUrlClassifierUtils.cppMakeFindFullHashRequestV45181Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/webbrowserpersist/nsWebBrowserPersist.cppSaveDocumentInternal16291Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/toolkit/xre/nsXREDirProvider.cppGetUserProfilesLocalDir2551Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/xul/nsXULPrototypeCache.cppGetPrototype1241Value stored to 'rv' is never readView Report
Unused codeDead assignmentvar/lib/jenkins/workspace/firefox-scan-build/config/nsinstall.cmain3171Value stored to 'tdlen' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/js/src/jit/BaselineIC.cppemitCall18081Value stored to 'valueOffset' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/js/src/frontend/BytecodeEmitter.cppemitEnvCoordOp8211Value stored to 'pc' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/js/src/vm/BytecodeUtil.cppDisassemble114861Value stored to 'pc2' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/js/src/vm/BytecodeUtil.cppparse8821Value stored to 'pc2' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/js/src/debugger/Script.cpppopulate12471Value stored to 'pc' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_mix_blend.hColorBurn7881Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_mix_blend.hColorDodge7731Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_mix_blend.hSoftLight8071Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_mix_blend_ALPHA_PASS.hColorBurn7881Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_mix_blend_ALPHA_PASS.hColorDodge7731Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_mix_blend_ALPHA_PASS.hSoftLight8071Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/cs_svg_filter.hColorBurn7771Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/cs_svg_filter.hColorDodge7621Value stored to 'ret_mask' is never readView Report
Unused codeDead incrementvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/cs_svg_filter.hSoftLight7961Value stored to 'ret_mask' is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/editor/libeditor/ChangeStyleTransaction.cppValueIncludes1001Value stored to 'end' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/js/src/jit/CodeGenerator.cppvisitIsNullOrLikeUndefinedAndBranchV118931Value stored to 'extractObject' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/places/Database.cppTryToCloneTablesFromCorruptDatabase8801Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/caps/ExpandedPrincipal.cppRead2121Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/netwerk/protocol/http/Http2Compression.cppDecodeHeaderBlock3911Value stored to 'preamble' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/js/src/jit/MIR.cppEvaluateConstantOperands2311Value stored to 'ret' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/js/src/jit/MIR.cppprintOpcode14841Value stored to 'name' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/js/src/jit/MIR.hgetExtras94731Value stored to 'what' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/dom/media/MediaManager.cppGetUserMedia26951Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/dom/file/ipc/RemoteLazyInputStream.cppDescribe2751Value stored to 'state' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/dom/reporting/ReportDeliver.cppSendReports1661Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/layout/svg/SVGTextFrame.cppDoAnchoring47501Value stored to 'end' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/dom/serviceworkers/ServiceWorkerScriptCache.cppOnStreamComplete10011Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/gfx/2d/SkConvolver.cppBGRAConvolve2D5021Value stored to 'filterValues' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/layout/style/StreamLoader.cppOnStopRequest1361Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/netwerk/dns/TRRQuery.cppDispatchLookup1201Value stored to 'rectype' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/toolkit/components/antitracking/URLDecorationStripper.cppStripTrackingIdentifiers261Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/tools/profiler/core/VTuneProfiler.cppInitialize231Value stored to 'testEvent' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/js/src/wasm/WasmIonCompile.cppswitchToCatch34831Value stored to 'exception' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/js/xpconnect/src/XPCShellImpl.cppGetLocationProperty1841Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_image_DEBUG_OVERDRAW_TEXTURE_2D.hbrush_vs5211Value stored to 'normalized_offset' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_image_DEBUG_OVERDRAW_TEXTURE_RECT.hbrush_vs5211Value stored to 'normalized_offset' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_image_TEXTURE_2D.hbrush_vs5211Value stored to 'normalized_offset' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_image_TEXTURE_RECT.hbrush_vs5211Value stored to 'normalized_offset' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_linear_gradient.hwrite_gradient_vertex4731Value stored to 'tile_repeat' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_linear_gradient_DEBUG_OVERDRAW.hwrite_gradient_vertex4731Value stored to 'tile_repeat' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_solid.hstep_interp_inputs6791Value stored to 'chunks' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_solid_ALPHA_PASS.hstep_interp_inputs6881Value stored to 'chunks' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_solid_DEBUG_OVERDRAW.hstep_interp_inputs6711Value stored to 'chunks' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/composite_FAST_PATH_TEXTURE_RECT.hmain741Value stored to 'texture_size' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/composite_TEXTURE_RECT.hmain811Value stored to 'texture_size' during its initialization is never readView Report
Unused codeDead initializationtmp/conftest.c_3hnvot.cppmain81Value stored to 'foo' during its initialization is never readView Report
Unused codeDead initializationtmp/conftest.ce9nzsc7.cppmain51Value stored to 'cs' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/cs_blur_ALPHA_TARGET.hfetch_render_task_rect3771Value stored to 'texel1' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/cs_blur_COLOR_TARGET.hfetch_render_task_rect3771Value stored to 'texel1' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/cs_svg_filter.hfetch_render_task_rect4091Value stored to 'texel1' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/extensions/spellcheck/src/mozEnglishWordUtils.cppFindNextWord421Value stored to 'startWord' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/dom/commandhandler/nsCommandManager.cppDoCommand1821Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/dom/commandhandler/nsCommandManager.cppGetCommandState1601Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/layout/generic/nsFrameSelection.cppMoveCaret8161Value stored to 'tHint' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/netwerk/protocol/http/nsHttpChannel.cppRedirectToInterceptedChannel102921Value stored to 'rv' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/layout/mathml/nsMathMLOperators.cppSetOperator1631Value stored to 'end' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/layout/mathml/nsMathMLmmultiscriptsFrame.cppPlaceMultiScript2581Value stored to 'trySupScriptShift' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/layout/mathml/nsMathMLmoFrame.cppProcessOperatorData2701Value stored to 'embellishAncestor' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/layout/tables/nsTableFrame.cppPeekBEnd42251Value stored to 'rg' during its initialization is never readView Report
Unused codeDead initializationvar/lib/jenkins/workspace/firefox-scan-build/widget/gtk/nsWindow.cppWaylandPopupFitsToplevelWindow21371Value stored to 'tmp' during its initialization is never readView Report
Unused codeDead nested assignmentvar/lib/jenkins/workspace/firefox-scan-build/accessible/generic/LocalAccessible.cppSelectedItemCount30111Although the value stored to 'selected' is used in the enclosing expression, the value is never actually read from 'selected'View Report
Unused codeDead nested assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/media/webaudio/blink/ReverbConvolver.cppbackgroundThreadEntry2301Although the value stored to 'readIndex' is used in the enclosing expression, the value is never actually read from 'readIndex'View Report
Unused codeDead nested assignmentvar/lib/jenkins/workspace/firefox-scan-build/dom/media/webrtc/transport/nr_socket_prsock.cpprecvfrom13351Although the value stored to 'r' is used in the enclosing expression, the value is never actually read from 'r'View Report
Unused codeDead nested assignmentvar/lib/jenkins/workspace/firefox-scan-build/parser/htmlparser/nsParser.cppTerminate3571Although the value stored to 'result' is used in the enclosing expression, the value is never actually read from 'result'View Report
Logic errorDereference of null pointervar/lib/jenkins/workspace/firefox-scan-build/dom/events/EventStateManager.cppDispatchCrossProcessEvent174817Access to field 'mMessage' results in a dereference of a null pointer (loaded from variable 'mouseEvent')View Report
Logic errorDereference of null pointervar/lib/jenkins/workspace/firefox-scan-build/mfbt/HashTable.hhasCollision119159Dereference of null pointer (loaded from field 'mKeyHash')View Report
Logic errorDereference of null pointervar/lib/jenkins/workspace/firefox-scan-build/js/src/frontend/Parser.cppnotePositionalFormalParameter58635Dereference of null pointer (loaded from variable 'duplicatedParam')View Report
Logic errorDereference of null pointervar/lib/jenkins/workspace/firefox-scan-build/js/public/RootingAPI.h~Rooted120536Dereference of null pointer (loaded from field 'stack')View Report
Logic errorDereference of null pointervar/lib/jenkins/workspace/firefox-scan-build/js/src/vm/Scope.hGetScopeDataTrailingNames26617Access to field 'length' results in a dereference of a null pointer (loaded from variable 'data')View Report
Logic errorDereference of null pointerusr/lib/llvm-18/lib/clang/18/include/emmintrin.h_mm_loadu_si128337314Access to field '__v' results in a dereference of a null pointer (loaded from variable '__p')View Report
Logic errorDereference of null pointervar/lib/jenkins/workspace/firefox-scan-build/modules/libmar/src/mar_read.cmar_find_item6826Access to field 'offset' results in a dereference of a null pointer (loaded from variable 'item')View Report
Logic errorDereference of null pointervar/lib/jenkins/workspace/firefox-scan-build/config/pathsub.cino2name9516Access to field 'd_ino' results in a dereference of a null pointer (loaded from variable 'ep')View Report
Logic errorDereference of undefined pointer valuevar/lib/jenkins/workspace/firefox-scan-build/js/public/RootingAPI.h~AutoGCRooter108126Dereference of undefined pointer value (loaded from field 'stackTop')View Report
Logic errorDereference of undefined pointer valuevar/lib/jenkins/workspace/firefox-scan-build/js/public/RootingAPI.h~Rooted120531Dereference of undefined pointer value (loaded from field 'stack')View Report
Memory errorDouble freevar/lib/jenkins/workspace/firefox-scan-build/ipc/glue/ByteBuf.h~ByteBuf6118Attempt to free released memoryView Report
Memory errorDouble freevar/lib/jenkins/workspace/firefox-scan-build/memory/mozalloc/cxxalloc.hoperator delete518Attempt to free released memoryView Report
Memory errorDouble freevar/lib/jenkins/workspace/firefox-scan-build/memory/mozalloc/cxxalloc.hoperator delete[]6010Attempt to free released memoryView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/js/src/gc/GCRuntime.hGCRuntime2671Excessive padding in 'class js::gc::GCRuntime' (82 padding bytes, where 2 is optimal). Optimal fields order: rt, numActiveZoneIters, queuePos, lastLastDitchTime, systemZone, sharedAtomsZone_, delayedMarkingList, markLaterArenas, helperThreadRatio, maxHelperThreads, helperThreadCount, maxMarkingThreads, markingThreadCount, maxParallelThreads, dispatchedParallelTasks, createBudgetCallback, nextCellUniqueId_, verifyPreData, lastGCStartTime_, lastGCEndTime_, initialized, minorGCNumber, majorGCNumber, number, sliceNumber, reservedMarkingThreads, sweepGroups, currentSweepGroup, sweepActions, sweepZone, foregroundFinalizedZone, zonesCompacted, relocatedArenasToRelease, markingValidator, defaultTimeBudgetMS_, maybeMarkStackLimit, inPageLoadCount, lastAllocRateUpdateTime, collectorTimeSinceAllocRateUpdate, permanentAtoms, permanentWellKnownSymbols, emptyChunks_, availableChunks_, fullChunks_, backgroundSweepZones, zonesToMaybeCompact, gcCallback, gcDoCycleCollectionCallback, tenuredCallback, hostCleanupFinalizationRegistryCallback, grayRootTracer, stringStats, heapSize, queuedParallelTasks, weakCachesToSweep, markers, sweepingTracer, rootsHash, buffersToFreeAfterMinorGC, cellsToAssertNotGray, atomMarking, testMarkQueue, mainThreadContext, zones_, selectedForMarking, lock, storeBufferLock, delayedMarkingLock, sweepTask, freeTask, decommitTask, maybeAtomsToSweep, lifoBlocksToFree, lifoBlocksToFreeAfterFullMinorGC, lifoBlocksToFreeAfterNextMinorGC, finalizeCallbacks, updateWeakPointerZonesCallbacks, updateWeakPointerCompartmentCallbacks, nurseryCollectionCallbacks, blackRootTracers, allocTask, markTask, unmarkTask, tunables, storeBuffer_, foregroundFinalizedArenas, nursery_, stats_, schedulingState, numArenasFreeCommitted, majorGCTriggerReason, heapState_, minEmptyChunkCount_, maxEmptyChunkCount_, initialReason, incrementalState, initialState, sweepGroupIndex, sweepMarkResult, zealModeBits, zealFrequency, nextScheduled, zealSliceBudget, gcCallbackDepth, maybeGcOptions, delayedMarkingWorkAdded, fullGCRequested, incrementalGCEnabled, perZoneGCEnabled, cleanUpEverything, grayBitsValid, isIncremental, isFull, isCompacting, useParallelMarking, useZeal, lastMarkSlice, safeToYield, markOnBackgroundThreadDuringSweeping, useBackgroundThreads, haveDiscardedJITCodeThisSlice, hadShutdownGC, requestSliceAfterBackgroundTask, sweepAllocKind, abortSweepAfterCurrentGroup, foregroundFinalizedAllocKind, queueMarkColor, startedCompacting, incrementalAllowed, compactingEnabled, parallelMarkingEnabled, rootsRemoved, deterministicOnly, fullCompartmentChecks, alwaysPreserveCode, lowMemoryState, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/dom/media/MediaFormatReader.hDecoderData3631Excessive padding in 'struct mozilla::MediaFormatReader::DecoderData' (34 padding bytes, where 2 is optimal). Optimal fields order: mOwner, mTrackDemuxer, mTaskQueue, mDecoder, mSeekRequest, mQueuedSamples, mDemuxRequest, mWaitingPromise, mDecodeRequest, mShutdownPromise, mDrainRequest, mOutput, mNumSamplesInput, mNumSamplesOutput, mNumSamplesOutputTotal, mNumSamplesSkippedTotal, mSizeOfQueue, mOriginalInfo, mWorkingInfo, mInfo, mDescription, mProcessName, mCodecName, mWaitingForDataStartTime, mMeanRate, mFirstFrameTime, mLastTimeRangesEnd, mFirstDemuxedSampleTime, mError, mMutex, mLastDecodedSampleTime, mTimeThreshold, mTimeRanges, mDrainState, mNumOfConsecutiveDecodingError, mMaxConsecutiveDecodingError, mNumOfConsecutiveRDDOrGPUCrashes, mMaxConsecutiveRDDOrGPUCrashes, mNumOfConsecutiveUtilityCrashes, mMaxConsecutiveUtilityCrashes, mIsHardwareAccelerated, mLastStreamSourceID, mNextStreamSourceID, mType, mUpdateScheduled, mDemuxEOS, mWaitingForKey, mReceivedNewData, mFlushing, mFlushed, mIsNullDecode, mHardwareDecodingDisabled, mHasReportedVideoHardwareSupportTelemtry, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/dom/bindings/WebIDLSerializable.cppWebIDLSerializableEntry171Excessive padding in 'struct mozilla::dom::WebIDLSerializableEntry' (10 padding bytes, where 2 is optimal). Optimal fields order: mDeserialize, mTag, mExposedGlobals, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_linear_gradient.hSamplers21Excessive padding in 'struct brush_linear_gradient_common::Samplers' (32 padding bytes, where 0 is optimal). Optimal fields order: sGpuBufferI_impl, sPrimitiveHeadersI_impl, sClipMask_impl, sGpuBufferF_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sGpuBufferF_slot, sGpuBufferI_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_linear_gradient_ALPHA_PASS.hSamplers21Excessive padding in 'struct brush_linear_gradient_ALPHA_PASS_common::Samplers' (32 padding bytes, where 0 is optimal). Optimal fields order: sGpuBufferI_impl, sPrimitiveHeadersI_impl, sClipMask_impl, sGpuBufferF_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sGpuBufferF_slot, sGpuBufferI_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_linear_gradient_DEBUG_OVERDRAW.hSamplers21Excessive padding in 'struct brush_linear_gradient_DEBUG_OVERDRAW_common::Samplers' (32 padding bytes, where 0 is optimal). Optimal fields order: sGpuBufferI_impl, sPrimitiveHeadersI_impl, sClipMask_impl, sGpuBufferF_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sGpuBufferF_slot, sGpuBufferI_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_mix_blend.hSamplers21Excessive padding in 'struct brush_mix_blend_common::Samplers' (32 padding bytes, where 0 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_mix_blend_ALPHA_PASS.hSamplers21Excessive padding in 'struct brush_mix_blend_ALPHA_PASS_common::Samplers' (32 padding bytes, where 0 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_mix_blend_DEBUG_OVERDRAW.hSamplers21Excessive padding in 'struct brush_mix_blend_DEBUG_OVERDRAW_common::Samplers' (32 padding bytes, where 0 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_yuv_image_ALPHA_PASS_TEXTURE_2D_YUV.hSamplers21Excessive padding in 'struct brush_yuv_image_ALPHA_PASS_TEXTURE_2D_YUV_common::Samplers' (36 padding bytes, where 4 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sColor2_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sColor2_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_yuv_image_ALPHA_PASS_TEXTURE_RECT_YUV.hSamplers21Excessive padding in 'struct brush_yuv_image_ALPHA_PASS_TEXTURE_RECT_YUV_common::Samplers' (36 padding bytes, where 4 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sColor2_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sColor2_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_yuv_image_DEBUG_OVERDRAW_TEXTURE_2D_YUV.hSamplers21Excessive padding in 'struct brush_yuv_image_DEBUG_OVERDRAW_TEXTURE_2D_YUV_common::Samplers' (36 padding bytes, where 4 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sColor2_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sColor2_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_yuv_image_DEBUG_OVERDRAW_TEXTURE_RECT_YUV.hSamplers21Excessive padding in 'struct brush_yuv_image_DEBUG_OVERDRAW_TEXTURE_RECT_YUV_common::Samplers' (36 padding bytes, where 4 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sColor2_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sColor2_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_yuv_image_TEXTURE_2D_YUV.hSamplers21Excessive padding in 'struct brush_yuv_image_TEXTURE_2D_YUV_common::Samplers' (36 padding bytes, where 4 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sColor2_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sColor2_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/brush_yuv_image_TEXTURE_RECT_YUV.hSamplers21Excessive padding in 'struct brush_yuv_image_TEXTURE_RECT_YUV_common::Samplers' (36 padding bytes, where 4 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sColor2_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sColor2_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/debug/build/swgl-4fe9b31407df464d/out/cs_svg_filter.hSamplers21Excessive padding in 'struct cs_svg_filter_common::Samplers' (32 padding bytes, where 0 is optimal). Optimal fields order: sPrimitiveHeadersI_impl, sClipMask_impl, sColor0_impl, sColor1_impl, sGpuCache_impl, sPrimitiveHeadersF_impl, sRenderTasks_impl, sTransformPalette_impl, sClipMask_slot, sColor0_slot, sColor1_slot, sGpuCache_slot, sPrimitiveHeadersF_slot, sPrimitiveHeadersI_slot, sRenderTasks_slot, sTransformPalette_slot, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/docshell/base/nsDocShellLoadState.hnsDocShellLoadState401Excessive padding in 'class nsDocShellLoadState' (45 padding bytes, where 5 is optimal). Optimal fields order: mRefCnt, _mOwningThread, mReferrerInfo, mURI, mOriginalURI, mResultPrincipalURI, mTriggeringPrincipal, mTriggeringWindowId, mCsp, mPrincipalToInherit, mPartitionedPrincipalToInherit, mSHEntry, mLoadingSessionHistoryInfo, mPostDataStream, mHeadersStream, mBaseURI, mPendingRedirectedChannel, mChannelRegistrarId, mLoadIdentifier, mUnstrippedURI, mTarget, mTargetBrowsingContext, mSrcdocData, mSourceBrowsingContext, mTypeHint, mFileName, mTriggeringRemoteType, mOriginalURIString, mRemoteTypeOverride, mTriggeringSandboxFlags, mLoadType, mLoadFlags, mInternalLoadFlags, mCancelContentJSEpoch, mResultPrincipalURIIsSome, mTriggeringStorageAccess, mKeepResultPrincipalURIIfSet, mLoadReplace, mInheritPrincipal, mPrincipalIsExplicit, mNotifiedBeforeUnloadListeners, mForceAllowDataURI, mIsExemptFromHTTPSFirstMode, mOriginalFrameSrc, mIsFormSubmission, mFirstParty, mHasValidUserGestureActivation, mAllowFocusMove, mIsFromProcessingFrameAttributes, mChannelInitialized, mIsMetaRefresh, mWasCreatedRemotely, mWasSchemelessInput, consider reordering the fields or adding explicit padding membersView Report
PerformanceExcessive Paddingvar/lib/jenkins/workspace/firefox-scan-build/parser/html/nsHtml5Tokenizer.hnsHtml5Tokenizer581Excessive padding in 'class nsHtml5Tokenizer' (34 padding bytes, where 2 is optimal). Optimal fields order: tokenHandler, encodingDeclarationHandler, publicId, systemId, endTagExpectation, tagName, nonInternedTagName, attributeName, nonInternedAttributeName, doctypeName, publicIdentifier, systemIdentifier, attributes, interner, mViewSource, strBuf, charRefBuf, bmpChar, astralChar, endTagExpectationAsArray, stateSave, returnStateSave, index, entCol, firstCharKey, lo, hi, candidate, charRefBufMark, value, cstart, strBufLen, charRefBufLen, line, attributeLine, col, additional, lastCR, forceQuirks, seenDigits, suspendAfterCurrentNonTextToken, endTag, containsHyphen, newAttributesEachTime, shouldSuspend, keepBuffer, confident, viewingXmlSource, nextCharOnNewLine, consider reordering the fields or adding explicit padding membersView Report
Logic errorGarbage return valuevar/lib/jenkins/workspace/firefox-scan-build/mfbt/RefPtr.hget31442Undefined or garbage value returned to callerView Report
Memory errorMemory leakvar/lib/jenkins/workspace/firefox-scan-build/toolkit/xre/CmdLineAndEnvUtils.hSaveToEnv7109Potential leak of memory pointed to by 'expr'View Report
Memory errorMemory leakvar/lib/jenkins/workspace/firefox-scan-build/modules/libmar/src/mar_create.cmar_create38638Potential leak of memory pointed to by 'stack.head'View Report
Memory errorMemory leakvar/lib/jenkins/workspace/firefox-scan-build/browser/app/nsBrowserApp.cppdo_main17815Potential memory leakView Report
Memory errorMemory leakvar/lib/jenkins/workspace/firefox-scan-build/toolkit/mozapps/update/common/readstrings.cppReadStrings15413Potential leak of memory pointed to by 'fileContents'View Report
Logic errorResult of operation is garbage or undefinedvar/lib/jenkins/workspace/firefox-scan-build/gfx/2d/InlineTranslator.cppTranslateRecording3314The left operand of '!=' is a garbage valueView Report
Logic errorResult of operation is garbage or undefinedvar/lib/jenkins/workspace/firefox-scan-build/gfx/2d/InlineTranslator.cppTranslateRecording4016The left operand of '>' is a garbage valueView Report
Logic errorResult of operation is garbage or undefinedvar/lib/jenkins/workspace/firefox-scan-build/gfx/2d/InlineTranslator.cppTranslateRecording2612The left operand of '!=' is a garbage valueView Report
Logic errorResult of operation is garbage or undefinedvar/lib/jenkins/workspace/firefox-scan-build/mfbt/RefPtr.hoperator->34227The left operand of '!=' is a garbage valueView Report
Logic errorResult of operation is garbage or undefinedvar/lib/jenkins/workspace/firefox-scan-build/mozglue/misc/TimeStamp.hIsNull42033The left operand of '==' is a garbage valueView Report
Logic errorUninitialized argument valuevar/lib/jenkins/workspace/firefox-scan-build/js/src/frontend/NameCollections.h~PooledCollectionPtr370351st function call argument is an uninitialized valueView Report
Logic errorUninitialized argument valuevar/lib/jenkins/workspace/firefox-scan-build/gfx/layers/client/TextureClient.h~TextureClientAutoLock815501st function call argument is an uninitialized valueView Report
Logic errorUninitialized argument valuevar/lib/jenkins/workspace/firefox-scan-build/dom/base/nsGlobalWindowInner.cppShowSlowScriptDialog5209371st function call argument is an uninitialized valueView Report
Logic errorUninitialized argument valuevar/lib/jenkins/workspace/firefox-scan-build/config/nsinstall.ccopyfile153342nd function call argument is an uninitialized valueView Report
Logic errorUninitialized argument valuevar/lib/jenkins/workspace/firefox-scan-build/tools/power/rapl.cppRAPL561132nd function call argument is an uninitialized valueView Report
Logic errorUnix APIvar/lib/jenkins/workspace/firefox-scan-build/mfbt/lz4/lz4.cLZ4_decompress_generic207932Null pointer passed as 2nd argument to memory copy functionView Report
Logic errorUnix APIvar/lib/jenkins/workspace/firefox-scan-build/mfbt/lz4/lz4.cLZ4_decompress_generic208532Null pointer passed as 2nd argument to memory copy functionView Report
Logic errorUnix APIvar/lib/jenkins/workspace/firefox-scan-build/mfbt/lz4/lz4.cLZ4_saveDict17529Null pointer passed as 1st argument to memory copy functionView Report
Logic errorUnix APIvar/lib/jenkins/workspace/firefox-scan-build/mfbt/lz4/lz4hc.cLZ4_saveDictHC118211Null pointer passed as 1st argument to memory copy functionView Report
Memory errorUse-after-freevar/lib/jenkins/workspace/firefox-scan-build/dom/indexedDB/ActorsParent.cppRelease201134Use of memory after it is freedView Report
Memory errorUse-after-freevar/lib/jenkins/workspace/firefox-scan-build/mfbt/HashTable.h~HashTable172539Use of memory after it is freedView Report
Memory errorUse-after-freevar/lib/jenkins/workspace/firefox-scan-build/mfbt/UniquePtr.hget28715Use of memory after it is freedView Report
C++ move semanticsUse-after-movevar/lib/jenkins/workspace/firefox-scan-build/dom/indexedDB/ActorsParent.cppPopulateResponseFromStatement1978275Moved-from object 'previousKey' is movedView Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Crashvar/lib/jenkins/workspace/firefox-scan-build/third_party/rust/glslopt/glsl-optimizer/src/compiler/glsl/ir_constant_expression.cppclang_crash_KEdHEE.iiclang_crash_KEdHEE.ii.stderr.txt

Please consider submitting preprocessed files as bug reports.