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/omniorb-dfsg-4.2.2/contrib/Voyager/cs-voyager.cc Examining data/omniorb-dfsg-4.2.2/include/omniconfig.h Examining data/omniorb-dfsg-4.2.2/include/omnithread/pthread_nt.h Examining data/omniorb-dfsg-4.2.2/include/omnithread/VxThread.h Examining data/omniorb-dfsg-4.2.2/include/omnithread/nt.h Examining data/omniorb-dfsg-4.2.2/include/omnithread/posix.h Examining data/omniorb-dfsg-4.2.2/include/omnithread/atomic.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniPolicy.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/stringtypes.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/poa.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/streamOperators.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_UnknownUserException.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/codeSets.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_Context.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_static_fns.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/IOP_S.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_sysdep.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/optionalFeatures.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_Environment.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/ami.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/IOP_C.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_TypeCode_member.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_Policy.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/valueTemplatedecls.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_Current.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_Object_vartypes.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/fixed.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniServant.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/BiDirPolicy.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/valueType.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_sysdep_trad.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/userexception.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/corba_operators.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_AbstractBase.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/cdrStream.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_sysdep_auto.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_NamedValue.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/sslContext.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/poa_defs.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/anyStream.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/IIOP.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/IOP.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_Request.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/seqTemplatedefns.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/callDescriptor.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniZIOP.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_Any_vartypes.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_ServerRequest.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/objTracker.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniIOR.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniServer.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniORBcompat.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/wstringtypes.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniObjKey.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniInternal.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_vartypes.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_LocalObject.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/proxyFactory.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/valueTemplatedefns.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniAsyncInvoker.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/templatedefns.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/minorCode.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/callHandle.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_Principal.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_Fixed.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniORB.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/omniCurrent.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/GIOP_C.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/request.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/excepthandler.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/SocketCollection.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/shutdownIdentity.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/rmutex.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/giopStrandFlags.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/GIOP_S.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/objectAdapter.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/exceptiondefs.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/tcParser.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/transportRules.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/giopStreamImpl.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/orbOptions.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/dynAnyImpl.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/inProcessIdentity.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/context.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/corbaOrb.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/giopStream.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/interceptors.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/objectTable.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/remoteIdentity.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/dynamicImplementation.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/dynamicLib.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/anonObject.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/giopRendezvouser.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/giopMonitor.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/giopServer.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/valueTrackerImpl.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/objectStub.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/orbParameters.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/giopStrand.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/corbaBoa.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/invoker.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/poamanager.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/localIdentity.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/initialiser.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/initRefs.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/poaimpl.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/typecode.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/pseudo.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/unknownValue.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/giopRope.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/codeSetUtil.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/omniIdentity.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/libcWrapper.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/giopBiDir.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/poacurrentimpl.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/giopWorker.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/internal/tcpSocket.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_Any.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_ExceptionList.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_TypeCode.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_LocalObject_vartypes.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniConnectionMgmt.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/boa.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_Object.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_ORB.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_ValueBase.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_Exception.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/GIOP.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/seqTemplatedecls.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/ziopStubs.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_DomainManager.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniTransport.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_basetypes.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/valueFactoryManager.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniutilities.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/finalCleanup.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/dynAny.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniInterceptors.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/linkHacks.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_ValueBase_vartypes.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/giopEndpoint.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniURI.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_String.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/poa_poa.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/templatedecls.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/tracedthread.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/omniObjRef.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_BOA.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/local_config.h Examining data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_primitive_types.h Examining data/omniorb-dfsg-4.2.2/include/omnithread.h Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/interceptors.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/policy.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/invoker.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/bootstrapstub.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/exceptn.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/objectStub.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/callHandle.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopStrand.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/omniORB.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopWorker.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopEndpoint.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaFixed.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/GIOP_C.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cs-8bit.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ior.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaWString.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/current.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/omniInternal.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cs-16bit.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsFile.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopImpl11.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslAddress.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslEndpoint.h Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslTransportImpl.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslActive.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslAddress.h Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslConnection.h Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslTransportImpl.h Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslConnection.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/msvcdllstub.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslContext.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslEndpoint.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/omniServant.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/constants.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaString.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcpSocket.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/codeSets.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaObject.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopRendezvouser.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/uri.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cdrValueChunkStream.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/localObject.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poamanager.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaBoa.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcp/tcpTransportImpl.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcp/tcpTransportImpl.h Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcp/tcpEndpoint.h Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcp/tcpAddress.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcp/tcpEndpoint.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcp/tcpConnection.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcp/tcpActive.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcp/tcpAddress.h Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcp/tcpConnection.h Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopServer.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cs-UTF-16.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopMonitor.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopStream.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tracedthread.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/localIdentity.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsReg.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cdrMemoryStream.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/shutdownIdentity.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopRope.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/omniIdentity.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/proxyFactory.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopImpl10.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/omniPolicy.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/portableserver.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cs-8859-1.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/minorCode.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopBiDir.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cdrStream.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/objectAdapter.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/omniIOR.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cdrStreamAdapter.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaOrb.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixAddress.h Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixEndpoint.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixConnection.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixActive.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixTransportImpl.h Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixConnection.h Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixAddress.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixTransportImpl.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixEndpoint.h Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/exception.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/libcWrapper.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopImpl12.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/dynamicLib.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/Namingstub.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/omniTransport.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/transportRules.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/msvcdllstub.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/omniObjRef.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/callDescriptor.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopStreamImpl.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/rmutex.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/remoteIdentity.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/anonObject.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/inProcessIdentity.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/SocketCollection.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cs-UTF-8.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poastubs.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/GIOP_S.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/ziopdynamic/ziopDynStubs.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/ziopdynamic/compressionDynStubs.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/ziopdynamic/omniZIOPDynamic.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/connections/omniConnectionMgmt.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/connections/dataStub.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/ziop/omniZIOP.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/ziop/omniZIOPImpl.h Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/ziop/messagingStubs.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/ziop/zlibCompressor.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/ziop/ziopStubs.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/ziop/zlibCompressor.h Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-cp1257.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-8859-16.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/omniCodeSets.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-500.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-8859-4.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-EDF-4.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-8859-13.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-cp1250.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-8859-3.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-cp1254.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-GBK.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-8859-14.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-8859-7.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-8859-2.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-cp1255.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-8859-9.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-cp1258.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-cp1251.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-8859-8.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-cp1253.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-UCS-4.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-8859-6.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-037.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-cp1252.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-cp1256.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-8859-15.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-8859-5.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-8859-10.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/codesets/cs-8859-11.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/namedValue.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/policy.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/ami.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/any.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/corbaidldynstub.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/nvList.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/corbaidlstub.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/orbMultiRequest.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/constants.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/irdynstub.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/Namingdynstub.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/serverRequest.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/exceptionList.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/unknownValue.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/bootstrapdynstub.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/pollablestub.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/valueBase.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/messagingstub.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/dynamicImplementation.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/poastub.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/valueFactory.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/ir.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/pseudoBase.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/contextList.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/omniTypedefs.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/typecode.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/anyStream.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/abstractBase.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/valueTracker.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/dynAnyNil.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/environment.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/dynamicLib.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/unknownUserExn.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/context.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/tcParser.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/dynAny.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/valueType.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/request.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/boxes.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/dynException.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/irstub.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omnithread/vxWorks.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omnithread/nt.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omnithread/posix.cc Examining data/omniorb-dfsg-4.2.2/src/lib/omnithread/threaddata.cc Examining data/omniorb-dfsg-4.2.2/src/examples/poa/shortcut/shortcut.cc Examining data/omniorb-dfsg-4.2.2/src/examples/poa/implicit_activation/eg1.cc Examining data/omniorb-dfsg-4.2.2/src/examples/poa/persistent_objref/eg2_impl.cc Examining data/omniorb-dfsg-4.2.2/src/examples/poa/threading/mainthread.cc Examining data/omniorb-dfsg-4.2.2/src/examples/poa/servant_manager/servant_activator.cc Examining data/omniorb-dfsg-4.2.2/src/examples/poa/servant_manager/servant_locator.cc Examining data/omniorb-dfsg-4.2.2/src/examples/dii/echo_diiclt.cc Examining data/omniorb-dfsg-4.2.2/src/examples/echo/eg2_impl.cc Examining data/omniorb-dfsg-4.2.2/src/examples/echo/eg2_clt.cc Examining data/omniorb-dfsg-4.2.2/src/examples/echo/eg3_tieimpl.cc Examining data/omniorb-dfsg-4.2.2/src/examples/echo/eg1.cc Examining data/omniorb-dfsg-4.2.2/src/examples/echo/eg3_impl.cc Examining data/omniorb-dfsg-4.2.2/src/examples/echo/eg3_clt.cc Examining data/omniorb-dfsg-4.2.2/src/examples/valuetype/simple/vserver.cc Examining data/omniorb-dfsg-4.2.2/src/examples/valuetype/simple/vclient.cc Examining data/omniorb-dfsg-4.2.2/src/examples/valuetype/simple/valimpl.h Examining data/omniorb-dfsg-4.2.2/src/examples/valuetype/simple/vcoloc.cc Examining data/omniorb-dfsg-4.2.2/src/examples/ziop/ziop_clt.cc Examining data/omniorb-dfsg-4.2.2/src/examples/ziop/ziop_impl.cc Examining data/omniorb-dfsg-4.2.2/src/examples/call_back/cb_server.cc Examining data/omniorb-dfsg-4.2.2/src/examples/call_back/cb_shutdown.cc Examining data/omniorb-dfsg-4.2.2/src/examples/call_back/cb_client.cc Examining data/omniorb-dfsg-4.2.2/src/examples/boa/eg2_impl.cc Examining data/omniorb-dfsg-4.2.2/src/examples/thread/prodcons.cc Examining data/omniorb-dfsg-4.2.2/src/examples/thread/diner.cc Examining data/omniorb-dfsg-4.2.2/src/examples/thread/thrspecdata.cc Examining data/omniorb-dfsg-4.2.2/src/examples/thread/prio.cc Examining data/omniorb-dfsg-4.2.2/src/examples/anyExample/anyExample_clt.cc Examining data/omniorb-dfsg-4.2.2/src/examples/anyExample/anyExample_impl.cc Examining data/omniorb-dfsg-4.2.2/src/examples/bidir/bd_shutdown.cc Examining data/omniorb-dfsg-4.2.2/src/examples/bidir/bd_client.cc Examining data/omniorb-dfsg-4.2.2/src/examples/bidir/bd_server.cc Examining data/omniorb-dfsg-4.2.2/src/examples/dsi/echo_dsiimpl.cc Examining data/omniorb-dfsg-4.2.2/src/examples/ami/echo_callback.cc Examining data/omniorb-dfsg-4.2.2/src/examples/ami/echo_dii_pollable_set.cc Examining data/omniorb-dfsg-4.2.2/src/examples/ami/echo_poller.cc Examining data/omniorb-dfsg-4.2.2/src/examples/ami/echo_pollable_set.cc Examining data/omniorb-dfsg-4.2.2/src/examples/ssl_echo/eg2_impl.cc Examining data/omniorb-dfsg-4.2.2/src/examples/ssl_echo/eg2_clt.cc Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idldump.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlutil.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlutil.cc Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlpython.cc Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlerr.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlrepoId.cc Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlvisitor.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlconfig.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlvalidate.cc Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/config-windows.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/config-hpux.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/index.c Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/config-osf1.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/config-irix.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/config-solaris.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/pcp.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/config-darwin.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/config-freebsd.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/config.c Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/config-nextstep.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/config-vms.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/config-aix.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/config-lynxos.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/alloca.c Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/config-sinix.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/config.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/config-linux.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlscope.cc Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idldump.cc Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlfixed.cc Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/y.tab.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idltype.cc Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlscope.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idltype.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlast.cc Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlast.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/y.tab.cc Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlc.cc Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/lex.yy.cc Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlsysdep.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlconfig.cc Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlvalidate.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlexpr.cc Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlfixed.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlexpr.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlmath.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlrepoId.h Examining data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlerr.cc Examining data/omniorb-dfsg-4.2.2/src/tool/win32/libwrapper.c Examining data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c Examining data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c Examining data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h Examining data/omniorb-dfsg-4.2.2/src/tool/win32/clwrapper.c Examining data/omniorb-dfsg-4.2.2/src/tool/win32/oidlwrapper.c Examining data/omniorb-dfsg-4.2.2/src/tool/win32/linkwrapper.c Examining data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c Examining data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.h Examining data/omniorb-dfsg-4.2.2/src/tool/omkdepend/ifparser.c Examining data/omniorb-dfsg-4.2.2/src/tool/omkdepend/pr.c Examining data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c Examining data/omniorb-dfsg-4.2.2/src/tool/omkdepend/ifparser.h Examining data/omniorb-dfsg-4.2.2/src/tool/omkdepend/def.h Examining data/omniorb-dfsg-4.2.2/src/tool/omkdepend/parse.c Examining data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c Examining data/omniorb-dfsg-4.2.2/src/tool/omkdepend/cppsetup.c Examining data/omniorb-dfsg-4.2.2/src/tool/omkdepend/include.c Examining data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNames.cc Examining data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNames.h Examining data/omniorb-dfsg-4.2.2/src/appl/omniNames/NamingContext_i.cc Examining data/omniorb-dfsg-4.2.2/src/appl/omniNames/NamingContext_i.h Examining data/omniorb-dfsg-4.2.2/src/appl/omniNames/ReadersWritersLock.h Examining data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc Examining data/omniorb-dfsg-4.2.2/src/appl/omniNames/INSMapper.h Examining data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.h Examining data/omniorb-dfsg-4.2.2/src/appl/omniNames/BindingIterator_i.h Examining data/omniorb-dfsg-4.2.2/src/appl/omniNames/ObjectBinding.h Examining data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc Examining data/omniorb-dfsg-4.2.2/src/appl/omniMapper/omniMapper.cc Examining data/omniorb-dfsg-4.2.2/src/appl/utils/nameclt/nameclt.cc Examining data/omniorb-dfsg-4.2.2/src/appl/utils/genior/genior.cc Examining data/omniorb-dfsg-4.2.2/src/appl/utils/convertior/convertior.cc Examining data/omniorb-dfsg-4.2.2/src/appl/utils/catior/catior.cc Examining data/omniorb-dfsg-4.2.2/src/services/include/CosNotifyComm_i.h Examining data/omniorb-dfsg-4.2.2/src/services/include/CosNotify.h Examining data/omniorb-dfsg-4.2.2/src/services/include/BootStrapAgent.h Examining data/omniorb-dfsg-4.2.2/src/services/include/corba_wrappers.h Examining data/omniorb-dfsg-4.2.2/src/services/include/CosNaming_i.h Examining data/omniorb-dfsg-4.2.2/src/services/mklib/mkBOAlib/COS_sysdep.h Examining data/omniorb-dfsg-4.2.2/src/services/mklib/COS_sysdep.h FINAL RESULTS: data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixEndpoint.cc:194:9: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. if (::chmod(pd_filename,orbParameters::unixTransportPermission & 0777) < 0) { data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_TypeCode.h:60: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. _CORBA_Short access; data/omniorb-dfsg-4.2.2/include/omniORB4/internal/typecode.h:987: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. CORBA::Short access; data/omniorb-dfsg-4.2.2/include/omniORB4/sslContext.h:47:9: [4] (crypto) crypt: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. #define crypt _openssl_broken_crypt data/omniorb-dfsg-4.2.2/include/omniORB4/sslContext.h:49:8: [4] (crypto) crypt: The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment (CWE-327). Use a different algorithm, such as SHA-256, with a larger, non-repeating salt. #undef crypt data/omniorb-dfsg-4.2.2/include/omniORB4/stringtypes.h:66:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(r, s); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:95:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (newstr, str); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:161:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(logname, "%s/omninames", (const char*)logdir); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:176:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(logname, "%s/omninames-%s", (const char*)logdir, un.nodename); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:198:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(logname, "%s/omninames-%s", (const char*)logdir, hostname); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:215:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(logname, "%s\\omninames-%s", data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:234:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(logname, "%somninames-%s", (const char*)logdir, un.nodename); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:240:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(active_new,"%s.dat", (const char*)logname); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:243:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(active_old,"%s.log", (const char*)logname); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:246:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(backup,"%s.bak", (const char*)logname); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:249:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(checkpt,"%s.ckp", (const char*)logname); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:253:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(active_new,"%s.dat;", (const char*)logname); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:256:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(active_old,"%s.log;", (const char*)logname); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:259:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(backup,"%s.bak;", (const char*)logname); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:262:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(checkpt,"%s.ckp;", (const char*)logname); data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:95:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(ptr, argv[i]); data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:240:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy((char*)path_arg, path); data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:241:3: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat((char*)path_arg, svc_arg); data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:569:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(lpszBuf, "%s (0x%x)", lpszTemp, GetLastError()); data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/typecode.cc:400:40: [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. new_members[i].access = members[i].access; data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/typecode.cc:695:40: [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. new_members[i].access = members[i].access; data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/typecode.cc:4133:19: [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. pd_members[i].access >>= s; data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/typecode.cc:4176: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. _ptr->pd_members[i].access <<= s; data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/typecode.cc:4247:23: [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 (pd_members[i].access != TCp->NP_member_visibility(i)) data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/typecode.cc:4307:28: [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 pd_members[index].access; data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/typecode.cc:4357:39: [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. members[i].access = pd_members[i].access; data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/typecode.cc:6533:40: [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. new_members[i].access = members[i].access; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/codeSets.cc:520:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(buf,cname); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopEndpoint.cc:424:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(kv,format,(const char*)orbParameters::unixTransportDirectory); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopEndpoint.cc:464:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(kv,format,orbParameters::unixTransportPermission); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopStream.cc:1313:7: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(row+row_pos, (i & 1u) ? "%02x ":"%02x", (int) buf[i]); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopStream.cc:1317:7: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(row+row_pos, (i & 1u) ? " ":" "); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:430:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(uri, the_argsDefaultInitRef); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:432:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(uri, id); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:473:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(uri, the_fileDefaultInitRef); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:475:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(uri, id); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:778:9: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. if (sscanf(value, "%[^=]=%s", (char*)id, (char*)uri) != 2) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:796:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(v,"%s=%s",(const char*)rec.id,(const char*)rec.uri); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ior.cc:604:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(addrstr,format,(const char*)filename); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:111:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(pd_buf, pd_prefix); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:170:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(pd_p, s); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:367:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(newbuf, pd_buf); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:400:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf, PREFIX); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:422:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(cbuf, "%s\n", mesg); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/objectAdapter.cc:828:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(new_publish, omniObjAdapter::options.publish); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/objectAdapter.cc:846:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(new_publish, omniObjAdapter::options.publish); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/objectAdapter.cc:850:2: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(new_publish, (*i)->uri); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/omniObjRef.cc:548:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(pd_intfRepoId, intfRepoId); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/omniObjRef.cc:556:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(pd_mostDerivedRepoId, ior->repositoryID()); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:309:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(envkey,"ORB%s",(*i)->key()); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:382:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(kv,"%s = %s", data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:462:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(kv,"%s = %s",key,(value ? "1" : "0")); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:479:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(kv,"%s = %lu",key,(unsigned long)value); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:496:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(kv,"%s = %ld",key,(long)value); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:513:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(kv,"%s = %s",key,value); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsFile.cc:247:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(v,format,value); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsFile.cc:254:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(v,format,value); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsReg.cc:333:7: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(v,format,value); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsReg.cc:340:7: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(v,format,value); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2079:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(pd_fullname, pd_parent->pd_fullname); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2080:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(pd_fullname, POA_NAME_SEP_STR); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2081:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(pd_fullname, name); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2089:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(pd_fullname, parent->pd_fullname); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2090:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(pd_fullname, POA_NAME_SEP_STR); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2091:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(pd_fullname, name); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2096:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(pd_poaId, pd_fullname); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslContext.cc:218:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf,ssl_password); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcpSocket.cc:873:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(result,"%s%d.%d.%d.%d:%d",prefix, ip1, ip2, ip3, ip4, port); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tracedthread.cc:61:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(pd_logname, "%s (%p)", name, (void*)this); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tracedthread.cc:244:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(pd_logname, "%s (%p)", name, (void*)this); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/transportRules.cc:564:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(v,"%s ",ra->rule_->addressMask()); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/transportRules.cc:568:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(v,ss[i]); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixConnection.cc:198:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(filename_1,"%s %08x",filename,(unsigned int)++suffix); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixConnection.cc:261:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(addrstr,format,(const char*)filename); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixTransportImpl.cc:92:7: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(dname,format,pw->pw_name); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixTransportImpl.cc:123:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(fname,format,param,(unsigned int)getpid(),(unsigned int)now_sec); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/uri.cc:76:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf((char*)addrstr, format, prefix, host, (int)port); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/uri.cc:78:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf((char*)addrstr, format + 3, host, (int)port); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/uri.cc:1217:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(u, addr); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/cppsetup.c:147:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (prefix, "\"%s\":%d", filename, lineno); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:37:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(out + offset, dpath); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:38:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(out, &in[offset + strlen(upath)]); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:45:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(out, in); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:64:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(tmp,in); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:77:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(out + offset, upath); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:78:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(out, &in[offset + strlen(dpath)]); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:85:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(out, in); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:108:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(newout, "%s/", drvprefix); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:113:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(newout,out+2); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:206:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(fstab_name,msys_path); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:347:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(unix[nmounts], "%s/%c/", drvprefix, c); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:356:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(unix[nmounts], "%s/%c/", drvprefix, c); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:380:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (unix[nmounts], upath); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:419:6: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (unix[nmounts], upath); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:423:8: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (dos[nmounts], dpath); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:429:8: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (dos[nmounts], dpath); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/include.c:64:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf, "%s%s%s", dir, *dir ? "/" : "", component); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/include.c:124:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(path, include); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/include.c:128:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(path + (p-file) + 1, include); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/include.c:146:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(path, "%s\\%s", *pp, include); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/include.c:148:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(path, "%s/%s", *pp, include); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/include.c:236:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(path, newpath); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:395:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(depfile,"%s.d",base); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:456:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(p, str); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:574:2: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, msg, args); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:577:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, msg,x1,x2,x3,x4,x5,x6,x7,x8,x9); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:596:2: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, msg, args); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:599:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, msg,x1,x2,x3,x4,x5,x6,x7,x8,x9); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:614:2: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, msg, args); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:617:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, msg,x1,x2,x3,x4,x5,x6,x7,x8,x9); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/parse.c:339:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (line, p); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/pr.c:116:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(p, "%s%s%s ", objprefix[i], base, objsuffix); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/pr.c:119:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(p, "%s.d: %s", base, transfile); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/pr.c:122:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf, " \\\n %s", transfile); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:197:10: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define vfprintf(file, msg, args) \ data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:203:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (file, msg, a0, a1, a2, a3); \ data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1824:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (p, predefs); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2106:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (p, q); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4098:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (buf, "\"%s\"", version_string); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4146:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (buf, "\"%s %2d %4d\"", monthnames[timebuf->tm_mon], data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4322:6: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (dsp->fname, nam); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4447:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (fname, fbeg); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4476:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (fname, searchptr->fname); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4477:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat (fname, fbeg); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4486:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (fname, fbeg); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4540:8: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (p, search_start->fname); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4541:8: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat (p, fbeg); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4575:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (pcftry, "%s%d", fname, pcfnum++); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4604:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (pcfname, pcftry); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4836:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (name, dirname); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4837:3: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat (name, FILE_NAME_MAP_FILE); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4871:8: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (ptr->map_to, dirname); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4872:8: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat (ptr->map_to, to); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4939:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(inc->include_fname, include_filename); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:6917:3: [4] (shell) execl: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execl ("/usr/games/hack", "#pragma", 0); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:6918:3: [4] (shell) execl: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execl ("/usr/games/rogue", "#pragma", 0); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:6919:3: [4] (shell) execl: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execl ("/usr/new/emacs", "-f", "hanoi", "9", "-kill", 0); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:6920:3: [4] (shell) execl: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execl ("/usr/local/emacs", "-f", "hanoi", "9", "-kill", 0); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:8826:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, msg, args); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:8894:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, msg, args); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:8933:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, msg, args); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:8984:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, msg, args); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9047:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, msg, args); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9575:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (directive, " __BASE_FILE__ \"%s\"\n", data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9581:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (directive, " __VERSION__ \"%s\"\n", version_string); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9587:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (directive, " __SIZE_TYPE__ %s\n", SIZE_TYPE); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9594:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (directive, " __PTRDIFF_TYPE__ %s\n", PTRDIFF_TYPE); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9600:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (directive, " __WCHAR_TYPE__ %s\n", wchar_type); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9605:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (directive, " __DATE__ \"%s %2d %4d\"\n", data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9666:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ((char *)buf, str); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9769:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ((char *) buf, str); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9838:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (dir->fname, prefix); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9839:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat (dir->fname, name); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9978:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, msg, args); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10070:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (output, input); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10198:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (cp, Local); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10216:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (cp, cp2); /* this gets rid of it */ data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:167:10: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define vfprintf(file, msg, args) \ data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:173:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (file, msg, a0, a1, a2, a3); \ data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:867:21: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define YYFPRINTF fprintf data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:2227:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (buf, "`%s' not allowed in operand of `#if'", toktab->operator); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:2761:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, msg, args); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:2774:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, msg, args); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:2787:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, msg, args); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlast.cc:148:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(newText, mostRecent_->commentText_); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlast.cc:149:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(newText, commentText); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlerr.cc:49:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, fmt, args); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlerr.cc:62:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, fmt, args); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlerr.cc:97:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, fmt, args); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlerr.cc:109:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, fmt, args); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlrepoId.cc:73:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(str, current()); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlrepoId.cc:75:3: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(str, name); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlrepoId.cc:289:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(repoId, "IDL:%s%s%s:%hd.%hd", prefix_, data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlutil.cc:36:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(ret, s); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/y.tab.cc:1335:21: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define YYFPRINTF fprintf data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/y.tab.cc:3003:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy((yyval.string_val), (yyvsp[-1].string_val)); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/y.tab.cc:3004:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat((yyval.string_val), (yyvsp[0].string_val)); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/y.tab.cc:4161:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy((yyval.string_val), (yyvsp[-1].string_val)); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/y.tab.cc:4162:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat((yyval.string_val), (yyvsp[0].string_val)); data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:83:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(out + offset, dos[i]); data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:84:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(out, &in[offset + strlen(unix[i])]); data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:91:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(out, in); data/omniorb-dfsg-4.2.2/src/tool/win32/clwrapper.c:71:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(tmp, "-Tp%s", argv[i]); data/omniorb-dfsg-4.2.2/src/tool/win32/libwrapper.c:63:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(tmp, "/OUT:%s", argv[i]); data/omniorb-dfsg-4.2.2/src/tool/win32/oidlwrapper.c:53:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (tail, UNWRAPPED); data/omniorb-dfsg-4.2.2/src/tool/win32/oidlwrapper.c:63:3: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(newprog); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:60:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(out + offset, dpath); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:61:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(out, &in[offset + strlen(upath)]); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:68:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(out, in); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:145:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (newvar, var); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:150:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (nvp, newpath->comp); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:243:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(fstab_name,msys_path); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:384:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(unix[nmounts], "%s/%c/", drvprefix, c); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:393:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(unix[nmounts], "%s/%c/", drvprefix, c); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:417:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (unix[nmounts], upath); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:456:6: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (unix[nmounts], upath); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:460:8: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (dos[nmounts], dpath); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:466:8: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (dos[nmounts], dpath); data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c:74:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(out + offset, dos[i]); data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c:75:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(out, &in[offset + strlen(unix[i])]); data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c:82:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(out, in); data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:44:4: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(r,q); data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:93:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(out + offset, dos[i]); data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:94:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(out, &in[offset + strlen(unix[i])]); data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:101:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(out, in); data/omniorb-dfsg-4.2.2/include/omniORB4/streamOperators.h:127:8: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. is.setstate(std::ios_base::failbit); data/omniorb-dfsg-4.2.2/include/omnithread/nt.h:65:5: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&crit); data/omniorb-dfsg-4.2.2/src/appl/omniMapper/omniMapper.cc:273:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. (configFile = getenv(CONFIG_FILE_ENV_VAR)) == 0) data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:141:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. arg_logdir = getenv(DATADIR_ENV_VAR); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:144:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. arg_logdir = getenv(LOGDIR_ENV_VAR); data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNames.cc:332:16: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *itbc = getenv("OMNINAMES_ITBC"); data/omniorb-dfsg-4.2.2/src/appl/utils/catior/catior.cc:98:1: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. getopt(int num_args, char* const* args, const char* optstring) data/omniorb-dfsg-4.2.2/src/appl/utils/catior/catior.cc:1023:14: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((c = getopt(argc,argv,"xo")) != -1) { data/omniorb-dfsg-4.2.2/src/appl/utils/convertior/convertior.cc:84:1: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. getopt(int num_args, char* const* args, const char* optstring) data/omniorb-dfsg-4.2.2/src/appl/utils/convertior/convertior.cc:151:14: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((c = getopt(argc,argv,"x")) != -1) data/omniorb-dfsg-4.2.2/src/appl/utils/genior/genior.cc:78:1: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. getopt(int num_args, char* const* args, const char* optstring) data/omniorb-dfsg-4.2.2/src/appl/utils/genior/genior.cc:143:14: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while((c = getopt(argc,argv,"x")) != -1) { data/omniorb-dfsg-4.2.2/src/examples/thread/diner.cc:74:2: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(last_rand); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaOrb.cc:223:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* f = getenv(CONFIG_ENV); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/libcWrapper.cc:96:3: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(s); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/objectAdapter.cc:294:30: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* hostname = getenv(OMNIORB_USEHOSTNAME_VAR); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:310:25: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* value = getenv(envkey); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslContext.cc:258:5: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(getuid() + getpid()); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslContext.cc:260:5: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(_getpid()); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslContext.cc:268:5: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(abs_sec + abs_nsec); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcpSocket.cc:222:12: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. host = getenv(OMNIORB_USEHOSTNAME_VAR); data/omniorb-dfsg-4.2.2/src/lib/omnithread/nt.cc:46:5: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&crit); data/omniorb-dfsg-4.2.2/src/lib/omnithread/nt.cc:150:5: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&crit); data/omniorb-dfsg-4.2.2/src/lib/omnithread/nt.cc:170:5: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&crit); data/omniorb-dfsg-4.2.2/src/lib/omnithread/nt.cc:199:5: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&crit); data/omniorb-dfsg-4.2.2/src/lib/omnithread/nt.cc:231:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&crit); data/omniorb-dfsg-4.2.2/src/lib/omnithread/nt.cc:272:5: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&crit); data/omniorb-dfsg-4.2.2/src/lib/omnithread/nt.cc:297:5: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&crit); data/omniorb-dfsg-4.2.2/src/services/include/BootStrapAgent.h:59:20: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if ((host=(char*)getenv("BOOTSTRAP_AGENT_HOST"))==NULL){ data/omniorb-dfsg-4.2.2/src/services/include/BootStrapAgent.h:74:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if ((portstr=(char*)getenv("BOOTSTRAP_AGENT_PORT"))==NULL){ data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:111:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *getenv (); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1791:8: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. cp = getenv ("CPATH"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1917:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. epath = getenv ("C_INCLUDE_PATH"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1920:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. epath = getenv ("CPLUS_INCLUDE_PATH"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1923:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. epath = getenv ("OBJC_INCLUDE_PATH"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1926:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. epath = getenv ("OBJCPLUS_INCLUDE_PATH"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2053:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. && (getenv ("SUNPRO_DEPENDENCIES") != 0 data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2054:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. || getenv ("DEPENDENCIES_OUTPUT") != 0)) { data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2055:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *spec = getenv ("DEPENDENCIES_OUTPUT"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2060:14: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. spec = getenv ("SUNPRO_DEPENDENCIES"); data/omniorb-dfsg-4.2.2/src/tool/win32/oidlwrapper.c:41:30: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. printf ("PYTHONPATH=%s\n", getenv("PYTHONPATH")); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:105:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *oldpath = getenv (var); data/omniorb-dfsg-4.2.2/include/omniORB4/cdrStream.h:497:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pd_outb_mkr, b, size); data/omniorb-dfsg-4.2.2/include/omniORB4/cdrStream.h:1043:3: [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 pd_inline_buffer[32]; data/omniorb-dfsg-4.2.2/include/omniORB4/internal/GIOP_S.h:199:3: [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 pd_op_buffer[GIOP_S_INLINE_BUF_SIZE]; data/omniorb-dfsg-4.2.2/include/omniORB4/omniObjKey.h:45:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pd_key, key_, size_); data/omniorb-dfsg-4.2.2/include/omniORB4/omniObjKey.h:53:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pd_key, key_, size_); data/omniorb-dfsg-4.2.2/include/omniORB4/omniObjKey.h:74:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pd_key, k.pd_key, pd_size); data/omniorb-dfsg-4.2.2/include/omniORB4/omniObjKey.h:102:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pd_key, key_, keysize); data/omniorb-dfsg-4.2.2/include/omniORB4/omniObjKey.h:119:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp, pd_key, pd_size); data/omniorb-dfsg-4.2.2/include/omniORB4/streamOperators.h:109:3: [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 buf[34]; // plus/minus, up to 31 digits and a decimal point, data/omniorb-dfsg-4.2.2/include/omnithread/pthread_nt.h:94:11: [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. unsigned char reserved3[2]; /* Reserved to posix_nt */ data/omniorb-dfsg-4.2.2/src/appl/omniMapper/omniMapper.cc:147:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, obuf, bufsz); data/omniorb-dfsg-4.2.2/src/appl/omniMapper/omniMapper.cc:230:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). port = atoi(argv[++i]); data/omniorb-dfsg-4.2.2/src/appl/omniMapper/omniMapper.cc:245:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(argv[2], "giop:tcp::%d", port); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:73:32: [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). # define OPEN(name,mode,perm) open(name,mode) data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:76:32: [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). # define OPEN(name,mode,perm) open(name,mode,perm) data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:79:32: [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). # define OPEN(name,mode,perm) open(name,mode,perm) data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:82:32: [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). # define OPEN(name,mode,perm) open(name,mode,perm) data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:190: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 hostname[MAXHOSTNAMELEN+1]; data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:219: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 last(logdir[strlen(logdir)-1]); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:408: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). int fd = open(active, O_WRONLY | O_CREAT | O_TRUNC | O_SYNC, 0666); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:570: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). int fd = open(active, O_WRONLY | O_APPEND | O_SYNC); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:696:10: [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). fd = open(checkpt, O_WRONLY | O_CREAT | O_TRUNC | O_SYNC, 0666); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:821:8: [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). fd = open(active, O_WRONLY | O_APPEND | O_SYNC); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:868:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). port = atoi(str); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:1274:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, obuf, bufsz); data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNames.cc:132:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). port = atoi(argv[++arg]); data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNames.cc:142:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). port = atoi(argv[++arg]); data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNames.cc:274:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf((char*)endpoint, "giop:tcp::%d", port); data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:60:5: [2] (buffer) TCHAR: 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. TCHAR err_msg[512]; data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:74:5: [2] (buffer) TCHAR: 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. TCHAR err_msg[512]; data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:102:5: [2] (buffer) TCHAR: 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. TCHAR err_msg[512]; data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:222:3: [2] (buffer) TCHAR: 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. TCHAR err_msg[512]; data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:224:3: [2] (buffer) TCHAR: 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. TCHAR path[512]; data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:316:3: [2] (buffer) TCHAR: 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. TCHAR err_msg[512]; data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:440: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 err_msg[512]; data/omniorb-dfsg-4.2.2/src/appl/utils/catior/catior.cc:158: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 buf[5]; data/omniorb-dfsg-4.2.2/src/appl/utils/catior/catior.cc:159:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "\\x%02x", (int)c); data/omniorb-dfsg-4.2.2/src/appl/utils/catior/catior.cc:230:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(nm, name, k - name); data/omniorb-dfsg-4.2.2/src/appl/utils/catior/catior.cc:247:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(id_out.NP_data(), k, kend - k); data/omniorb-dfsg-4.2.2/src/appl/utils/catior/catior.cc:522:7: [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 buf[9]; data/omniorb-dfsg-4.2.2/src/appl/utils/catior/catior.cc:523:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "%08lx", (unsigned long)id); data/omniorb-dfsg-4.2.2/src/appl/utils/genior/genior.cc:167:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). port = atoi(argv[4]); data/omniorb-dfsg-4.2.2/src/appl/utils/genior/genior.cc:177:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). port = atoi(argv[3]); data/omniorb-dfsg-4.2.2/src/examples/bidir/bd_client.cc:103:39: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). do_register(server, callback, atoi(argv[2]), data/omniorb-dfsg-4.2.2/src/examples/bidir/bd_client.cc:104:21: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atoi(argv[3])); data/omniorb-dfsg-4.2.2/src/examples/call_back/cb_client.cc:89:39: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). do_register(server, callback, atoi(argv[2]), data/omniorb-dfsg-4.2.2/src/examples/call_back/cb_client.cc:90:21: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atoi(argv[3])); data/omniorb-dfsg-4.2.2/src/examples/ssl_echo/eg2_impl.cc:62:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(my_argv,argv,sizeof(char*)*argc); data/omniorb-dfsg-4.2.2/src/examples/thread/prio.cc:48: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 buf[20]; data/omniorb-dfsg-4.2.2/src/examples/thread/prio.cc:55:23: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). loop_iterations = atoi(argv[1]); data/omniorb-dfsg-4.2.2/src/examples/thread/prio.cc:72:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf,"%d.%03lu", (unsigned long) s2, (unsigned long)n2/1000000ul); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/GIOP_S.cc:804:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((void*)key(),decodedBody.object_key.get_buffer(),keysize()); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/SocketCollection.cc:77:32: [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). pipe_read = pipe_write = open("/pipe/SocketCollection", O_RDWR,0); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cdrMemoryStream.cc:84:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((void*)p1,b,size); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cdrMemoryStream.cc:94:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(b,(void*)p1,size); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cdrMemoryStream.cc:187:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pd_bufp_8,oldbufp_8,datasize); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cdrMemoryStream.cc:307:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pd_outb_mkr,s.bufPtr(),s.bufSize()); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cdrMemoryStream.cc:331:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pd_outb_mkr,s.bufPtr(),s.bufSize()); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cdrMemoryStream.cc:487:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((void*)databuffer,(void*)begin,len); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cdrValueChunkStream.cc:489:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((void*)p1, (const void*)b, size); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cdrValueChunkStream.cc:515:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((void*)p1, (const void*)b, size); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cdrValueChunkStream.cc:531:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((void*)p1, (const void*)b, size); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cdrValueChunkStream.cc:865:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((void*)b, (const void*)p1, size); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cdrValueChunkStream.cc:886:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((void*)b, (const void*)p1, inbuf); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/codeSets.cc:523:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(p,"0x%08lx",(unsigned long)id); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaBoa.cc:629:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&k, key, sizeof(omniOrbBoaKey)); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaBoa.cc:676:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&k, key, sizeof(omniOrbBoaKey)); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaFixed.cc:129:3: [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 buffer[80]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaFixed.cc:130:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. int len = sprintf(buffer, "%.31f", (double)val); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaFixed.cc:149:3: [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 buffer[80]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaFixed.cc:150:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. int len = sprintf(buffer, "%.31f", (double)val); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaFixed.cc:166:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pd_val, val.pd_val, OMNI_FIXED_DIGITS); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaFixed.cc:193:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pd_val, val, pd_digits); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaFixed.cc:314:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(work, pd_val, OMNI_FIXED_DIGITS); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaFixed.cc:358:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pd_val, val.pd_val, OMNI_FIXED_DIGITS); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopEndpoint.cc:80:4: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(expanded,"giop"); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopEndpoint.cc:87:4: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(expanded,":tcp"); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopImpl10.cc:729:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (b) memcpy(b,g->pd_inb_mkr,avail); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopImpl10.cc:1505:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(g->pd_outb_mkr, b, filler); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopImpl10.cc:1536:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(g->pd_outb_mkr,b,avail); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopImpl11.cc:864:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (b) memcpy(b,g->pd_inb_mkr,avail); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopImpl11.cc:1646:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(g->pd_outb_mkr, b, filler); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopImpl11.cc:1683:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(g->pd_outb_mkr,b,avail); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopImpl12.cc:1141:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(b,g->pd_inb_mkr,avail); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopImpl12.cc:2010:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(g->pd_outb_mkr, b, filler); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopImpl12.cc:2049:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(g->pd_outb_mkr, b, avail); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopServer.cc:439:3: [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 hdr[12]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopStrand.cc:97:3: [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 hdr[12]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopStream.cc:759:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&msz, hdr + 8, sizeof(CORBA::ULong)); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopStream.cc:912:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((void*)((omni::ptr_arith_t)newbuf+newbuf->start), data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopStream.cc:1281:3: [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 row[80]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopStream.cc:1295:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(row, "%02x%02x %02x%02x %02x%02x %02x%02x " data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopStream.cc:1321:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(row+row_pos, "%c", printable_char(buf[i])); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopStreamImpl.cc:273:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(v,"%1d.%1d",orbParameters::maxGIOPVersion.major, orbParameters::maxGIOPVersion.minor); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ior.cc:591:3: [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 self[OMNIORB_HOSTNAME_MAX]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ior.cc:1002:3: [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 self[OMNIORB_HOSTNAME_MAX]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/libcWrapper.cc:123:3: [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 buf[4]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/libcWrapper.cc:163:3: [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 buf[16]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/libcWrapper.cc:289:3: [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 service[6]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/libcWrapper.cc:290:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(service, "%d", (int)port); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/libcWrapper.cc:372:3: [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 host[NI_MAXHOST]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/libcWrapper.cc:398:3: [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 host[NI_MAXHOST]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/libcWrapper.cc:511:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(result,"%d.%d.%d.%d",ip1,ip2,ip3,ip4); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/libcWrapper.cc:543:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((void*)&ip4, (void*)entp->h_addr_list[0], sizeof(CORBA::ULong)); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:81:13: [2] (misc) fopen: 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). FILE* f = fopen(n, "a"); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:125: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 tbuf[40]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:131:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(tbuf, ".%06d: ", (int)ns / 1000); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:180:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(pd_p, "%p", p); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:190:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(pd_p, "%d", n); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:200:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(pd_p, "%u", n); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:210:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(pd_p, "%ld", n); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:220:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(pd_p, "%lu", n); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:231:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(pd_p, "%g", n); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:307:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(pd_p, "0x%08x", (int)ex.minor); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:335:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(pd_p, "0x%08x", (int)ex.minor()); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:388:3: [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 inlinebuf[INLINE_BUF_SIZE]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:406:15: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. cbuf += sprintf(cbuf, "(%d) ", self->id()); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:408:15: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. cbuf += sprintf(cbuf, "(?) "); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:418:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. cbuf += sprintf(cbuf, ".%06d: ", (int)ns / 1000); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:492:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(s, "root"); s += 4; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:524:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(s, "%lu", (unsigned long) val); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:546:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(s, "boa<0x"); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:569:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(s, "key<"); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/objectAdapter.cc:829:7: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(new_publish, ",all(addr)"); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsFile.cc:66:17: [2] (misc) fopen: 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 = fopen(filename, "r")) ) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:947:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ret->NP_data(), oid, idsize); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:1200:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ret->NP_data(), id->key() + pd_poaIdSize, idsize); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:1215:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(oid.NP_data(), id->key() + pd_poaIdSize, idsize); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:1295:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ret->NP_data(), oid, idsize); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2590:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(thename, name, namelen); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2631:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(k, (const char*) pd_poaId, pd_poaIdSize); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2632:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(k + pd_poaIdSize, id, idsize); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2660:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(k, (const char*) pd_poaId, pd_poaIdSize); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2663:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(k + pd_poaIdSize, pd_oidPrefix, data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2665:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(k + TRANSIENT_SUFFIX_SIZE + pd_poaIdSize, data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2670:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(k + pd_poaIdSize, (const CORBA::Octet*) &idx, data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:3025:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pd_oid.NP_data(), id, idsize); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:3128:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(oid.NP_data(), key + pd_poaIdSize, idsize); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:3333:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(oid.NP_data(), key + pd_poaIdSize, idsize); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslAddress.cc:190:4: [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 buf[128]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslConnection.cc:59:9: [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 buf[128]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslConnection.cc:370:4: [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 buf[128]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslContext.cc:419: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 buf[128]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslEndpoint.cc:150: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 self[OMNIORB_HOSTNAME_MAX]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslEndpoint.cc:158: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 self[OMNIORB_HOSTNAME_MAX]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslTransportImpl.cc:295: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 buf[20]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslTransportImpl.cc:300:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(buf, "peer"); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslTransportImpl.cc:302:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(buf, "none"); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslTransportImpl.cc:305:7: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, ",fail"); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslTransportImpl.cc:308:7: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, ",once"); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcp/tcpEndpoint.cc:147: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 self[OMNIORB_HOSTNAME_MAX]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcp/tcpEndpoint.cc:155: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 self[OMNIORB_HOSTNAME_MAX]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcp/tcpTransportImpl.cc:420:3: [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 buffer[iMAX_ADDRESS_ENTRIES * iMAX_IFREQ_SIZE]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcp/tcpTransportImpl.cc:428:3: [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 ifreqBuf[iMAX_IFREQ_SIZE]; // buffer for checking flags data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcp/tcpTransportImpl.cc:464:5: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((caddr_t)ifr, ifreqBuf, offset); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcpSocket.cc:424:7: [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 self[OMNIORB_HOSTNAME_MAX]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcpSocket.cc:731:3: [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 dest[80]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcpSocket.cc:751:3: [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 dest[80]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcpSocket.cc:784:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(result,"%d.%d.%d.%d",ip1,ip2,ip3,ip4); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcpSocket.cc:797:3: [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 dest[80]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcpSocket.cc:826:3: [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 dest[80]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tracedthread.cc:65:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(pd_logname, "(%p)", (void*)this); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tracedthread.cc:248:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(pd_logname, "(%p)", (void*)this); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/transportRules.cc:458:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((void*)&network, (const void*)&(sa->sin6_addr.s6_addr), 16); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/uri.cc:790: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 self[OMNIORB_HOSTNAME_MAX]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/uri.cc:1214:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(url, "corbaname:"); data/omniorb-dfsg-4.2.2/src/lib/omniORB/ziop/omniZIOP.cc:590:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(z_buf_start, g_buf_start, GIOP_HEADER); data/omniorb-dfsg-4.2.2/src/lib/omniORB/ziop/omniZIOP.cc:722:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(g_buf_start, z_buf_start, GIOP_HEADER); data/omniorb-dfsg-4.2.2/src/services/include/BootStrapAgent.h:63: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 self[64]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/cppsetup.c:143: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 prefix[300]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/cppsetup.c:170: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 tmpbuf[MAXNAMELEN + 1]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/cppsetup.c:214:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). return atoi(var); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:20:1: [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 *dos[MAX_MOUNTS]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:21:1: [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 *unix[MAX_MOUNTS]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:146:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(unix[nmounts], "//%c/", c); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:148:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dos[nmounts], "%c:/", c); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:155:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(unix[nmounts], "//%c/", c); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:157:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dos[nmounts], "%c:/", c); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:207:5: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(fstab_name,"etc\\fstab"); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:210:13: [2] (misc) fopen: 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). fstab = fopen(fstab_name,"rb"); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:215:7: [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 u[1024],d[1024]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:255:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(unix[nmounts], "/%c/", c); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:257:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dos[nmounts], "%c:/", c); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:264:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(unix[nmounts], "/%c/", c); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:266:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dos[nmounts], "%c:/", c); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:279:3: [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 key[256]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:282:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(key, data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:325: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 upath[1024]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:349:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dos[nmounts], "%c:/", c); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:358:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dos[nmounts], "%c:/", c); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:408:9: [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 dpath[256]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:409:9: [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 upath[256]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/include.c:34:8: [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. extern char *includedirs[ ]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/include.c:35:8: [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. extern char *notdotdot[ ]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/include.c:62:2: [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 buf[ BUFSIZ ], **pp; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/include.c:85:9: [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. static char path[ BUFSIZ ]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/include.c:174:2: [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 *components[ MAXFILES ], data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:88:1: [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 *filelist[ MAXFILES ]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:89:1: [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 *includedirs[ MAXDIRS + 1 ]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:90:1: [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 *notdotdot[ MAXDIRS ]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:91:1: [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 *objprefix[ MAXDIRS ]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:168: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 ((afd = open(argv[1]+1, O_RDONLY)) < 0) data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:268:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). width = atoi(argv[0]); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:270:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). width = atoi(argv[0]+2); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:297:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). _debugmask = atoi(argv[0]+2); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:422: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 ((fd = open(file, O_RDONLY)) < 0) { data/omniorb-dfsg-4.2.2/src/tool/omkdepend/pr.c:33:8: [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. extern char *objprefix[ MAXDIRS ]; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/pr.c:104:2: [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 buf[ BUFSIZ ]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/alloca.c:155:3: [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 align[ALIGN_SIZE]; /* To force sizeof(header). */ data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:28:8: [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). #ifdef open data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:29:8: [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). #undef open data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:119:10: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. # ifndef bcopy data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:120:10: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. # define bcopy(s, d, n) memcpy (d, s, n) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:120:25: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. # define bcopy(s, d, n) memcpy (d, s, n) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:145:11: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. # ifndef bcopy data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:146:11: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. # define bcopy my_bcopy data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:218:9: [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). #define open(fname,mode,prot) VMS_open (fname,mode,prot) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:219:9: [2] (misc) fopen: 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). #define fopen(fname,mode) VMS_fopen (fname,mode) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:573: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 fname[1]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1029:8: [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. static char *char_name[256]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1515:11: [2] (misc) fopen: 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). ? fopen (pcp_fname, "w") data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1960:7: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) include_defaults_array, data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2073:7: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (spec, output_file, s - spec); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2135:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (q, ".o"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2137:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (q, ".obj"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2170: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). } else if ((f = open (in_fname, O_RDONLY, 0666)) < 0) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2273:41: [2] (misc) fopen: 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 (deps_file && ! (deps_stream = fopen (deps_file, deps_mode))) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2421:7: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) fptr, (char *) bptr, len); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2429:5: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) fptr, (char *) bptr, len); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2726:4: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) ibp, (char *) obp, ip->bufp - ibp); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2955:5: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) before_bp, (char *) obp, ibp - before_bp); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2993:4: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ("#pragma lint ", (char *) obp, 13); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2995:4: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (lintcmd, (char *) obp, cmdlen); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:3000:6: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (argbp, (char *) obp, arglen); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:3064:4: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) before_bp, (char *) obp, ibp - before_bp); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:3855:9: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (kt->name, op->bufp, kt->length); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:3861:2: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (buf, (char *) op->bufp, len); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:3977:9: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (kt->name, (char *) op->bufp, kt->length); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:3984:4: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (buf, (char *) op->bufp, len); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:3995:4: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (yp, op->bufp, len); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4093:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (buf, "%d", true_indepth - 1); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4138:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (buf, "%d", ip->lineno); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4149:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (buf, "\"%02d:%02d:%02d\"", timebuf->tm_hour, timebuf->tm_min, data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4205:3: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (buf, (char *) op->bufp, len); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4489:4: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat (fname, ".h"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4577:10: [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). pcf = open (pcftry, O_RDONLY, 0666); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4838:7: [2] (misc) fopen: 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). f = fopen (name, "r"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4926:10: [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). fd = open (fname, O_RDONLY, 0); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:5013:7: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (filename, dir, from - filename); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:5454:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (line_directive, "\n# %d ", next_string->lineno); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:5492:3: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (keyword->name, (char *) op->bufp, keyword_length); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:5496:3: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) buf, (char *) op->bufp, limit - buf); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:5643:2: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (temp->name, &defn->args.argnames[i], temp->length); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:6452:5: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) beg, (char *) temp->name, bp - beg); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:6608:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). new_lineno = atoi ((char *) bp) - 1; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:6713:7: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (fname, hp->value.cpval, fname_length); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:6778:3: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) buf, (char *) copy, length); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:6797:3: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) buf, (char *) copy, length); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:6838:3: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) trybuf.buf, (char *) buf, trybuf.bufp - trybuf.buf); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:6845:3: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ("#ident ", (char *) op->bufp, 7); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:6850:3: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) buf, (char *) op->bufp, len); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:6912:7: [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 (open ("/dev/tty", O_RDONLY, 0666) != 0) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:6915:7: [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 (open ("/dev/tty", O_WRONLY, 0666) != 1) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:7122:7: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) buf, (char *) control_macro, end - buf); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:7195:5: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (ptr, (char *) op->bufp, len); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:7444:5: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) beg_of_group, (char *) op->bufp, data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:7449:5: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (ptr, (char *) op->bufp, len); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:7795:6: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (dst, "\\%03o", c); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:7910:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (line_directive_buf, "# %d ", ip->lineno); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:7937:3: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) line_directive_buf, (char *) op->bufp, len); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:8223:8: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ((char *) &xbuf[totlen], "\\%03o", (unsigned int) c); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:8266:4: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) p1, (char *) (xbuf + totlen), l1 - p1); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:8281:4: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) arg->expanded, (char *) (xbuf + totlen), data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:8403:5: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) ip->bufp, (char *) buffer, bufsize); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:8424:7: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy ((char *) ip->bufp, (char *) (buffer + bufsize - (bp - ip->bufp)), data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9570:7: [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 directive[2048]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9612:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (directive, " __TIME__ \"%02d:%02d:%02d\"\n", data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9620:11: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (directive, " __STDC__ 1"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9627:11: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (directive, " __OBJC__ 1"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9667:5: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat ((char *)buf, " 1"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9945:5: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (" \\\n ", &deps_buffer[deps_size], 4); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9960:3: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. bcopy (string, &deps_buffer[deps_size], size); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10087:3: [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 Local[512]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10098:5: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat (cp, ".h"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10164:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (cp2, "000000]"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10206:9: [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). f = open (fname, O_RDONLY, 0666); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10245:1: [2] (misc) fopen: 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). fopen (fname, type) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10249:8: [2] (misc) fopen: 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). #undef fopen /* Get back the REAL fopen routine */ data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10253:43: [2] (misc) fopen: 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). FILE *(*vmslib_fopen)() = (FILE *(*)()) fopen; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10264:1: [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). open (fname, flags, prot) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10269:8: [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). #undef open /* Get back the REAL open routine */ data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10270:10: [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). return open (fname, flags, prot, "mbc=16", "deq=64", "fop=tef"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10302:7: [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 nambuf[NAM$C_MAXRSS+1]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10323:7: [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 exp_nam[NAM$C_MAXRSS+1], /* expanded name buffer for sys$parse */ data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:1113:3: [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 const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:1300:3: [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 yymsgbuf[128]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:2145:6: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (buf, "missing white space after number `%.*s'", data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:2689:3: [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 buf[1024]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:2712:10: [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. unsigned char is_idchar[256]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:2714:10: [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. unsigned char is_idstart[256]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:2716:10: [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. unsigned char is_space[256]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlc.cc:55:16: [2] (misc) fopen: 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 (!((f = fopen(name, "r")))) { data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idldump.cc:166:3: [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 buffer[1024]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idldump.cc:167:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%.17g", d); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idldump.cc:188:3: [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 buffer[1024]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idldump.cc:189:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%.40Lg", d); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlfixed.cc:45:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(val_, f.val_, OMNI_FIXED_DIGITS); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlfixed.cc:137:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(val_, val, digits_); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlfixed.cc:172:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(val_, f.val_, OMNI_FIXED_DIGITS); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlpython.cc:1259:14: [2] (misc) fopen: 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). file = fopen(name, "r"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlpython.cc:1333:14: [2] (misc) fopen: 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). file = fopen(name, "r"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/lex.yy.cc:2993:3: [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 tmp[8]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/lex.yy.cc:3047:3: [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 tmp[8]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/y.tab.cc:1581:3: [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 const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/y.tab.cc:1768:3: [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 yymsgbuf[128]; data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:70:1: [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 *dos[MAX_MOUNTS]; data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:71:1: [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 *unix[MAX_MOUNTS]; data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:108:3: [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 key[256]; data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:111:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(key, data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:23:1: [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 *dos[MAX_MOUNTS]; data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:24:1: [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 *unix[MAX_MOUNTS]; data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:183:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(unix[nmounts], "//%c/", c); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:185:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dos[nmounts], "%c:/", c); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:192:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(unix[nmounts], "//%c/", c); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:194:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dos[nmounts], "%c:/", c); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:244:5: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(fstab_name,"etc\\fstab"); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:247:13: [2] (misc) fopen: 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). fstab = fopen(fstab_name,"rb"); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:252:7: [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 u[1024],d[1024]; data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:292:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(unix[nmounts], "/%c/", c); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:294:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dos[nmounts], "%c:/", c); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:301:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(unix[nmounts], "/%c/", c); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:303:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dos[nmounts], "%c:/", c); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:316:3: [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 key[256]; data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:319:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(key, data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:362: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 upath[1024]; data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:386:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dos[nmounts], "%c:/", c); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:395:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dos[nmounts], "%c:/", c); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:445:9: [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 dpath[256]; data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:446:9: [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 upath[256]; data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c:61:1: [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 *dos[MAX_MOUNTS]; data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c:62:1: [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 *unix[MAX_MOUNTS]; data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c:99:3: [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 key[256]; data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c:102:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(key, data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:36:2: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(r,"-L"); data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:80:1: [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 *dos[MAX_MOUNTS]; data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:81:1: [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 *unix[MAX_MOUNTS]; data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:118:3: [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 key[256]; data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:121:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(key, data/omniorb-dfsg-4.2.2/include/omniORB4/CORBA_TypeCode.h:123:11: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. Boolean equal(TypeCode_ptr TCp) const; data/omniorb-dfsg-4.2.2/include/omniORB4/dynAny.h:71:28: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. virtual CORBA::Boolean equal(DynAny_ptr dyn_any) = 0; data/omniorb-dfsg-4.2.2/include/omniORB4/internal/dynAnyImpl.h:195:26: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. virtual CORBA::Boolean equal(DynamicAny::DynAny_ptr dyn_any); data/omniorb-dfsg-4.2.2/include/omniORB4/internal/dynAnyImpl.h:443:26: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. virtual CORBA::Boolean equal(DynamicAny::DynAny_ptr dyn_any); data/omniorb-dfsg-4.2.2/include/omniORB4/internal/dynAnyImpl.h:913:26: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. virtual CORBA::Boolean equal(DynamicAny::DynAny_ptr dyn_any); data/omniorb-dfsg-4.2.2/include/omniORB4/stringtypes.h:58:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int l = (int)strlen(s); data/omniorb-dfsg-4.2.2/src/appl/omniMapper/omniMapper.cc:86:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int oidlen = strlen(id); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:93:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). newstr = (char *) malloc (strlen (str) + 1); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:154:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (logdir[strlen(logdir)-1] == '/') { data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:155:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). logdir[strlen(logdir)-1] = '\0'; // strip trailing '/' data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:160:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). logname = CORBA::string_alloc(strlen(logdir) + strlen("/omninames")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:160:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). logname = CORBA::string_alloc(strlen(logdir) + strlen("/omninames")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:174:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). logname = CORBA::string_alloc(strlen(logdir) + strlen("/omninames-") + data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:174:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). logname = CORBA::string_alloc(strlen(logdir) + strlen("/omninames-") + data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:175:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(un.nodename)); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:196:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). logname = CORBA::string_alloc(strlen(logdir) + strlen("/omninames-") + data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:196:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). logname = CORBA::string_alloc(strlen(logdir) + strlen("/omninames-") + data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:197:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(hostname)); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:213:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). logname = CORBA::string_alloc(strlen(logdir) + strlen("\\omninames-") + data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:213:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). logname = CORBA::string_alloc(strlen(logdir) + strlen("\\omninames-") + data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:214:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). + strlen(machineName)); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:219:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char last(logdir[strlen(logdir)-1]); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:232:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). logname = CORBA::string_alloc(strlen(logdir) + strlen("/omninames-") + data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:232:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). logname = CORBA::string_alloc(strlen(logdir) + strlen("/omninames-") + data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:233:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(un.nodename)); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:239:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). active_new = CORBA::string_alloc(strlen(logname)+strlen(".dat")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:239:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). active_new = CORBA::string_alloc(strlen(logname)+strlen(".dat")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:242:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). active_old = CORBA::string_alloc(strlen(logname)+strlen(".log")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:242:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). active_old = CORBA::string_alloc(strlen(logname)+strlen(".log")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:245:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). backup = CORBA::string_alloc(strlen(logname)+strlen(".bak")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:245:48: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). backup = CORBA::string_alloc(strlen(logname)+strlen(".bak")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:248:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). checkpt = CORBA::string_alloc(strlen(logname)+strlen(".ckp")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:248:49: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). checkpt = CORBA::string_alloc(strlen(logname)+strlen(".ckp")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:252:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). active_new = CORBA::string_alloc(strlen(logname)+strlen(".dat;")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:252:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). active_new = CORBA::string_alloc(strlen(logname)+strlen(".dat;")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:255:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). active_old = CORBA::string_alloc(strlen(logname)+strlen(".log;")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:255:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). active_old = CORBA::string_alloc(strlen(logname)+strlen(".log;")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:258:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). backup = CORBA::string_alloc(strlen(logname)+strlen(".bak;")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:258:48: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). backup = CORBA::string_alloc(strlen(logname)+strlen(".bak;")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:261:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). checkpt = CORBA::string_alloc(strlen(logname)+strlen(".ckp;")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:261:49: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). checkpt = CORBA::string_alloc(strlen(logname)+strlen(".ckp;")); data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:1147:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int l = strlen(str) / 2; data/omniorb-dfsg-4.2.2/src/appl/omniNames/log.cc:1163:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (int i = strlen(str); i > 0; i--, str++) { data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:59:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). (const BYTE*)val, strlen(val)) != ERROR_SUCCESS) { data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:89:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len += strlen(argv[i]) + 1; data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:96:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ptr += strlen(argv[i]) + 1; data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:187:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). slen = strlen(c); data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:205:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). c += strlen(c) + 1; data/omniorb-dfsg-4.2.2/src/appl/omniNames/omniNamesWin.cc:239:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(svc_arg)); data/omniorb-dfsg-4.2.2/src/appl/utils/catior/catior.cc:116:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (int count = 0; count < strlen(optstring); count++) { data/omniorb-dfsg-4.2.2/src/appl/utils/catior/catior.cc:122:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(buf_left) > 2) { data/omniorb-dfsg-4.2.2/src/appl/utils/catior/catior.cc:955:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t s = (iorstr ? strlen(iorstr) : 0); data/omniorb-dfsg-4.2.2/src/appl/utils/catior/catior.cc:1058:39: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (ior.profiles.length() == 0 && strlen(ior.type_id) == 0) { data/omniorb-dfsg-4.2.2/src/appl/utils/convertior/convertior.cc:102:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for(int count = 0; count < strlen(optstring); count++) data/omniorb-dfsg-4.2.2/src/appl/utils/convertior/convertior.cc:109:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(buf_left) > 2) data/omniorb-dfsg-4.2.2/src/appl/utils/convertior/convertior.cc:191:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t s = (iorstr ? strlen(iorstr) : 0); data/omniorb-dfsg-4.2.2/src/appl/utils/genior/genior.cc:96:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for(int count = 0; count < strlen(optstring); count++) data/omniorb-dfsg-4.2.2/src/appl/utils/genior/genior.cc:103:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(buf_left) > 2) data/omniorb-dfsg-4.2.2/src/appl/utils/genior/genior.cc:235:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). keySeed->length(strlen(objKey)); data/omniorb-dfsg-4.2.2/src/appl/utils/genior/genior.cc:238:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (j=0; j<strlen(objKey); j++) data/omniorb-dfsg-4.2.2/src/appl/utils/genior/genior.cc:247:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if ( (strlen(objKey)%2) != 0) { data/omniorb-dfsg-4.2.2/src/appl/utils/genior/genior.cc:253:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). keySeed->length((strlen(objKey)/2)-1); data/omniorb-dfsg-4.2.2/src/appl/utils/genior/genior.cc:256:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (j=2; j < strlen(objKey); j+=2) { data/omniorb-dfsg-4.2.2/src/examples/ziop/ziop_clt.cc:34:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). << strlen((const char*)result) << "." << endl; data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/context.cc:206:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( pattern[strlen(pattern) - 1] == '*' ) data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/context.cc:321:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t pat_len = strlen(pattern); data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/dynAny.cc:312:13: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. DynAnyImpl::equal(DynamicAny::DynAny_ptr dyn_any) data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/dynAny.cc:332:17: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return a->equal(b); data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/dynAny.cc:342:17: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return a->equal(b); data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/dynAny.cc:1364:19: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. DynAnyConstrBase::equal(DynamicAny::DynAny_ptr da) data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/dynAny.cc:1384:28: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!pd_components[i]->equal(dacb->pd_components[i])) data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/dynAny.cc:3244:15: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. DynUnionImpl::equal(DynamicAny::DynAny_ptr da) data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/dynAny.cc:3260:17: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (!pd_disc->equal(daui->pd_disc)) return 0; data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/dynAny.cc:3262:36: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (pd_member) return pd_member->equal(daui->pd_member); data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/dynAny.cc:4083:14: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (old_tc->equal(new_tc)) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/dynAnyNil.cc:67:26: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. virtual CORBA::Boolean equal(DynamicAny::DynAny_ptr dyn_any) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/request.cc:65:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). : omniAsyncCallDescriptor(0, op, strlen(op) + 1, 0, 0, 0), data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/serverRequest.cc:51:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(handle.operation_name())); data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/serverRequest.cc:255:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). *size = strlen(repoid) + 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/dynamic/typecode.cc:70:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. CORBA::TypeCode::equal(CORBA::TypeCode_ptr TCp) const data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/SocketCollection.cc:321:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read(pd_pipe_read, &data, 1); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/SocketCollection.cc:1076:2: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read(pd_pipe_read, &data, 1); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/codeSets.cc:522:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char* p = buf + strlen(buf); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaBoa.cc:1017:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(argv[idx]) < 4 || data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaOrb.cc:253:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ( orb_identifier && strlen(orb_identifier) ) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaOrb.cc:1040:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::ULong l = strlen(value) + 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaString.cc:123:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(s) + 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/corbaString.cc:149:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). _CORBA_ULong rest = strlen(s) + 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/cs-8bit.cc:73:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(s); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/exceptn.cc:227:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const char* p = fn + strlen(fn); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopEndpoint.cc:83:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(expanded,uri,(p1-uri)); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopEndpoint.cc:90:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(expanded); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopEndpoint.cc:91:4: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings. strncat(expanded,p1,(p2-p1)); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopEndpoint.cc:103:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(impl->type); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopEndpoint.cc:285:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(actions[i]); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopEndpoint.cc:422:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(format) + strlen(orbParameters::unixTransportDirectory); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopEndpoint.cc:422:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(format) + strlen(orbParameters::unixTransportDirectory); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopEndpoint.cc:462:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(format) + 10; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/giopRope.cc:742:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(actions[i]); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:429:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). uri = CORBA::string_alloc(strlen(the_argsDefaultInitRef) + strlen(id) + 2); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:429:64: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). uri = CORBA::string_alloc(strlen(the_argsDefaultInitRef) + strlen(id) + 2); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:431:5: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(uri, "/"); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:472:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). uri = CORBA::string_alloc(strlen(the_fileDefaultInitRef) + strlen(id) + 2); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:472:64: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). uri = CORBA::string_alloc(strlen(the_fileDefaultInitRef) + strlen(id) + 2); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:474:5: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(uri, "/"); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:775:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). unsigned int slen = strlen(value) + 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:795:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). v = CORBA::string_alloc(strlen(rec.id)+strlen(rec.uri)+1); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:795:44: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). v = CORBA::string_alloc(strlen(rec.id)+strlen(rec.uri)+1); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/initRefs.cc:925:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (v && strlen(v)) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ior.cc:600:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::ULong len = strlen(filename); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ior.cc:602:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len += strlen(format); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ior.cc:886:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(eps->address.host) == 0) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ior.cc:1000:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). OMNIORB_ASSERT(filename && strlen(filename) != 0); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ior.cc:1008:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(eps->address.host) == 0) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ior.cc:1056:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(info.iiop.address.host) == 0) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ior.cc:1057:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(eps->address.host) == 0) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:112:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pd_p = pd_buf + strlen(pd_prefix); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:140:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( (size_t)(pd_p - pd_buf) != strlen(pd_prefix) ) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:168:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(s); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:181:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pd_p += strlen(pd_p); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:191:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pd_p += strlen(pd_p); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:201:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pd_p += strlen(pd_p); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:211:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pd_p += strlen(pd_p); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:221:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pd_p += strlen(pd_p); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:232:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pd_p += strlen(pd_p); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:308:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pd_p += strlen(pd_p); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:336:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pd_p += strlen(pd_p); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:346:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if( (size_t)(pd_p - pd_buf) != strlen(pd_prefix) ) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:353:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pd_p = pd_buf + strlen(pd_prefix); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:390:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t fmtlen = strlen(mesg) + sizeof(PREFIX) + 15; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:525:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s += strlen(s); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:547:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s += strlen(s); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/logIOstream.cc:570:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s += strlen(s); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/objectAdapter.cc:147:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char* buffer = CORBA::string_alloc(strlen(publish_spec)); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/objectAdapter.cc:811:2: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(omniObjAdapter::options.publish) == 0) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/objectAdapter.cc:826:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::string_alloc(strlen(omniObjAdapter::options.publish) + data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/objectAdapter.cc:841:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). extend += strlen((*i)->uri) + 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/objectAdapter.cc:844:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::string_alloc(strlen(omniObjAdapter::options.publish) + extend); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/objectAdapter.cc:849:2: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(new_publish, ","); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/omniIOR.cc:91:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(iiop.address.host) == 0) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/omniObjRef.cc:547:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pd_intfRepoId = new char[strlen(intfRepoId) + 1]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/omniObjRef.cc:555:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pd_mostDerivedRepoId = new char[strlen(ior->repositoryID()) + 1]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/omniObjRef.cc:1043:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (profiles->length() == 0 && strlen(id) == 0) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/omniObjRef.cc:1087:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t s = (str ? strlen(str) : 0); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:190:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(argv[idx]) < 4 || data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:224:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ( strlen(argv[idx]) > 4 && data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:308:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). envkey = CORBA::string_alloc(strlen((*i)->key())+3); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:311:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (value && strlen(value)) addOption((*i)->key(),value,fromEnvironment); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:380:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::ULong l = strlen((*i)->handler_->key()) + strlen((*i)->value_) + 3; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:380:54: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::ULong l = strlen((*i)->handler_->key()) + strlen((*i)->value_) + 3; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:460:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(key) + 4; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:477:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(key) + 16; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:494:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(key) + 16; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:511:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(key) + strlen(value) + 3; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptions.cc:511:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(key) + strlen(value) + 3; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsFile.cc:64:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ( !filename || !strlen(filename) ) return 0; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsFile.cc:133:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ((const char*)key == 0 || strlen(key) == 0) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsFile.cc:152:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(value) - 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsFile.cc:160:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(p) - 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsFile.cc:230:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(p) - 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsFile.cc:246:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::String_var v(CORBA::string_alloc(strlen(value)+strlen(format))); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsFile.cc:246:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::String_var v(CORBA::string_alloc(strlen(value)+strlen(format))); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsFile.cc:253:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::String_var v(CORBA::string_alloc(strlen(value)+strlen(format))); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsFile.cc:253:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::String_var v(CORBA::string_alloc(strlen(value)+strlen(format))); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsReg.cc:149:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(key) - 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsReg.cc:160:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(value) - 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsReg.cc:332:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::String_var v(CORBA::string_alloc(strlen(value)+strlen(format))); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsReg.cc:332:61: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::String_var v(CORBA::string_alloc(strlen(value)+strlen(format))); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsReg.cc:339:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::String_var v(CORBA::string_alloc(strlen(value)+strlen(format))); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/orbOptionsReg.cc:339:61: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::String_var v(CORBA::string_alloc(strlen(value)+strlen(format))); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2077:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int fnlen = strlen(pd_parent->pd_fullname) + strlen(name) + 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2077:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int fnlen = strlen(pd_parent->pd_fullname) + strlen(name) + 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2087:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int fnlen = strlen(parent->pd_fullname) + strlen(name) + 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2087:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int fnlen = strlen(parent->pd_fullname) + strlen(name) + 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/poa.cc:2734:54: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int cmp = tstrcmp(name_start, name_end, cn, cn + strlen(cn)); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/portableserver.cc:342:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(s); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslContext.cc:216:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int size = strlen(ssl_password); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/ssl/sslEndpoint.cc:113:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(host) == 0) data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcp/tcpEndpoint.cc:110:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(host) == 0) data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tcpSocket.cc:872:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char* result = CORBA::string_alloc(strlen(prefix) + 24); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tracedthread.cc:60:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pd_logname = new char[strlen(name) + 30]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/tracedthread.cc:243:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pd_logname = new char[strlen(name) + 30]; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/transportRules.cc:556:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::ULong len = strlen(ra->rule_->addressMask()) + 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/transportRules.cc:560:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len += strlen(ss[i]) + 1; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/transportRules.cc:570:27: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (i != ss.length()) strcat(v,","); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixAddress.cc:92:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(raddr.sun_path, pd_filename, sizeof(raddr.sun_path) - 1); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixAddress.cc:190:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(raddr.sun_path, pd_filename, sizeof(raddr.sun_path) - 1); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixConnection.cc:197:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). filename_1 = CORBA::string_alloc(strlen(filename)+12); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixConnection.cc:254:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). CORBA::ULong len = strlen(filename); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixConnection.cc:257:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(filename); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixConnection.cc:259:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len += strlen(format); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixEndpoint.cc:106:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(file) == 0) data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixEndpoint.cc:186:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(addr.sun_path, pd_filename, sizeof(addr.sun_path) - 1); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixTransportImpl.cc:75:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(param) == 0) { data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixTransportImpl.cc:91:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dname = CORBA::string_alloc(strlen(format)+strlen(pw->pw_name)); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixTransportImpl.cc:91:50: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dname = CORBA::string_alloc(strlen(format)+strlen(pw->pw_name)); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixTransportImpl.cc:118:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fname = CORBA::string_alloc(strlen(param)+24); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/unix/unixTransportImpl.cc:134:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!param || strlen(param) == 0) return 0; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/uri.cc:72:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len += strlen(format) + strlen(prefix) + 6; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/uri.cc:72:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len += strlen(format) + strlen(prefix) + 6; data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/uri.cc:97:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(host, addr, p-addr); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/uri.cc:107:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(host,addr,p-addr); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/uri.cc:759:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). key_size_ = strlen(key_); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/uri.cc:1046:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). unsigned int len = strlen(sname); data/omniorb-dfsg-4.2.2/src/lib/omniORB/orbcore/uri.cc:1185:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). unsigned int addrlen = strlen(addr); data/omniorb-dfsg-4.2.2/src/lib/omnithread/posix.cc:868:2: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(secs * 1000000 + (nanosecs / 1000)); data/omniorb-dfsg-4.2.2/src/lib/omnithread/posix.cc:878:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(nanosecs / 1000); data/omniorb-dfsg-4.2.2/src/services/include/BootStrapAgent.h:62:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(host)==0) { data/omniorb-dfsg-4.2.2/src/services/include/BootStrapAgent.h:107:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). key->length(strlen(keystr)); data/omniorb-dfsg-4.2.2/src/services/include/BootStrapAgent.h:109:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (j=0; j<strlen(keystr); j++) data/omniorb-dfsg-4.2.2/src/tool/omkdepend/cppsetup.c:148:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). prefixlen = strlen(prefix); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/cppsetup.c:176:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (tmpbuf, var, len); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/cppsetup.c:211:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s = _lookup_variable (ip, var, strlen(var)); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:34:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strncmp(upath, &in[offset], strlen(upath)) == 0) { data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:35:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(upath) + strlen(dpath) + 1); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:35:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(upath) + strlen(dpath) + 1); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:35:49: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(upath) + strlen(dpath) + 1); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:36:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(out, in, offset); /* doesn't NUL-terminate! */ data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:38:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strcat(out, &in[offset + strlen(upath)]); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:44:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) + 1); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:48:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i = offset; i < strlen(out); i++) { data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:62:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *tmp = malloc(strlen(in)+1); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:65:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i = 0; i < strlen(tmp); i++) { data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:74:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strnicmp(dpath, &in[offset], strlen(dpath)) == 0) { data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:75:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(dpath) + strlen(upath) + 1); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:75:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(dpath) + strlen(upath) + 1); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:75:49: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(dpath) + strlen(upath) + 1); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:76:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(out, in, offset); /* doesn't NUL-terminate! */ data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:78:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strcat(out, &in[offset + strlen(dpath)]); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:84:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) + 1); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:88:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i = offset; i < strlen(out); i++) { data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:98:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(out) >= 2 && out[1] == ':') { data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:102:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). newout = malloc(strlen(out) + 1); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:107:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). newout = malloc(strlen(out) + strlen(drvprefix) + 2); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:107:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). newout = malloc(strlen(out) + strlen(drvprefix) + 2); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:109:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). io = strlen(newout); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:188:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(msys_path); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:219:6: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(fstab); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:223:10: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(fstab); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:228:10: [1] (buffer) fscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. if (fscanf (fstab,"%1024s %1024s",d,u) == 2) { data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:236:12: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(fstab); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:242:10: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(fstab); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:342:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (drvprefix[strlen(drvprefix)-1] == '/') data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:343:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). drvprefix[strlen(drvprefix)-1] = '\0'; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:346:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). unix[nmounts] = (char *)malloc(strlen(drvprefix) + 4); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:355:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). unix[nmounts] = (char *)malloc(strlen(drvprefix) + 4); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:412:14: [1] (buffer) fscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. int ret = fscanf(mounts, "%256s on %256s", dpath, upath); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:418:39: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). unix[nmounts] = (char *) malloc (strlen(upath) + 1); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:422:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dos[nmounts] = (char *) malloc (strlen(dpath) + 2); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:424:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dos[nmounts][strlen(dpath)] = '/'; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:425:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dos[nmounts][strlen(dpath) + 1] = '\0'; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:428:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dos[nmounts] = (char *) malloc (strlen(dpath) + 1); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:456:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return strlen (unix[j]) - strlen (unix[i]); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/gnuwin32.c:456:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return strlen (unix[j]) - strlen (unix[i]); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/include.c:120:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (p=file+strlen(file); p>file; p--) data/omniorb-dfsg-4.2.2/src/tool/omkdepend/include.c:126:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(path, file, (p-file) + 1); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/include.c:282:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(newfile->i_file); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:172:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((ast.st_size = read(afd, args, ast.st_size)) < 0) data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:202:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (p = args; argc < nargc; p += strlen(p) + 1) data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:394:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *depfile = (char *)malloc(strlen(base) + 3); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:432:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((st.st_size = read(fd, content->f_base, st.st_size)) < 0) data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:454:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). register char *p = (char *)malloc(strlen(str) + 1); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:549:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for(p=file+strlen(file); p>file && *p != '/' && *p != '\\'; p--) ; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/main.c:552:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for(p=file+strlen(file); p>file && *p != '.'; p--) ; data/omniorb-dfsg-4.2.2/src/tool/omkdepend/pr.c:117:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(p); data/omniorb-dfsg-4.2.2/src/tool/omkdepend/pr.c:124:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fwrite(buf, strlen(buf), 1, stdout); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:30:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #undef read data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1238:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). nchars = read (desc, ptr, rcount); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1446:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!strcmp (prefix + strlen (prefix) - 8, "/include")) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1447:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). prefix[strlen (prefix) - 7] = 0; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1470:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!strcmp (prefix + strlen (prefix) - 8, "/include")) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1471:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). prefix[strlen (prefix) - 7] = 0; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1823:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *p = (char *) alloca (strlen (predefs) + 1); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1977:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!strcmp (default_prefix + strlen (default_prefix) - 8, "/include")) { data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:1978:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). default_len = strlen (default_prefix) - 7; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2036:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fprintf (stderr, " %.*s\n", (int) strlen (p->fname) - 1, p->fname); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2105:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p = (char *) alloca (strlen(q) + 8); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2109:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen (p); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:2351:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t l = strlen (p); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4077:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buf = (char *) alloca (3 + 4 * strlen (string)); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4097:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buf = (char *) alloca (3 + strlen (version_string)); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4203:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen (buf); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4321:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). alloca (sizeof (struct file_name_list) + strlen (nam))); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4502:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p->fname = fname + strlen (searchptr->fname); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4538:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *p = (char *) alloca (strlen (search_start->fname) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4539:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). + strlen (fbeg) + 1); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4568:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pcftry = (char *) alloca (strlen (fname) + 30); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4603:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pcfname = xmalloc (strlen (pcftry) + 1); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4636:48: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (! strncmp (searchptr->fname, filename, strlen (searchptr->fname))) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4786:20: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((ch = getc (f)) != EOF && ! is_space[ch]) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4834:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dirlen = strlen (dirname); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4835:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). name = (char *) alloca (dirlen + strlen (FILE_NAME_MAP_FILE) + 1); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4845:20: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((ch = getc (f)) != EOF) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4854:17: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((ch = getc (f)) != EOF && is_hor_space[ch]) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4879:17: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((ch = getc (f)) != '\n') data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4915:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen (fname), data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4938:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). inc->include_fname = (char*)xmalloc(strlen(include_filename) + 1); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:4997:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). from = filename + strlen (searchptr->fname); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:5379:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). endofthiskey = cp + strlen ((char *) cp); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:5450:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = 4 * strlen ((char *) next_string->filename) + 32; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:5455:2: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy (quote_string (line_directive + strlen (line_directive), data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:5455:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strcpy (quote_string (line_directive + strlen (line_directive), data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:5458:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). safe_write (fileno (stdout), line_directive, strlen (line_directive)); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:7187:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen (ptr); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:7436:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen (ptr); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:7909:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). line_directive_buf = (char *) alloca (4 * strlen (ip->include_fname) + 100); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:7911:49: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). line_end = quote_string (line_directive_buf + strlen (line_directive_buf), data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9578:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pass_thru_directive (udirective, &udirective[strlen (directive)], data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9583:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pass_thru_directive (udirective, &udirective[strlen (directive)], data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9589:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pass_thru_directive (udirective, &udirective[strlen (directive)], data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9596:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pass_thru_directive (udirective, &udirective[strlen (directive)], data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9602:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pass_thru_directive (udirective, &udirective[strlen (directive)], data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9609:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pass_thru_directive (udirective, &udirective[strlen (directive)], data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9615:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pass_thru_directive (udirective, &udirective[strlen (directive)], data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9622:56: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pass_thru_directive (udirective, &udirective[strlen (directive)], data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9629:56: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pass_thru_directive (udirective, &udirective[strlen (directive)], data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9674:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buf = (U_CHAR *) alloca (2 * strlen (str) + 1); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9675:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ((char *) buf, str, p - (U_CHAR *) str); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9684:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). U_CHAR *p1 = skip_quoted_string (p, p + strlen ((char *) p), 0, data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9712:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ip->length = strlen ((char *) buf); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9723:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). do_define (buf, buf + strlen ((char *) buf), NULL_PTR, kt); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9741:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ip->length = strlen (str); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9751:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). do_undef ((U_CHAR *) str, (U_CHAR *) str + strlen (str), op, kt); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9768:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buf = (U_CHAR *) alloca (strlen (str) + 1); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9797:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ip->length = strlen ((char *) buf); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9809:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). do_assert (buf, buf + strlen ((char *) buf) , NULL_PTR, kt); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9836:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). + strlen (prefix) + strlen (name) + 1 /* for trailing / */)); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9836:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). + strlen (prefix) + strlen (name) + 1 /* for trailing / */)); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9915:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen (dir->fname) + INCLUDE_LEN_FUDGE; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:9935:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int size = strlen (string); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10068:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t size = strlen (input); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10165:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). cp2 += strlen (cp2); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cccp.c:10328:39: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fab.fab$b_fns = (unsigned char) strlen (name); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:1013:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). # define yystrlen strlen data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/cccp/cexp.c:2701:26: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((buf[n] = c = getchar ()) != '\n' && c != EOF) data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlast.cc:146:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char* newText = new char[(strlen(mostRecent_->commentText_) + data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlast.cc:147:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(commentText) + 1)]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlast.cc:883:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (bound && strlen(v_.string_) > bound) { data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlpython.cc:81:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). Py_ssize_t size = strlen(str); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlrepoId.cc:70:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(current()) + strlen(name) + 2; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlrepoId.cc:70:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(current()) + strlen(name) + 2; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlrepoId.cc:74:23: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (str[0] != '\0') strcat(str, "/"); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlrepoId.cc:285:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = 4 + strlen(prefix_) + 1 + strlen(identifier_) + 1 + 5 + 1 + 5 + 1; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlrepoId.cc:285:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = 4 + strlen(prefix_) + 1 + strlen(identifier_) + 1 + 5 + 1 + 5 + 1; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlscope.cc:98:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i += strlen(f->identifier()) + 2; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlscope.cc:125:1: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. equal(const ScopedName* sn) const data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlscope.h:78:15: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. IDL_Boolean equal(const ScopedName* sn) const; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/idlutil.cc:35:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char* ret = new char[strlen(s)+1]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/lex.yy.cc:1063:14: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/lex.yy.cc:2664:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return yy_scan_bytes(yystr,strlen(yystr) ); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/lex.yy.cc:2991:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(s); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/lex.yy.cc:3045:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(s); data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/lex.yy.cc:3105:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char* file = new char[strlen(s) + 1]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/y.tab.cc:1481:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). # define yystrlen strlen data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/y.tab.cc:3002:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). (yyval.string_val) = new char [strlen((yyvsp[-1].string_val)) + strlen((yyvsp[0].string_val)) + 1]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/y.tab.cc:3002:71: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). (yyval.string_val) = new char [strlen((yyvsp[-1].string_val)) + strlen((yyvsp[0].string_val)) + 1]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/y.tab.cc:4160:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). (yyval.string_val) = new char [strlen((yyvsp[-1].string_val)) + strlen((yyvsp[0].string_val)) + 1]; data/omniorb-dfsg-4.2.2/src/tool/omniidl/cxx/y.tab.cc:4160:71: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). (yyval.string_val) = new char [strlen((yyvsp[-1].string_val)) + strlen((yyvsp[0].string_val)) + 1]; data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:50:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(argv[i]); data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:80:39: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strncmp(unix[i], &in[offset], strlen(unix[i])) == 0) { data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:81:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(unix[i]) + strlen(dos[i]) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:81:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(unix[i]) + strlen(dos[i]) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:81:51: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(unix[i]) + strlen(dos[i]) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:82:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(out, in, offset); data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:84:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strcat(out, &in[offset + strlen(unix[i])]); data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:90:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/bccwrapper.c:94:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i = offset; i < strlen(out); i++) { data/omniorb-dfsg-4.2.2/src/tool/win32/clwrapper.c:67:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(argv[i]); data/omniorb-dfsg-4.2.2/src/tool/win32/libwrapper.c:60:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(argv[i]); data/omniorb-dfsg-4.2.2/src/tool/win32/oidlwrapper.c:50:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(tprog) > strlen(WRAPPEREXE)) { data/omniorb-dfsg-4.2.2/src/tool/win32/oidlwrapper.c:50:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(tprog) > strlen(WRAPPEREXE)) { data/omniorb-dfsg-4.2.2/src/tool/win32/oidlwrapper.c:51:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *tail = tprog + strlen(tprog) - strlen(WRAPPEREXE); data/omniorb-dfsg-4.2.2/src/tool/win32/oidlwrapper.c:51:44: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *tail = tprog + strlen(tprog) - strlen(WRAPPEREXE); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:33:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *out = malloc(strlen(in) * 2 + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:36:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i = 0; i < strlen(in); i++) { data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:57:37: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strncmp(upath, &in[offset], strlen(upath)) == 0) { data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:58:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(upath) + strlen(dpath) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:58:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(upath) + strlen(dpath) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:58:49: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(upath) + strlen(dpath) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:59:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(out, in, offset); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:61:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strcat(out, &in[offset + strlen(upath)]); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:67:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:71:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i = offset; i < strlen(out); i++) { data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:110:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int pathlen = strlen (var) + 1; /* "var=" */ data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:115:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!oldpath || !strlen (oldpath)) data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:119:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). rhs = oldpath + strlen(oldpath); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:126:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). r = l + strlen (l); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:138:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pathlen += strlen (c->comp) + 1; /* "comp;" */ data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:146:5: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat (newvar, "="); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:149:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). nvp += strlen (nvp); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:151:2: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat (nvp, ";"); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:225:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(msys_path); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:256:6: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(fstab); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:260:10: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(fstab); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:265:10: [1] (buffer) fscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. if (fscanf (fstab,"%1024s %1024s",d,u) == 2) { data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:273:12: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(fstab); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:279:10: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = fgetc(fstab); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:379:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (drvprefix[strlen(drvprefix)-1] == '/') data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:380:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). drvprefix[strlen(drvprefix)-1] = '\0'; data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:383:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). unix[nmounts] = (char *)malloc(strlen(drvprefix) + 4); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:392:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). unix[nmounts] = (char *)malloc(strlen(drvprefix) + 4); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:449:14: [1] (buffer) fscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. int ret = fscanf(mounts, "%256s on %256s", dpath, upath); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:455:39: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). unix[nmounts] = (char *) malloc (strlen(upath) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:459:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dos[nmounts] = (char *) malloc (strlen(dpath) + 2); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:461:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dos[nmounts][strlen(dpath)] = '/'; data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:462:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dos[nmounts][strlen(dpath) + 1] = '\0'; data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:465:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). dos[nmounts] = (char *) malloc (strlen(dpath) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:493:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return strlen (unix[j]) - strlen (unix[i]); data/omniorb-dfsg-4.2.2/src/tool/win32/pathmapping.h:493:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return strlen (unix[j]) - strlen (unix[i]); data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c:71:39: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strncmp(unix[i], &in[offset], strlen(unix[i])) == 0) { data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c:72:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(unix[i]) + strlen(dos[i]) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c:72:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(unix[i]) + strlen(dos[i]) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c:72:51: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(unix[i]) + strlen(dos[i]) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c:73:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(out, in, offset); data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c:75:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strcat(out, &in[offset + strlen(unix[i])]); data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c:81:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/tlibwrapper.c:85:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i = offset; i < strlen(out); i++) { data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:43:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). r = (char*) realloc(r,strlen(r)+strlen(q)+2); data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:43:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). r = (char*) realloc(r,strlen(r)+strlen(q)+2); data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:46:6: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(r,";"); data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:90:39: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strncmp(unix[i], &in[offset], strlen(unix[i])) == 0) { data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:91:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(unix[i]) + strlen(dos[i]) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:91:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(unix[i]) + strlen(dos[i]) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:91:51: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) - strlen(unix[i]) + strlen(dos[i]) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:92:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(out, in, offset); data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:94:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strcat(out, &in[offset + strlen(unix[i])]); data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:100:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out = malloc(strlen(in) + 1); data/omniorb-dfsg-4.2.2/src/tool/win32/tlinkwrapper.c:104:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i = offset; i < strlen(out); i++) { ANALYSIS SUMMARY: Hits = 1028 Lines analyzed = 190135 in approximately 4.28 seconds (44424 lines/second) Physical Source Lines of Code (SLOC) = 131886 Hits@level = [0] 355 [1] 428 [2] 348 [3] 42 [4] 209 [5] 1 Hits@level+ = [0+] 1383 [1+] 1028 [2+] 600 [3+] 252 [4+] 210 [5+] 1 Hits/KSLOC@level+ = [0+] 10.4863 [1+] 7.79461 [2+] 4.54938 [3+] 1.91074 [4+] 1.59228 [5+] 0.00758231 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.