cppcheck analysis of kdebase-workspace_4.4.5-6.dsc
- ./kcheckpass/kcheckpass.c:411 [error] - Resource leak: lfd
- ./kcontrol/kfontinst/kcmfontinst/JobRunner.cpp:596 [error] - Possible null pointer dereference: itsLoop - otherwise it is redundant to check if itsLoop is null at line 604
- ./kcontrol/kthememanager/ktheme.cpp:342 [style] - The iterator incrementing is suspicious - it is incremented at line 342 and then at line 341 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./kdm/kfrontend/genkdmconf.c:1773 [error] - Invalid number of character (() when these macros are defined: '_AIX'.
- ./kdm/kfrontend/kgreeter.cpp:290 [error] - Resource leak: fd
- ./ksplash/ksplashx/qimage.cpp:1835 [error] - Memory leak: line1
- ./ksplash/ksplashx/qimage.cpp:1835 [error] - Memory leak: line2
- ./ksysguard/gui/ksysguard.cc:242 [error] - Possible null pointer dereference: mSensorBrowser
- ./ksysguard/gui/ksysguard.cc:253 [error] - Possible null pointer dereference: mSensorBrowser
- ./ksysguard/ksysguardd/Command.c:134 [error] - Memory leak: cmd.command
- ./ksysguard/ksysguardd/Command.c:175 [error] - Memory leak: cmd.command
- ./ksysguard/ksysguardd/FreeBSD/logfile.c:128 [error] - Resource leak: file
- ./ksysguard/ksysguardd/Linux/cpuinfo.c:88 [error] - Common realloc mistake: "Clocks" nulled but not freed upon failure
- ./ksysguard/ksysguardd/NetBSD/logfile.c:129 [error] - Resource leak: file
- ./kwin/tools/decobenchmark/preview.cpp:118 [error] - Possible null pointer dereference: deco - otherwise it is redundant to check if deco is null at line 120
- ./libs/ksysguard/processcore/processes_solaris_p.cpp:115 [error] - Resource leak: pfd
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, 03 Jan 2011 06:58:41 +0000, based on results by cppcheck 1.46