cppcheck analysis of oval-interpreter_5.5.25-1.dsc
- ./src/MD5.cpp:225 [error] - Memory leak: s
- ./src/MD5.cpp:242 [error] - Memory leak: s
- ./src/TimeDifferenceFunction.cpp:105 [error] - Uninitialized variable: component1Value
- ./src/linux/SystemInfo.cpp:322 [possible error] - Memory leak: tmpIfData
- ./src/probes/independent/EnvironmentVariableProbe.cpp:65 [possible error] - Memory leak: collectedItems
- ./src/probes/independent/TextFileContentProbe.cpp:191 [possible error] - Memory leak: results
- ./src/probes/linux/InetListeningServersProbe.cpp:800 [possible error] - Memory leak: buf
- ./src/probes/unix/ProcessProbe.cpp:375 [possible error] - Memory leak: commands
- ./src/probes/unix/RunLevelProbe.cpp:548 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./src/probes/unix/RunLevelProbe.cpp:561 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./src/probes/windows/AccessTokenProbe.cpp:443 [possible error] - Memory leak: accountNames
- ./src/probes/windows/ActiveDirectoryProbe.cpp:504 [possible error] - Memory leak: allNamingContexts
- ./src/probes/windows/ActiveDirectoryProbe.cpp:593 [possible error] - Memory leak: allRelativeDns
- ./src/probes/windows/ActiveDirectoryProbe.cpp:703 [possible error] - Memory leak: allAttributes
- ./src/probes/windows/ActiveDirectoryProbe.cpp:747 [possible error] - Memory leak: allAttributes
- ./src/probes/windows/ActiveDirectoryProbe.cpp:819 [possible error] - Memory leak: values
- ./src/probes/windows/ActiveDirectoryProbe.cpp:1020 [possible error] - Memory leak: values
- ./src/probes/windows/ActiveDirectoryProbe.cpp:1061 [possible error] - Memory leak: message
- ./src/probes/windows/AuditEventPolicySubcategoriesProbe.cpp:223 [possible error] - Memory leak: collectedItems
- ./src/probes/windows/FileEffectiveRights53Probe.cpp:206 [possible error] - Memory leak: trusteeSIDs
- ./src/probes/windows/FileEffectiveRightsProbe.cpp:206 [possible error] - Memory leak: trusteeNames
- ./src/probes/windows/FileProbe.cpp:374 [possible error] - Memory leak: aTime
- ./src/probes/windows/FileProbe.cpp:374 [possible error] - Memory leak: cTime
- ./src/probes/windows/FileProbe.cpp:374 [possible error] - Memory leak: mTime
- ./src/probes/windows/InterfaceProbe.h:101 [possible error] - Memory leak: InterfaceProbe::interfaces
- ./src/probes/windows/PortProbe.cpp:444 [possible error] - Memory leak: allProtocols
- ./src/probes/windows/PortProbe.cpp:530 [possible error] - Memory leak: allLocalAddresses
- ./src/probes/windows/PortProbe.cpp:613 [possible error] - Memory leak: allLocalPorts
- ./src/probes/windows/PortProbe.h:178 [possible error] - Memory leak: PortProbe::ports
- ./src/probes/windows/ProcessProbe.h:121 [possible error] - Memory leak: ProcessProbe::processes
- ./src/probes/windows/RegistryProbe.cpp:400 [error] - Possible null pointer dereference: item
- ./src/probes/windows/SharedResourceProbe.h:93 [possible error] - Memory leak: SharedResourceProbe::resources
- ./src/probes/windows/SidSidProbe.cpp:126 [possible error] - Memory leak: collectedItems
- ./src/probes/windows/VolumeProbe.h:93 [possible error] - Memory leak: VolumeProbe::volumes
- ./src/probes/windows/WMIProbe.cpp:315 [error] - Mismatching allocation and deallocation: szChar
- ./src/solaris/SystemInfo.cpp:372 [possible error] - Memory leak: tmpIfData
- ./src/windows/WMIUtil.cpp:186 [error] - Mismatching allocation and deallocation: szChar
- ./src/windows/WindowsCommon.cpp:1795 [error] - Mismatching allocation and deallocation: wUserName
- ./src/windows/WindowsCommon.cpp:1821 [error] - Mismatching allocation and deallocation: wUserName
- ./src/windows/WindowsCommon.cpp:1838 [error] - Mismatching allocation and deallocation: wUserName
- ./src/windows/WindowsCommon.cpp:1930 [error] - Mismatching allocation and deallocation: wUserName
- ./src/windows/WindowsCommon.cpp:1956 [error] - Mismatching allocation and deallocation: wUserName
- ./src/windows/WindowsCommon.cpp:1973 [error] - Mismatching allocation and deallocation: wUserName
- ./src/windows/WindowsCommon.cpp:2020 [error] - Mismatching allocation and deallocation: wUserName
- ./src/windows/WindowsCommon.cpp:2064 [error] - Mismatching allocation and deallocation: wUserName
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:59:52 +0000, based on results by cppcheck 1.41-modif