Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 223 Examining data/kdsoap-1.9.1+dfsg/examples/bank_gui/bank_gui.cpp Examining data/kdsoap-1.9.1+dfsg/examples/bank_gui/mainwindow.cpp Examining data/kdsoap-1.9.1+dfsg/examples/bank_gui/mainwindow.h Examining data/kdsoap-1.9.1+dfsg/examples/bank_wsdl/bank_wsdl.cpp Examining data/kdsoap-1.9.1+dfsg/examples/helloworld_client/helloworld_client.h Examining data/kdsoap-1.9.1+dfsg/examples/helloworld_client/main.cpp Examining data/kdsoap-1.9.1+dfsg/examples/helloworld_server/helloworld_server.h Examining data/kdsoap-1.9.1+dfsg/examples/helloworld_server/main.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/common/fileprovider.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/common/fileprovider.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/common/messagehandler.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/common/messagehandler.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/common/nsmanager.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/common/nsmanager.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/common/parsercontext.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/common/parsercontext.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/common/qname.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/common/qname.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/kode_export.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/class.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/class.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/code.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/code.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/enum.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/enum.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/file.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/file.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/function.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/function.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/license.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/license.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/membervariable.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/membervariable.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/printer.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/printer.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/statemachine.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/statemachine.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/style.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/style.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/typedef.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/typedef.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/variable.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/variable.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/annotation.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/annotation.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/attribute.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/attribute.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/attributegroup.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/attributegroup.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/complextype.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/complextype.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/compositor.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/compositor.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/element.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/element.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/group.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/group.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/parser.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/parser.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/schematest.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/simpletype.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/simpletype.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/types.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/types.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/xmlelement.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/xmlelement.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/xsdtype.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/xsdtype.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/compiler.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/compiler.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/converter.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/converter.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/converter_clientstub.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/converter_complextype.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/converter_serverstub.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/converter_simpletype.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/creator.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/creator.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/elementargumentserializer.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/elementargumentserializer.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/main.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/namemapper.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/namemapper.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/settings.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/settings.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/typemap.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/typemap.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/abstractbinding.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/binding.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/binding.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/bindingoperation.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/bindingoperation.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/definitions.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/definitions.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/element.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/element.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/fault.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/fault.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/import.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/import.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/message.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/message.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/operation.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/operation.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/param.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/param.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/part.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/part.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/port.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/port.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/porttype.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/porttype.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/service.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/service.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/soapbinding.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/soapbinding.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/type.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/type.h Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/wsdl.cpp Examining data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/wsdl.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDDateTime.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDDateTime.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDQName.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDQName.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoap.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapAuthentication.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapAuthentication.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapClientInterface.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapClientInterface.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapClientInterface_p.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapClientThread.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapClientThread_p.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapEndpointReference.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapEndpointReference.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapFaultException.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapFaultException.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapGlobal.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapJob.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapJob.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapMessage.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapMessage.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapMessageAddressingProperties.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapMessageAddressingProperties.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapMessageReader.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapMessageReader_p.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapMessageWriter.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapMessageWriter_p.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapNamespaceManager.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapNamespaceManager.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapNamespacePrefixes.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapNamespacePrefixes_p.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapPendingCall.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapPendingCall.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapPendingCallWatcher.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapPendingCallWatcher.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapPendingCallWatcher_p.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapPendingCall_p.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapReplySslHandler.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapReplySslHandler_p.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapSslHandler.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapSslHandler.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapUdpClient.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapUdpClient.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapUdpClient_p.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapValue.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapValue.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapClient/doxygen.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapDelayedResponseHandle.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapDelayedResponseHandle.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServer.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServer.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerAuthInterface.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerAuthInterface.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerCustomVerbRequestInterface.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerCustomVerbRequestInterface.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerGlobal.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerObjectInterface.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerObjectInterface.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerRawXMLInterface.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerRawXMLInterface.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerSocket.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerSocket_p.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerThread.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerThread_p.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapSocketList.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapSocketList_p.h Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapThreadPool.cpp Examining data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapThreadPool.h Examining data/kdsoap-1.9.1+dfsg/testtools/httpserver_p.cpp Examining data/kdsoap-1.9.1+dfsg/testtools/httpserver_p.h FINAL RESULTS: data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/class.cpp:305:16: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if ( (*it).access() & Function::Signal || (*it).access() & Function::Slot ) data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/class.cpp:305:53: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if ( (*it).access() & Function::Signal || (*it).access() & Function::Slot ) data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/function.cpp:113:25: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. int access, bool isStatic ) data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/function.cpp:116:16: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. d->mAccess = access; data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/function.cpp:215:31: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. void Function::setAccess( int access ) data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/function.cpp:217:16: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. d->mAccess = access; data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/function.cpp:220:15: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. int Function::access() const data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/function.cpp:227:11: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. QString access; data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/function.cpp:241:10: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. return access; data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/function.h:216:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. int access() const; data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/printer.cpp:52:34: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. int access ); data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/printer.cpp:239:20: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if ( (*it).access() == Function::Private ) { data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/printer.cpp:241:27: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. } else if ( (*it).access() == (Function::Private | Function::Slot) ) { data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/printer.cpp:351:12: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if ( f.access() == Function::Signal ) data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/printer.cpp:475:48: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. int access ) data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/printer.cpp:483:12: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if ( f.access() == access ) { data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/printer.cpp:483:24: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if ( f.access() == access ) { data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/converter_complextype.cpp:340:84: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. KODE::Function setter(QLatin1String("set") + upperName, QLatin1String("void"), access); data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/converter_complextype.cpp:371:55: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. KODE::Function getter(memberName, getterTypeName, access); data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/converter_complextype.cpp:467:97: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. KODE::Function checker(QLatin1String("hasValueFor") + upperName, QLatin1String("bool"), access); data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/common/fileprovider.cpp:95:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). tmpFile.open(); data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/common/fileprovider.cpp:136:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !file.open( QIODevice::WriteOnly ) ) { data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/printer.cpp:958:17: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !file->open( QIODevice::ReadOnly ) ) { data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/printer.cpp:994:17: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !file->open( QIODevice::WriteOnly ) ) { data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/libkode/printer.cpp:1020:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !file.open( QIODevice::WriteOnly ) ) { data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/parser.cpp:1054:19: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!file.open(QIODevice::ReadOnly)) { data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/parser.cpp:1101:19: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!file.open(QIODevice::ReadOnly)) { data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/schema/schematest.cpp:21:15: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!file.open(QIODevice::ReadOnly)) { data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/compiler.cpp:55:19: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!file.open(QIODevice::ReadOnly)) { data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/main.cpp:170:27: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!file.open(QIODevice::ReadOnly)) { data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/src/settings.cpp:259:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (certFile.open(QFile::ReadOnly)) { data/kdsoap-1.9.1+dfsg/kdwsdl2cpp/wsdl/definitions.cpp:258:19: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!file.open(QIODevice::ReadOnly)) { data/kdsoap-1.9.1+dfsg/src/KDSoapClient/KDSoapClientInterface.cpp:153:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). buffer->open(QIODevice::ReadOnly); data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServer.cpp:216:27: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!d->m_logFile.open(QIODevice::Append)) { data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerSocket.cpp:75:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). sourceBuffer.open(QIODevice::ReadOnly); data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerSocket.cpp:390:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (wf.open(QIODevice::ReadOnly)) { data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerSocket.cpp:410:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!device->open(QIODevice::ReadOnly)) { data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerSocket.cpp:424:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char block[4096] = {0}; data/kdsoap-1.9.1+dfsg/testtools/httpserver_p.cpp:90:21: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!sourceFile.open(QIODevice::ReadOnly)) { data/kdsoap-1.9.1+dfsg/testtools/httpserver_p.cpp:96:19: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!destFile.open(QIODevice::ReadOnly)) { data/kdsoap-1.9.1+dfsg/testtools/httpserver_p.cpp:120:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). sourceBuffer.open(QIODevice::ReadOnly); data/kdsoap-1.9.1+dfsg/testtools/httpserver_p.cpp:123:16: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). destBuffer.open(QIODevice::ReadOnly); data/kdsoap-1.9.1+dfsg/testtools/httpserver_p.cpp:174:19: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!certFile.open(QIODevice::ReadOnly)) { data/kdsoap-1.9.1+dfsg/testtools/httpserver_p.cpp:187:19: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!certFile.open(QIODevice::ReadOnly)) { data/kdsoap-1.9.1+dfsg/testtools/httpserver_p.cpp:290:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). sourceBuffer.open(QIODevice::ReadOnly); data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerSocket.cpp:177:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). nread = read(buf.data(), buf.size()); data/kdsoap-1.9.1+dfsg/src/KDSoapServer/KDSoapServerSocket.cpp:427:35: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). const qint64 in = device->read(block, sizeof(block)); ANALYSIS SUMMARY: Hits = 47 Lines analyzed = 30581 in approximately 0.80 seconds (38069 lines/second) Physical Source Lines of Code (SLOC) = 18969 Hits@level = [0] 8 [1] 2 [2] 25 [3] 0 [4] 20 [5] 0 Hits@level+ = [0+] 55 [1+] 47 [2+] 45 [3+] 20 [4+] 20 [5+] 0 Hits/KSLOC@level+ = [0+] 2.89947 [1+] 2.47773 [2+] 2.37229 [3+] 1.05435 [4+] 1.05435 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.