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/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Binary.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/BinaryInterface.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/DBPointer.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Decimal128.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Decimal128Interface.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Int64.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Javascript.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/JavascriptInterface.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/MaxKey.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/MaxKeyInterface.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/MinKey.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/MinKeyInterface.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/ObjectId.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/ObjectIdInterface.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Persistable.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Regex.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/RegexInterface.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Serializable.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Symbol.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Timestamp.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/TimestampInterface.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Type.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/UTCDateTime.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/UTCDateTimeInterface.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Undefined.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Unserializable.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/functions.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/functions.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Exception/AuthenticationException.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Exception/BulkWriteException.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Exception/CommandException.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Exception/ConnectionException.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Exception/ConnectionTimeoutException.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Exception/EncryptionException.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Exception/Exception.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Exception/ExecutionTimeoutException.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Exception/InvalidArgumentException.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Exception/LogicException.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Exception/RuntimeException.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Exception/SSLConnectionException.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Exception/ServerException.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Exception/UnexpectedValueException.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Exception/WriteException.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandFailedEvent.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandStartedEvent.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandSubscriber.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandSucceededEvent.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/Subscriber.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/functions.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/functions.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/BulkWrite.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/ClientEncryption.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Command.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Cursor.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/CursorId.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/CursorInterface.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Manager.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Query.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/ReadConcern.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/ReadPreference.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Server.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Session.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Session.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/WriteConcern.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/WriteConcernError.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/WriteError.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/WriteResult.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/contrib/php_array_api.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/common/common-b64-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/common/common-b64.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/common/common-md5-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/common/common-md5.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/common/common-prelude.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/common/common-thread-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bcon.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bcon.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-atomic.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-atomic.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-clock.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-clock.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-compat.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-config.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-context-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-context.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-context.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-decimal128.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-decimal128.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-endian.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-error.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-error.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iso8601-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iso8601.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-json.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-json.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-keys.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-keys.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-macros.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-md5.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-md5.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-memory.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-memory.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-oid.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-oid.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-prelude.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-reader.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-reader.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-string.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-string.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-timegm-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-timegm.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-types.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-utf8.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-utf8.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-value.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-value.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-version-functions.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-version-functions.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-version.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-writer.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-writer.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/jsonsl/jsonsl.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/jsonsl/jsonsl.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-aggregate-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-aggregate.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-apm-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-apm.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-apm.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-array-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-array.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-async-cmd-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-async-cmd.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-async-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-async.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-buffer-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-buffer.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-bulk-operation-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-bulk-operation.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-bulk-operation.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-change-stream-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-change-stream.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-change-stream.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-pool-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-pool.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-pool.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-session-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-session.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-session.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-cyrus-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-cyrus.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-sasl-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-sasl.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-sspi-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-sspi.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cmd-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cmd.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-collection-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-collection.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-collection.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-compression-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-compression.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-config.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-counters-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-counters.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypto-cng-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypto-cng.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypto-common-crypto-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypto-common-crypto.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypto-openssl-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypto-openssl.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypto-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypto.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor-array.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor-change-stream.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor-cmd-deprecated.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor-cmd.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor-find-cmd.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor-find-opquery.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor-find.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor-legacy.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cyrus-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cyrus.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-database-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-database.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-database.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-errno-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-error-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-error.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-error.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-find-and-modify-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-find-and-modify.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-find-and-modify.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-flags.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket-file-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket-file.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-file-list-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-file-list.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-file-list.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-file-page-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-file-page.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-file-page.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-file-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-file.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-file.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-handshake-compiler-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-handshake-os-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-handshake-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-handshake.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-handshake.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-host-list-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-host-list.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-host-list.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-index.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-index.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-init.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-init.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-iovec.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-libressl-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-libressl.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-list-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-list.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-log-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-log.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-log.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-macros.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-matcher-op-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-matcher-op.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-matcher-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-matcher.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-matcher.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-memcmp-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-memcmp.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-opcode.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-openssl-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-openssl.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-opts-helpers-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-opts-helpers.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-opts-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-opts.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-prelude.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-queue-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-queue.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rand-cng.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rand-common-crypto.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rand-openssl.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rand-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rand.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-read-concern-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-read-concern.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-read-concern.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-read-prefs-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-read-prefs.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-read-prefs.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-sasl-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-sasl.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-secure-channel-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-secure-channel.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-secure-transport-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-secure-transport.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-server-description-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-server-description.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-server-description.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-server-stream-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-server-stream.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-set-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-set.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-socket-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-socket.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-socket.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-ssl-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-ssl.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-ssl.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-sspi-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-sspi.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-buffered.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-buffered.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-file.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-file.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-gridfs-download-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-gridfs-download.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-gridfs-upload-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-gridfs-upload.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-gridfs.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-gridfs.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-socket.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-socket.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-libressl-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-libressl.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-libressl.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-openssl-bio-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-openssl-bio.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-openssl-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-openssl.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-openssl.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-channel-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-channel.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-channel.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-transport-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-transport.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-transport.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-thread-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-description-apm-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-description-apm.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-description-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-description.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-description.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-scanner-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-scanner.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-trace-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-util-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-util.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-version-functions.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-version-functions.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-version.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command-legacy-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command-legacy.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-concern-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-concern.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-concern.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/utlist.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/adler32.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/compress.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/crc32.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/crc32.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/deflate.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/deflate.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzclose.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzguts.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzlib.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzread.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/infback.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/inffast.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/inffast.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/inffixed.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/inflate.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/inflate.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/inftrees.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/inftrees.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/trees.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/trees.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/uncompr.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/zlib.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/zutil.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/zutil.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt-compat/mongocrypt/mongocrypt.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt-compat/mongocrypt-export.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_message/kms_b64.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_message/kms_caller_identity_request.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_message/kms_decrypt_request.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_message/kms_encrypt_request.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_message/kms_message.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_message/kms_message_defines.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_message/kms_request.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_message/kms_request_opt.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_message/kms_response.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_message/kms_response_parser.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/hexlify.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/hexlify.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_b64.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_caller_identity_request.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_crypto.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_crypto_apple.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_crypto_libcrypto.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_crypto_none.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_crypto_windows.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_decrypt_request.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_encrypt_request.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_kv_list.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_kv_list.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_message.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_message_private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_port.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request_opt.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request_opt_private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request_str.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request_str.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_response.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_response_parser.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/sort.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/sort.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/crypto/cng.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/crypto/commoncrypto.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/crypto/libcrypto.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/crypto/none.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/os_posix/os_mutex.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/os_posix/os_once.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/os_win/os_mutex.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/os_win/os_once.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-binary-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-binary.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-buffer-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-buffer.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-cache-collinfo-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-cache-collinfo.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-cache-key-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-cache-key.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-cache-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-cache.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ciphertext-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ciphertext.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-compat.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-config.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-crypto-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-crypto.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx-datakey.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx-decrypt.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx-encrypt.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-key-broker-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-key-broker.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-key-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-key.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-kms-ctx-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-kms-ctx.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-log-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-log.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-marking-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-marking.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-mutex-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-opts-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-opts.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-os-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-status-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-status.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-traverse-util-private.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-traverse-util.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson-encode.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/phongo_compat.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/phongo_compat.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/phongo_version.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/php_bson.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/php_phongo.c
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/php_phongo.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/php_phongo_classes.h
Examining data/php-mongodb-1.7.4/mongodb-1.7.4/php_phongo_structs.h

FINAL RESULTS:

data/php-mongodb-1.7.4/mongodb-1.7.4/phongo_compat.h:98:13:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		tmp_len = snprintf(tmp, sizeof(tmp), "%" PRId64, (_value)); \
data/php-mongodb-1.7.4/mongodb-1.7.4/phongo_compat.h:147:13:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		tmp_len = snprintf(tmp, sizeof(tmp), "%" PRId64, (_value)); \
data/php-mongodb-1.7.4/mongodb-1.7.4/php_phongo.h:107:24:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	__attribute__((format(printf, 3, 4)))
data/php-mongodb-1.7.4/mongodb-1.7.4/php_phongo.h:109:24:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	__attribute__((format(printf, 2, 3)))
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Timestamp.c:279:20:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	s_increment_len = snprintf(s_increment, sizeof(s_increment), "%" PRIu32, intern->increment);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Timestamp.c:280:20:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	s_timestamp_len = snprintf(s_timestamp, sizeof(s_timestamp), "%" PRIu32, intern->timestamp);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Timestamp.c:495:20:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	s_increment_len = snprintf(s_increment, sizeof(s_increment), "%" PRIu32, intern->increment);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Timestamp.c:496:20:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	s_timestamp_len = snprintf(s_timestamp, sizeof(s_timestamp), "%" PRIu32, intern->timestamp);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandFailedEvent.c:91:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(int_as_string, "%" PRIu64, intern->operation_id);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandFailedEvent.c:135:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(int_as_string, "%" PRIu64, intern->request_id);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandFailedEvent.c:254:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(operation_id, "%" PRIu64, intern->operation_id);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandFailedEvent.c:268:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(request_id, "%" PRIu64, intern->request_id);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandStartedEvent.c:99:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(int_as_string, "%" PRIu64, intern->operation_id);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandStartedEvent.c:116:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(int_as_string, "%" PRIu64, intern->request_id);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandStartedEvent.c:235:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(operation_id, "%" PRIu64, intern->operation_id);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandStartedEvent.c:238:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(request_id, "%" PRIu64, intern->request_id);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandSucceededEvent.c:72:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(int_as_string, "%" PRIu64, intern->operation_id);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandSucceededEvent.c:116:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(int_as_string, "%" PRIu64, intern->request_id);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandSucceededEvent.c:221:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(operation_id, "%" PRIu64, intern->operation_id);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandSucceededEvent.c:235:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(request_id, "%" PRIu64, intern->request_id);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson.c:81:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(ptr, field_path->elements[i]);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-decimal128.c:176:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
         strcpy (str_out, BSON_DECIMAL128_INF);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-decimal128.c:180:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
         strcpy (str, BSON_DECIMAL128_NAN);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-decimal128.c:580:16:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#define SSCANF sscanf
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-json.c:43:16:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#define SSCANF sscanf
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-macros.h:190:10:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
         fprintf (stderr,                                  \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-macros.h:247:56:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define BSON_GNUC_PRINTF(f, v) __attribute__ ((format (printf, f, v)))
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-string.c:616:8:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
   r = vsnprintf (str, size, format, ap);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/jsonsl/jsonsl.c:921:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(my_copy, path);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/jsonsl/jsonsl.c:959:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(ret->orig, path);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:678:65:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!_mongoc_crypt_auto_encrypt (client_encrypted->topology->crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:761:65:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!_mongoc_crypt_auto_decrypt (client_encrypted->topology->crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:986:8:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
   if (execvp (to_exec, args) < 0) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:1249:27:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!client->topology->crypt) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:1377:19:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!topology->crypt) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:1418:21:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   _mongoc_crypt_t *crypt;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:1459:28:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!client_encryption->crypt) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:1479:46:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   _mongoc_crypt_destroy (client_encryption->crypt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:1514:58:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!_mongoc_crypt_create_datakey (client_encryption->crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:1596:60:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!_mongoc_crypt_explicit_encrypt (client_encryption->crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:1645:60:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!_mongoc_crypt_explicit_decrypt (client_encryption->crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt-private.h:42:41:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_mongoc_crypt_destroy (_mongoc_crypt_t *crypt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt-private.h:50:46:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_mongoc_crypt_auto_encrypt (_mongoc_crypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt-private.h:65:46:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_mongoc_crypt_auto_decrypt (_mongoc_crypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt-private.h:79:50:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_mongoc_crypt_explicit_encrypt (_mongoc_crypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt-private.h:94:50:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_mongoc_crypt_explicit_decrypt (_mongoc_crypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt-private.h:106:48:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_mongoc_crypt_create_datakey (_mongoc_crypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:147:35:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_crypt_check_error (mongocrypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:154:28:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!mongocrypt_status (crypt, status)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:662:21:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   _mongoc_crypt_t *crypt;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:669:35:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   crypt = bson_malloc0 (sizeof (*crypt));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:762:30:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
      _mongoc_crypt_destroy (crypt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:766:11:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   return crypt;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:770:41:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_mongoc_crypt_destroy (_mongoc_crypt_t *crypt)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:772:9:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!crypt) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:776:15:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   bson_free (crypt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:780:46:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_mongoc_crypt_auto_encrypt (_mongoc_crypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:827:46:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_mongoc_crypt_auto_decrypt (_mongoc_crypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:867:50:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_mongoc_crypt_explicit_encrypt (_mongoc_crypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:978:50:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_mongoc_crypt_explicit_decrypt (_mongoc_crypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:1038:48:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_mongoc_crypt_create_datakey (_mongoc_crypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cyrus.c:107:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy (out, in);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c:167:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
   if (access (path, R_OK)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c:220:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      if (access (*p, F_OK)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c:225:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      if (access (*p, R_OK)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-ssl.c:69:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
   if (access (filename, R_OK) != 0) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls.c:214:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
   if (!host || (host[0] == '/' && !access (host, F_OK))) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-private.h:83:21:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   _mongoc_crypt_t *crypt;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology.c:423:37:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   _mongoc_crypt_destroy (topology->crypt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command.c:1579:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (cmd_err->message, replacement);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzguts.h:86:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#    if !defined(vsnprintf) && !defined(NO_vsnprintf)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzguts.h:88:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#         define vsnprintf _vsnprintf
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzguts.h:110:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define snprintf _snprintf
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzguts.h:110:20:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define snprintf _snprintf
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzlib.c:216: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).
        strcpy(state->path, path);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzlib.c:614:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(state->msg, state->path);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzlib.c:616:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(state->msg, msg);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c:418:11:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    (void)vsprintf(next, format, va);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c:422:11:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    len = vsprintf(next, format, va);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c:426:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    (void)vsnprintf(next, state->size, format, va);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c:429:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = vsnprintf(next, state->size, format, va);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c:512:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(next, format, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c:518:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    len = sprintf(next, format, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c:523:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(next, state->size, format, a1, a2, a3, a4, a5, a6, a7, a8, a9,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c:527:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = snprintf(next, state->size, format, a1, a2, a3, a4, a5, a6, a7, a8,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/zutil.h:242:39:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Trace(x) {if (z_verbose>=0) fprintf x ;}
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/zutil.h:243:39:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracev(x) {if (z_verbose>0) fprintf x ;}
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/zutil.h:244:40:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracevv(x) {if (z_verbose>1) fprintf x ;}
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/zutil.h:245:48:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;}
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/zutil.h:246:49:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;}
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_message.c:32:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
   (void) vsnprintf (error, size, fmt, va);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request_str.c:267:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      n = vsnprintf (&str->str[str->len], remaining, format, args);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx-datakey.c:82:27:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_append_id (mongocrypt_t *crypt, bson_t *bson, mongocrypt_status_t *status)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx-datakey.c:129:26:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!_append_id (ctx->crypt, &key_doc, ctx->status)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx-encrypt.c:437:18:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   mongocrypt_t *crypt;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx-encrypt.c:442:17:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   crypt = ctx->crypt;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx-private.h:71:18:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   mongocrypt_t *crypt;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx.c:236:35:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_ctx_new (mongocrypt_t *crypt)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx.c:241:9:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!crypt) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx.c:261:17:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   ctx->crypt = crypt;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx.c:736:48:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   _mongocrypt_key_broker_init (&ctx->kb, ctx->crypt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-key-broker-private.h:98:18:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   mongocrypt_t *crypt;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-key-broker-private.h:104:74:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_mongocrypt_key_broker_init (_mongocrypt_key_broker_t *kb, mongocrypt_t *crypt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-key-broker.c:21:74:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_mongocrypt_key_broker_init (_mongocrypt_key_broker_t *kb, mongocrypt_t *crypt)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-key-broker.c:24:16:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   kb->crypt = crypt;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-log-private.h:64:45:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
#define CRYPT_TRACE(log, msg) CRYPT_TRACEF (crypt, "%s", msg)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-log-private.h:68:7:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
      crypt, MONGOCRYPT_LOG_LEVEL_TRACE, "entry (%s:%d)", BSON_FUNC, __LINE__)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-log-private.h:72:24:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
      _mongocrypt_log (crypt,                      \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:114:18:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   mongocrypt_t *crypt;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:117:17:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   BSON_ASSERT (crypt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:126:11:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   return crypt;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:131:46:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_setopt_log_handler (mongocrypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:135:9:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!crypt) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:150:51:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_setopt_kms_provider_aws (mongocrypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:158:9:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!crypt) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:227:4:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
   sprintf (out, (len > max_bytes) ? "..." : "");
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:251:45:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_setopt_schema_map (mongocrypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:258:9:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!crypt) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:296:53:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_setopt_kms_provider_local (mongocrypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:301:9:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!crypt) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:346:32:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_init (mongocrypt_t *crypt)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:350:9:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!crypt) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:393:34:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_status (mongocrypt_t *crypt, mongocrypt_status_t *out)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:395:9:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!crypt) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:415:35:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_destroy (mongocrypt_t *crypt)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:417:9:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!crypt) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:427:15:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   bson_free (crypt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:457:47:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_setopt_crypto_hooks (mongocrypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:468:9:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
   if (!crypt) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.h:324:46:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_setopt_log_handler (mongocrypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.h:349:51:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_setopt_kms_provider_aws (mongocrypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.h:369:53:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_setopt_kms_provider_local (mongocrypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.h:387:45:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_setopt_schema_map (mongocrypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.h:406:32:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_init (mongocrypt_t *crypt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.h:420:34:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_status (mongocrypt_t *crypt, mongocrypt_status_t *status);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.h:430:35:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_destroy (mongocrypt_t *crypt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.h:450:35:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_ctx_new (mongocrypt_t *crypt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.h:1034:47:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
mongocrypt_setopt_crypto_hooks (mongocrypt_t *crypt,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/common/common-thread-private.h:51:25:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
#define bson_mutex_init InitializeCriticalSection
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/common/common-thread-private.h:52:25:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
#define bson_mutex_lock EnterCriticalSection
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-context.c:303:4:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
   srand (seed);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-counters.c:88:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   return !getenv ("MONGOC_DISABLE_SHM");
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-crypto-private.h:36:25:  [3] (random) random:
  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.
   mongocrypt_random_fn random;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-crypto.c:160:22:  [3] (random) random:
  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 crypto->random (crypto->ctx, &out_bin, count, status);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-log.c:30:26:  [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.
   log->trace_enabled = (getenv ("MONGOCRYPT_TRACE") != NULL);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:460:54:  [3] (random) random:
  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.
                                mongocrypt_random_fn random,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:502:9:  [3] (random) random:
  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.
   if (!random) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:506:28:  [3] (random) random:
  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.
   crypt->crypto->random = random;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.h:1037:54:  [3] (random) random:
  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.
                                mongocrypt_random_fn random,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/os_win/os_mutex.c:24:4:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
   InitializeCriticalSection (mutex);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/os_win/os_mutex.c:36:4:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
   EnterCriticalSection (mutex);
data/php-mongodb-1.7.4/mongodb-1.7.4/phongo_compat.h:96:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char tmp[24];                                               \
data/php-mongodb-1.7.4/mongodb-1.7.4/phongo_compat.h:145:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char tmp[24];                                               \
data/php-mongodb-1.7.4/mongodb-1.7.4/php_phongo.c:3651: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(&phongo_std_object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/php_phongo_structs.h:179: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       id[25];
data/php-mongodb-1.7.4/mongodb-1.7.4/php_phongo_structs.h:222: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       oid[25];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Binary.c:178: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                 type[3];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Binary.c:490: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(&php_phongo_handler_binary, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/DBPointer.c:404: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(&php_phongo_handler_dbpointer, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Decimal128.c:117: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                     outbuf[BSON_DECIMAL128_STRING];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Decimal128.c:135: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                     outbuf[BSON_DECIMAL128_STRING] = "";
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Decimal128.c:156: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                     outbuf[BSON_DECIMAL128_STRING];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Decimal128.c:325: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(&new_intern->decimal, &intern->decimal, sizeof(bson_decimal128_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Decimal128.c:343: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                     outbuf[BSON_DECIMAL128_STRING] = "";
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Decimal128.c:401: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(&php_phongo_handler_decimal128, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Int64.c:363: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(&php_phongo_handler_int64, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Javascript.c:564: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(&php_phongo_handler_javascript, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/MaxKey.c:159: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(&php_phongo_handler_maxkey, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/MinKey.c:160: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(&php_phongo_handler_minkey, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/ObjectId.c:364: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(&new_intern->oid, &intern->oid, PHONGO_OID_SIZE);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/ObjectId.c:448: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(&php_phongo_handler_objectid, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Regex.c:492: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(&php_phongo_handler_regex, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Symbol.c:354: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(&php_phongo_handler_symbol, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Timestamp.c:268: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                    s_increment[12];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Timestamp.c:269: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                    s_timestamp[12];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Timestamp.c:482: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                    s_increment[24];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Timestamp.c:483: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                    s_timestamp[24];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Timestamp.c:551: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(&php_phongo_handler_timestamp, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/UTCDateTime.c:172:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char tmp[24];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/UTCDateTime.c:549: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(&php_phongo_handler_utcdatetime, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Undefined.c:150: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(&php_phongo_handler_undefined, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/BulkWrite.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 key[12];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/BulkWrite.c:662: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(&php_phongo_handler_bulkwrite, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/ClientEncryption.c:190: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(&php_phongo_handler_clientencryption, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Command.c:227: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(&php_phongo_handler_command, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Cursor.c:595: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(&php_phongo_handler_cursor, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/CursorId.c:261: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(&php_phongo_handler_cursorid, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Manager.c:1010: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(&php_phongo_handler_manager, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandFailedEvent.c:83: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                             int_as_string[20];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandFailedEvent.c:127: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                             int_as_string[20];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandFailedEvent.c:234: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                             operation_id[20], request_id[20];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandFailedEvent.c:303: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(&php_phongo_handler_commandfailedevent, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandStartedEvent.c:91: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                              int_as_string[20];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandStartedEvent.c:108: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                              int_as_string[20];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandStartedEvent.c:212: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                              operation_id[20], request_id[20];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandStartedEvent.c:273: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(&php_phongo_handler_commandstartedevent, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandSucceededEvent.c:64: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                                int_as_string[20];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandSucceededEvent.c:108: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                                int_as_string[20];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandSucceededEvent.c:209: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                                operation_id[20], request_id[20];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/CommandSucceededEvent.c:270: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(&php_phongo_handler_commandsucceededevent, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Query.c: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(&php_phongo_handler_query, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/ReadConcern.c:402: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(&php_phongo_handler_readconcern, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/ReadPreference.c:752: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(&php_phongo_handler_readpreference, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Server.c:648: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(&php_phongo_handler_server, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Session.c:815: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(&php_phongo_handler_session, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/WriteConcern.c:690: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(&php_phongo_handler_writeconcern, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/WriteConcernError.c:179: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(&php_phongo_handler_writeconcernerror, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/WriteError.c:197: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(&php_phongo_handler_writeerror, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/WriteResult.c:513: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(&php_phongo_handler_writeresult, phongo_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson.c:465: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(&intern->decimal, decimal, sizeof(bson_decimal128_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson.c:1520: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(tmp, ptr, segment_end - ptr);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/common/common-md5.c:358: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 (pms->buf + offset, p, copy);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/common/common-md5.c:372: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 (pms->buf, p, left);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bcon.c:432: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 (val->ITER, iter, sizeof *iter);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bcon.c:715:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char i_str[16];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bcon.c:759:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char i_str[16];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bcon.c:852:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char i_str[16];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bcon.c:887:10:  [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 (&current_iter, STACK_ITER_CHILD, sizeof current_iter);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-context.c:86: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 (&oid->bytes[9], ((uint8_t *) &seq) + 1, 3);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-context.c:113: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 (&oid->bytes[9], ((uint8_t *) &seq) + 1, 3);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-context.c:143: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 (&oid->bytes[4], &seq, sizeof (seq));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-context.c:170: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 (&oid->bytes[4], &seq, sizeof (seq));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-context.c:207: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 (&oid->bytes[4], &context->rand, sizeof (context->rand));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-context.c:273:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char hostname[HOST_NAME_MAX];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-context.c:296: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 (&hostname_chunk, ptr, to_copy);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-decimal128.c:136:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char significand_str[35]; /* decoded significand digits */
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-endian.h:217: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 (&uv, &v, sizeof (v));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iso8601.c:305:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[64];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:677: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 (&val, iter->raw + iter->d1, 1);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:912:10:  [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 (binary_len, (iter->raw + iter->d1), sizeof (*binary_len));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:1356: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 (ret, str, local_length);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:1528:10:  [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/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:1794: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 (document_len, (iter->raw + iter->d1), sizeof (*document_len));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:1856: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 (array_len, (iter->raw + iter->d1), sizeof (*array_len));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:2182:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy ((void *) (iter->raw + iter->d1), &value, 1);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:2193: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 (
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:2210:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy ((void *) (iter->raw + iter->d1), &value, sizeof (value));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:2222:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy ((void *) (iter->raw + iter->d1), &value, sizeof (value));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:2254:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy ((void *) (iter->raw + iter->d1), &value, sizeof (value));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:2286:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy ((void *) (iter->raw + iter->d1), &value, sizeof (value));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:2316:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy ((void *) (iter->raw + iter->d1), &value, sizeof (value));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:2348:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy ((void *) (iter->raw + iter->d1), data, sizeof (data));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:2350:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy ((void *) (iter->raw + iter->d1), value, sizeof (*value));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.h:461: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 (&val, iter->raw + iter->d1, 1);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-json.c:466: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->buf, from, len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-json.c:484: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->buf + buf->len, from, len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-json.c:2213: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, ctx->data + ctx->bytes_parsed, bytes);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-json.c:2388:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char errmsg_buf[BSON_ERROR_BUFFER_SIZE];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-json.c:2397:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fd = open (path, O_RDONLY);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-oid.c:102: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 (&oid->bytes[0], &now, sizeof (now));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-oid.c:120: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 (&oid->bytes[0], &now, sizeof (now));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-oid.c:134: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 (oid, data, 12);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-oid.c:160:21:  [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 str[BSON_ENSURE_ARRAY_PARAM_SIZE (25)]) /* OUT */
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-oid.h:57:44:  [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.
bson_oid_to_string (const bson_oid_t *oid, char str[25]);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-oid.h:138: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 (dst, src, sizeof *src);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-reader.c:471: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 (&blen, &reader->data[reader->offset], sizeof blen);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-reader.c:574: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 (&blen, &reader->data[reader->offset], sizeof blen);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-reader.c:787:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char errmsg_buf[BSON_ERROR_BUFFER_SIZE];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-reader.c:798:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fd = open (path, O_RDONLY);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-string.c:78: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 (ret->str, str, ret->len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-string.c:143: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 (string->str + string->len, str, len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-string.c:172:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char cc[2];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-string.c:209:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char str[8];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-string.c:335: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 (out, str, len + 1);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-timegm.c:205: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 types[TZ_MAX_TIMES];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-timegm.c:207:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char chars[BIGGEST (TZ_MAX_CHARS + 1, (2 * (MY_TZNAME_MAX + 1)))];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-types.h:519:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char message[BSON_ERROR_BUFFER_SIZE];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-utf8.c:432:25:  [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 utf8[BSON_ENSURE_ARRAY_PARAM_SIZE (6)], /* OUT */
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-utf8.h:40:49:  [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.
bson_utf8_from_unichar (bson_unichar_t unichar, char utf8[6], uint32_t *len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-value.c:40: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 (
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-value.c:48: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 (dst->value.v_doc.data,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-value.c:57:10:  [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 (dst->value.v_binary.data, src->value.v_binary.data,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-value.c:79: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 (dst->value.v_dbpointer.collection,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-value.c:89: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 (dst->value.v_code.code,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-value.c:97: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 (dst->value.v_symbol.symbol,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-value.c:106: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 (dst->value.v_codewscope.code,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-value.c:113: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 (dst->value.v_codewscope.scope_data,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:133: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 (data, impl->data, impl->len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:280: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 (_bson_data (bson), &bson->len, sizeof (bson->len));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:283: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 (_bson_data (bson), &length_le, sizeof (length_le));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:342:10:  [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, data_len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:2118: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 (_bson_data (bson), data, length);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:2151:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (*buf, &len_le, sizeof (len_le));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:2205: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 (dst->padding, src->padding, sizeof dst->padding);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:2207: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 (dst, src, sizeof *dst);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:2228: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 (adst->alloc, data, src->len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:2383: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 (dst_inline->data, src_inline->data, sizeof src_inline->data);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:2394: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 (dst, src, sizeof (bson_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:2436: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 (ret, inl->data, bson->len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:2601:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char decimal128_string[BSON_DECIMAL128_STRING];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:2692:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char str[25];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:2847:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char str[25];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:3499: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 (error, &state.error, sizeof *error);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/jsonsl/jsonsl.c:1144: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(jsn->jprs, jprs, sizeof(jsonsl_jpr_t) * njprs);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/jsonsl/jsonsl.c:1324:38:  [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.
size_t jsonsl_util_unescape_ex(const char *in,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/jsonsl/jsonsl.c:1325:32:  [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 *out,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/jsonsl/jsonsl.c:1609: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.
static unsigned char Escape_Equivs[0x100] = {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/jsonsl/jsonsl.h:986:38:  [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.
size_t jsonsl_util_unescape_ex(const char *in,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/jsonsl/jsonsl.h:987:32:  [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 *out,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-aggregate.c:46: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 (&next, iter, sizeof (bson_iter_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-aggregate.c:246: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 (&cursor->error, &opts_err, sizeof (bson_error_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-aggregate.c:252: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 (&cursor->error, &create_cmd_err, sizeof (bson_error_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-apm.c:351: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 (error, event->error, sizeof *event->error);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-apm.c:622: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 (error, event->error, sizeof *event->error);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-array.c:59: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 (dst->data, src->data, dst->allocated);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-array.c:92: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 ((uint8_t *) array->data + off, data, len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-async-cmd-private.h:69:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char ns[MONGOC_NAMESPACE_MAX];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-async-cmd.c:321: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 (iovec, acmd->iovec + i, niovec * sizeof (mongoc_iovec_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-async-cmd.c:322:28:  [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.
      iovec[0].iov_base = (char *) iovec[0].iov_base + offset;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-async-cmd.c:390: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 (&msg_len, acmd->buffer.data, 4);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-buffer.c:155: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, data, data_size);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-bulk-operation.c:747:10:  [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 (error, &bulk->result.error, sizeof (bson_error_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-change-stream-private.h:52:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char db[140];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-change-stream-private.h:53:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char coll[140];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-change-stream.c:185:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[16];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-pool.c:411: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 (&topology->description.apm_callbacks,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-pool.c:414: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 (&pool->apm_callbacks, callbacks, sizeof (mongoc_apm_callbacks_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-session.c:89:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char str[16];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:654: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 (encrypted_cmd, cmd, sizeof (mongoc_cmd_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:714: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 (encrypted_cmd, cmd, sizeof (mongoc_cmd_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:956:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fd = open ("/dev/null", O_RDONLY);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:964:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fd = open ("/dev/null", O_WRONLY);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:973:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fd = open ("/dev/null", O_RDWR);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client.c:306:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char name[1024];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client.c:347:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char s[256];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client.c:366: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 (&len, data + pos, sizeof (uint8_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client.c:601:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char portstr[8];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client.c:1564:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char ns[MONGOC_NAMESPACE_MAX];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client.c:2663: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 (
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-cyrus.c:124:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buf, tmpstr, buflen);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-sspi.c:44:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char real_name[BSON_HOST_NAME_MAX + 1];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-sspi.c:75:18:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
   service_len = MultiByteToWideChar (CP_UTF8,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-sspi.c:89:18:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      pass_len = MultiByteToWideChar (CP_UTF8,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-sspi.c:103:18:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      user_len = MultiByteToWideChar (CP_UTF8,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-sspi.c:279:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buf, tmpstr, buflen);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:67:10:  [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 (outstr, name, dot - name);                   \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:68:10:  [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 (outstr + (dot - name), ".$cmd", 6);          \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:140: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 (buffer + buffer_offset,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:141: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.
              ((char *) iov[n].iov_base) + difference,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:155:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char error_message[sizeof error->message];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:215:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char cmd_ns[MONGOC_NAMESPACE_MAX];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:299: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 (&msg_len, reply_header_buf, 4);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:321: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 (reply_buf, reply_header_buf, reply_header_size);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:934: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 (error, &sd->error, sizeof (bson_error_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:1153:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[4096];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:1448:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buf, tmpstr, buflen);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:1794: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 (error, &sd->error, sizeof *error);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:1819:10:  [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 (error, &sd->error, sizeof *error);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:2024: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 (error, &sd->error, sizeof *error);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:2036:10:  [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 (error, &sd->error, sizeof *error);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:2760: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 (&msg_len, &buffer->data[pos], 4);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:2979: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 (&msg_len, buffer.data, 4);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:3040: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 (&msg_len, rpc.msg.sections[0].payload.bson_document, 4);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cmd.c:1063:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char str[16];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-collection-private.h:31:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char ns[128];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-collection-private.h:33:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char db[128];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-collection-private.h:34:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char collection[128];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-collection.c:401: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 (&cursor->error, &error, sizeof (error));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-collection.c:495:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char ns[MONGOC_NAMESPACE_MAX];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-collection.c:2793:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char newns[MONGOC_NAMESPACE_MAX + 1];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-collection.c:2972: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 (&bulk->result.error, &err, sizeof (bson_error_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-compression.c:215: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 (uncompressed, compressed, compressed_len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-compression.c:284: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 (compressed, uncompressed, uncompressed_len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-counters.c:41:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char category[24];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-counters.c:42:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char name[32];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-counters.c:43:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char description[64];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-counters.c:136:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char name[32];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-counters.c:163:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char name[32];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:66:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[sizeof (error->message)];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:69: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 (error->message, buf, sizeof (buf));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:75:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[sizeof (error->message)];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:78: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 (error->message, buf, sizeof (buf));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-crypt.c:429: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 (&ssl_opts, mongoc_ssl_opt_get_default (), sizeof ssl_opts);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor-change-stream.c:155: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 (&iter_copy, iter, sizeof (bson_iter_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor-legacy.c:42:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char db[MONGOC_NAMESPACE_MAX];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor-legacy.c:82:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char db[MONGOC_NAMESPACE_MAX];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor-private.h:139:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char ns[140];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor.c:578: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 (error, &error_local, sizeof (bson_error_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor.c:590:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char db[MONGOC_NAMESPACE_MAX];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor.c:691:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char db[MONGOC_NAMESPACE_MAX];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor.c:727:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char str[16];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor.c:921:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char db[MONGOC_NAMESPACE_MAX];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor.c:1375: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 (&_clone->impl, &cursor->impl, sizeof (cursor->impl));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cyrus.c:149: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 (&sasl->callbacks, callbacks, sizeof callbacks);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cyrus.c:170:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char real_name[BSON_HOST_NAME_MAX + 1];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-database-private.h:34:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char name[128];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-database.c:191:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char ns[MONGOC_NAMESPACE_MAX];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket-file.c:387: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 (file->buffer, data, data_len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket-file.c:443:10:  [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 (file->buffer + file->in_buffer,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket-file.c:493:10:  [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 (iov[i].iov_base + read_this_iov,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket.c:90:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[128];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket.c:239:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[512];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket.c:380:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[512];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket.c:497:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (error, stream_err, sizeof (*stream_err));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-file-list.c:66: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 (&cursor->error, &error, sizeof (bson_error_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-file-page.c:83: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 (dst, src + page->offset, bytes_read);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-file-page.c:119: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 (
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-file-page.c:124: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 (page->buf + page->offset, src, bytes_written);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-file-page.c:161: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 (
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs.c:102:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[128];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs.c:386:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char keybuf[16];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs.c:463:10:  [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 (error, &files_error, sizeof *error);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs.c:465:10:  [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 (error, &chunks_error, sizeof *error);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-host-list.c:109: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 (link, new_host, sizeof (mongoc_host_list_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-host-list.c:128: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 (h, src_iter, sizeof (mongoc_host_list_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-host-list.h:40:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char host[BSON_HOST_NAME_MAX + 1];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-host-list.h:41:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char host_and_port[BSON_HOST_NAME_MAX + 7];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-index.c:83: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 (opt, &gMongocIndexOptDefault, sizeof *opt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-index.c:91: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 (opt, &gMongocIndexOptGeoDefault, sizeof *opt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-index.c:99: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 (opt, &gMongocIndexOptWTDefault, sizeof *opt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c:150:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buffer[LINE_BUFFER_SIZE];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c:172:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   f = fopen (path, "r");
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c:295:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buffer[LINE_BUFFER_SIZE];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c:309:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   f = fopen (path, "r");
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-log.c:140:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char nowstr[32];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-log.c:299: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.
      _b = (char *) _iov[_j].iov_base;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-matcher-op.c:171: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 (&op->compare.iter, iter, sizeof *iter);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-openssl.c:261: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 addr4[sizeof (struct in_addr)];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-openssl.c:262: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 addr6[sizeof (struct in6_addr)];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-read-prefs.c:82:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char str[16];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:65: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 (&__l, rpc->_name, 4);             \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:105:13:  [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 (&__l, rpc->_name[_i].payload.bson_document, 4);           \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:286: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 (&__l, rpc->_name, 4);                         \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:331:16:  [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 (&__l, rpc->_name[_i].payload.bson_document, 4);      \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:424: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 (&rpc->_name, buf, 1); \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:431: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 (&rpc->_name, buf, 4); \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:439: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 (&rpc->_name, buf, 8); \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:448: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 (&rpc->_len, buf, 4);                  \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:482: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 (&__l, buf, 4);           \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:514: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 (&__l, buf, 4);                                                \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:793: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, (void *) (&msg_len), 4);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:794: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 + 4, (void *) (&rpc_le->header.request_id), 4);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:795: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 + 8, (void *) (&rpc_le->header.response_to), 4);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:796: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 + 12, (void *) (&rpc_le->compressed.original_opcode), 4);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:1005: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 (&len, reply->documents, 4);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram-private.h:63:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char encoded_nonce[48];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:241: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 (outbuf + *outbuflen, src, src_len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:414: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 (start_key, salt, salt_len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:428: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 (intermediate_digest, output, _scram_hash_size (scram));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:455: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 client_proof[MONGOC_SCRAM_HASH_MAX_SIZE];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:632: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 (*current_val, ptr, *current_val_len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:816:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char encoded_server_signature[MONGOC_SCRAM_B64_HASH_MAX_SIZE];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:920: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 (*current_val, ptr, *current_val_len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-secure-channel.c:64:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   file = fopen (filename, "rb");
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-secure-channel.c:318:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   file = fopen (opt->ca_file, "rb");
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-secure-channel.c:411:12:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
   chars = MultiByteToWideChar (CP_ACP, 0, opt->crl_file, -1, NULL, 0);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-secure-channel.c:417:4:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
   MultiByteToWideChar (CP_ACP, 0, opt->crl_file, -1, str, chars);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-secure-channel.c:739: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 (inbuf[0].pvBuffer,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-server-description.c:478: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 (&sd->error, error, sizeof (bson_error_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-server-description.c:750: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 (&copy->error, &description->error, sizeof copy->error);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-set.c:198: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 (old_set, set->items, sizeof (*old_set) * items_len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-socket.c:1378: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 (iov, in_iov, sizeof (*iov) * iovcnt);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-socket.c:1430:32:  [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.
         iov[cur].iov_base = ((char *) iov[cur].iov_base) + sent;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-socket.c:1484:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char host[BSON_HOST_NAME_MAX + 1];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-socket.c:1508:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[1];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-socket.c:1552:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char tmp[256];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-buffered.c:252: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 (iov[i].iov_base, buffered->buffer.data + off, iov[i].iov_len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-file.c:241:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fd = open (path, flags, mode);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-socket.c:182:29:  [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.
      iov[cur].iov_base = ((char *) iov[cur].iov_base) + nread;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-libressl.c:171:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[MONGOC_STREAM_TLS_BUFFER_SIZE];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-libressl.c:218:13:  [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_tail, (char *) iov[i].iov_base + iov_pos, bytes);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-libressl.c:218:32:  [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.
            memcpy (buf_tail, (char *) iov[i].iov_base + iov_pos, bytes);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-libressl.c:233:25:  [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.
            to_write = (char *) iov[i].iov_base + iov_pos;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-libressl.c:322:32:  [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 *) iov[i].iov_base + iov_pos,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-libressl.c:499: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 (&tls->ssl_opts, opt, sizeof tls->ssl_opts);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-openssl.c:260:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[MONGOC_STREAM_TLS_OPENSSL_BUFFER_SIZE];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-openssl.c:307:13:  [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_tail, (char *) iov[i].iov_base + iov_pos, bytes);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-openssl.c:307:32:  [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.
            memcpy (buf_tail, (char *) iov[i].iov_base + iov_pos, bytes);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-openssl.c:322:25:  [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.
            to_write = (char *) iov[i].iov_base + iov_pos;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-openssl.c:436:32:  [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 *) iov[i].iov_base + iov_pos,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-openssl.c:767: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 (&tls->ssl_opts, opt, sizeof tls->ssl_opts);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-channel.c:305: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 (outbuf[1].pvBuffer, buf, buf_len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-channel.c:344:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[MONGOC_STREAM_TLS_BUFFER_SIZE];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-channel.c:395:13:  [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_tail, (char *) iov[i].iov_base + iov_pos, bytes);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-channel.c:395:32:  [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.
            memcpy (buf_tail, (char *) iov[i].iov_base + iov_pos, bytes);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-channel.c:410:25:  [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.
            to_write = (char *) iov[i].iov_base + iov_pos;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-channel.c:470: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, secure_channel->decdata_buffer, s);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-channel.c:549:16:  [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 (secure_channel->decdata_buffer +
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-channel.c:734: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.
            (char *) iov[i].iov_base + iov_pos,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-channel.c:957: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 (&tls->ssl_opts, opt, sizeof tls->ssl_opts);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-transport.c:171:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[MONGOC_STREAM_TLS_BUFFER_SIZE];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-transport.c:218:13:  [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_tail, (char *) iov[i].iov_base + iov_pos, bytes);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-transport.c:218:32:  [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.
            memcpy (buf_tail, (char *) iov[i].iov_base + iov_pos, bytes);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-transport.c:233:25:  [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.
            to_write = (char *) iov[i].iov_base + iov_pos;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-transport.c:335:38:  [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 *) iov[i].iov_base + iov_pos,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-transport.c:529: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 (&tls->ssl_opts, opt, sizeof tls->ssl_opts);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream.c:446:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
         char buf[128];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-description.c:145: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 (&dst->compatibility_error,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-description.c:150: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 (&dst->apm_callbacks,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-scanner.c:120:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[16];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-scanner.c:306: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 (&node->host, host, sizeof (*host));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-scanner.c:655:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char portstr[8];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-scanner.c:749:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[128];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology-scanner.c:1031: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 (error, &ts->error, sizeof (bson_error_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology.c:378: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 (&topology->description.apm_callbacks,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology.c:381: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 (&topology->scanner->apm_callbacks,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology.c:637:10:  [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 (error, &td->compatibility_error, sizeof (bson_error_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology.c:1034: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 (host, &sd->host, sizeof (mongoc_host_list_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-topology.c:1605:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[16];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:43:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char srv[BSON_HOST_NAME_MAX + 1];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-util.c:68:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char digest_str[33];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-util.c:443:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[16];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command-legacy.c:136:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char ns[MONGOC_NAMESPACE_MAX + 1];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command-legacy.c:242:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char ns[MONGOC_NAMESPACE_MAX + 1];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command-legacy.c:386:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char ns[MONGOC_NAMESPACE_MAX + 1];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command.c:530: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 (&len,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command.c:667:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char str[16];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command.c:743:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char str[16];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command.c:1118:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char key[12];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command.c:1150:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char key[12];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command.c:1279:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[16];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command.c:1488: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 (error, &result->error, sizeof *error);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/crc32.c:143:15:  [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).
        out = fopen("crc32.h", "w");
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzguts.h:47: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).
#  define open _open
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzlib.c:36: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.
    static char buf[1024];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzlib.c:65:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "unknown win32 error (%ld)", error);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzlib.c:245:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        open((const char *)path, oflag, 0666));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzlib.c:298:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(path, "<fd:%d>", fd);   /* for debugging */
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzlib.c:615:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(state->msg, ": ");
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzread.c:162: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(state->x.next, strm->next_in, strm->avail_in);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzread.c:326:13:  [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, state->x.next, n);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzread.c:452: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 buf[1];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzread.c:592: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(buf, state->x.next, n);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c:214:13:  [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(state->in + have, buf, copy);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c:310: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 buf[1];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c:445: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(state->in, state->in + state->size, left);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c:544: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(state->in, state->in + state->size, left);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/inflate.c:640: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 hbuf[4];      /* buffer for gzip header crc calculation */
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/inflate.c:1405: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 buf[4];       /* to restore bit buffer to byte string */
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/trees.c:328:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *header = fopen("trees.h", "w");
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/zutil.c:13:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
z_const char * const z_errmsg[10] = {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/zutil.h:49:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/zutil.h:109:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
     fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512")
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/zutil.h:202:30:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#  define F_OPEN(name, mode) fopen((name), (mode))
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/zutil.h:226:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#    define zmemcpy memcpy
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/hexlify.c:33:12:  [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.
      p += sprintf (p, "%02x", buf[i]);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_message_private.h:28:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char error[512];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_message_private.h:62:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char error[512];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_port.h:29: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 (dst, src, len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request.c:107: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 (&request->crypto, &opt->crypto, sizeof (opt->crypto));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request.c:145:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[sizeof AMZ_DT_FORMAT];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request.c:572: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 k_date[32];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request.c:573: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 k_region[32];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request.c:574: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 k_service[32];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request.c:620: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 signing_key[32];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request.c:621: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 signature[32];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request_str.c:79: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 (s->str, chars, actual_len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request_str.c:177: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 (str->str, chars, actual_len + 1);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request_str.c:199: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 (str->str + str->len, appended->str, appended->len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request_str.c:223: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 (str->str + str->len, appended, (size_t) len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request_str.c:307:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
         sprintf ((char *) out, "%%%02X", *in);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/crypto/cng.c:134: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 (keyBlob, &blobHeader, sizeof (BCRYPT_KEY_DATA_BLOB_HEADER));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/crypto/cng.c:136: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 (keyBlob + sizeof (BCRYPT_KEY_DATA_BLOB_HEADER), key->data, key->len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/crypto/cng.c:158: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 (state->iv, iv->data, iv->len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-buffer.c:40: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->data, tmp, buf->len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-buffer.c:235: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 (dst->data, src->data, src->len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-buffer.c:309: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 (data + data_prefix, plaintext->data, plaintext->len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-buffer.c:310: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 (data, &le_data_len, INT32_LEN);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-buffer.c:311: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 (data + INT32_LEN, &type, TYPE_LEN);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-buffer.c:365: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 (plaintext->data, wrapper_data + offset, plaintext->len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-buffer.c:452:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (out, "%02X", buf->data[i]);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-buffer.c:479: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 (dst->data + offset, srcs[i].data, srcs[i].len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ciphertext.c:139: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 (out->data + offset, ciphertext->key_id.data, ciphertext->key_id.len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ciphertext.c:145: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 (out->data + offset, ciphertext->data.data, ciphertext->data.len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ciphertext.c:187: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 (out->data, &ciphertext->blob_subtype, 1);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ciphertext.c:189: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 (out->data + bytes_written,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ciphertext.c:193: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 (out->data + bytes_written, &ciphertext->original_bson_type, 1);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-crypto.c:315: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 (intermediates[1].data,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-crypto.c:448: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 (out->data, tag.data, MONGOCRYPT_HMAC_LEN);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-crypto.c:537: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 (intermediate.data, iv->data, iv->len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-crypto.c:908: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 (out->data, tag.data, MONGOCRYPT_IV_LEN);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx-encrypt.c:384: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 (&marking.v_iter, &iter, sizeof (bson_iter_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx-encrypt.c:675: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 (&ns_iter, &iter, sizeof (iter));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-marking.c:90:10:  [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->v_iter, &iter, sizeof (bson_iter_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-status.c:59: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 (status->message, message, message_len - 1);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-traverse-util.c:97:10:  [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 (&child_state, state, sizeof (_recurse_state_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-traverse-util.c:125:10:  [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 (&child_state, state, sizeof (_recurse_state_t));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:72: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.
   static char storage[1024];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:86: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.
   static char storage[1024];
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:224:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (out, "%02X", src[i]);
data/php-mongodb-1.7.4/mongodb-1.7.4/php_phongo.c:921: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).
	size_t  max_ns_len = strlen(db) + 5 + 1; /* db + ".$cmd" + '\0' */
data/php-mongodb-1.7.4/mongodb-1.7.4/php_phongo.c:2338:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		zend_call_method(value, NULL, NULL, name, strlen(name), NULL, 1, z_event, NULL TSRMLS_CC);
data/php-mongodb-1.7.4/mongodb-1.7.4/php_phongo.c:2360:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		zend_call_method(value, NULL, NULL, name, strlen(name), NULL, 1, z_event, NULL TSRMLS_CC);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/DBPointer.c:40: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(ref) != (size_t) ref_len) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/DBPointer.c:53:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(intern->id, id, sizeof(intern->id));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Javascript.c:45: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(code) != (size_t) code_len) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Regex.c:49: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(pattern) != (size_t) pattern_len) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Regex.c:57: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(flags) != (size_t) flags_len) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/BSON/Symbol.c:40: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(symbol) != (size_t) symbol_len) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/functions.c:65:69:  [1] (buffer) strlen:
  Does not handle 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 ((subscriber = zend_hash_str_find(MONGODB_G(subscribers), hash, strlen(hash)))) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/functions.c:70: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).
	zend_hash_str_update(MONGODB_G(subscribers), hash, strlen(hash), zSubscriber);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/functions.c:72:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (zend_hash_find(MONGODB_G(subscribers), hash, strlen(hash) + 1, (void**) &subscriber) == SUCCESS) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/functions.c:77: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).
	zend_hash_update(MONGODB_G(subscribers), hash, strlen(hash) + 1, (void*) &zSubscriber, sizeof(zval*), NULL);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/functions.c:103:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	zend_hash_str_del(MONGODB_G(subscribers), hash, strlen(hash));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Monitoring/functions.c:105:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	zend_hash_del(MONGODB_G(subscribers), hash, strlen(hash) + 1);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/MongoDB/Query.c:42:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!bson_append_utf8(opts, opts_key, strlen(opts_key), Z_STRVAL_P(value), Z_STRLEN_P(value))) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson-encode.c:180:108:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					bson_append_binary(&child, PHONGO_ODM_FIELD_NAME, -1, 0x80, (const uint8_t*) Z_OBJCE_P(object)->name, strlen(Z_OBJCE_P(object)->name));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson-encode.c:481:104:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					bson_append_binary(bson, PHONGO_ODM_FIELD_NAME, -1, 0x80, (const uint8_t*) Z_OBJCE_P(data)->name, strlen(Z_OBJCE_P(data)->name));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson-encode.c:524:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (strlen(ZSTR_VAL(string_key)) != ZSTR_LEN(string_key)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson-encode.c:548:96:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			php_phongo_bson_append(bson, field_path, flags & ~PHONGO_BSON_ADD_ID, ZSTR_VAL(string_key), strlen(ZSTR_VAL(string_key)), value TSRMLS_CC);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson-encode.c:581: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).
			if (strlen(string_key) != string_key_len - 1) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson-encode.c:603:85:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		php_phongo_bson_append(bson, field_path, flags & ~PHONGO_BSON_ADD_ID, string_key, strlen(string_key), *value TSRMLS_CC);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson-encode.c:615: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).
		bson_append_oid(bson, "_id", strlen("_id"), &oid);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson.c:71: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).
		length += (1 + strlen(field_path->elements[i]));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson.c:82: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).
		ptr += strlen(field_path->elements[i]);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson.c:251:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		ADD_ASSOC_STRING_EX(retval, key, strlen(key), v_utf8, v_utf8_len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson.c:525: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).
	intern->pattern_len = strlen(pattern);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson.c:527: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).
	intern->flags_len   = strlen(flags);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/bson.c:1500: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).
	if (field_path_original[strlen(field_path_original) - 1] == '.') {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/contrib/php_array_api.h:84:62:  [1] (buffer) strlen:
  Does not handle 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 PAA_SYM_EXISTS(Z_ARRVAL_P(zarr), key, PAA_LENGTH_ADJ(strlen(key)));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/contrib/php_array_api.h:191:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return php_array_fetchl(zarr, key, strlen(key));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/contrib/php_array_api.h:511: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).
	PAA_SYM_DEL(Z_ARRVAL_P(zarr), key, PAA_LENGTH_ADJ(strlen(key)));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-context.c:290: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).
   hostname_chars_left = strlen (hostname);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:297: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).
      keylen = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:410:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      sublen = strlen (dotkey);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:1905:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (*key && !bson_utf8_validate (key, strlen (key), false)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:2012:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         if (!bson_utf8_validate (regex, strlen (regex), true)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-iter.c:2144:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          bson_utf8_validate (key, strlen (key), false)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-json.c:379:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   (len == strlen (_key) && strncmp ((const char *) val, (_key), len) == 0)    \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-json.c:1095: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).
#define IS_KEY(k) (len == strlen (k) && (0 == memcmp (k, key, len)))
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-json.c:2258: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).
      len = (ssize_t) strlen ((const char *) data);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-json.c:2296:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (data);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-json.c:2353:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ret = read (fd->fd, buf, len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-reader.c:260:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ret = read (fd->fd, buf, len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-string.c:66: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).
   ret->len = str ? (int) strlen (str) : 0;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-string.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).
   len = (uint32_t) strlen (str);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-string.c:328: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 = (long) strlen (str);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-string.c:556:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (dst, src, size);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson-utf8.c:277: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).
      utf8_len = strlen (utf8);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:463: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:749: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:824: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:902: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:956: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:959: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).
   length = (int) strlen (javascript) + 1;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1017: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1020: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).
   js_length = (int) strlen (javascript) + 1;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1081: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1084: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).
   length = (int) strlen (collection) + 1;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1140: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1166: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1197: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1226: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1259: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1445: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1462: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1479: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1500: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1579: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1583:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      regex_length = (int) strlen (regex);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1636: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1640: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).
      length = (int) strlen (value);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1678: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1682: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).
      length = (int) strlen (value);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1735: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1779: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.c:1825: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).
      key_length = (int) strlen (key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:103:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_array (b, key, (int) strlen (key), val)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:106: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).
   bson_append_array_begin (b, key, (int) strlen (key), child)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:109: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).
   bson_append_binary (b, key, (int) strlen (key), subtype, val, len)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:112:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_bool (b, key, (int) strlen (key), val)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:115:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_code (b, key, (int) strlen (key), val)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:118: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).
   bson_append_code_with_scope (b, key, (int) strlen (key), val, scope)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:121:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_dbpointer (b, key, (int) strlen (key), coll, oid)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:124:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_document_begin (b, key, (int) strlen (key), child)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:127: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).
   bson_append_double (b, key, (int) strlen (key), val)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:130:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_document (b, key, (int) strlen (key), val)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:133:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_int32 (b, key, (int) strlen (key), val)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:136:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_int64 (b, key, (int) strlen (key), val)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:139: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).
   bson_append_minkey (b, key, (int) strlen (key))
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:142:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_decimal128 (b, key, (int) strlen (key), val)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:145: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).
   bson_append_maxkey (b, key, (int) strlen (key))
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:147:66:  [1] (buffer) strlen:
  Does not handle 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 BSON_APPEND_NULL(b, key) bson_append_null (b, key, (int) strlen (key))
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:150:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_oid (b, key, (int) strlen (key), val)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:153:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_regex (b, key, (int) strlen (key), val, opt)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:156:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_utf8 (b, key, (int) strlen (key), val, (int) strlen (val))
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:156:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_utf8 (b, key, (int) strlen (key), val, (int) strlen (val))
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:159: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).
   bson_append_symbol (b, key, (int) strlen (key), val, (int) strlen (val))
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:159: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).
   bson_append_symbol (b, key, (int) strlen (key), val, (int) strlen (val))
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:162: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).
   bson_append_time_t (b, key, (int) strlen (key), val)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:165:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_timeval (b, key, (int) strlen (key), val)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:168:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_date_time (b, key, (int) strlen (key), val)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:171:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_timestamp (b, key, (int) strlen (key), val, inc)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:174:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_undefined (b, key, (int) strlen (key))
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/bson/bson.h:177:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   bson_append_value (b, key, (int) strlen (key), (val))
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/jsonsl/jsonsl.c:804: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).
        input_len = strlen(in);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/jsonsl/jsonsl.c:867: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).
        component->len = strlen(component->pstr);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/jsonsl/jsonsl.c:916:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    my_copy = (char *)malloc(strlen(path) + 1);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libbson/src/jsonsl/jsonsl.c:946: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).
    origlen = strlen(path) + 1;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-change-stream.c:108: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).
         command, "aggregate", 9, stream->coll, (int) strlen (stream->coll));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-client-side-encryption.c:953:4:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
   umask (0);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-sspi.c:71:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   service_ascii_len = strlen (service_ascii);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-sspi.c:85: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).
      tmp_creds_len = strlen (state->sasl.pass);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-sspi.c:99: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).
      tmp_creds_len = strlen (state->sasl.user);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-sspi.c:184: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).
         size_t tmp_creds_len = strlen (state->sasl.user);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-sspi.c:211: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).
                                           (uint32_t) strlen (state->response));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster-sspi.c:218: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).
               (uint32_t) strlen (state->response));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:1178:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   len = strlen (username) + strlen (password) + 2;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:1178:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   len = strlen (username) + strlen (password) + 2;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cluster.c:2922:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                         strlen (cmd->payload_identifier) + 1 +
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-collection.c:192:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   col->collectionlen = (uint32_t) strlen (col->collection);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-collection.c:193:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   col->nslen = (uint32_t) strlen (col->ns);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-collection.c:2838:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      collection->collectionlen = (int) strlen (collection->collection);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-collection.c:2845: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).
      collection->nslen = (int) strlen (collection->ns);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cursor.c:359: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).
         cursor, db_and_collection, (uint32_t) strlen (db_and_collection));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cyrus.c:87:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                       ? (unsigned) strlen (sasl->credentials.pass)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-cyrus.c:127:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                       ? (unsigned) strlen (sasl->credentials.user)
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket.c:102: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).
   if (strlen (gridfs_opts.bucketName) + strlen (".chunks") + 1 >
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket.c:102:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (strlen (gridfs_opts.bucketName) + strlen (".chunks") + 1 >
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket.c:109:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                      (int) (sizeof (buf) - (strlen (".chunks") + 1)));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs-bucket.c:175:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   len = strlen (filename);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-gridfs.c:118:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   prefix_len = (uint32_t) strlen (prefix);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-handshake.c:412: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).
   if (strlen (MONGOC_EVALUATE_STR (MONGOC_USER_SET_CFLAGS)) > 0) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-handshake.c:417: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).
   if (strlen (MONGOC_EVALUATE_STR (MONGOC_USER_SET_LDFLAGS)) > 0) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-handshake.c:472:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            (int) strlen (HANDSHAKE_PLATFORM_FIELD) +
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-handshake.c:487: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).
       combined_platform->len + strlen (compiler_info) + 1) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-handshake.c:490: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).
   if (max_platform_str_size > combined_platform->len + strlen (flags) + 1) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-handshake.c:578: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).
   const int delim_len = (int) strlen (" / ");
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-handshake.c:589:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   space_for_suffix = max_len - (int) strlen (prefix) - delim_len;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-handshake.c:597: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).
   BSON_ASSERT (strlen (*s) <= max_len);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-handshake.c:629:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      HANDSHAKE_MAX_SIZE - (int) strlen (_mongoc_handshake_get ()->platform);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-handshake.c:665: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).
   return strlen (appname) <= MONGOC_HANDSHAKE_APPNAME_MAX;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-host-list.c:293: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).
   size_t host_len = strlen (host);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c:56:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   len = strlen (buffer);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c:109:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   value = equal_sign + strlen (needle);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c:110:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   value_len = strlen (value);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c:160: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).
      name_key_len = strlen (name_key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c:164:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      version_key_len = strlen (version_key);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c:259: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).
      line_len = strlen (line);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-linux-distro-scanner.c:275:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   version_string = needle_loc + strlen (needle);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-openssl.c:96:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   int pass_len = (int) strlen (pass);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-opts-helpers.c:67:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      bson, key, strlen (key), timestamp->timestamp, timestamp->increment);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:59: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).
   iov.iov_len = strlen (rpc->_name) + 1;    \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:120:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
               strlen (rpc->_name[_i].payload.sequence.identifier) + 1;       \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:343: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).
                      strlen (rpc->_name[_i].payload.sequence.identifier) - \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-rpc.c:522:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         section_buf += strlen ((const char *) section_buf) + 1;            \
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:96: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).
      bson_zero_free (cache->hashed_password, strlen (cache->hashed_password));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:148:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      bson_zero_free (scram->pass, strlen (scram->pass));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:184:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      bson_zero_free (scram->pass, strlen (scram->pass));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:188: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).
      bson_zero_free (scram->hashed_password, strlen (scram->hashed_password));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:234: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).
      src_len = (int32_t) strlen (src);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:465: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).
                          (int) strlen (MONGOC_SCRAM_CLIENT_KEY),
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:555:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      bson_zero_free (tmp, strlen (tmp));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:561: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).
         _mongoc_sasl_prep (scram->pass, (int) strlen (scram->pass), error);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:768: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).
                                   (uint32_t) strlen (hashed_password),
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:804:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      bson_zero_free (hashed_password, strlen (hashed_password));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-scram.c:826: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).
                          strlen (MONGOC_SCRAM_SERVER_KEY),
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-secure-channel.c:100: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).
   public_blob.cbData = (DWORD) strlen (pem_public);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-secure-transport.c:250:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      kCFAllocatorDefault, (const UInt8 *) filename, strlen (filename), false);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-sspi.c:449: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).
                strlen (user));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-openssl-bio.c:368:62:  [1] (buffer) strlen:
  Does not handle 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 mongoc_stream_tls_openssl_bio_write (b, str, (int) strlen (str));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-stream-tls-secure-transport.c:570:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      SSLSetPeerDomainName (secure_transport->ssl_ctx_ref, host, strlen (host));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:131:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   size_t len = strlen (s);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:156: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).
   if (strlen (host) < strlen (service_root)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:156: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).
   if (strlen (host) < strlen (service_root)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:287:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   size_t str_len = strlen (str);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:288:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   size_t suffix_len = strlen (suffix);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:548: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).
      *end = str + strlen (str);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:631: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).
   } else if (strlen (str)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:793:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (errno || endptr < value + strlen (value)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:1391:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (!bson_utf8_validate (str, strlen (str), false /* allow_null */)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:1407:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      str += strlen (before_slash);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:1515:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   len = strlen (value);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:1842:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   len = strlen (username);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:1872:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   len = strlen (password);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:1901:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   len = strlen (database);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:1958:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   len = strlen (value);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:1985:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (!bson_utf8_validate (value, strlen (value), false)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:2008:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   if (value && !bson_utf8_validate (value, strlen (value), false)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:2100:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         bson_zero_free (uri->password, strlen (uri->password));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:2176:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   len = strlen (escaped_string);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-uri.c:2883:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   len = strlen (value);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-util.c:72:64:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   _bson_md5_append (&md5, (const uint8_t *) input, (uint32_t) strlen (input));
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-util.c:100:4:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
   usleep ((useconds_t) usec);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command-legacy.c:283:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   size = (uint32_t) (sizeof (mongoc_rpc_header_t) + 4 + strlen (database) + 1 +
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/libmongoc/src/mongoc/mongoc-write-command-legacy.c:284: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).
                      strlen (collection) + 1);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzguts.h:48:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  define read _read
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzlib.c:199: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).
        len = strlen((const char *)path);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzlib.c:605:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((state->msg = (char *)malloc(strlen(state->path) + strlen(msg) + 3)) ==
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzlib.c:605:60:  [1] (buffer) strlen:
  Does not handle 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 ((state->msg = (char *)malloc(strlen(state->path) + strlen(msg) + 3)) ==
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzlib.c:611: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).
    (void)snprintf(state->msg, strlen(state->path) + strlen(msg) + 3,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzlib.c:611:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void)snprintf(state->msg, strlen(state->path) + strlen(msg) + 3,
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzread.c:36:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = read(state->fd, buf + *have, get);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c:371: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(str);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c:427: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(next);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongoc/src/zlib-1.2.11/gzwrite.c:525: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(next);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request_str.c:74: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).
   actual_len = len < 0 ? strlen (chars) : (size_t) len;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request_str.c: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).
   s->len = len < 0 ? strlen (chars) : (size_t) len;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request_str.c:175:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   size_t actual_len = len < 0 ? strlen (chars) : (size_t) len;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_request_str.c:220:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen (appended);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/kms-message/src/kms_response_parser.c:97:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy (num_str, str + start, end - start);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/crypto/cng.c:61:35:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      (ULONG) (sizeof (wchar_t) * wcslen (BCRYPT_CHAIN_MODE_CBC)),
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-buffer.c:419: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).
   buf->len = (uint32_t) strlen (hex) / 2;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx-encrypt.c:769:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (0 == strlen (*collname)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx-encrypt.c:845: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).
       0 == strlen (ectx->db_name)) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-ctx.c:206: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).
   calculated_len = len == -1 ? strlen (algorithm) : (size_t) len;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-key-broker.c:350: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).
                &req->id, &ids, key_str, (uint32_t) strlen (key_str))) {
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-key-broker.c:369:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                 (uint32_t) strlen (key_str),
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-key.c:484: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).
      curr->value.value.v_utf8.len = (uint32_t) strlen (arg_ptr);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-kms-ctx.c:200:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   kms->msg.len = (uint32_t) strlen ((char *) kms->msg.data);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-kms-ctx.c:316:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   kms->msg.len = (uint32_t) strlen ((char *) kms->msg.data);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-log.c:104: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).
      log->fn (level, message, (uint32_t) strlen (message), log->ctx);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt-status.c:48: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).
      message_len = (int32_t) strlen (message) + 1;
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:39:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      *len = (uint32_t) strlen (MONGOCRYPT_VERSION);
data/php-mongodb-1.7.4/mongodb-1.7.4/src/libmongocrypt/src/mongocrypt.c:445: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).
      in_len = (uint32_t) strlen (in);

ANALYSIS SUMMARY:

Hits = 805
Lines analyzed = 152904 in approximately 3.56 seconds (42978 lines/second)
Physical Source Lines of Code (SLOC) = 99716
Hits@level = [0] 117 [1] 225 [2] 429 [3]  13 [4] 138 [5]   0
Hits@level+ = [0+] 922 [1+] 805 [2+] 580 [3+] 151 [4+] 138 [5+]   0
Hits/KSLOC@level+ = [0+] 9.24626 [1+] 8.07293 [2+] 5.81652 [3+] 1.5143 [4+] 1.38393 [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.