cppcheck analysis of xorg-server_1.9.4-1.dsc
- ./Xext/panoramiX.c:745 [error] - Common realloc mistake: "PanoramiXDepths" nulled but not freed upon failure
- ./Xext/panoramiX.c:787 [error] - Common realloc mistake: "PanoramiXVisuals" nulled but not freed upon failure
- ./Xext/shm.c:284 [error] - Memory leak: screen_priv
- ./Xext/shm.c:721 [error] - Memory leak: drawables
- ./Xext/sync.c:859 [error] - Common realloc mistake: "SysCounterList" nulled but not freed upon failure
- ./Xi/xiquerydevice.c:111 [error] - Memory leak: skip
- ./dix/colormap.c:2690 [error] - Data is allocated but not initialized: pmaps
- ./dix/dispatch.c:1654 [error] - Uninitialized variable: pGC
- ./dix/dixfonts.c:1843 [error] - Memory leak: temp_path
- ./dix/region.c:409 [error] - Null pointer dereference
- ./dix/region.c:492 [error] - Null pointer dereference
- ./dix/region.c:493 [error] - Null pointer dereference
- ./dix/region.c:500 [error] - Null pointer dereference
- ./dix/region.c:620 [error] - Null pointer dereference
- ./dix/region.c:621 [error] - Null pointer dereference
- ./dix/region.c:677 [error] - Null pointer dereference
- ./dix/region.c:678 [error] - Null pointer dereference
- ./dix/region.c:830 [error] - Null pointer dereference
- ./dix/region.c:839 [error] - Null pointer dereference
- ./dix/region.c:909 [error] - Null pointer dereference
- ./dix/region.c:910 [error] - Null pointer dereference
- ./dix/region.c:929 [error] - Null pointer dereference
- ./dix/region.c:937 [error] - Null pointer dereference
- ./dix/region.c:944 [error] - Null pointer dereference
- ./dix/region.c:949 [error] - Null pointer dereference
- ./dix/region.c:1185 [error] - Null pointer dereference
- ./dix/region.c:1193 [error] - Null pointer dereference
- ./dix/region.c:1207 [error] - Null pointer dereference
- ./dix/region.c:1339 [error] - Null pointer dereference
- ./dix/region.c:1418 [error] - Null pointer dereference
- ./dix/region.c:1560 [error] - Null pointer dereference
- ./fb/fbbits.h:363 [error] - Uninitialized variable: y
- ./fb/fboverlay.c:394 [error] - Memory leak: pScrPriv
- ./glx/glxdri.c:654 [error] - Memory leak: context
- ./glx/glxdri2.c:722 [error] - Memory leak: screen
- ./glx/indirect_dispatch.c:1806 [error] - Uninitialized variable: equation
- ./glx/indirect_dispatch.c:4097 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch.c:4118 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch.c:4139 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch.c:4160 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch.c:4968 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch.c:4990 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch.c:5041 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch.c:5570 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch.c:5594 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch.c:5808 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch.c:5829 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch_swap.c:1903 [error] - Uninitialized variable: equation
- ./glx/indirect_dispatch_swap.c:4235 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch_swap.c:4257 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch_swap.c:4279 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch_swap.c:4301 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch_swap.c:5119 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch_swap.c:5142 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch_swap.c:5195 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch_swap.c:5728 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch_swap.c:5753 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch_swap.c:5970 [error] - Uninitialized variable: params
- ./glx/indirect_dispatch_swap.c:5992 [error] - Uninitialized variable: params
- ./hw/dmx/config/dmxcompat.c:235 [error] - Resource leak: str
- ./hw/dmx/config/dmxconfig.c:311 [error] - Common realloc mistake: "argv" nulled but not freed upon failure
- ./hw/dmx/config/parser.c:1349 [error] - Memory leak: yyptr
- ./hw/dmx/dmxfont.c:396 [error] - Memory leak: goodfps
- ./hw/dmx/dmxprop.c:160 [error] - Common realloc mistake: "list" nulled but not freed upon failure
- ./hw/dmx/input/lnx-keyboard.c:426 [error] - Resource leak: fd
- ./hw/vfb/InitOutput.c:293 [error] - Common realloc mistake: "vfbScreens" nulled but not freed upon failure
- ./hw/xfree86/common/xf86sbusBus.c:612 [error] - Memory leak: data
- ./hw/xfree86/ddc/ddc.c:418 [error] - Common realloc mistake: "EDID_block" nulled but not freed upon failure
- ./hw/xfree86/dixmods/extmod/xf86vmode.c:123 [error] - Invalid number of character (() when these macros are defined: 'XF86VIDMODE_EVENTS'.
- ./hw/xfree86/dri/dri.c:1704 [error] - Possible null pointer dereference: newContext - otherwise it is redundant to check if newContext is null at line 1714
- ./hw/xfree86/dri2/dri2.c:225 [error] - Memory leak: ref
- ./hw/xfree86/fbdevhw/fbdevhw.c:416 [error] - Resource leak: fd
- ./hw/xfree86/loader/loadmod.c:808 [error] - Memory leak: ret
- ./hw/xfree86/os-support/bus/Sbus.c:591 [error] - Memory leak: name
- ./hw/xfree86/os-support/linux/lnx_apm.c:182 [error] - Resource leak: fd
- ./hw/xfree86/parser/Flags.c:214 [error] - Memory leak: new
- ./hw/xfree86/utils/gtf/gtf.c:739 [error] - Memory leak: m
- ./hw/xfree86/utils/gtf/gtf.c:739 [error] - Memory leak: o
- ./hw/xfree86/xaa/xaaFillArc.c:76 [error] - Uninitialized variable: xorg
- ./hw/xfree86/xaa/xaaFillArc.c:77 [error] - Uninitialized variable: yorg
- ./hw/xfree86/xaa/xaaFillArc.c:134 [error] - Uninitialized variable: xorg
- ./hw/xfree86/xaa/xaaFillArc.c:135 [error] - Uninitialized variable: yorg
- ./hw/xfree86/xaa/xaaWrapper.c:298 [error] - Memory leak: pScrPriv
- ./hw/xfree86/xorgconf.cpp:352 [error] - No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
- ./hw/xnest/Color.c:302 [error] - Uninitialized variable: pCmapIDs
- ./hw/xnest/Color.c:322 [error] - Uninitialized variable: pCmapIDs
- ./hw/xnest/Screen.c:221 [error] - Common realloc mistake: "visuals" nulled but not freed upon failure
- ./hw/xquartz/bundle/Info.plist.cpp:38 [error] - The code contains characters that are unhandled. Neither unicode nor extended ascii are supported. (line=38, character code=c2)
- ./hw/xquartz/bundle/Info.plist.cpp:38 [error] - The code contains characters that are unhandled. Neither unicode nor extended ascii are supported. (line=38, character code=a9)
- ./hw/xquartz/bundle/Info.plist.cpp:39 [error] - The code contains characters that are unhandled. Neither unicode nor extended ascii are supported. (line=39, character code=c2)
- ./hw/xquartz/bundle/Info.plist.cpp:39 [error] - The code contains characters that are unhandled. Neither unicode nor extended ascii are supported. (line=39, character code=a9)
- ./hw/xquartz/bundle/Info.plist.cpp:40 [error] - The code contains characters that are unhandled. Neither unicode nor extended ascii are supported. (line=40, character code=c2)
- ./hw/xquartz/bundle/Info.plist.cpp:40 [error] - The code contains characters that are unhandled. Neither unicode nor extended ascii are supported. (line=40, character code=a9)
- ./hw/xquartz/pseudoramiX.c:97 [error] - Common realloc mistake: "pseudoramiXScreens" nulled but not freed upon failure
- ./hw/xquartz/xpr/x-list.c:107 [error] - Memory leak: b
- ./hw/xwin/InitOutput.c:505 [error] - Common realloc mistake: "fontpath" nulled but not freed upon failure
- ./hw/xwin/InitOutput.c:576 [error] - Common realloc mistake: "newfp" nulled but not freed upon failure
- ./hw/xwin/glx/indirect.c:1949 [error] - Memory leak: result
- ./hw/xwin/glx/indirect.c:2320 [error] - Memory leak: result
- ./hw/xwin/winmultiwindowwm.c:1183 [error] - Memory leak: pXMsgArg
- ./hw/xwin/winprefsyacc.c:1463 [error] - Memory leak: yyptr
- ./hw/xwin/winprocarg.c:232 [error] - Common realloc mistake: "g_ScreenInfo" nulled but not freed upon failure
- ./hw/xwin/winshadgdi.c:288 [error] - Deallocating a deallocated pointer: pbmih
- ./mi/miarc.c:827 [error] - Data is allocated but not initialized: widths
- ./mi/mieq.c:449 [error] - Common realloc mistake: "event" nulled but not freed upon failure
- ./miext/cw/cw_render.c:249 [error] - Memory leak: pPicturePrivate
- ./os/log.c:313 [error] - Common realloc mistake: "saveBuffer" nulled but not freed upon failure
- ./os/utils.c:1372 [error] - Memory leak: cur
- ./randr/rrmode.c:84 [error] - Memory leak: newModes
- ./randr/rrscreen.c:516 [error] - Data is allocated but not initialized: data
- ./render/render.c:1369 [error] - Memory leak: glyphsBase
- ./xkb/ddxList.c:216 [error] - Resource leak: in
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 07 Feb 2011 06:58:25 +0000, based on results by cppcheck 1.46