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/telepathy-salut-0.8.1/plugins/test.c Examining data/telepathy-salut-0.8.1/plugins/test.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/examples/send-message.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/examples/receive-messages.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/examples/unregister.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/examples/register.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-jabber-auth.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-loopback-stream.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-contact.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-caps-cache.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-resource-contact.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-ll-connection-factory.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-xep-0115-capabilities.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-tls-handler.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-jabber-auth-password.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-pubsub-service.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-muc.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-porter.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-node.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-pubsub-node-internal.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-tls-common.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-xmpp-error.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-digest-md5.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-contact-factory.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-pubsub-helpers.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-muc.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-contact.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-pubsub-node.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-http-proxy.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-heartbeat-source.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-stanza.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-ll-connector.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-session.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-meta-porter.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-utils.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-c2s-porter.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-roster.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-xmpp-connection.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-utils.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-tls.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-tls-handler.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-data-form.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-auth-handler.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-contact-factory.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-utils.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-ll-contact.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-pubsub-helpers.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-pubsub-service.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-xmpp-reader.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-namespaces.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-pubsub-node-protected.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-connector.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-debug.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-pep-service.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-c2s-porter.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-node-tree.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-disco-identity.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-digest-md5.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-porter.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-tls-connector.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-meta-porter.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-node-private.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-ping.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-caps-cache.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-xmpp-connection.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-session.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-tls-connector.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-jabber-auth-digest.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-bare-contact.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-bare-contact.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-jabber-auth-digest.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-debug.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-disco-identity.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-plain.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-stanza.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-ll-connector.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl-dh2048.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-auth-registry.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-caps-hash.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-pep-service.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-auth-registry.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-node-tree.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-loopback-stream.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-roster.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-xmpp-writer.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl-dh1024.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-tls.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-xmpp-writer.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-resource-contact.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-scram.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-xmpp-error.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-data-form.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-pubsub-node.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-pubsub-service-protected.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-jabber-auth-password.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-jabber-auth.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl-dh4096.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-connector.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-auth.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-node.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-plain.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-types.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-auth-handler.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-ll-connection-factory.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-auth.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-ll-contact.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-xep-0115-capabilities.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-utils.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-http-proxy.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-xmpp-reader.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl-dh512.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-debug-internal.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-caps-hash.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-ping.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-heartbeat-source.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-scram.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-tls-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/test-resolver.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-http-proxy-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-test-sasl-handler.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-pubsub-test-helpers.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-sasl-utils-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-contact-factory-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-dummy-xmpp-server.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-utils-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-jid-validation-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-test-connector-server.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-bare-contact-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-loopback-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-test-helper.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-test-sasl-handler.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-test-stream.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-pep-service-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-test-stream.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-porter-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-test-helper.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-caps-hash-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-connection-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-test-sasl-auth-server.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-pubsub-test-helpers.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-test-sasl-auth-server.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-data-form-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-test-sasl-auth.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-node-tree-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-connector-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-session-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-ping-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/test-resolver.h Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-scram-sha1-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-roster-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-resource-contact-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-pubsub-node-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-test-connector-server.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-node-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-reader-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-readwrite-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-pubsub-service-test.c Examining data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-stanza-test.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-transport.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-packet.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-debug.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-bytestream-oob.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-fd-transport.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-causal-transport.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-linklocal-transport.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-sockets.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-sockets-win32.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-file-transfer.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-muc-connection.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-bytestream-direct.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-causal-transport.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-transport.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-linklocal-transport.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-packet.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-util.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-fd-transport.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-tcp-transport.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-util.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-sockets-unix.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-sockets.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-listener.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-unix-transport.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-bytestream-muc.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-oob-file-transfer.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-file-transfer.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-sender.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-bytestream-iface.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-unix-transport.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-sender.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-tcp-transport.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-transport.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-oob-file-transfer.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-bytestream-iface.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-listener.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-debug.c Examining data/telepathy-salut-0.8.1/lib/gibber/tests/check-gibber-r-multicast-sender.c Examining data/telepathy-salut-0.8.1/lib/gibber/tests/check-gibber-r-multicast-packet.c Examining data/telepathy-salut-0.8.1/lib/gibber/tests/test-transport.c Examining data/telepathy-salut-0.8.1/lib/gibber/tests/check-gibber-listener.c Examining data/telepathy-salut-0.8.1/lib/gibber/tests/test-transport.h Examining data/telepathy-salut-0.8.1/lib/gibber/tests/check-gibber-r-multicast-causal-transport.c Examining data/telepathy-salut-0.8.1/lib/gibber/tests/check-gibber-unix-transport.c Examining data/telepathy-salut-0.8.1/lib/gibber/tests/test-r-multicast-transport-io.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-muc-connection.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-transport.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-bytestream-oob.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-multicast-transport.h Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-bytestream-muc.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-bytestream-direct.c Examining data/telepathy-salut-0.8.1/lib/gibber/gibber-multicast-transport.c Examining data/telepathy-salut-0.8.1/salut/caps-channel-manager.h Examining data/telepathy-salut-0.8.1/salut/plugin.h Examining data/telepathy-salut-0.8.1/salut/capabilities.h Examining data/telepathy-salut-0.8.1/salut/sidecar.h Examining data/telepathy-salut-0.8.1/salut/capability-set.h Examining data/telepathy-salut-0.8.1/salut/plugin-connection.h Examining data/telepathy-salut-0.8.1/tests/debug.c Examining data/telepathy-salut-0.8.1/tests/check-node-properties.c Examining data/telepathy-salut-0.8.1/src/avahi-roomlist-manager.h Examining data/telepathy-salut-0.8.1/src/caps-hash.c Examining data/telepathy-salut-0.8.1/src/muc-channel.h Examining data/telepathy-salut-0.8.1/src/im-manager.h Examining data/telepathy-salut-0.8.1/src/avahi-self.c Examining data/telepathy-salut-0.8.1/src/tubes-channel.c Examining data/telepathy-salut-0.8.1/src/discovery-client.h Examining data/telepathy-salut-0.8.1/src/dummy-discovery-client.c Examining data/telepathy-salut-0.8.1/src/im-channel.h Examining data/telepathy-salut-0.8.1/src/olpc-activity-manager.h Examining data/telepathy-salut-0.8.1/src/text-helper.h Examining data/telepathy-salut-0.8.1/src/avahi-contact-manager.c Examining data/telepathy-salut-0.8.1/src/connection-contact-info.h Examining data/telepathy-salut-0.8.1/src/plugin.c Examining data/telepathy-salut-0.8.1/src/roomlist-channel.h Examining data/telepathy-salut-0.8.1/src/muc-manager.h Examining data/telepathy-salut-0.8.1/src/util.c Examining data/telepathy-salut-0.8.1/src/avahi-roomlist-manager.c Examining data/telepathy-salut-0.8.1/src/sha1/sha1-util.c Examining data/telepathy-salut-0.8.1/src/sha1/sha1-util.h Examining data/telepathy-salut-0.8.1/src/ft-manager.c Examining data/telepathy-salut-0.8.1/src/tube-dbus.h Examining data/telepathy-salut-0.8.1/src/dummy-discovery-client.h Examining data/telepathy-salut-0.8.1/src/disco.h Examining data/telepathy-salut-0.8.1/src/debug.c Examining data/telepathy-salut-0.8.1/src/tubes-channel.h Examining data/telepathy-salut-0.8.1/src/connection-contact-info.c Examining data/telepathy-salut-0.8.1/src/connection-manager.c Examining data/telepathy-salut-0.8.1/src/roomlist-manager.c Examining data/telepathy-salut-0.8.1/src/disco.c Examining data/telepathy-salut-0.8.1/src/avahi-discovery-client.c Examining data/telepathy-salut-0.8.1/src/tubes-manager.h Examining data/telepathy-salut-0.8.1/src/symbol-hacks.c Examining data/telepathy-salut-0.8.1/src/capabilities.h Examining data/telepathy-salut-0.8.1/src/namespaces.h Examining data/telepathy-salut-0.8.1/src/text-helper.c Examining data/telepathy-salut-0.8.1/src/im-manager.c Examining data/telepathy-salut-0.8.1/src/tube-iface.c Examining data/telepathy-salut-0.8.1/src/bonjour-self.h Examining data/telepathy-salut-0.8.1/src/avahi-discovery-client.h Examining data/telepathy-salut-0.8.1/src/avahi-olpc-activity-manager.c Examining data/telepathy-salut-0.8.1/src/presence-cache.c Examining data/telepathy-salut-0.8.1/src/avahi-contact.h Examining data/telepathy-salut-0.8.1/src/self.h Examining data/telepathy-salut-0.8.1/src/connection.c Examining data/telepathy-salut-0.8.1/src/muc-channel.c Examining data/telepathy-salut-0.8.1/src/bonjour-discovery-client.c Examining data/telepathy-salut-0.8.1/src/bonjour-contact.c Examining data/telepathy-salut-0.8.1/src/avahi-olpc-activity.c Examining data/telepathy-salut-0.8.1/src/bonjour-contact-manager.c Examining data/telepathy-salut-0.8.1/src/gabble_namespaces.h Examining data/telepathy-salut-0.8.1/src/bonjour-discovery-client.h Examining data/telepathy-salut-0.8.1/src/olpc-activity-manager.c Examining data/telepathy-salut-0.8.1/src/caps-hash.h Examining data/telepathy-salut-0.8.1/src/olpc-activity.h Examining data/telepathy-salut-0.8.1/src/tube-iface.h Examining data/telepathy-salut-0.8.1/src/contact.c Examining data/telepathy-salut-0.8.1/src/tube-stream.h Examining data/telepathy-salut-0.8.1/src/protocol.h Examining data/telepathy-salut-0.8.1/src/protocol.c Examining data/telepathy-salut-0.8.1/src/avahi-self.h Examining data/telepathy-salut-0.8.1/src/im-channel.c Examining data/telepathy-salut-0.8.1/src/bonjour-contact.h Examining data/telepathy-salut-0.8.1/src/roomlist-channel.c Examining data/telepathy-salut-0.8.1/src/tubes-manager.c Examining data/telepathy-salut-0.8.1/src/file-transfer-channel.c Examining data/telepathy-salut-0.8.1/src/sidecar.c Examining data/telepathy-salut-0.8.1/src/plugin-loader.h Examining data/telepathy-salut-0.8.1/src/discovery-client.c Examining data/telepathy-salut-0.8.1/src/avahi-muc-channel.h Examining data/telepathy-salut-0.8.1/src/avahi-contact-manager.h Examining data/telepathy-salut-0.8.1/src/muc-manager.c Examining data/telepathy-salut-0.8.1/src/si-bytestream-manager.h Examining data/telepathy-salut-0.8.1/src/caps-channel-manager.c Examining data/telepathy-salut-0.8.1/src/presence.h Examining data/telepathy-salut-0.8.1/src/ft-manager.h Examining data/telepathy-salut-0.8.1/src/presence-cache.h Examining data/telepathy-salut-0.8.1/src/contact.h Examining data/telepathy-salut-0.8.1/src/avahi-muc-channel.c Examining data/telepathy-salut-0.8.1/src/file-transfer-channel.h Examining data/telepathy-salut-0.8.1/src/avahi-contact.c Examining data/telepathy-salut-0.8.1/src/symbol-hacks.h Examining data/telepathy-salut-0.8.1/src/salut.c Examining data/telepathy-salut-0.8.1/src/si-bytestream-manager.c Examining data/telepathy-salut-0.8.1/src/olpc-activity.c Examining data/telepathy-salut-0.8.1/src/contact-manager.h Examining data/telepathy-salut-0.8.1/src/avahi-olpc-activity-manager.h Examining data/telepathy-salut-0.8.1/src/debug.h Examining data/telepathy-salut-0.8.1/src/plugin-connection.c Examining data/telepathy-salut-0.8.1/src/avahi-olpc-activity.h Examining data/telepathy-salut-0.8.1/src/tube-stream.c Examining data/telepathy-salut-0.8.1/src/roomlist-manager.h Examining data/telepathy-salut-0.8.1/src/bonjour-self.c Examining data/telepathy-salut-0.8.1/src/tube-dbus.c Examining data/telepathy-salut-0.8.1/src/capabilities.c Examining data/telepathy-salut-0.8.1/src/avahi-muc-manager.h Examining data/telepathy-salut-0.8.1/src/write-mgr-file.c Examining data/telepathy-salut-0.8.1/src/bonjour-contact-manager.h Examining data/telepathy-salut-0.8.1/src/util.h Examining data/telepathy-salut-0.8.1/src/avahi-muc-manager.c Examining data/telepathy-salut-0.8.1/src/plugin-loader.c Examining data/telepathy-salut-0.8.1/src/capability-set.c Examining data/telepathy-salut-0.8.1/src/connection.h Examining data/telepathy-salut-0.8.1/src/connection-manager.h Examining data/telepathy-salut-0.8.1/src/contact-manager.c Examining data/telepathy-salut-0.8.1/src/self.c Examining data/telepathy-salut-0.8.1/extensions/extensions.c Examining data/telepathy-salut-0.8.1/extensions/extensions.h FINAL RESULTS: data/telepathy-salut-0.8.1/src/tube-stream.c:890:11: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. chmod (path, 0777); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-tls-test.c:276:19: [3] (random) g_random_int: 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. guint32 r = g_random_int (); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:1624: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. if ((level = getenv ("WOCKY_TLS_DEBUG_LEVEL")) != NULL) data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-utils.c:37:12: [3] (random) g_random_int: 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. n[i] = g_random_int (); data/telepathy-salut-0.8.1/lib/gibber/gibber-muc-connection.c:364:7: [3] (random) g_random_int_range: 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. p = g_random_int_range (1024, G_MAXUINT16); data/telepathy-salut-0.8.1/lib/gibber/gibber-muc-connection.c:370:41: [3] (random) g_random_int_range: 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. g_strdup_printf ("239.255.71.%d", g_random_int_range (1, 254)); data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-causal-transport.c:127:16: [3] (random) g_random_int: 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. result = g_random_int (); data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-causal-transport.c:191:21: [3] (random) g_random_int: 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. priv->packet_id = g_random_int (); data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-causal-transport.c:418:11: [3] (random) g_random_int_range: 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. g_random_int_range (SESSION_TIMEOUT_MIN, SESSION_TIMEOUT_MAX), data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-causal-transport.c:1142:21: [3] (random) g_random_int: 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. priv->packet_id = g_random_int (); data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-sender.c:1069:17: [3] (random) g_random_int_range: 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. timeout = g_random_int_range (MIN_INITIAL_REPAIR_TIMEOUT, data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-sender.c:1074:17: [3] (random) g_random_int_range: 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. timeout = g_random_int_range (MIN_REPAIR_TIMEOUT, MAX_REPAIR_TIMEOUT); data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-sender.c:1120:13: [3] (random) g_random_int_range: 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. timeout = g_random_int_range (MIN_DO_REPAIR_TIMEOUT, MAX_DO_REPAIR_TIMEOUT); data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-sender.c:1163:15: [3] (random) g_random_int_range: 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. timeout = g_random_int_range (MIN_WHOIS_TIMEOUT, MAX_WHOIS_TIMEOUT); data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-sender.c:1165:15: [3] (random) g_random_int_range: 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. timeout = g_random_int_range (MIN_FIRST_WHOIS_TIMEOUT, data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-sender.c:1973:30: [3] (random) g_random_int_range: 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. gint timeout = g_random_int_range (MIN_WHOIS_REPLY_TIMEOUT, data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-transport.c:762:5: [3] (random) g_random_int_range: 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. g_random_int_range (MIN_JOINING_START_TIMEOUT, MAX_JOINING_START_TIMEOUT), data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-transport.c:871:7: [3] (random) g_random_int_range: 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. g_random_int_range (MIN_ATTEMPT_JOIN_TIMEOUT, MAX_ATTEMPT_JOIN_TIMEOUT), data/telepathy-salut-0.8.1/src/file-transfer-channel.c:1368:20: [3] (random) g_random_int_range: 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. random_int = g_random_int_range (0, G_MAXINT32); data/telepathy-salut-0.8.1/src/file-transfer-channel.c:1370:32: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It 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. path = g_build_filename (g_get_tmp_dir (), random_str, NULL); data/telepathy-salut-0.8.1/src/tube-dbus.c:210:20: [3] (random) g_random_int_range: 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. buf[i] = chars[g_random_int_range (0, 64)]; data/telepathy-salut-0.8.1/src/tube-dbus.c:435:11: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It 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. g_get_tmp_dir (), suffix); data/telepathy-salut-0.8.1/src/tube-stream.c:250:20: [3] (random) g_random_int_range: 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. buf[i] = chars[g_random_int_range (0, 64)]; data/telepathy-salut-0.8.1/src/tube-stream.c:508:11: [3] (random) g_random_int: 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. g_random_int ()); data/telepathy-salut-0.8.1/src/tube-stream.c:513:42: [3] (random) g_random_int_range: 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. stream_id = g_strdup_printf ("%u", g_random_int_range (1, G_MAXUINT8)); data/telepathy-salut-0.8.1/src/tubes-channel.c:845:10: [3] (random) g_random_int_range: 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. return g_random_int_range (0, G_MAXINT); data/telepathy-salut-0.8.1/src/util.c:321:15: [3] (random) g_random_int: 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. last++, g_random_int ()); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/test-resolver.c:214: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 a[32]; data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-test-stream.c:283: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 ((guchar *) buffer + written, data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-tls-test.c:23: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 cli_buf[BUF_SIZE]; data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-tls-test.c:24: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 srv_buf[BUF_SIZE]; data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-tls-test.c:277: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 (ssl_test.cli_send + ssl_test.cli_send_len, &r, 4); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-http-proxy.c:128: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). err_code = atoi (ptr); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-loopback-stream.c:235: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 ((guchar *) buffer + written, data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-meta-porter.c:460: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 (&addr_big_endian, addr->s6.sin6_addr.s6_addr + 12, 4); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-node.c:150: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 (result, s1, s1_size); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-node.c:151: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 (result + s1_size, s2, s2_size); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:699: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. char rbuf[MAX_SSLV3_BLOCK_SIZE]; data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:1625:11: [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). lvl = atoi (level); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-digest-md5.c:355: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 (a1, digest_md5, 16); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-tls.c:1388:15: [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 (buffer, data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-xmpp-error.c:370: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). error_code = atoi (code); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-xmpp-error.c:577: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 (str, "%d", spec->legacy_errors[0]); data/telepathy-salut-0.8.1/lib/gibber/gibber-bytestream-oob.c:263:15: [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). portnum = atoi (port); data/telepathy-salut-0.8.1/lib/gibber/gibber-linklocal-transport.c:132: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/telepathy-salut-0.8.1/lib/gibber/gibber-linklocal-transport.c:133: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 port[NI_MAXSERV]; data/telepathy-salut-0.8.1/lib/gibber/gibber-listener.c:184: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/telepathy-salut-0.8.1/lib/gibber/gibber-listener.c:185: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 port[NI_MAXSERV]; data/telepathy-salut-0.8.1/lib/gibber/gibber-listener.c:243: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 name [NI_MAXHOST], portname[NI_MAXSERV]; data/telepathy-salut-0.8.1/lib/gibber/gibber-multicast-transport.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 (sock_addr, ans->ai_addr, ans->ai_addrlen); data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-packet.c:363: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 (data + *offset, &ni, 2); data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-packet.c:373: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 (&ni, data + *offset, 2); data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-packet.c:386: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 (data + *offset, &ni, 4); data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-packet.c:397: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 (&ni, data + *offset, 4); data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-packet.c:411: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 (data + *offset, str, len); data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-packet.c:486: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 (data + *offset, prefix, PACKET_PREFIX_LENGTH); data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-packet.c:545: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 (priv->data + priv->size, packet->data.data.payload, data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-sender.c:1398:15: [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 + off, d, size); data/telepathy-salut-0.8.1/lib/gibber/gibber-tcp-transport.c:211: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 name[NI_MAXHOST], portname[NI_MAXSERV]; data/telepathy-salut-0.8.1/lib/gibber/gibber-unix-transport.c:224: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[CMSG_SPACE (sizeof (struct ucred))]; data/telepathy-salut-0.8.1/lib/gibber/gibber-unix-transport.c:277: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 control[CMSG_SPACE (sizeof (struct ucred))]; data/telepathy-salut-0.8.1/lib/gibber/gibber-util.c:44: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 (&addr_big_endian, s6->sin6_addr.s6_addr + 12, 4); data/telepathy-salut-0.8.1/lib/gibber/tests/check-gibber-r-multicast-sender.c:116:17: [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). guint32 v = atoi (lines[i]); data/telepathy-salut-0.8.1/lib/gibber/tests/check-gibber-unix-transport.c:55: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 control[CMSG_SPACE (sizeof (struct ucred))]; data/telepathy-salut-0.8.1/src/avahi-contact.c:164:11: [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 (sockaddr6->sin6_addr.s6_addr, address->data.ipv6.address, 16); data/telepathy-salut-0.8.1/src/avahi-muc-channel.c:202: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 (port_str); data/telepathy-salut-0.8.1/src/bonjour-contact.c:249:11: [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 (_addr6->sin6_addr.s6_addr, address6->sin6_addr.s6_addr, 16); data/telepathy-salut-0.8.1/src/tubes-channel.c:767:47: [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). guint16 tmp = (guint16) atoi (stream_id); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-http-proxy-test.c:157: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). return g_ascii_strncasecmp (prefix, str, strlen (prefix)) == 0; data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-http-proxy-test.c:222: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). base64_cred = g_base64_encode ((guchar *) cred, strlen (cred)); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-http-proxy-test.c:246: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). data->test_case->reply, strlen (data->test_case->reply), data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-test-sasl-auth-server.c:671: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). int ulen = strlen (user); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-test-sasl-auth-server.c:916: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). *len = strlen (options[i].value); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-test-sasl-auth-server.c:959: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). ret = sasl_setpass (priv->sasl_conn, user, password, strlen (password), data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-tls-test.c:240: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). g_assert (strlen (test_data[x]) == (TEST_SSL_DATA_LEN - 1)); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-connection-test.c:92: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 (message); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-connection-test.c:841: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 (message); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-node-test.c:128: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 (content); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-reader-test.c:115: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). (guint8 *) HEADER FOOTER, strlen (HEADER FOOTER)); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-reader-test.c:147: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). (guint8 *) BROKEN_HEADER, strlen (BROKEN_HEADER)); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-reader-test.c:172: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). strlen (HEADER_WITH_UNQUALIFIED_LANG)); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-reader-test.c:192: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). (guint8 *) HEADER, strlen (HEADER)); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-reader-test.c:198: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). (guint8 *) BROKEN_MESSAGE, strlen (BROKEN_MESSAGE)); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-reader-test.c:229: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). (guint8 *) MESSAGE_CHUNK0, strlen (MESSAGE_CHUNK0)); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-reader-test.c:237: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). (guint8 *) MESSAGE_CHUNK1, strlen (MESSAGE_CHUNK1)); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-reader-test.c:280: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). (guint8 *) MESSAGE_CHUNK0, strlen (MESSAGE_CHUNK0)); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-reader-test.c:300: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). (guint8 *) VCARD_MESSAGE, strlen (VCARD_MESSAGE)); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-reader-test.c:319:43: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). (guint8 *) INVALID_NAMESPACE_MESSAGE, strlen (INVALID_NAMESPACE_MESSAGE)); data/telepathy-salut-0.8.1/lib/ext/wocky/tests/wocky-xmpp-reader-test.c:343: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). wocky_xmpp_reader_push (reader, (guint8 *) xml, strlen (xml)); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-http-proxy.c:98:55: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). base64_cred = g_base64_encode ((guchar *) cred, strlen (cred)); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-http-proxy.c:196: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 (!g_output_stream_write_all (out, buffer, strlen (buffer), NULL, data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-http-proxy.c:328: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). data->length = strlen (data->buffer); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-node.c:79: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). left = strlen (remainder); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-node.c:136: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). s1_size = strlen (s1); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-node.c:138: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). s2_size = strlen (s2); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-node.c:146: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). s2_size = strlen (s2); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-node.c:358: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). wocky_node_set_attribute_n_ns (node, key, value, strlen (value), NULL); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-node.c:407: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). key, value, strlen (value), ns); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-node.c:1022: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). lang_size = strlen (lang); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:181:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). WockyTLSJob read; data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:483:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gchar *rbuf = session->job.read.rbuf; data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:484:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gint prio = session->job.read.io_priority; data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:485:39: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GCancellable *cancel = session->job.read.cancellable; data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:499:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gint prio = session->job.read.io_priority; data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:501:39: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GCancellable *cancel = session->job.read.cancellable; data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:523:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((session->job.read.error == NULL) && (result <= 0)) data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:538:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_set_error (&session->job.read.error, WOCKY_TLS_ERROR, err, data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:589:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). wanted = session->job.read.count; data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:591:53: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). result = SSL_read (session->ssl, session->job.read.buffer, wanted); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:596:52: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). wocky_tls_job_result_gssize (&session->job.read, result); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:834: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 (certname) == 0 && strlen (hostname) == 0) data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:834: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). if (strlen (certname) == 0 && strlen (hostname) == 0) data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:1195:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_assert (session->job.read.active == FALSE); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:1218:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (session->job.read.error == NULL) data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:1221:63: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_simple_async_result_set_from_error (r, session->job.read.error); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:1228:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). wocky_tls_job_start (&session->job.read, stream, data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:1232:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). session->job.read.buffer = buffer; data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:1233:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). session->job.read.count = count; data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:1480:35: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GError **error = &(session->job.read.error); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-openssl.c:1483:52: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). session->job.handshake.job.rbuf : session->job.read.rbuf; data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-digest-md5.c:353: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 (a1); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-scram.c:307: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). gsize pass_len = strlen (priv->password); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-scram.c:313: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). g_byte_array_set_size (salt, (strlen (priv->salt)/4 * 3) + 3 + 4 ); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-scram.c:314:43: [1] (buffer) strlen: Does not handle 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 = g_base64_decode_step (priv->salt, strlen (priv->salt), data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-scram.c:367: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 (CLIENT_KEY_STR)); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-scram.c:378: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). (guint8 *) priv->auth_message, strlen (priv->auth_message)); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-scram.c:416: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 (priv->client_nonce)) != 0) data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-scram.c:497: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). (guint8 *) SERVER_KEY_STR, strlen (SERVER_KEY_STR)); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-sasl-scram.c:501: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). strlen (priv->auth_message)); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-utils.c:228: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). return (s == NULL ? 0 : strlen (s)); data/telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-xmpp-writer.c:323: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). *length = strlen ((gchar *) close); data/telepathy-salut-0.8.1/lib/gibber/gibber-bytestream-oob.c:258: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). url = priv->url + strlen ("x-tcp://"); data/telepathy-salut-0.8.1/lib/gibber/gibber-fd-transport.c:287:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). result = cls->read (self, priv->channel, &error); data/telepathy-salut-0.8.1/lib/gibber/gibber-fd-transport.h:54:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GibberFdIOResult (*read) (GibberFdTransport *fd_transport, data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-packet.c:304: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). result += 1 + strlen (packet->data.whois_reply.sender_name); data/telepathy-salut-0.8.1/lib/gibber/gibber-r-multicast-packet.c:405: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). gsize len = strlen (str); data/telepathy-salut-0.8.1/lib/gibber/tests/check-gibber-r-multicast-packet.c: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). strlen (payload)); data/telepathy-salut-0.8.1/lib/gibber/tests/check-gibber-r-multicast-packet.c:132: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). g_assert (plen == strlen (payload)); data/telepathy-salut-0.8.1/lib/gibber/tests/check-gibber-r-multicast-sender.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). strlen (payload)); data/telepathy-salut-0.8.1/lib/gibber/tests/check-gibber-r-multicast-sender.c:653: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). (guint8 *) test->setup[i].data, strlen (test->setup[i].data)); data/telepathy-salut-0.8.1/lib/gibber/tests/check-gibber-unix-transport.c:68: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). (guint8 *) DATA, strlen (DATA) + 1)); data/telepathy-salut-0.8.1/lib/gibber/tests/check-gibber-unix-transport.c:101: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). (guint8 *) DATA, strlen (DATA) + 1)); data/telepathy-salut-0.8.1/lib/gibber/tests/check-gibber-unix-transport.c:181: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). (guint8 *) DATA, strlen (DATA)); data/telepathy-salut-0.8.1/lib/gibber/tests/test-r-multicast-transport-io.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). p = buffer + strlen ("INPUT:"); data/telepathy-salut-0.8.1/lib/gibber/tests/test-r-multicast-transport-io.c:80: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). p = buffer + strlen ("RECV:"); data/telepathy-salut-0.8.1/lib/gibber/tests/test-r-multicast-transport-io.c:90: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). fail_node (buffer + strlen ("FAIL:")); data/telepathy-salut-0.8.1/src/bonjour-self.c:169: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). strlen (_self->node), _self->node); data/telepathy-salut-0.8.1/src/bonjour-self.c:181: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). strlen (_self->hash), _self->hash); data/telepathy-salut-0.8.1/src/bonjour-self.c:192: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). strlen (_self->ver), _self->ver); data/telepathy-salut-0.8.1/src/bonjour-self.c:219: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 (_port), _port); data/telepathy-salut-0.8.1/src/bonjour-self.c:226: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 (_self->nickname), _self->nickname); data/telepathy-salut-0.8.1/src/bonjour-self.c: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). strlen (_self->first_name), _self->first_name); data/telepathy-salut-0.8.1/src/bonjour-self.c:238: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 (_self->last_name), _self->last_name); data/telepathy-salut-0.8.1/src/bonjour-self.c:244: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 (_self->email), _self->email); data/telepathy-salut-0.8.1/src/bonjour-self.c:250: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 (_self->jid), _self->jid); data/telepathy-salut-0.8.1/src/bonjour-self.c:255: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 (salut_presence_status_txt_names[_self->status]), data/telepathy-salut-0.8.1/src/bonjour-self.c:263: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 (_self->status_message), _self->status_message); data/telepathy-salut-0.8.1/src/bonjour-self.c:358: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 (salut_presence_status_txt_names[self->status]), data/telepathy-salut-0.8.1/src/bonjour-self.c:366: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). strlen (self->status_message), self->status_message); data/telepathy-salut-0.8.1/src/bonjour-self.c:394: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 (_self->alias), _self->alias); data/telepathy-salut-0.8.1/src/bonjour-self.c:487: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 (_self->avatar_token), _self->avatar_token); data/telepathy-salut-0.8.1/src/capability-set.c:201: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). suffix = name + strlen (PREFIX); data/telepathy-salut-0.8.1/src/connection.c:2565: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). len = strlen (color); data/telepathy-salut-0.8.1/src/connection.c:2973: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 (color); data/telepathy-salut-0.8.1/src/disco.c:311: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). suffix = node + strlen (WOCKY_TELEPATHY_NS_CAPS) + 1; data/telepathy-salut-0.8.1/src/disco.c:536: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). g_assert (strlen (node) > 0); data/telepathy-salut-0.8.1/src/ft-manager.c:654: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). ns + strlen (NS_TP_FT_METADATA "#")); data/telepathy-salut-0.8.1/src/tube-dbus.c:220: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 (nick); data/telepathy-salut-0.8.1/src/tube-dbus.c:224:57: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). encoded = g_base64_encode ((const guchar *) nick, strlen (nick)); data/telepathy-salut-0.8.1/src/tube-stream.c:869:63: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). array = g_array_sized_new (TRUE, FALSE, sizeof (gchar), strlen (path)); data/telepathy-salut-0.8.1/src/tube-stream.c:870: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). g_array_insert_vals (array, 0, path, strlen (path)); data/telepathy-salut-0.8.1/src/tubes-manager.c:1176: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). add_service_to_array (ns + strlen (STREAM_CAP_PREFIX), closure->arr, data/telepathy-salut-0.8.1/src/tubes-manager.c:1179: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). add_service_to_array (ns + strlen (DBUS_CAP_PREFIX), closure->arr, ANALYSIS SUMMARY: Hits = 173 Lines analyzed = 127033 in approximately 2.34 seconds (54397 lines/second) Physical Source Lines of Code (SLOC) = 91259 Hits@level = [0] 26 [1] 105 [2] 41 [3] 26 [4] 0 [5] 1 Hits@level+ = [0+] 199 [1+] 173 [2+] 68 [3+] 27 [4+] 1 [5+] 1 Hits/KSLOC@level+ = [0+] 2.18061 [1+] 1.8957 [2+] 0.745132 [3+] 0.295861 [4+] 0.0109578 [5+] 0.0109578 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.