xserver-xorg-1.19 - scan-build results

User:jeremy@yuffie.apple.com
Working Directory:/Users/jeremy/src/freedesktop/jhbuild/src/xorg/xserver-xorg-1.19
Command Line:make
Clang Version:clang version 3.8.0 (branches/release_38 262722)
Date:Sun May 29 00:33:16 2016

Bug Summary

Bug TypeQuantityDisplay?
All Bugs230
Dead store
Dead assignment45
Dead increment19
Dead initialization6
Logic error
Assigned value is garbage or undefined8
Branch condition evaluates to a garbage value1
Dereference of null pointer84
Dereference of undefined pointer value1
Division by zero2
Out-of-bound array access1
Result of operation is garbage or undefined6
Uninitialized argument value3
Unix API9
Memory Error
Bad free2
Memory leak20
Offset free3
Use-after-free2
Unix API
Allocator sizeof operand mismatch6
Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)12

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unix APIAllocator sizeof operand mismatchrender/picture.cCreateSolidPicture8941View Report
Unix APIAllocator sizeof operand mismatchXext/sync.cSyncCreate8971View Report
Unix APIAllocator sizeof operand mismatchrender/picture.cCreateRadialGradientPicture9641View Report
Unix APIAllocator sizeof operand mismatchrender/picture.cCreateConicalGradientPicture10071View Report
Unix APIAllocator sizeof operand mismatchhw/xfree86/ddc/ddc.cFetchEDID_DDC11871View Report
Unix APIAllocator sizeof operand mismatchrender/picture.cCreateLinearGradientPicture9241View Report
Logic errorAssigned value is garbage or undefinedmi/miwideline.cmiWideDashSegment214925View Report
Logic errorAssigned value is garbage or undefinedglx/glxcmds.c__glXDisp_GetVisualConfigs10479View Report
Logic errorAssigned value is garbage or undefinedtest/input.cdix_event_to_core2701View Report
Logic errorAssigned value is garbage or undefineddix/dixfonts.cSetFontPath168916View Report
Logic errorAssigned value is garbage or undefinedmi/miwideline.cmiRoundCapClip141126View Report
Logic errorAssigned value is garbage or undefinedglx/glxcmds.cDoGetFBConfigs11689View Report
Logic errorAssigned value is garbage or undefinedmi/miwideline.cmiWideDashSegment224825View Report
Logic errorAssigned value is garbage or undefinedhw/xfree86/ddc/ddc.cGetEDID_DDC115814View Report
Memory ErrorBad freedix/region.cRegionBreak3389View Report
Memory ErrorBad freedix/dixfonts.cdoImageText14916View Report
Logic errorBranch condition evaluates to a garbage valueXext/xvdisp.cXineramifyXv178314View Report
Dead storeDead assignmentdix/dixfonts.cdoListFontsAndAliases5721View Report
Dead storeDead assignmentXi/xiproperty.cProcXIChangeProperty11421View Report
Dead storeDead assignmenthw/kdrive/src/kdrive.cKdParseScreen4171View Report
Dead storeDead assignmentglx/single2.c__glXDisp_RenderMode1741View Report
Dead storeDead assignmentxkb/xkb.c_XkbSetNames41421View Report
Dead storeDead assignmentmi/miarc.cdrawZeroArc25141View Report
Dead storeDead assignmentxkb/xkb.c_XkbSetDeviceInfoCheck66191View Report
Dead storeDead assignmentrender/picture.cPictureCreateDefaultFormats2631View Report
Dead storeDead assignmentxkb/xkb.cXkbSendCompatMap27371View Report
Dead storeDead assignmenthw/xfree86/modes/xf86Crtc.cxf86UserConfiguredOutputs11071View Report
Dead storeDead assignmenthw/xfree86/parser/scan.cxf86addComment10921View Report
Dead storeDead assignmentglx/single2swap.c__glXDispSwap_RenderMode1851View Report
Dead storeDead assignmentrandr/randr.cRRSetChanged5581View Report
Dead storeDead assignmentdix/dixfonts.cQueryFont5411View Report
Dead storeDead assignmentrandr/rrscreen.cProcRRSetScreenConfig9461View Report
Dead storeDead assignmentXext/vidmode.cProcVidModeValidateModeLine9261View Report
Dead storeDead assignmenttest/input.cdix_check_grab_values1901View Report
Dead storeDead assignmenthw/xfree86/parser/scan.cxf86getToken4211View Report
Dead storeDead assignmentdix/dispatch.cSendConnSetup35801View Report
Dead storeDead assignmentxkb/maprules.cGetInputLine1671View Report
Dead storeDead assignmentXi/exevents.cDeliverOneTouchEvent10321View Report
Dead storeDead assignmentxkb/xkbUtils.cXkbCopyControls21121View Report
Dead storeDead assignmentXi/xiproperty.cProcXChangeDeviceProperty9031View Report
Dead storeDead assignmentdix/devices.cInitTouchClassDeviceStruct16061View Report
Dead storeDead assignmentrandr/rrcrtc.cProcRRSetCrtcConfig11411View Report
Dead storeDead assignmenthw/xfree86/modes/xf86Crtc.cxf86TargetAspect23661View Report
Dead storeDead assignmentdix/dixfonts.cdoListFontsWithInfo8631View Report
Dead storeDead assignmentos/access.cResetHosts10811View Report
Dead storeDead assignmentfb/fbarc.cwfbPolyArc1301View Report
Dead storeDead assignmentdix/dixfonts.cdoListFontsAndAliases6831View Report
Dead storeDead assignmentmi/miarc.cmiComputeCircleSpans3941View Report
Dead storeDead assignmenthw/xfree86/common/xf86Config.cconfigLayout16531View Report
Dead storeDead assignmentrandr/rrcrtc.cProcRRSetPanning13461View Report
Dead storeDead assignmentdix/dixfonts.cdoListFontsWithInfo9711View Report
Dead storeDead assignmentdix/events.cDeliverFocusedEvent41211View Report
Dead storeDead assignmentrandr/rrscreen.cProcRRSetScreenConfig9371View Report
Dead storeDead assignmenttest/touch.ctouch_begin_ddxtouch2011View Report
Dead storeDead assignmentrender/render.cProcRenderAddGlyphs10211View Report
Dead storeDead assignmentmi/miarc.cdrawZeroArc25131View Report
Dead storeDead assignmenthw/xfree86/common/xf86Config.cconfigFiles6061View Report
Dead storeDead assignmentdix/dixfonts.cdoListFontsWithInfo9531View Report
Dead storeDead assignmenthw/xfree86/common/xf86RandR.cxf86RandRGetInfo1071View Report
Dead storeDead assignmenthw/xfree86/common/xf86Config.cconfigImpliedLayout17201View Report
Dead storeDead assignmentmi/miarc.cdrawZeroArc25121View Report
Dead storeDead assignmentdix/dixfonts.cdoListFontsWithInfo9221View Report
Dead storeDead incrementmiext/shadow/shafb4.cstore_afb4761View Report
Dead storeDead incrementxkb/xkb.c_XkbSetNamedIndicator34661View Report
Dead storeDead incrementmi/mifillarc.cmiFillArcSliceD6101View Report
Dead storeDead incrementfb/fbbltone.cfbBltOne245601View Report
Dead storeDead incrementglx/indirect_dispatch.c__glXDisp_GetError15881View Report
Dead storeDead incrementglx/indirect_dispatch_swap.c__glXDispSwap_EndList1871View Report
Dead storeDead incrementdix/enterleave.cFixDeviceValuator6291View Report
Dead storeDead incrementxkb/xkbfmisc.cXkbWriteXKBKeymapForNames2921View Report
Dead storeDead incrementmi/mifillarc.cmiFillArcSliceI5661View Report
Dead storeDead incrementrandr/rrcrtc.cProcRRGetCrtcTransform16161View Report
Dead storeDead incrementxkb/xkb.c_XkbSetNames42501View Report
Dead storeDead incrementXi/xiquerydevice.cListDeviceClasses5491View Report
Dead storeDead incrementmiext/shadow/shafb8.cstore_afb8801View Report
Dead storeDead incrementfb/fbbltone.cwfbBltOne245601View Report
Dead storeDead incrementglx/indirect_dispatch_swap.c__glXDispSwap_GetError18011View Report
Dead storeDead incrementglx/indirect_dispatch.c__glXDisp_EndList711View Report
Dead storeDead incrementmi/miarc.cmiFillWideEllipse8671View Report
Dead storeDead incrementXi/xiquerydevice.cProcXIQueryDevice1241View Report
Dead storeDead incrementxkb/xkbLEDs.cXkbSetIndicators3911View Report
Dead storeDead initializationglx/indirect_dispatch.c__glXDisp_CallLists911View Report
Dead storeDead initializationXext/panoramiX.cPanoramiXExtensionInit4411View Report
Dead storeDead initializationxkb/xkbUtils.c_XkbLookupAnyDevice781View Report
Dead storeDead initializationXext/sync.cIdleTimeBlockHandler26681View Report
Dead storeDead initializationdix/events.cPickPointer60371View Report
Dead storeDead initializationos/access.cResetHosts9341View Report
Logic errorDereference of null pointerXi/exevents.cDeviceEventSuppressForWindow29827View Report
Logic errorDereference of null pointerrandr/rrscreen.cProcRRGetScreenInfo83917View Report
Logic errorDereference of null pointerhw/xnest/GCOps.cxnestPolyText82731View Report
Logic errorDereference of null pointerhw/xfree86/common/xf86Events.cremoveInputHandler71110View Report
Logic errorDereference of null pointerXext/panoramiXprocs.cPanoramiXCopyPlane13048View Report
Logic errorDereference of null pointerdix/events.cCoreEnterLeaveEvent458615View Report
Logic errorDereference of null pointerXi/exevents.cRetrieveTouchDeliveryData13386View Report
Logic errorDereference of null pointerrandr/rrscreen.crrGetScreenResources57915View Report
Logic errorDereference of null pointerhw/xnest/GC.cxnestChangeGC14516View Report
Logic errorDereference of null pointerrecord/record.cRecordInstallHooks88924View Report
Logic errorDereference of null pointerglx/glxcmds.cvalidGlxFBConfigForWindow1239View Report
Logic errorDereference of null pointermi/mipoly.cmiFillGeneralPoly64526View Report
Logic errorDereference of null pointerrandr/rrcrtc.cProcRRGetCrtcInfo10118View Report
Logic errorDereference of null pointerhw/xfree86/modes/xf86Crtc.cxf86SetScrnInfoModes200230View Report
Logic errorDereference of null pointerdix/touch.cTouchAddRegularListener81714View Report
Logic errorDereference of null pointerXi/exevents.cDeepCopyKeyboardClasses44643View Report
Logic errorDereference of null pointerrandr/rroutput.cProcRRGetOutputInfo4757View Report
Logic errorDereference of null pointerXext/sync.cSysCounterGetPrivate1224View Report
Logic errorDereference of null pointerXext/sync.cProcSyncListSystemCounters12854View Report
Logic errorDereference of null pointerXext/xvmc.cProcXvMCListSubpictureTypes56516View Report
Logic errorDereference of null pointercomposite/compext.cPanoramiXCompositeGetOverlayWindow82511View Report
Logic errorDereference of null pointerXi/exevents.cRetrieveTouchDeliveryData13245View Report
Logic errorDereference of null pointerXi/exevents.cDeviceEventSuppressForWindow298220View Report
Logic errorDereference of null pointerrandr/rrprovider.cProcRRGetProviderInfo2118View Report
Logic errorDereference of null pointerrecord/record.cProcRecordGetContext221368View Report
Logic errorDereference of null pointerdix/cursor.cAllocGlyphCursor41225View Report
Logic errorDereference of null pointerhw/xnest/Font.cxnestRealizeFont709View Report
Logic errorDereference of null pointerrandr/rrscreen.crrGetMultiScreenResources4535View Report
Logic errorDereference of null pointerXext/sync.cProcSyncQueryCounter16596View Report
Logic errorDereference of null pointerrender/animcur.cAnimCursorCreate3619View Report
Logic errorDereference of null pointerdix/dixfonts.cdoListFontsAndAliases76714View Report
Logic errorDereference of null pointerXi/xibarriers.cinput_constrain_cursor5148View Report
Logic errorDereference of null pointerxkb/xkbout.cWriteXKBSection75019View Report
Logic errorDereference of null pointermi/miarc.cmiComputeArcs220533View Report
Logic errorDereference of null pointermi/micmap.cmiInitVisuals50315View Report
Logic errorDereference of null pointermi/mieq.cmieqProcessDeviceEvent51520View Report
Logic errorDereference of null pointerhw/xnest/Font.cxnestRealizeFont729View Report
Logic errorDereference of null pointerhw/xfree86/common/xf86AutoConfig.cautoConfigDevice38512View Report
Logic errorDereference of null pointerdix/events.cActivateKeyboardGrab16357View Report
Logic errorDereference of null pointercomposite/compext.cProcCompositeGetOverlayWindow3096View Report
Logic errorDereference of null pointermi/miinitext.cInitExtensions3374View Report
Logic errorDereference of null pointerXi/exevents.cInputClientGone25858View Report
Logic errorDereference of null pointerXext/saver.csetEventMask26215View Report
Logic errorDereference of null pointerXext/panoramiX.cXineramaGetImageData125054View Report
Logic errorDereference of null pointerxkb/xkbLEDs.cXkbAllocSrvLedInfo61217View Report
Logic errorDereference of null pointermi/miinitext.cInitExtensions3374View Report
Logic errorDereference of null pointerXext/sync.cProcSyncDestroyCounter14926View Report
Logic errorDereference of null pointerdix/events.cCheckPhysLimits75529View Report
Logic errorDereference of null pointerexa/exa.cexaCloseScreen7642View Report
Logic errorDereference of null pointerhw/xnest/GCOps.cxnestPolyText162871View Report
Logic errorDereference of null pointerrandr/rrprovider.cProcRRGetProviders1269View Report
Logic errorDereference of null pointerdix/colormap.cFindColor89516View Report
Logic errorDereference of null pointermi/mipoly.cmiFillGeneralPoly64630View Report
Logic errorDereference of null pointerrandr/rrprovider.cProcRRGetProviders1209View Report
Logic errorDereference of null pointerpresent/present.cpresent_flip20113View Report
Logic errorDereference of null pointerexa/exa.cexaDriverInit104315View Report
Logic errorDereference of null pointermi/miinitext.cInitExtensions3374View Report
Logic errorDereference of null pointerXi/xibarriers.cinput_constrain_cursor48010View Report
Logic errorDereference of null pointerhw/xnest/Font.cxnestUnrealizeFont822View Report
Logic errorDereference of null pointerhw/xnest/Font.cxnestUnrealizeFont833View Report
Logic errorDereference of null pointerXext/saver.cCreateSaverWindow4744View Report
Logic errorDereference of null pointerXext/panoramiXprocs.cPanoramiXCopyArea11928View Report
Logic errorDereference of null pointerrandr/rrprovider.cProcRRGetProviders1239View Report
Logic errorDereference of null pointerrandr/rrscreen.crrGetScreenResources56815View Report
Logic errorDereference of null pointerdix/touch.cTouchAddRegularListener80013View Report
Logic errorDereference of null pointerXi/exevents.cXISetEventMask30858View Report
Logic errorDereference of null pointerhw/kdrive/ephyr/hostx.chostx_screen_init9308View Report
Logic errorDereference of null pointerhw/xfree86/common/xf86Config.ccheckCoreInputDevices133119View Report
Logic errorDereference of null pointerXext/panoramiX.cCopyBits113077View Report
Logic errorDereference of null pointerhw/xfree86/common/xf86Config.ccheckCoreInputDevices123514View Report
Logic errorDereference of null pointerrandr/rrprovider.cProcRRGetProviders1189View Report
Logic errorDereference of null pointerXi/xichangecursor.cProcXIChangeCursor938View Report
Logic errorDereference of null pointerXi/exevents.cDeliverTouchEmulatedEvent145711View Report
Logic errorDereference of null pointerrecord/record.cRecordAProtocolElement35211View Report
Logic errorDereference of null pointeros/access.cRemoveHost14109View Report
Logic errorDereference of null pointerXext/saver.cMakeScreenPrivate22716View Report
Logic errorDereference of null pointerXi/exevents.cXISetEventMask30764View Report
Logic errorDereference of null pointerdix/events.cRecalculateDeliverableEvents436034View Report
Logic errorDereference of null pointermi/mioverlay.cDoLeaf173320View Report
Logic errorDereference of null pointerxkb/xkbLEDs.cXkbCheckIndicatorMaps4699View Report
Logic errorDereference of null pointerXext/sync.cProcSyncChangeCounter14616View Report
Logic errorDereference of null pointerXi/exevents.cTouchClientWantsOwnershipEvents9781View Report
Logic errorDereference of null pointermi/miinitext.cInitExtensions3374View Report
Logic errorDereference of null pointerrender/picture.cPictureInitIndexedFormat46312View Report
Logic errorDereference of undefined pointer valueXext/panoramiXprocs.cPanoramiXCopyArea11088View Report
Logic errorDivision by zerorender/miindex.cmiBuildRenderColormap15716View Report
Logic errorDivision by zeromi/midash.cmiStepDash788View Report
Memory ErrorMemory leakcomposite/compext.cPanoramiXCompositeNameWindowPixmap75214View Report
Memory ErrorMemory leakhw/xfree86/common/xf86DGA.cProcXDGASetClientVersion17188View Report
Memory ErrorMemory leakXext/shm.cProcPanoramiXShmCreatePixmap97721View Report
Memory ErrorMemory leakhw/xfree86/utils/gtf/gtf.cmain69315View Report
Memory ErrorMemory leakhw/kdrive/src/kinput.cKdInitInput132832View Report
Memory ErrorMemory leakXext/shm.cProcPanoramiXShmGetImage85813View Report
Memory ErrorMemory leaktest/xkb.cxkb_set_get_rules_test1633View Report
Memory ErrorMemory leaktest/xkb.cxkb_set_get_rules_test1633View Report
Memory ErrorMemory leakdix/privates.cdixAllocatePrivates5226View Report
Memory ErrorMemory leakpresent/present_notify.cpresent_create_notifies996View Report
Memory ErrorMemory leaktest/xkb.cxkb_set_get_rules_test1633View Report
Memory ErrorMemory leaktest/xkb.cxkb_set_get_rules_test1633View Report
Memory ErrorMemory leakhw/xfree86/utils/gtf/gtf.cmain69517View Report
Memory ErrorMemory leakhw/kdrive/src/kinput.cNewInputDeviceRequest218523View Report
Memory ErrorMemory leakXi/xipassivegrab.cProcXIPassiveGrabDevice23721View Report
Memory ErrorMemory leakmi/mibitblt.cmiGetImage66913View Report
Memory ErrorMemory leakhw/xfree86/common/xf86AutoConfig.cautoConfigDevice39518View Report
Memory ErrorMemory leaktest/xkb.cxkb_set_get_rules_test1633View Report
Memory ErrorMemory leakXi/xipassivegrab.cProcXIPassiveGrabDevice23729View Report
Memory ErrorMemory leakXext/vidmode.cProcVidModeSetClientVersion16337View Report
Memory ErrorOffset freeXext/vidmode.cProcVidModeGetDotClocks137717View Report
Memory ErrorOffset freeXext/vidmode.cProcVidModeGetDotClocks137720View Report
Memory ErrorOffset freeXext/vidmode.cProcVidModeGetDotClocks137723View Report
Logic errorOut-of-bound array accessXi/listdev.cCopyDeviceName12821View Report
Logic errorResult of operation is garbage or undefinedexa/exa_render.cexaTryDriverComposite75718View Report
Logic errorResult of operation is garbage or undefinedrender/render.cProcRenderCreateCursor161426View Report
Logic errorResult of operation is garbage or undefinedos/log.cLogVHdrMessageVerb8357View Report
Logic errorResult of operation is garbage or undefinedrender/render.cProcRenderCreateCursor161736View Report
Logic errorResult of operation is garbage or undefinedmi/miarc.cmiFillWideEllipse81322View Report
Logic errorResult of operation is garbage or undefinedmi/miarc.cmiFillWideEllipse83324View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)glx/glxscreens.c__glXScreenInit3256View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)Xi/xiquerydevice.cProcXIQueryDevice1057View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)glx/singlepixswap.cGetSeparableFilter2657View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)dix/dixfonts.cGetFontPath17736View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)dix/extension.cProcListExtensions3109View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)dix/dispatch.cDoGetImage214513View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)dix/gc.cSetDashes9293View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)os/reallocarray.cxreallocarray422View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)render/render.cProcRenderCreateCursor14773View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)glx/singlepix.cGetSeparableFilter2316View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)Xi/getselev.cProcXGetSelectedExtensionEvents1358View Report
Unix APIUndefined allocation of 0 bytes (CERT MEM04-C; CWE-131)Xi/queryst.cProcXQueryDeviceState1149View Report
Logic errorUninitialized argument valuecomposite/compext.cPanoramiXCompositeGetOverlayWindow8418View Report
Logic errorUninitialized argument valueXext/panoramiX.cPanoramiXConsolidate8434View Report
Logic errorUninitialized argument valueXext/xvdisp.cXineramifyXv178810View Report
Logic errorUnix APIdix/property.cdixChangeWindowProperty30619View Report
Logic errorUnix APIXext/panoramiX.cXineramaGetImageData128044View Report
Logic errorUnix APIxkb/xkbUtils.c_XkbCopyNames129120View Report
Logic errorUnix APIXi/exevents.cDeepCopyKeyboardClasses47939View Report
Logic errorUnix APIxkb/xkbtext.cXkbIMWhichStateMaskText47814View Report
Logic errorUnix APIrecord/set.cIntervalListCreateSet3556View Report
Logic errorUnix APIdix/property.cdixChangeWindowProperty27118View Report
Logic errorUnix APIxkb/xkbtext.cXkbControlsMaskText54014View Report
Logic errorUnix APIXext/panoramiX.cXineramaGetImageData125758View Report
Memory ErrorUse-after-freehw/xfree86/parser/scan.cxf86getNextLine23930View Report
Memory ErrorUse-after-freedix/gc.cCopyGC73922View Report