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/jreen-1.2.0/3rdparty/jdns/jdns.h
Examining data/jreen-1.2.0/3rdparty/jdns/jdns_mdnsd.c
Examining data/jreen-1.2.0/3rdparty/jdns/qjdns.h
Examining data/jreen-1.2.0/3rdparty/jdns/jdns_sys.c
Examining data/jreen-1.2.0/3rdparty/jdns/jdns_packet.h
Examining data/jreen-1.2.0/3rdparty/jdns/qjdns_sock.cpp
Examining data/jreen-1.2.0/3rdparty/jdns/jdns_mdnsd.h
Examining data/jreen-1.2.0/3rdparty/jdns/qjdns_sock.h
Examining data/jreen-1.2.0/3rdparty/jdns/qjdns_p.h
Examining data/jreen-1.2.0/3rdparty/jdns/jdns.c
Examining data/jreen-1.2.0/3rdparty/jdns/jdns_packet.c
Examining data/jreen-1.2.0/3rdparty/jdns/jdns_util.c
Examining data/jreen-1.2.0/3rdparty/jdns/qjdns.cpp
Examining data/jreen-1.2.0/3rdparty/jdns/jdns_p.h
Examining data/jreen-1.2.0/3rdparty/icesupport/httpconnect.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/objectsession.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/stuntransaction.h
Examining data/jreen-1.2.0/3rdparty/icesupport/turnclient.h
Examining data/jreen-1.2.0/3rdparty/icesupport/icelocaltransport.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/stuntypes.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/iceturntransport.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/stunallocate.h
Examining data/jreen-1.2.0/3rdparty/icesupport/bsocket.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/udpportreserver.h
Examining data/jreen-1.2.0/3rdparty/icesupport/bsocket.h
Examining data/jreen-1.2.0/3rdparty/icesupport/socks.h
Examining data/jreen-1.2.0/3rdparty/icesupport/httpconnect.h
Examining data/jreen-1.2.0/3rdparty/icesupport/objectsession.h
Examining data/jreen-1.2.0/3rdparty/icesupport/bytestream.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/icecomponent.h
Examining data/jreen-1.2.0/3rdparty/icesupport/stunbinding.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/servsock.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/ice176.h
Examining data/jreen-1.2.0/3rdparty/icesupport/servsock.h
Examining data/jreen-1.2.0/3rdparty/icesupport/stuntypes.h
Examining data/jreen-1.2.0/3rdparty/icesupport/socks.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/icecomponent_p.h
Examining data/jreen-1.2.0/3rdparty/icesupport/udpportreserver.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/ice176.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/stunutil.h
Examining data/jreen-1.2.0/3rdparty/icesupport/turnclient.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/iceturntransport.h
Examining data/jreen-1.2.0/3rdparty/icesupport/icelocaltransport.h
Examining data/jreen-1.2.0/3rdparty/icesupport/stunutil.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/icetransport.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/icecomponent.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/stunmessage.h
Examining data/jreen-1.2.0/3rdparty/icesupport/stuntransaction.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/stunallocate.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/stunbinding.h
Examining data/jreen-1.2.0/3rdparty/icesupport/stunmessage.cpp
Examining data/jreen-1.2.0/3rdparty/icesupport/icetransport.h
Examining data/jreen-1.2.0/3rdparty/icesupport/bytestream.h
Examining data/jreen-1.2.0/src/pubsubmanager.h
Examining data/jreen-1.2.0/src/privatexml.cpp
Examining data/jreen-1.2.0/src/disco.h
Examining data/jreen-1.2.0/src/entitytimefactory.cpp
Examining data/jreen-1.2.0/src/disco_p.h
Examining data/jreen-1.2.0/src/dataformfactory_p.h
Examining data/jreen-1.2.0/src/iqfactory_p.h
Examining data/jreen-1.2.0/src/error.h
Examining data/jreen-1.2.0/src/saslfeature.cpp
Examining data/jreen-1.2.0/src/metacontacts.cpp
Examining data/jreen-1.2.0/src/softwareversionfactory_p.h
Examining data/jreen-1.2.0/src/tunefactory.cpp
Examining data/jreen-1.2.0/src/pgpsigned.h
Examining data/jreen-1.2.0/src/subscription.h
Examining data/jreen-1.2.0/src/messagefactory_p.h
Examining data/jreen-1.2.0/src/stanza.h
Examining data/jreen-1.2.0/src/client.h
Examining data/jreen-1.2.0/src/pubsubevent.h
Examining data/jreen-1.2.0/src/forwardedfactory.cpp
Examining data/jreen-1.2.0/src/capabilities.cpp
Examining data/jreen-1.2.0/src/receipt.cpp
Examining data/jreen-1.2.0/src/mucroom.cpp
Examining data/jreen-1.2.0/src/bookmark.cpp
Examining data/jreen-1.2.0/src/registrationmanager.cpp
Examining data/jreen-1.2.0/src/mucmessagesession_p.h
Examining data/jreen-1.2.0/src/vcard.cpp
Examining data/jreen-1.2.0/src/capabilities.h
Examining data/jreen-1.2.0/src/bitsofbinary.cpp
Examining data/jreen-1.2.0/src/zlibdatastream.cpp
Examining data/jreen-1.2.0/src/tcpconnection.cpp
Examining data/jreen-1.2.0/src/sessionfeature.cpp
Examining data/jreen-1.2.0/src/directconnection_p.h
Examining data/jreen-1.2.0/src/langmap.cpp
Examining data/jreen-1.2.0/src/bookmark.h
Examining data/jreen-1.2.0/src/chatstate.h
Examining data/jreen-1.2.0/src/receiptfactory_p.h
Examining data/jreen-1.2.0/src/pubsubmanager.cpp
Examining data/jreen-1.2.0/src/nicknamefactory.cpp
Examining data/jreen-1.2.0/src/prep.cpp
Examining data/jreen-1.2.0/src/action_p.h
Examining data/jreen-1.2.0/src/registrationqueryfactory.cpp
Examining data/jreen-1.2.0/src/privatexml.h
Examining data/jreen-1.2.0/src/receipt.h
Examining data/jreen-1.2.0/src/abstractroster_p.h
Examining data/jreen-1.2.0/src/zlibcompressionfeature_p.h
Examining data/jreen-1.2.0/src/stanzafactory.cpp
Examining data/jreen-1.2.0/src/delayeddelivery.h
Examining data/jreen-1.2.0/src/mucroom.h
Examining data/jreen-1.2.0/src/metacontactstorage.cpp
Examining data/jreen-1.2.0/src/privacymanager.h
Examining data/jreen-1.2.0/src/mood.cpp
Examining data/jreen-1.2.0/src/streamfeature_p.h
Examining data/jreen-1.2.0/src/metacontactstorage.h
Examining data/jreen-1.2.0/src/presencefactory_p.h
Examining data/jreen-1.2.0/src/pubsubevent.cpp
Examining data/jreen-1.2.0/src/registrationqueryfactory_p.h
Examining data/jreen-1.2.0/src/pgpsigned.cpp
Examining data/jreen-1.2.0/src/dataform_p.h
Examining data/jreen-1.2.0/src/message_p.h
Examining data/jreen-1.2.0/src/bookmarkstorage.h
Examining data/jreen-1.2.0/src/vcard_p.h
Examining data/jreen-1.2.0/src/delayeddelivery.cpp
Examining data/jreen-1.2.0/src/tlsfeature.cpp
Examining data/jreen-1.2.0/src/pubsubeventfactory.cpp
Examining data/jreen-1.2.0/src/captcha.cpp
Examining data/jreen-1.2.0/src/nickname.h
Examining data/jreen-1.2.0/src/tune.h
Examining data/jreen-1.2.0/src/connectionbosh.cpp
Examining data/jreen-1.2.0/src/activity.cpp
Examining data/jreen-1.2.0/src/jreen.h
Examining data/jreen-1.2.0/src/attention.cpp
Examining data/jreen-1.2.0/src/bitsofbinary.h
Examining data/jreen-1.2.0/src/entitytime.cpp
Examining data/jreen-1.2.0/src/bitsofbinaryfactory_p.h
Examining data/jreen-1.2.0/src/vcard.h
Examining data/jreen-1.2.0/src/vcardupdatefactory_p.h
Examining data/jreen-1.2.0/src/nonsaslauth_p.h
Examining data/jreen-1.2.0/src/forwarded.cpp
Examining data/jreen-1.2.0/src/tlsfeature_p.h
Examining data/jreen-1.2.0/src/softwareversion.cpp
Examining data/jreen-1.2.0/src/presence_p.h
Examining data/jreen-1.2.0/src/mood.h
Examining data/jreen-1.2.0/src/forwardedfactory_p.h
Examining data/jreen-1.2.0/src/vcardfactory.cpp
Examining data/jreen-1.2.0/src/bindfeature_p.h
Examining data/jreen-1.2.0/src/tcpconnection.h
Examining data/jreen-1.2.0/src/errorfactory_p.h
Examining data/jreen-1.2.0/src/bookmarkfactory_p.h
Examining data/jreen-1.2.0/src/vcardupdatefactory.cpp
Examining data/jreen-1.2.0/src/nickname.cpp
Examining data/jreen-1.2.0/src/bookmarkstorage.cpp
Examining data/jreen-1.2.0/src/presencefactory.cpp
Examining data/jreen-1.2.0/src/messagefactory.cpp
Examining data/jreen-1.2.0/src/activityfactory.cpp
Examining data/jreen-1.2.0/src/pgpfactory.cpp
Examining data/jreen-1.2.0/src/streamfeature.cpp
Examining data/jreen-1.2.0/src/client.cpp
Examining data/jreen-1.2.0/src/tunefactory_p.h
Examining data/jreen-1.2.0/src/parser_p.h
Examining data/jreen-1.2.0/src/attentionfactory_p.h
Examining data/jreen-1.2.0/src/softwareversionfactory.cpp
Examining data/jreen-1.2.0/src/udpconnection.h
Examining data/jreen-1.2.0/src/privacymanager.cpp
Examining data/jreen-1.2.0/src/moodfactory_p.h
Examining data/jreen-1.2.0/src/privatexml_p.h
Examining data/jreen-1.2.0/src/capabilitiesfactory_p.h
Examining data/jreen-1.2.0/src/vcardupdate.cpp
Examining data/jreen-1.2.0/src/attentionfactory.cpp
Examining data/jreen-1.2.0/src/registrationmanager.h
Examining data/jreen-1.2.0/src/nonsaslauth.cpp
Examining data/jreen-1.2.0/src/connection.cpp
Examining data/jreen-1.2.0/src/mucroom_p.h
Examining data/jreen-1.2.0/src/datastream.cpp
Examining data/jreen-1.2.0/src/dataformfactory.cpp
Examining data/jreen-1.2.0/src/softwareversion.h
Examining data/jreen-1.2.0/src/activityfactory_p.h
Examining data/jreen-1.2.0/src/privacyqueryfactory.cpp
Examining data/jreen-1.2.0/src/iq_p.h
Examining data/jreen-1.2.0/src/datastream.h
Examining data/jreen-1.2.0/src/chatstatefactory.cpp
Examining data/jreen-1.2.0/src/sessionfeature_p.h
Examining data/jreen-1.2.0/src/captcha.h
Examining data/jreen-1.2.0/src/captchafactory.cpp
Examining data/jreen-1.2.0/src/experimental/jinglecontent.h
Examining data/jreen-1.2.0/src/experimental/jinglefactory.cpp
Examining data/jreen-1.2.0/src/experimental/jingleaudiocontentfactory_p.h
Examining data/jreen-1.2.0/src/experimental/jingleaudiopayload_p.h
Examining data/jreen-1.2.0/src/experimental/jingleaudiocontent_p.h
Examining data/jreen-1.2.0/src/experimental/jingleaudiopayload.cpp
Examining data/jreen-1.2.0/src/experimental/iristransport.cpp
Examining data/jreen-1.2.0/src/experimental/jingleaudiocontent.cpp
Examining data/jreen-1.2.0/src/experimental/jinglespeexcodec.cpp
Examining data/jreen-1.2.0/src/experimental/jinglecontent.cpp
Examining data/jreen-1.2.0/src/experimental/jingle_p.h
Examining data/jreen-1.2.0/src/experimental/jingleaudiopayload.h
Examining data/jreen-1.2.0/src/experimental/iristransport.h
Examining data/jreen-1.2.0/src/experimental/jinglecontent_p.h
Examining data/jreen-1.2.0/src/experimental/jingleaudiocontentfactory.cpp
Examining data/jreen-1.2.0/src/experimental/jingletransportice_p.h
Examining data/jreen-1.2.0/src/experimental/jingletransport.h
Examining data/jreen-1.2.0/src/experimental/jinglemanager.cpp
Examining data/jreen-1.2.0/src/experimental/jingle.cpp
Examining data/jreen-1.2.0/src/experimental/jingleaudiocontent.h
Examining data/jreen-1.2.0/src/experimental/jinglespeexcodec_p.h
Examining data/jreen-1.2.0/src/experimental/jinglemanager_p.h
Examining data/jreen-1.2.0/src/experimental/jinglesession_p.h
Examining data/jreen-1.2.0/src/experimental/jingletransportice.cpp
Examining data/jreen-1.2.0/src/experimental/jingletransport.cpp
Examining data/jreen-1.2.0/src/experimental/jinglemanager.h
Examining data/jreen-1.2.0/src/experimental/jinglesession.h
Examining data/jreen-1.2.0/src/experimental/jinglefactory_p.h
Examining data/jreen-1.2.0/src/experimental/jinglesession.cpp
Examining data/jreen-1.2.0/src/captchafactory_p.h
Examining data/jreen-1.2.0/src/streamprocessor.h
Examining data/jreen-1.2.0/src/util.h
Examining data/jreen-1.2.0/src/pubsubmanager_p.h
Examining data/jreen-1.2.0/src/presence.h
Examining data/jreen-1.2.0/src/xmlentity.cpp
Examining data/jreen-1.2.0/src/dataform.h
Examining data/jreen-1.2.0/src/registrationquery_p.h
Examining data/jreen-1.2.0/src/abstractroster.h
Examining data/jreen-1.2.0/src/bitsofbinaryfactory.cpp
Examining data/jreen-1.2.0/src/pgpencrypted.cpp
Examining data/jreen-1.2.0/src/saslfeature_p.h
Examining data/jreen-1.2.0/src/buffereddatastream.cpp
Examining data/jreen-1.2.0/src/parser.h
Examining data/jreen-1.2.0/src/bindfeature.cpp
Examining data/jreen-1.2.0/src/metacontacts_p.h
Examining data/jreen-1.2.0/src/jstrings.h
Examining data/jreen-1.2.0/src/ping.h
Examining data/jreen-1.2.0/src/pubsubpublishfactory.cpp
Examining data/jreen-1.2.0/src/chatstatefactory_p.h
Examining data/jreen-1.2.0/src/disco.cpp
Examining data/jreen-1.2.0/src/delayeddeliveryfactory.cpp
Examining data/jreen-1.2.0/src/langmap.h
Examining data/jreen-1.2.0/src/privacyqueryfactory_p.h
Examining data/jreen-1.2.0/src/iqfactory.cpp
Examining data/jreen-1.2.0/src/prep_p.h
Examining data/jreen-1.2.0/src/zlibdatastream_p.h
Examining data/jreen-1.2.0/src/sjdns.cpp
Examining data/jreen-1.2.0/src/receiptfactory.cpp
Examining data/jreen-1.2.0/src/vcardupdate.h
Examining data/jreen-1.2.0/src/iqreply.cpp
Examining data/jreen-1.2.0/src/messagesession.cpp
Examining data/jreen-1.2.0/src/metacontactsfactory.cpp
Examining data/jreen-1.2.0/src/pingfactory.cpp
Examining data/jreen-1.2.0/src/mucroomfactory.cpp
Examining data/jreen-1.2.0/src/privacymanager_p.h
Examining data/jreen-1.2.0/src/iqreply.h
Examining data/jreen-1.2.0/src/abstractroster.cpp
Examining data/jreen-1.2.0/src/dataform.cpp
Examining data/jreen-1.2.0/src/message.h
Examining data/jreen-1.2.0/src/entitytime.h
Examining data/jreen-1.2.0/src/stanzaextension.cpp
Examining data/jreen-1.2.0/src/pubsubpublishfactory_p.h
Examining data/jreen-1.2.0/src/tune.cpp
Examining data/jreen-1.2.0/src/logger.cpp
Examining data/jreen-1.2.0/src/connection.h
Examining data/jreen-1.2.0/src/zlibcompressionfeature.cpp
Examining data/jreen-1.2.0/src/registrationfeature.cpp
Examining data/jreen-1.2.0/src/parser.cpp
Examining data/jreen-1.2.0/src/directconnection.cpp
Examining data/jreen-1.2.0/src/sjdns_p.h
Examining data/jreen-1.2.0/src/udpconnection.cpp
Examining data/jreen-1.2.0/src/mucroomfactory_p.h
Examining data/jreen-1.2.0/src/chatstate.cpp
Examining data/jreen-1.2.0/src/ping.cpp
Examining data/jreen-1.2.0/src/pgpencrypted.h
Examining data/jreen-1.2.0/src/metacontactsfactory_p.h
Examining data/jreen-1.2.0/src/action.cpp
Examining data/jreen-1.2.0/src/nicknamefactory_p.h
Examining data/jreen-1.2.0/src/connectionbosh.h
Examining data/jreen-1.2.0/src/vcardfactory_p.h
Examining data/jreen-1.2.0/src/stanzafactory_p.h
Examining data/jreen-1.2.0/src/logger.h
Examining data/jreen-1.2.0/src/vcardmanager.h
Examining data/jreen-1.2.0/src/subscription.cpp
Examining data/jreen-1.2.0/src/capabilitiesfactory.cpp
Examining data/jreen-1.2.0/src/jid.h
Examining data/jreen-1.2.0/src/iq.h
Examining data/jreen-1.2.0/src/streamprocessor.cpp
Examining data/jreen-1.2.0/src/registrationmanager_p.h
Examining data/jreen-1.2.0/src/message.cpp
Examining data/jreen-1.2.0/src/buffereddatastream.h
Examining data/jreen-1.2.0/src/forwarded.h
Examining data/jreen-1.2.0/src/directconnection.h
Examining data/jreen-1.2.0/src/presence.cpp
Examining data/jreen-1.2.0/src/stanza_p.h
Examining data/jreen-1.2.0/src/client_p.h
Examining data/jreen-1.2.0/src/error.cpp
Examining data/jreen-1.2.0/src/iq.cpp
Examining data/jreen-1.2.0/src/errorfactory.cpp
Examining data/jreen-1.2.0/src/vcardmanager.cpp
Examining data/jreen-1.2.0/src/pubsubeventfactory_p.h
Examining data/jreen-1.2.0/src/registrationfeature_p.h
Examining data/jreen-1.2.0/src/delayeddeliveryfactory_p.h
Examining data/jreen-1.2.0/src/mucmessagesession.cpp
Examining data/jreen-1.2.0/src/registrationquery.cpp
Examining data/jreen-1.2.0/src/xmlentity_p.h
Examining data/jreen-1.2.0/src/jid.cpp
Examining data/jreen-1.2.0/src/messagesession.h
Examining data/jreen-1.2.0/src/entitytimefactory_p.h
Examining data/jreen-1.2.0/src/stanza.cpp
Examining data/jreen-1.2.0/src/pingfactory_p.h
Examining data/jreen-1.2.0/src/bookmarkfactory.cpp
Examining data/jreen-1.2.0/src/attention.h
Examining data/jreen-1.2.0/src/util.cpp
Examining data/jreen-1.2.0/src/moodfactory.cpp
Examining data/jreen-1.2.0/src/activity.h
Examining data/jreen-1.2.0/src/pgpfactory_p.h
Examining data/jreen-1.2.0/src/stanzaextension.h
Examining data/jreen-1.2.0/deffered/gui/xmlconsole.h
Examining data/jreen-1.2.0/deffered/gui/jidedit_p.h
Examining data/jreen-1.2.0/deffered/gui/jidedit.cpp
Examining data/jreen-1.2.0/deffered/gui/jidedit.h
Examining data/jreen-1.2.0/deffered/gui/xmlconsole.cpp

FINAL RESULTS:

data/jreen-1.2.0/3rdparty/icesupport/httpconnect.cpp:48:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			out += QString().sprintf("\\x%02x", (unsigned char)in[n]);
data/jreen-1.2.0/3rdparty/icesupport/stuntypes.cpp:550:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
						strList += QString().sprintf("0x%04x", i);
data/jreen-1.2.0/3rdparty/icesupport/stuntypes.cpp:584:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				return QString().sprintf("0x%04x", (int)i);
data/jreen-1.2.0/3rdparty/icesupport/stuntypes.cpp:722:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				out += QString().sprintf("  Unknown attribute (0x%04x) of %d bytes", a.type, a.value.size());
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:101:9:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	return vsprintf(str, format, ap);
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:162:9:  [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).
	return strcpy(dst, src);
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:143: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.
	val = getenv(name);
data/jreen-1.2.0/3rdparty/icesupport/bytestream.cpp:206: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(a->data() + oldsize, b.data(), b.size());
data/jreen-1.2.0/3rdparty/icesupport/bytestream.cpp:226: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(a.data(), r, size);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:170: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(s->methodList.data(), a.data() + 2, num);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:203: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(a.data() + 2, user.data(), len1);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:205: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(a.data() + 3 + len1, pass.data(), len2);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:243: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(user.data(), a.data()+2, ulen);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:244: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(pass.data(), a.data()+ulen+3, plen);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:279: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(a.data() + at, &ip4, 4);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:295: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(a.data() + at, a6, 16);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:302: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(a.data() + at, &p, 2);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:330: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(a.data() + at, h.data(), hlen);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:336: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(a.data() + at, &p, 2);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:366: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(&ip4, from->data() + 4, 4);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:379: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(cs.data(), from->data() + 5, host_len);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:387: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(a6, from->data() + 4, 16);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:398: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(&p, a.data() + full_len - 2, 2);
data/jreen-1.2.0/3rdparty/icesupport/stunallocate.cpp:1360: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(out.data() + 4, datagram.data(), datagram.size());
data/jreen-1.2.0/3rdparty/icesupport/stunmessage.cpp:385: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(magic, magic_cookie, 4);
data/jreen-1.2.0/3rdparty/icesupport/stunmessage.cpp:472: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(d->magic, magic, 4);
data/jreen-1.2.0/3rdparty/icesupport/stunmessage.cpp:478: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(d->id, id, 12);
data/jreen-1.2.0/3rdparty/icesupport/stunmessage.cpp:525: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(p + 4, d->magic, 4);
data/jreen-1.2.0/3rdparty/icesupport/stunmessage.cpp:526: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(p + 8, d->id, 12);
data/jreen-1.2.0/3rdparty/icesupport/stunmessage.cpp:536: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(buf.data() + at + 4, i.value.data(), i.value.size());
data/jreen-1.2.0/3rdparty/icesupport/stunmessage.cpp:557: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(p + at + 4, result.data(), alen);
data/jreen-1.2.0/3rdparty/icesupport/stuntypes.cpp:80: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(out.data() + 4, addr6.c, 16);
data/jreen-1.2.0/3rdparty/jdns/jdns.c:132: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(out, in, len);
data/jreen-1.2.0/3rdparty/jdns/jdns.c:140: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(out, in, len);
data/jreen-1.2.0/3rdparty/jdns/jdns.c:232: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 line[67]; // 3 * 16 + 2 + 16 + zero byte
data/jreen-1.2.0/3rdparty/jdns/jdns.c:341: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(buf + 2, str->data, str->size);
data/jreen-1.2.0/3rdparty/jdns/jdns.c:949: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(&s->cb, callbacks, sizeof(jdns_callbacks_t));
data/jreen-1.2.0/3rdparty/jdns/jdns.c:2132:12:  [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 buf[JDNS_UDP_UNI_IN_MAX];
data/jreen-1.2.0/3rdparty/jdns/jdns.c:2992:4:  [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 + at, texts->item[n]->data, len);
data/jreen-1.2.0/3rdparty/jdns/jdns.c:3350:13:  [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 buf[JDNS_UDP_MUL_IN_MAX];
data/jreen-1.2.0/3rdparty/jdns/jdns_mdnsd.c:80:14:  [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 to6[16];
data/jreen-1.2.0/3rdparty/jdns/jdns_mdnsd.c:328: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(u->to6, addr->addr.v6, 16);
data/jreen-1.2.0/3rdparty/jdns/jdns_packet.c:140: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 out[MAX_LABEL_LENGTH - 1];
data/jreen-1.2.0/3rdparty/jdns/jdns_packet.c:210: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(out + out_size, label + 1, label_size);
data/jreen-1.2.0/3rdparty/jdns/jdns_packet.c:361: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(label + i, name->data + at, len);
data/jreen-1.2.0/3rdparty/jdns/jdns_packet.c:375: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 label[MAX_LABEL_LENGTH];
data/jreen-1.2.0/3rdparty/jdns/jdns_packet.c:417: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(*bufp, label, len);
data/jreen-1.2.0/3rdparty/jdns/jdns_packet.c:762: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(buf, write->value->data, write->value->size);
data/jreen-1.2.0/3rdparty/jdns/jdns_sys.c:164: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(out, in + at, len);
data/jreen-1.2.0/3rdparty/jdns/jdns_sys.c:217: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(out + pos, data, size);
data/jreen-1.2.0/3rdparty/jdns/jdns_sys.c:372: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 String[4 * 4];
data/jreen-1.2.0/3rdparty/jdns/jdns_sys.c:381: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[MAX_HOSTNAME_LEN + 4] ;
data/jreen-1.2.0/3rdparty/jdns/jdns_sys.c:382: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 DomainName[MAX_DOMAIN_NAME_LEN + 4];
data/jreen-1.2.0/3rdparty/jdns/jdns_sys.c:386: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 ScopeId[MAX_SCOPE_ID_LEN + 4];
data/jreen-1.2.0/3rdparty/jdns/jdns_sys.c:575: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(str, p->data, len);
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:53: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(p, s, len);
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:63: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(out, src, size);
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:113: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).
	return fopen(path, mode);
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:365: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(s->data, str, str_len);
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:495: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(a->addr.v6, ipv6, 16);
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:513:12:  [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 ipv6[16];
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:608:12:  [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 b[4];
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:627:4:  [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(part, p, len);
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:1281:4:  [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(&ip, pr->rdata, 4);
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:1308:4:  [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(&priority, pr->rdata, 2);
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:1324:4:  [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(&priority, pr->rdata, 2);
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:1326:4:  [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(&weight, pr->rdata + 2, 2);
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:1328:4:  [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(&port, pr->rdata + 4, 2);
data/jreen-1.2.0/3rdparty/jdns/qjdns_sock.cpp:59:17:  [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  _S6_u8[16];
data/jreen-1.2.0/3rdparty/jdns/qjdns_sock.cpp:114: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(mc.ipv6mr_multiaddr.s6_addr, addr, 16);
data/jreen-1.2.0/src/buffereddatastream.cpp:69:26:  [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).
bool BufferedDataStream::open(OpenMode mode)
data/jreen-1.2.0/src/buffereddatastream.cpp:71:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	QIODevice::open(mode);
data/jreen-1.2.0/src/buffereddatastream.cpp:126: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(data, d->buffer.data() + d->offset, len);
data/jreen-1.2.0/src/buffereddatastream.h:44: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).
		bool open(OpenMode mode);
data/jreen-1.2.0/src/client.cpp:525: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).
		d->conn->open();
data/jreen-1.2.0/src/client_p.h:136: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).
		bufferedDevice->open(QIODevice::ReadWrite);
data/jreen-1.2.0/src/client_p.h:379:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		dataStream->open(QIODevice::ReadWrite);
data/jreen-1.2.0/src/connection.h:79:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	virtual bool open() = 0;
data/jreen-1.2.0/src/connection.h:93: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).
	bool open(OpenMode) { return false; }
data/jreen-1.2.0/src/connectionbosh.cpp:136:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	d->resultBuffer.open(QIODevice::ReadWrite);
data/jreen-1.2.0/src/connectionbosh.cpp:156:22:  [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).
bool ConnectionBOSH::open()
data/jreen-1.2.0/src/connectionbosh.cpp:164:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	QIODevice::open(QIODevice::ReadWrite);
data/jreen-1.2.0/src/connectionbosh.h:46: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).
	bool open();
data/jreen-1.2.0/src/directconnection.cpp:143:11:  [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).
		parent->open();
data/jreen-1.2.0/src/directconnection.cpp:186:24:  [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).
bool DirectConnection::open()
data/jreen-1.2.0/src/directconnection.cpp:193:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			QIODevice::open(ReadWrite);
data/jreen-1.2.0/src/directconnection.h:48: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).
	bool open();
data/jreen-1.2.0/src/experimental/jingleaudiocontent.cpp:105:25:  [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).
bool JingleAudioDevice::open(OpenMode mode)
data/jreen-1.2.0/src/experimental/jingleaudiocontent.cpp:108:20:  [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 QIODevice::open(QIODevice::ReadWrite | QIODevice::Unbuffered);
data/jreen-1.2.0/src/experimental/jingleaudiocontent.cpp:140: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(data, m_outputBuffer.data(), size);
data/jreen-1.2.0/src/experimental/jingleaudiocontent.cpp:246:11:  [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).
		device->open(QIODevice::ReadWrite);
data/jreen-1.2.0/src/experimental/jingleaudiocontent_p.h:42:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    virtual bool open(OpenMode mode);
data/jreen-1.2.0/src/mucroom.cpp:40: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 mucPrivelegesByRole[RolePrivelegesCount][4] = {
data/jreen-1.2.0/src/zlibdatastream.cpp:67:22:  [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).
bool ZLibDataStream::open(OpenMode mode)
data/jreen-1.2.0/src/zlibdatastream.cpp:80:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	QIODevice::open(mode);
data/jreen-1.2.0/src/zlibdatastream.cpp:132: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(data, d->buffer.data() + d->offset, len);
data/jreen-1.2.0/src/zlibdatastream_p.h:43: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).
		bool open(OpenMode mode);
data/jreen-1.2.0/3rdparty/icesupport/bsocket.cpp:139:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			d->qsock->read(block.data(), block.size());
data/jreen-1.2.0/3rdparty/icesupport/bsocket.cpp:248:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
QByteArray BSocket::read(int bytes)
data/jreen-1.2.0/3rdparty/icesupport/bsocket.cpp:256:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		d->qsock->read(block.data(), block.size());
data/jreen-1.2.0/3rdparty/icesupport/bsocket.cpp:259:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		block = ByteStream::read(bytes);
data/jreen-1.2.0/3rdparty/icesupport/bsocket.h:53:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	QByteArray read(int bytes=0);
data/jreen-1.2.0/3rdparty/icesupport/bytestream.cpp:113:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
QByteArray ByteStream::read(int bytes)
data/jreen-1.2.0/3rdparty/icesupport/bytestream.h:41:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual QByteArray read(int bytes=0);
data/jreen-1.2.0/3rdparty/icesupport/httpconnect.cpp:193:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
QByteArray HttpConnect::read(int bytes)
data/jreen-1.2.0/3rdparty/icesupport/httpconnect.cpp:195:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return ByteStream::read(bytes);
data/jreen-1.2.0/3rdparty/icesupport/httpconnect.cpp:258:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	QByteArray block = d->sock.read();
data/jreen-1.2.0/3rdparty/icesupport/httpconnect.h:43:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	QByteArray read(int bytes=0);
data/jreen-1.2.0/3rdparty/icesupport/iceturntransport.cpp:232:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return d->turn.read(addr, port);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:555:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
QByteArray SocksClient::read(int bytes)
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:557:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return ByteStream::read(bytes);
data/jreen-1.2.0/3rdparty/icesupport/socks.cpp:604:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	QByteArray block = d->sock.read();
data/jreen-1.2.0/3rdparty/icesupport/socks.h:83:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	QByteArray read(int bytes=0);
data/jreen-1.2.0/3rdparty/icesupport/turnclient.cpp:755:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		QByteArray buf = bs->read();
data/jreen-1.2.0/3rdparty/icesupport/turnclient.cpp:881:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		processStream(tls->read());
data/jreen-1.2.0/3rdparty/icesupport/turnclient.cpp:1115:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
QByteArray TurnClient::read(QHostAddress *addr, int *port)
data/jreen-1.2.0/3rdparty/icesupport/turnclient.h:156:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	QByteArray read(QHostAddress *addr, int *port);
data/jreen-1.2.0/3rdparty/jdns/jdns.c:115:53:  [1] (buffer) strlen:
  Does not handle 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 _make_printable((const unsigned char *)str, strlen(str));
data/jreen-1.2.0/3rdparty/jdns/jdns_mdnsd.c:169: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(low);
data/jreen-1.2.0/3rdparty/jdns/jdns_p.h:100: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).
#define _ustrlen(str) strlen((const char *)str)
data/jreen-1.2.0/3rdparty/jdns/jdns_sys.c:252:21:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		unsigned char c = fgetc(f);
data/jreen-1.2.0/3rdparty/jdns/jdns_sys.c:573: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).
	len = strlen((char *)p->data);
data/jreen-1.2.0/3rdparty/jdns/jdns_sys.c:795:5:  [1] (buffer) strlen:
  Does not handle 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(state->defdname) > 0)
data/jreen-1.2.0/3rdparty/jdns/jdns_sys.c:812:6:  [1] (buffer) strlen:
  Does not handle 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(state->dnsrch[n]) > 0)
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:51: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).
	len = strlen(s) + 1; // the zero
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:157: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).
	len = strlen(src);
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:372: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).
	jdns_string_set(s, (const unsigned char *)str, strlen(str));
data/jreen-1.2.0/3rdparty/jdns/jdns_util.c:506: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 slen = strlen(str);
data/jreen-1.2.0/src/buffereddatastream.cpp:95:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	device()->read(d->buffer.data() + d->offset + d->len, bytes);
data/jreen-1.2.0/src/client_p.h:218:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		QByteArray data = bufferedDevice->read(qMax(Q_INT64_C(0xffff), bufferedDevice->bytesAvailable())); // device->readAll();
data/jreen-1.2.0/src/directconnection.cpp:261:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return d->socket->read(data, maxlen);

ANALYSIS SUMMARY:

Hits = 131
Lines analyzed = 55505 in approximately 1.43 seconds (38721 lines/second)
Physical Source Lines of Code (SLOC) = 39092
Hits@level = [0]  58 [1]  34 [2]  90 [3]   1 [4]   6 [5]   0
Hits@level+ = [0+] 189 [1+] 131 [2+]  97 [3+]   7 [4+]   6 [5+]   0
Hits/KSLOC@level+ = [0+] 4.83475 [1+] 3.35107 [2+] 2.48133 [3+] 0.179065 [4+] 0.153484 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.