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/linphone-4.4.0/console/commands.c
Examining data/linphone-4.4.0/console/linphonec.c
Examining data/linphone-4.4.0/console/linphonec.h
Examining data/linphone-4.4.0/console/shell.c
Examining data/linphone-4.4.0/console/sipomatic.c
Examining data/linphone-4.4.0/console/sipomatic.h
Examining data/linphone-4.4.0/console/wav2raw.c
Examining data/linphone-4.4.0/coreapi/TunnelManager.cc
Examining data/linphone-4.4.0/coreapi/account_creator.c
Examining data/linphone-4.4.0/coreapi/account_creator_private.h
Examining data/linphone-4.4.0/coreapi/account_creator_service.c
Examining data/linphone-4.4.0/coreapi/authentication.c
Examining data/linphone-4.4.0/coreapi/bellesip_sal/sal_address_impl.c
Examining data/linphone-4.4.0/coreapi/bellesip_sal/sal_impl.c
Examining data/linphone-4.4.0/coreapi/bellesip_sal/sal_impl.h
Examining data/linphone-4.4.0/coreapi/bellesip_sal/sal_op_impl.c
Examining data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c
Examining data/linphone-4.4.0/coreapi/buffer.c
Examining data/linphone-4.4.0/coreapi/call_log.c
Examining data/linphone-4.4.0/coreapi/callbacks.c
Examining data/linphone-4.4.0/coreapi/carddav.c
Examining data/linphone-4.4.0/coreapi/carddav.h
Examining data/linphone-4.4.0/coreapi/chat.c
Examining data/linphone-4.4.0/coreapi/conference.cc
Examining data/linphone-4.4.0/coreapi/conference_private.h
Examining data/linphone-4.4.0/coreapi/contact_providers_priv.h
Examining data/linphone-4.4.0/coreapi/contactprovider.c
Examining data/linphone-4.4.0/coreapi/core_private.h
Examining data/linphone-4.4.0/coreapi/dict.c
Examining data/linphone-4.4.0/coreapi/ec-calibrator.c
Examining data/linphone-4.4.0/coreapi/echo-tester.c
Examining data/linphone-4.4.0/coreapi/enum.c
Examining data/linphone-4.4.0/coreapi/enum.h
Examining data/linphone-4.4.0/coreapi/error_info.c
Examining data/linphone-4.4.0/coreapi/event.c
Examining data/linphone-4.4.0/coreapi/factory.c
Examining data/linphone-4.4.0/coreapi/fonis.c
Examining data/linphone-4.4.0/coreapi/friend.c
Examining data/linphone-4.4.0/coreapi/friendlist.c
Examining data/linphone-4.4.0/coreapi/help/examples/C/buddy_status.c
Examining data/linphone-4.4.0/coreapi/help/examples/C/chatroom.c
Examining data/linphone-4.4.0/coreapi/help/examples/C/filetransfer.c
Examining data/linphone-4.4.0/coreapi/help/examples/C/helloworld.c
Examining data/linphone-4.4.0/coreapi/help/examples/C/notify.c
Examining data/linphone-4.4.0/coreapi/help/examples/C/realtimetext_receiver.c
Examining data/linphone-4.4.0/coreapi/help/examples/C/realtimetext_sender.c
Examining data/linphone-4.4.0/coreapi/help/examples/C/registration.c
Examining data/linphone-4.4.0/coreapi/im_encryption_engine.c
Examining data/linphone-4.4.0/coreapi/im_notif_policy.c
Examining data/linphone-4.4.0/coreapi/info.c
Examining data/linphone-4.4.0/coreapi/ldapprovider.c
Examining data/linphone-4.4.0/coreapi/lime.c
Examining data/linphone-4.4.0/coreapi/lime.h
Examining data/linphone-4.4.0/coreapi/linphone_tunnel.cc
Examining data/linphone-4.4.0/coreapi/linphone_tunnel_config.c
Examining data/linphone-4.4.0/coreapi/linphone_tunnel_stubs.c
Examining data/linphone-4.4.0/coreapi/linphonecall.c
Examining data/linphone-4.4.0/coreapi/linphonecore.c
Examining data/linphone-4.4.0/coreapi/linphonecore_ios.cc
Examining data/linphone-4.4.0/coreapi/linphonecore_jni.cc
Examining data/linphone-4.4.0/coreapi/localplayer.c
Examining data/linphone-4.4.0/coreapi/logging-private.h
Examining data/linphone-4.4.0/coreapi/logging.c
Examining data/linphone-4.4.0/coreapi/lpc2xml.c
Examining data/linphone-4.4.0/coreapi/lpc2xml.h
Examining data/linphone-4.4.0/coreapi/lpconfig.c
Examining data/linphone-4.4.0/coreapi/lsd.c
Examining data/linphone-4.4.0/coreapi/misc.c
Examining data/linphone-4.4.0/coreapi/nat_policy.c
Examining data/linphone-4.4.0/coreapi/offeranswer.c
Examining data/linphone-4.4.0/coreapi/offeranswer.h
Examining data/linphone-4.4.0/coreapi/payload_type.c
Examining data/linphone-4.4.0/coreapi/player.c
Examining data/linphone-4.4.0/coreapi/plugins/buddylookup/src/lookup.c
Examining data/linphone-4.4.0/coreapi/presence.c
Examining data/linphone-4.4.0/coreapi/private.h
Examining data/linphone-4.4.0/coreapi/private_functions.h
Examining data/linphone-4.4.0/coreapi/private_structs.h
Examining data/linphone-4.4.0/coreapi/private_types.h
Examining data/linphone-4.4.0/coreapi/proxy.c
Examining data/linphone-4.4.0/coreapi/quality_reporting.c
Examining data/linphone-4.4.0/coreapi/quality_reporting.h
Examining data/linphone-4.4.0/coreapi/remote_provisioning.c
Examining data/linphone-4.4.0/coreapi/ringtoneplayer.c
Examining data/linphone-4.4.0/coreapi/ringtoneplayer_ios.h
Examining data/linphone-4.4.0/coreapi/siplogin.c
Examining data/linphone-4.4.0/coreapi/sipsetup.c
Examining data/linphone-4.4.0/coreapi/sqlite3_bctbx_vfs.c
Examining data/linphone-4.4.0/coreapi/sqlite3_bctbx_vfs.h
Examining data/linphone-4.4.0/coreapi/tester_utils.cpp
Examining data/linphone-4.4.0/coreapi/tester_utils.h
Examining data/linphone-4.4.0/coreapi/update_check.c
Examining data/linphone-4.4.0/coreapi/vcard.cc
Examining data/linphone-4.4.0/coreapi/vcard_private.h
Examining data/linphone-4.4.0/coreapi/vcard_stubs.c
Examining data/linphone-4.4.0/coreapi/video_definition.c
Examining data/linphone-4.4.0/coreapi/vtables.c
Examining data/linphone-4.4.0/coreapi/xml.c
Examining data/linphone-4.4.0/coreapi/xml2lpc.c
Examining data/linphone-4.4.0/coreapi/xml2lpc.h
Examining data/linphone-4.4.0/coreapi/xmlrpc.c
Examining data/linphone-4.4.0/daemon/commands/adaptive-jitter-compensation.cc
Examining data/linphone-4.4.0/daemon/commands/adaptive-jitter-compensation.h
Examining data/linphone-4.4.0/daemon/commands/answer.cc
Examining data/linphone-4.4.0/daemon/commands/answer.h
Examining data/linphone-4.4.0/daemon/commands/audio-codec-get.cc
Examining data/linphone-4.4.0/daemon/commands/audio-codec-get.h
Examining data/linphone-4.4.0/daemon/commands/audio-codec-move.cc
Examining data/linphone-4.4.0/daemon/commands/audio-codec-move.h
Examining data/linphone-4.4.0/daemon/commands/audio-codec-set.cc
Examining data/linphone-4.4.0/daemon/commands/audio-codec-set.h
Examining data/linphone-4.4.0/daemon/commands/audio-codec-toggle.cc
Examining data/linphone-4.4.0/daemon/commands/audio-codec-toggle.h
Examining data/linphone-4.4.0/daemon/commands/audio-stream-start.cc
Examining data/linphone-4.4.0/daemon/commands/audio-stream-start.h
Examining data/linphone-4.4.0/daemon/commands/audio-stream-stats.cc
Examining data/linphone-4.4.0/daemon/commands/audio-stream-stats.h
Examining data/linphone-4.4.0/daemon/commands/audio-stream-stop.cc
Examining data/linphone-4.4.0/daemon/commands/audio-stream-stop.h
Examining data/linphone-4.4.0/daemon/commands/auth-infos-clear.cc
Examining data/linphone-4.4.0/daemon/commands/auth-infos-clear.h
Examining data/linphone-4.4.0/daemon/commands/call-mute.cc
Examining data/linphone-4.4.0/daemon/commands/call-mute.h
Examining data/linphone-4.4.0/daemon/commands/call-pause.cc
Examining data/linphone-4.4.0/daemon/commands/call-pause.h
Examining data/linphone-4.4.0/daemon/commands/call-resume.cc
Examining data/linphone-4.4.0/daemon/commands/call-resume.h
Examining data/linphone-4.4.0/daemon/commands/call-stats.cc
Examining data/linphone-4.4.0/daemon/commands/call-stats.h
Examining data/linphone-4.4.0/daemon/commands/call-status.cc
Examining data/linphone-4.4.0/daemon/commands/call-status.h
Examining data/linphone-4.4.0/daemon/commands/call-transfer.cc
Examining data/linphone-4.4.0/daemon/commands/call-transfer.h
Examining data/linphone-4.4.0/daemon/commands/call.cc
Examining data/linphone-4.4.0/daemon/commands/call.h
Examining data/linphone-4.4.0/daemon/commands/cn.cc
Examining data/linphone-4.4.0/daemon/commands/cn.h
Examining data/linphone-4.4.0/daemon/commands/conference.cc
Examining data/linphone-4.4.0/daemon/commands/conference.h
Examining data/linphone-4.4.0/daemon/commands/config.cc
Examining data/linphone-4.4.0/daemon/commands/configcommand.h
Examining data/linphone-4.4.0/daemon/commands/contact.cc
Examining data/linphone-4.4.0/daemon/commands/contact.h
Examining data/linphone-4.4.0/daemon/commands/dtmf.cc
Examining data/linphone-4.4.0/daemon/commands/dtmf.h
Examining data/linphone-4.4.0/daemon/commands/firewall-policy.cc
Examining data/linphone-4.4.0/daemon/commands/firewall-policy.h
Examining data/linphone-4.4.0/daemon/commands/help.cc
Examining data/linphone-4.4.0/daemon/commands/help.h
Examining data/linphone-4.4.0/daemon/commands/ipv6.cc
Examining data/linphone-4.4.0/daemon/commands/ipv6.h
Examining data/linphone-4.4.0/daemon/commands/jitterbuffer.cc
Examining data/linphone-4.4.0/daemon/commands/jitterbuffer.h
Examining data/linphone-4.4.0/daemon/commands/media-encryption.cc
Examining data/linphone-4.4.0/daemon/commands/media-encryption.h
Examining data/linphone-4.4.0/daemon/commands/message.cc
Examining data/linphone-4.4.0/daemon/commands/message.h
Examining data/linphone-4.4.0/daemon/commands/msfilter-add-fmtp.cc
Examining data/linphone-4.4.0/daemon/commands/msfilter-add-fmtp.h
Examining data/linphone-4.4.0/daemon/commands/netsim.cc
Examining data/linphone-4.4.0/daemon/commands/netsim.h
Examining data/linphone-4.4.0/daemon/commands/play-wav.cc
Examining data/linphone-4.4.0/daemon/commands/play-wav.h
Examining data/linphone-4.4.0/daemon/commands/play.cc
Examining data/linphone-4.4.0/daemon/commands/play.h
Examining data/linphone-4.4.0/daemon/commands/pop-event.cc
Examining data/linphone-4.4.0/daemon/commands/pop-event.h
Examining data/linphone-4.4.0/daemon/commands/port.cc
Examining data/linphone-4.4.0/daemon/commands/port.h
Examining data/linphone-4.4.0/daemon/commands/ptime.cc
Examining data/linphone-4.4.0/daemon/commands/ptime.h
Examining data/linphone-4.4.0/daemon/commands/quit.cc
Examining data/linphone-4.4.0/daemon/commands/quit.h
Examining data/linphone-4.4.0/daemon/commands/register-info.cc
Examining data/linphone-4.4.0/daemon/commands/register-info.h
Examining data/linphone-4.4.0/daemon/commands/register-status.cc
Examining data/linphone-4.4.0/daemon/commands/register-status.h
Examining data/linphone-4.4.0/daemon/commands/register.cc
Examining data/linphone-4.4.0/daemon/commands/register.h
Examining data/linphone-4.4.0/daemon/commands/terminate.cc
Examining data/linphone-4.4.0/daemon/commands/terminate.h
Examining data/linphone-4.4.0/daemon/commands/unregister.cc
Examining data/linphone-4.4.0/daemon/commands/unregister.h
Examining data/linphone-4.4.0/daemon/commands/version.cc
Examining data/linphone-4.4.0/daemon/commands/version.h
Examining data/linphone-4.4.0/daemon/commands/video.cc
Examining data/linphone-4.4.0/daemon/commands/video.h
Examining data/linphone-4.4.0/daemon/daemon-pipetest.c
Examining data/linphone-4.4.0/daemon/daemon.cc
Examining data/linphone-4.4.0/daemon/daemon.h
Examining data/linphone-4.4.0/include/MSVC/inttypes.h
Examining data/linphone-4.4.0/include/MSVC/stdint.h
Examining data/linphone-4.4.0/include/Modules/swift-umbrella.h
Examining data/linphone-4.4.0/include/linphone/account_creator.h
Examining data/linphone-4.4.0/include/linphone/account_creator_service.h
Examining data/linphone-4.4.0/include/linphone/api/c-address.h
Examining data/linphone-4.4.0/include/linphone/api/c-api.h
Examining data/linphone-4.4.0/include/linphone/api/c-auth-info.h
Examining data/linphone-4.4.0/include/linphone/api/c-call-cbs.h
Examining data/linphone-4.4.0/include/linphone/api/c-call-stats.h
Examining data/linphone-4.4.0/include/linphone/api/c-call.h
Examining data/linphone-4.4.0/include/linphone/api/c-callbacks.h
Examining data/linphone-4.4.0/include/linphone/api/c-chat-message-cbs.h
Examining data/linphone-4.4.0/include/linphone/api/c-chat-message.h
Examining data/linphone-4.4.0/include/linphone/api/c-chat-room-cbs.h
Examining data/linphone-4.4.0/include/linphone/api/c-chat-room-params.h
Examining data/linphone-4.4.0/include/linphone/api/c-chat-room.h
Examining data/linphone-4.4.0/include/linphone/api/c-content.h
Examining data/linphone-4.4.0/include/linphone/api/c-dial-plan.h
Examining data/linphone-4.4.0/include/linphone/api/c-event-log.h
Examining data/linphone-4.4.0/include/linphone/api/c-magic-search.h
Examining data/linphone-4.4.0/include/linphone/api/c-participant-device-identity.h
Examining data/linphone-4.4.0/include/linphone/api/c-participant-device.h
Examining data/linphone-4.4.0/include/linphone/api/c-participant-imdn-state.h
Examining data/linphone-4.4.0/include/linphone/api/c-participant.h
Examining data/linphone-4.4.0/include/linphone/api/c-push-notification-message.h
Examining data/linphone-4.4.0/include/linphone/api/c-search-result.h
Examining data/linphone-4.4.0/include/linphone/api/c-types.h
Examining data/linphone-4.4.0/include/linphone/buffer.h
Examining data/linphone-4.4.0/include/linphone/call.h
Examining data/linphone-4.4.0/include/linphone/call_log.h
Examining data/linphone-4.4.0/include/linphone/call_params.h
Examining data/linphone-4.4.0/include/linphone/call_stats.h
Examining data/linphone-4.4.0/include/linphone/callbacks.h
Examining data/linphone-4.4.0/include/linphone/chat.h
Examining data/linphone-4.4.0/include/linphone/conference.h
Examining data/linphone-4.4.0/include/linphone/contactprovider.h
Examining data/linphone-4.4.0/include/linphone/core.h
Examining data/linphone-4.4.0/include/linphone/core_utils.h
Examining data/linphone-4.4.0/include/linphone/defs.h
Examining data/linphone-4.4.0/include/linphone/dictionary.h
Examining data/linphone-4.4.0/include/linphone/enums/call-enums.h
Examining data/linphone-4.4.0/include/linphone/enums/chat-message-enums.h
Examining data/linphone-4.4.0/include/linphone/enums/chat-room-enums.h
Examining data/linphone-4.4.0/include/linphone/enums/encryption-engine-enums.h
Examining data/linphone-4.4.0/include/linphone/enums/event-log-enums.h
Examining data/linphone-4.4.0/include/linphone/enums/security-event-enums.h
Examining data/linphone-4.4.0/include/linphone/error_info.h
Examining data/linphone-4.4.0/include/linphone/event.h
Examining data/linphone-4.4.0/include/linphone/factory.h
Examining data/linphone-4.4.0/include/linphone/friend.h
Examining data/linphone-4.4.0/include/linphone/friendlist.h
Examining data/linphone-4.4.0/include/linphone/headers.h
Examining data/linphone-4.4.0/include/linphone/im_encryption_engine.h
Examining data/linphone-4.4.0/include/linphone/im_notif_policy.h
Examining data/linphone-4.4.0/include/linphone/info_message.h
Examining data/linphone-4.4.0/include/linphone/ldapprovider.h
Examining data/linphone-4.4.0/include/linphone/linphone_proxy_config.h
Examining data/linphone-4.4.0/include/linphone/linphone_tunnel.h
Examining data/linphone-4.4.0/include/linphone/linphonecore.h
Examining data/linphone-4.4.0/include/linphone/linphonecore_utils.h
Examining data/linphone-4.4.0/include/linphone/linphonefriend.h
Examining data/linphone-4.4.0/include/linphone/linphonepresence.h
Examining data/linphone-4.4.0/include/linphone/logging.h
Examining data/linphone-4.4.0/include/linphone/lpconfig.h
Examining data/linphone-4.4.0/include/linphone/misc.h
Examining data/linphone-4.4.0/include/linphone/nat_policy.h
Examining data/linphone-4.4.0/include/linphone/payload_type.h
Examining data/linphone-4.4.0/include/linphone/player.h
Examining data/linphone-4.4.0/include/linphone/presence.h
Examining data/linphone-4.4.0/include/linphone/proxy_config.h
Examining data/linphone-4.4.0/include/linphone/ringtoneplayer.h
Examining data/linphone-4.4.0/include/linphone/sipsetup.h
Examining data/linphone-4.4.0/include/linphone/tunnel.h
Examining data/linphone-4.4.0/include/linphone/types.h
Examining data/linphone-4.4.0/include/linphone/utils/algorithm.h
Examining data/linphone-4.4.0/include/linphone/utils/enum-generator.h
Examining data/linphone-4.4.0/include/linphone/utils/enum-mask.h
Examining data/linphone-4.4.0/include/linphone/utils/fs.h
Examining data/linphone-4.4.0/include/linphone/utils/general.h
Examining data/linphone-4.4.0/include/linphone/utils/magic-macros.h
Examining data/linphone-4.4.0/include/linphone/utils/static-string.h
Examining data/linphone-4.4.0/include/linphone/utils/traits.h
Examining data/linphone-4.4.0/include/linphone/utils/utils.h
Examining data/linphone-4.4.0/include/linphone/vcard.h
Examining data/linphone-4.4.0/include/linphone/video_definition.h
Examining data/linphone-4.4.0/include/linphone/wrapper_utils.h
Examining data/linphone-4.4.0/include/linphone/xmlrpc.h
Examining data/linphone-4.4.0/src/address/address-p.h
Examining data/linphone-4.4.0/src/address/address.cpp
Examining data/linphone-4.4.0/src/address/address.h
Examining data/linphone-4.4.0/src/address/identity-address-parser.cpp
Examining data/linphone-4.4.0/src/address/identity-address-parser.h
Examining data/linphone-4.4.0/src/address/identity-address.cpp
Examining data/linphone-4.4.0/src/address/identity-address.h
Examining data/linphone-4.4.0/src/auth-info/auth-info.cpp
Examining data/linphone-4.4.0/src/auth-info/auth-info.h
Examining data/linphone-4.4.0/src/auth-info/auth-stack.cpp
Examining data/linphone-4.4.0/src/auth-info/auth-stack.h
Examining data/linphone-4.4.0/src/c-wrapper/api/c-address.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-call-cbs.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-call-params.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-call-stats.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-call.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-chat-message-cbs.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-chat-message.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-chat-room-cbs.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-chat-room-params.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-chat-room.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-content.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-core.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-dial-plan.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-event-log.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-magic-search.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-participant-device-identity.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-participant-device.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-participant-imdn-state.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-participant.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-push-notification-message.cpp
Examining data/linphone-4.4.0/src/c-wrapper/api/c-search-result.cpp
Examining data/linphone-4.4.0/src/c-wrapper/c-wrapper.h
Examining data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp
Examining data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h
Examining data/linphone-4.4.0/src/c-wrapper/internal/c-tools.cpp
Examining data/linphone-4.4.0/src/c-wrapper/internal/c-tools.h
Examining data/linphone-4.4.0/src/call/call-p.h
Examining data/linphone-4.4.0/src/call/call.cpp
Examining data/linphone-4.4.0/src/call/call.h
Examining data/linphone-4.4.0/src/call/local-conference-call-p.h
Examining data/linphone-4.4.0/src/call/local-conference-call.cpp
Examining data/linphone-4.4.0/src/call/local-conference-call.h
Examining data/linphone-4.4.0/src/call/remote-conference-call-p.h
Examining data/linphone-4.4.0/src/call/remote-conference-call.cpp
Examining data/linphone-4.4.0/src/call/remote-conference-call.h
Examining data/linphone-4.4.0/src/chat/chat-message/chat-message-p.h
Examining data/linphone-4.4.0/src/chat/chat-message/chat-message.cpp
Examining data/linphone-4.4.0/src/chat/chat-message/chat-message.h
Examining data/linphone-4.4.0/src/chat/chat-message/imdn-message-p.h
Examining data/linphone-4.4.0/src/chat/chat-message/imdn-message.cpp
Examining data/linphone-4.4.0/src/chat/chat-message/imdn-message.h
Examining data/linphone-4.4.0/src/chat/chat-message/is-composing-message.cpp
Examining data/linphone-4.4.0/src/chat/chat-message/is-composing-message.h
Examining data/linphone-4.4.0/src/chat/chat-message/notification-message-p.h
Examining data/linphone-4.4.0/src/chat/chat-message/notification-message.cpp
Examining data/linphone-4.4.0/src/chat/chat-message/notification-message.h
Examining data/linphone-4.4.0/src/chat/chat-room/abstract-chat-room-p.h
Examining data/linphone-4.4.0/src/chat/chat-room/abstract-chat-room.cpp
Examining data/linphone-4.4.0/src/chat/chat-room/abstract-chat-room.h
Examining data/linphone-4.4.0/src/chat/chat-room/basic-chat-room-p.h
Examining data/linphone-4.4.0/src/chat/chat-room/basic-chat-room.cpp
Examining data/linphone-4.4.0/src/chat/chat-room/basic-chat-room.h
Examining data/linphone-4.4.0/src/chat/chat-room/basic-to-client-group-chat-room.cpp
Examining data/linphone-4.4.0/src/chat/chat-room/basic-to-client-group-chat-room.h
Examining data/linphone-4.4.0/src/chat/chat-room/chat-room-listener.h
Examining data/linphone-4.4.0/src/chat/chat-room/chat-room-p.h
Examining data/linphone-4.4.0/src/chat/chat-room/chat-room-params.cpp
Examining data/linphone-4.4.0/src/chat/chat-room/chat-room-params.h
Examining data/linphone-4.4.0/src/chat/chat-room/chat-room.cpp
Examining data/linphone-4.4.0/src/chat/chat-room/chat-room.h
Examining data/linphone-4.4.0/src/chat/chat-room/client-group-chat-room-p.h
Examining data/linphone-4.4.0/src/chat/chat-room/client-group-chat-room.cpp
Examining data/linphone-4.4.0/src/chat/chat-room/client-group-chat-room.h
Examining data/linphone-4.4.0/src/chat/chat-room/client-group-to-basic-chat-room.cpp
Examining data/linphone-4.4.0/src/chat/chat-room/client-group-to-basic-chat-room.h
Examining data/linphone-4.4.0/src/chat/chat-room/proxy-chat-room-p.h
Examining data/linphone-4.4.0/src/chat/chat-room/proxy-chat-room.cpp
Examining data/linphone-4.4.0/src/chat/chat-room/proxy-chat-room.h
Examining data/linphone-4.4.0/src/chat/chat-room/real-time-text-chat-room-p.h
Examining data/linphone-4.4.0/src/chat/chat-room/real-time-text-chat-room.cpp
Examining data/linphone-4.4.0/src/chat/chat-room/real-time-text-chat-room.h
Examining data/linphone-4.4.0/src/chat/chat-room/server-group-chat-room-p.h
Examining data/linphone-4.4.0/src/chat/chat-room/server-group-chat-room.cpp
Examining data/linphone-4.4.0/src/chat/chat-room/server-group-chat-room.h
Examining data/linphone-4.4.0/src/chat/cpim/cpim.h
Examining data/linphone-4.4.0/src/chat/cpim/header/cpim-core-headers.cpp
Examining data/linphone-4.4.0/src/chat/cpim/header/cpim-core-headers.h
Examining data/linphone-4.4.0/src/chat/cpim/header/cpim-generic-header.cpp
Examining data/linphone-4.4.0/src/chat/cpim/header/cpim-generic-header.h
Examining data/linphone-4.4.0/src/chat/cpim/header/cpim-header-p.h
Examining data/linphone-4.4.0/src/chat/cpim/header/cpim-header.cpp
Examining data/linphone-4.4.0/src/chat/cpim/header/cpim-header.h
Examining data/linphone-4.4.0/src/chat/cpim/message/cpim-message.cpp
Examining data/linphone-4.4.0/src/chat/cpim/message/cpim-message.h
Examining data/linphone-4.4.0/src/chat/cpim/parser/cpim-parser.cpp
Examining data/linphone-4.4.0/src/chat/cpim/parser/cpim-parser.h
Examining data/linphone-4.4.0/src/chat/encryption/encryption-engine.h
Examining data/linphone-4.4.0/src/chat/encryption/legacy-encryption-engine.cpp
Examining data/linphone-4.4.0/src/chat/encryption/legacy-encryption-engine.h
Examining data/linphone-4.4.0/src/chat/encryption/lime-x3dh-encryption-engine.cpp
Examining data/linphone-4.4.0/src/chat/encryption/lime-x3dh-encryption-engine.h
Examining data/linphone-4.4.0/src/chat/modifier/chat-message-modifier.h
Examining data/linphone-4.4.0/src/chat/modifier/cpim-chat-message-modifier.cpp
Examining data/linphone-4.4.0/src/chat/modifier/cpim-chat-message-modifier.h
Examining data/linphone-4.4.0/src/chat/modifier/encryption-chat-message-modifier.cpp
Examining data/linphone-4.4.0/src/chat/modifier/encryption-chat-message-modifier.h
Examining data/linphone-4.4.0/src/chat/modifier/file-transfer-chat-message-modifier.cpp
Examining data/linphone-4.4.0/src/chat/modifier/file-transfer-chat-message-modifier.h
Examining data/linphone-4.4.0/src/chat/modifier/multipart-chat-message-modifier.cpp
Examining data/linphone-4.4.0/src/chat/modifier/multipart-chat-message-modifier.h
Examining data/linphone-4.4.0/src/chat/notification/imdn.cpp
Examining data/linphone-4.4.0/src/chat/notification/imdn.h
Examining data/linphone-4.4.0/src/chat/notification/is-composing-listener.h
Examining data/linphone-4.4.0/src/chat/notification/is-composing.cpp
Examining data/linphone-4.4.0/src/chat/notification/is-composing.h
Examining data/linphone-4.4.0/src/conference/conference-id.cpp
Examining data/linphone-4.4.0/src/conference/conference-id.h
Examining data/linphone-4.4.0/src/conference/conference-interface.h
Examining data/linphone-4.4.0/src/conference/conference-listener.h
Examining data/linphone-4.4.0/src/conference/conference-p.h
Examining data/linphone-4.4.0/src/conference/conference.cpp
Examining data/linphone-4.4.0/src/conference/conference.h
Examining data/linphone-4.4.0/src/conference/handlers/local-conference-event-handler-p.h
Examining data/linphone-4.4.0/src/conference/handlers/local-conference-event-handler.cpp
Examining data/linphone-4.4.0/src/conference/handlers/local-conference-event-handler.h
Examining data/linphone-4.4.0/src/conference/handlers/local-conference-list-event-handler.cpp
Examining data/linphone-4.4.0/src/conference/handlers/local-conference-list-event-handler.h
Examining data/linphone-4.4.0/src/conference/handlers/remote-conference-event-handler-p.h
Examining data/linphone-4.4.0/src/conference/handlers/remote-conference-event-handler.cpp
Examining data/linphone-4.4.0/src/conference/handlers/remote-conference-event-handler.h
Examining data/linphone-4.4.0/src/conference/handlers/remote-conference-list-event-handler.cpp
Examining data/linphone-4.4.0/src/conference/handlers/remote-conference-list-event-handler.h
Examining data/linphone-4.4.0/src/conference/local-conference-p.h
Examining data/linphone-4.4.0/src/conference/local-conference.cpp
Examining data/linphone-4.4.0/src/conference/local-conference.h
Examining data/linphone-4.4.0/src/conference/params/call-session-params-p.h
Examining data/linphone-4.4.0/src/conference/params/call-session-params.cpp
Examining data/linphone-4.4.0/src/conference/params/call-session-params.h
Examining data/linphone-4.4.0/src/conference/params/media-session-params-p.h
Examining data/linphone-4.4.0/src/conference/params/media-session-params.cpp
Examining data/linphone-4.4.0/src/conference/params/media-session-params.h
Examining data/linphone-4.4.0/src/conference/participant-device.cpp
Examining data/linphone-4.4.0/src/conference/participant-device.h
Examining data/linphone-4.4.0/src/conference/participant-imdn-state-p.h
Examining data/linphone-4.4.0/src/conference/participant-imdn-state.cpp
Examining data/linphone-4.4.0/src/conference/participant-imdn-state.h
Examining data/linphone-4.4.0/src/conference/participant-p.h
Examining data/linphone-4.4.0/src/conference/participant.cpp
Examining data/linphone-4.4.0/src/conference/participant.h
Examining data/linphone-4.4.0/src/conference/remote-conference-p.h
Examining data/linphone-4.4.0/src/conference/remote-conference.cpp
Examining data/linphone-4.4.0/src/conference/remote-conference.h
Examining data/linphone-4.4.0/src/conference/session/audio-stream.cpp
Examining data/linphone-4.4.0/src/conference/session/call-session-listener.h
Examining data/linphone-4.4.0/src/conference/session/call-session-p.h
Examining data/linphone-4.4.0/src/conference/session/call-session.cpp
Examining data/linphone-4.4.0/src/conference/session/call-session.h
Examining data/linphone-4.4.0/src/conference/session/media-description-renderer.cpp
Examining data/linphone-4.4.0/src/conference/session/media-description-renderer.h
Examining data/linphone-4.4.0/src/conference/session/media-session-p.h
Examining data/linphone-4.4.0/src/conference/session/media-session.cpp
Examining data/linphone-4.4.0/src/conference/session/media-session.h
Examining data/linphone-4.4.0/src/conference/session/ms2-stream.cpp
Examining data/linphone-4.4.0/src/conference/session/ms2-streams.h
Examining data/linphone-4.4.0/src/conference/session/port-config.h
Examining data/linphone-4.4.0/src/conference/session/rtt-stream.cpp
Examining data/linphone-4.4.0/src/conference/session/stream.cpp
Examining data/linphone-4.4.0/src/conference/session/streams-group.cpp
Examining data/linphone-4.4.0/src/conference/session/streams.h
Examining data/linphone-4.4.0/src/conference/session/tone-manager.cpp
Examining data/linphone-4.4.0/src/conference/session/tone-manager.h
Examining data/linphone-4.4.0/src/conference/session/video-stream.cpp
Examining data/linphone-4.4.0/src/containers/lru-cache.h
Examining data/linphone-4.4.0/src/content/content-disposition.cpp
Examining data/linphone-4.4.0/src/content/content-disposition.h
Examining data/linphone-4.4.0/src/content/content-manager.cpp
Examining data/linphone-4.4.0/src/content/content-manager.h
Examining data/linphone-4.4.0/src/content/content-p.h
Examining data/linphone-4.4.0/src/content/content-type.cpp
Examining data/linphone-4.4.0/src/content/content-type.h
Examining data/linphone-4.4.0/src/content/content.cpp
Examining data/linphone-4.4.0/src/content/content.h
Examining data/linphone-4.4.0/src/content/file-content.cpp
Examining data/linphone-4.4.0/src/content/file-content.h
Examining data/linphone-4.4.0/src/content/file-transfer-content.cpp
Examining data/linphone-4.4.0/src/content/file-transfer-content.h
Examining data/linphone-4.4.0/src/content/header/header-p.h
Examining data/linphone-4.4.0/src/content/header/header-param.cpp
Examining data/linphone-4.4.0/src/content/header/header-param.h
Examining data/linphone-4.4.0/src/content/header/header.cpp
Examining data/linphone-4.4.0/src/content/header/header.h
Examining data/linphone-4.4.0/src/core/core-accessor.cpp
Examining data/linphone-4.4.0/src/core/core-accessor.h
Examining data/linphone-4.4.0/src/core/core-call.cpp
Examining data/linphone-4.4.0/src/core/core-chat-room.cpp
Examining data/linphone-4.4.0/src/core/core-listener.h
Examining data/linphone-4.4.0/src/core/core-p.h
Examining data/linphone-4.4.0/src/core/core.cpp
Examining data/linphone-4.4.0/src/core/core.h
Examining data/linphone-4.4.0/src/core/paths/paths-android.cpp
Examining data/linphone-4.4.0/src/core/paths/paths-android.h
Examining data/linphone-4.4.0/src/core/paths/paths-apple.h
Examining data/linphone-4.4.0/src/core/paths/paths-linux.cpp
Examining data/linphone-4.4.0/src/core/paths/paths-linux.h
Examining data/linphone-4.4.0/src/core/paths/paths-windows.cpp
Examining data/linphone-4.4.0/src/core/paths/paths-windows.h
Examining data/linphone-4.4.0/src/core/paths/paths.cpp
Examining data/linphone-4.4.0/src/core/paths/paths.h
Examining data/linphone-4.4.0/src/core/platform-helpers/android-platform-helpers.cpp
Examining data/linphone-4.4.0/src/core/platform-helpers/platform-helpers.cpp
Examining data/linphone-4.4.0/src/core/platform-helpers/platform-helpers.h
Examining data/linphone-4.4.0/src/core/shared-core-helpers/shared-core-helpers.cpp
Examining data/linphone-4.4.0/src/core/shared-core-helpers/shared-core-helpers.h
Examining data/linphone-4.4.0/src/db/abstract/abstract-db-p.h
Examining data/linphone-4.4.0/src/db/abstract/abstract-db.cpp
Examining data/linphone-4.4.0/src/db/abstract/abstract-db.h
Examining data/linphone-4.4.0/src/db/internal/db-transaction.h
Examining data/linphone-4.4.0/src/db/internal/statements.cpp
Examining data/linphone-4.4.0/src/db/internal/statements.h
Examining data/linphone-4.4.0/src/db/main-db-chat-message-key.cpp
Examining data/linphone-4.4.0/src/db/main-db-chat-message-key.h
Examining data/linphone-4.4.0/src/db/main-db-event-key.cpp
Examining data/linphone-4.4.0/src/db/main-db-event-key.h
Examining data/linphone-4.4.0/src/db/main-db-key-p.h
Examining data/linphone-4.4.0/src/db/main-db-key.cpp
Examining data/linphone-4.4.0/src/db/main-db-key.h
Examining data/linphone-4.4.0/src/db/main-db-p.h
Examining data/linphone-4.4.0/src/db/main-db.cpp
Examining data/linphone-4.4.0/src/db/main-db.h
Examining data/linphone-4.4.0/src/db/session/db-session.cpp
Examining data/linphone-4.4.0/src/db/session/db-session.h
Examining data/linphone-4.4.0/src/dial-plan/dial-plan.cpp
Examining data/linphone-4.4.0/src/dial-plan/dial-plan.h
Examining data/linphone-4.4.0/src/enums.h
Examining data/linphone-4.4.0/src/event-log/conference/conference-call-event.cpp
Examining data/linphone-4.4.0/src/event-log/conference/conference-call-event.h
Examining data/linphone-4.4.0/src/event-log/conference/conference-chat-message-event.cpp
Examining data/linphone-4.4.0/src/event-log/conference/conference-chat-message-event.h
Examining data/linphone-4.4.0/src/event-log/conference/conference-ephemeral-message-event.cpp
Examining data/linphone-4.4.0/src/event-log/conference/conference-ephemeral-message-event.h
Examining data/linphone-4.4.0/src/event-log/conference/conference-event-p.h
Examining data/linphone-4.4.0/src/event-log/conference/conference-event.cpp
Examining data/linphone-4.4.0/src/event-log/conference/conference-event.h
Examining data/linphone-4.4.0/src/event-log/conference/conference-notified-event-p.h
Examining data/linphone-4.4.0/src/event-log/conference/conference-notified-event.cpp
Examining data/linphone-4.4.0/src/event-log/conference/conference-notified-event.h
Examining data/linphone-4.4.0/src/event-log/conference/conference-participant-device-event.cpp
Examining data/linphone-4.4.0/src/event-log/conference/conference-participant-device-event.h
Examining data/linphone-4.4.0/src/event-log/conference/conference-participant-event-p.h
Examining data/linphone-4.4.0/src/event-log/conference/conference-participant-event.cpp
Examining data/linphone-4.4.0/src/event-log/conference/conference-participant-event.h
Examining data/linphone-4.4.0/src/event-log/conference/conference-security-event.cpp
Examining data/linphone-4.4.0/src/event-log/conference/conference-security-event.h
Examining data/linphone-4.4.0/src/event-log/conference/conference-subject-event.cpp
Examining data/linphone-4.4.0/src/event-log/conference/conference-subject-event.h
Examining data/linphone-4.4.0/src/event-log/event-log-p.h
Examining data/linphone-4.4.0/src/event-log/event-log.cpp
Examining data/linphone-4.4.0/src/event-log/event-log.h
Examining data/linphone-4.4.0/src/event-log/events.h
Examining data/linphone-4.4.0/src/hacks/hacks.cpp
Examining data/linphone-4.4.0/src/hacks/hacks.h
Examining data/linphone-4.4.0/src/logger/logger.cpp
Examining data/linphone-4.4.0/src/logger/logger.h
Examining data/linphone-4.4.0/src/nat/ice-service.cpp
Examining data/linphone-4.4.0/src/nat/ice-service.h
Examining data/linphone-4.4.0/src/nat/stun-client.cpp
Examining data/linphone-4.4.0/src/nat/stun-client.h
Examining data/linphone-4.4.0/src/object/app-data-container.cpp
Examining data/linphone-4.4.0/src/object/app-data-container.h
Examining data/linphone-4.4.0/src/object/base-object-p.h
Examining data/linphone-4.4.0/src/object/base-object.cpp
Examining data/linphone-4.4.0/src/object/base-object.h
Examining data/linphone-4.4.0/src/object/clonable-object-p.h
Examining data/linphone-4.4.0/src/object/clonable-object.cpp
Examining data/linphone-4.4.0/src/object/clonable-object.h
Examining data/linphone-4.4.0/src/object/clonable-shared-pointer.h
Examining data/linphone-4.4.0/src/object/object-head-p.h
Examining data/linphone-4.4.0/src/object/object-head.h
Examining data/linphone-4.4.0/src/object/object-p.h
Examining data/linphone-4.4.0/src/object/object.cpp
Examining data/linphone-4.4.0/src/object/object.h
Examining data/linphone-4.4.0/src/object/property-container.cpp
Examining data/linphone-4.4.0/src/object/property-container.h
Examining data/linphone-4.4.0/src/object/singleton.h
Examining data/linphone-4.4.0/src/push-notification-message/push-notification-message.cpp
Examining data/linphone-4.4.0/src/push-notification-message/push-notification-message.h
Examining data/linphone-4.4.0/src/sal/call-op.cpp
Examining data/linphone-4.4.0/src/sal/call-op.h
Examining data/linphone-4.4.0/src/sal/event-op.cpp
Examining data/linphone-4.4.0/src/sal/event-op.h
Examining data/linphone-4.4.0/src/sal/message-op-interface.h
Examining data/linphone-4.4.0/src/sal/message-op.cpp
Examining data/linphone-4.4.0/src/sal/message-op.h
Examining data/linphone-4.4.0/src/sal/op.cpp
Examining data/linphone-4.4.0/src/sal/op.h
Examining data/linphone-4.4.0/src/sal/presence-op.cpp
Examining data/linphone-4.4.0/src/sal/presence-op.h
Examining data/linphone-4.4.0/src/sal/refer-op.cpp
Examining data/linphone-4.4.0/src/sal/refer-op.h
Examining data/linphone-4.4.0/src/sal/register-op.cpp
Examining data/linphone-4.4.0/src/sal/register-op.h
Examining data/linphone-4.4.0/src/sal/sal.cpp
Examining data/linphone-4.4.0/src/sal/sal.h
Examining data/linphone-4.4.0/src/search/magic-search-p.h
Examining data/linphone-4.4.0/src/search/magic-search.cpp
Examining data/linphone-4.4.0/src/search/magic-search.h
Examining data/linphone-4.4.0/src/search/search-result.cpp
Examining data/linphone-4.4.0/src/search/search-result.h
Examining data/linphone-4.4.0/src/sip-tools/sip-headers.h
Examining data/linphone-4.4.0/src/utils/background-task.cpp
Examining data/linphone-4.4.0/src/utils/background-task.h
Examining data/linphone-4.4.0/src/utils/fs.cpp
Examining data/linphone-4.4.0/src/utils/general-internal.h
Examining data/linphone-4.4.0/src/utils/general.cpp
Examining data/linphone-4.4.0/src/utils/if-addrs.cpp
Examining data/linphone-4.4.0/src/utils/if-addrs.h
Examining data/linphone-4.4.0/src/utils/payload-type-handler.cpp
Examining data/linphone-4.4.0/src/utils/payload-type-handler.h
Examining data/linphone-4.4.0/src/utils/utils.cpp
Examining data/linphone-4.4.0/src/variant/variant.cpp
Examining data/linphone-4.4.0/src/variant/variant.h
Examining data/linphone-4.4.0/src/xml/conference-info.cpp
Examining data/linphone-4.4.0/src/xml/conference-info.h
Examining data/linphone-4.4.0/src/xml/imdn.cpp
Examining data/linphone-4.4.0/src/xml/imdn.h
Examining data/linphone-4.4.0/src/xml/is-composing.cpp
Examining data/linphone-4.4.0/src/xml/is-composing.h
Examining data/linphone-4.4.0/src/xml/linphone-imdn.cpp
Examining data/linphone-4.4.0/src/xml/linphone-imdn.h
Examining data/linphone-4.4.0/src/xml/resource-lists.cpp
Examining data/linphone-4.4.0/src/xml/resource-lists.h
Examining data/linphone-4.4.0/src/xml/rlmi.cpp
Examining data/linphone-4.4.0/src/xml/rlmi.h
Examining data/linphone-4.4.0/src/xml/xml.cpp
Examining data/linphone-4.4.0/src/xml/xml.h
Examining data/linphone-4.4.0/tester/account_creator_tester.c
Examining data/linphone-4.4.0/tester/accountmanager.c
Examining data/linphone-4.4.0/tester/audio_bypass_tester.c
Examining data/linphone-4.4.0/tester/audio_bypass_wav_header.h
Examining data/linphone-4.4.0/tester/call_ice_tester.c
Examining data/linphone-4.4.0/tester/call_multi_tester.c
Examining data/linphone-4.4.0/tester/call_multicast_tester.c
Examining data/linphone-4.4.0/tester/call_recovery_tester.c
Examining data/linphone-4.4.0/tester/call_secure_tester.c
Examining data/linphone-4.4.0/tester/call_single_tester.c
Examining data/linphone-4.4.0/tester/call_video_tester.c
Examining data/linphone-4.4.0/tester/call_with_rtp_bundle_tester.c
Examining data/linphone-4.4.0/tester/clonable-object-tester.cpp
Examining data/linphone-4.4.0/tester/complex_sip_case_tester.c
Examining data/linphone-4.4.0/tester/conference-event-tester.cpp
Examining data/linphone-4.4.0/tester/contents-tester.cpp
Examining data/linphone-4.4.0/tester/cpim-tester.cpp
Examining data/linphone-4.4.0/tester/dtmf_tester.c
Examining data/linphone-4.4.0/tester/eventapi_tester.c
Examining data/linphone-4.4.0/tester/flexisip_tester.c
Examining data/linphone-4.4.0/tester/group_chat_benchmark.c
Examining data/linphone-4.4.0/tester/group_chat_secure_tester.c
Examining data/linphone-4.4.0/tester/group_chat_tester.c
Examining data/linphone-4.4.0/tester/liblinphone_tester.c
Examining data/linphone-4.4.0/tester/liblinphone_tester.h
Examining data/linphone-4.4.0/tester/liblinphone_tester_windows.cpp
Examining data/linphone-4.4.0/tester/liblinphone_tester_windows.h
Examining data/linphone-4.4.0/tester/log_collection_tester.c
Examining data/linphone-4.4.0/tester/main-db-tester.cpp
Examining data/linphone-4.4.0/tester/message_tester.c
Examining data/linphone-4.4.0/tester/multipart-tester.cpp
Examining data/linphone-4.4.0/tester/offeranswer_tester.c
Examining data/linphone-4.4.0/tester/player_tester.c
Examining data/linphone-4.4.0/tester/presence_server_tester.c
Examining data/linphone-4.4.0/tester/presence_tester.c
Examining data/linphone-4.4.0/tester/property-container-tester.cpp
Examining data/linphone-4.4.0/tester/proxy_config_tester.c
Examining data/linphone-4.4.0/tester/quality_reporting_tester.c
Examining data/linphone-4.4.0/tester/register_tester.c
Examining data/linphone-4.4.0/tester/remote_provisioning_tester.c
Examining data/linphone-4.4.0/tester/session_timers_tester.c
Examining data/linphone-4.4.0/tester/setup_tester.c
Examining data/linphone-4.4.0/tester/shared_core_tester.c
Examining data/linphone-4.4.0/tester/stun_tester.c
Examining data/linphone-4.4.0/tester/tester.c
Examining data/linphone-4.4.0/tester/tools/private-access.h
Examining data/linphone-4.4.0/tester/tools/tester.h
Examining data/linphone-4.4.0/tester/tunnel_tester.c
Examining data/linphone-4.4.0/tester/utils-tester.cpp
Examining data/linphone-4.4.0/tester/vcard_tester.c
Examining data/linphone-4.4.0/tester/video_quality_tester.c
Examining data/linphone-4.4.0/tester/video_tester.c
Examining data/linphone-4.4.0/tools/auto_answer.c
Examining data/linphone-4.4.0/tools/lpc2xml_jni.cc
Examining data/linphone-4.4.0/tools/lpc2xml_test.c
Examining data/linphone-4.4.0/tools/lpsendmsg.c
Examining data/linphone-4.4.0/tools/my_jni.h
Examining data/linphone-4.4.0/tools/test_ecc.c
Examining data/linphone-4.4.0/tools/test_lsd.c
Examining data/linphone-4.4.0/tools/test_numbers.c
Examining data/linphone-4.4.0/tools/xml2lpc_jni.cc
Examining data/linphone-4.4.0/tools/xml2lpc_test.c
Examining data/linphone-4.4.0/wrappers/cpp/object.cc
Examining data/linphone-4.4.0/wrappers/cpp/tools.cc
Examining data/linphone-4.4.0/wrappers/swift/Modules/swift-umbrella.h

FINAL RESULTS:

data/linphone-4.4.0/coreapi/lpconfig.c:444:9:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
				if (chmod(lpconfig->filename, S_IRUSR | S_IWUSR) == -1) {
data/linphone-4.4.0/console/commands.c:1067: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(addr_p, addr_orig);
data/linphone-4.4.0/console/commands.c:2164:2:  [4] (tmpfile) mktemp:
  Temporary file race condition (CWE-377).
	mktemp(wavfile);
data/linphone-4.4.0/console/commands.c:2174:7:  [4] (shell) popen:
  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.
	file=popen(cl,"w");
data/linphone-4.4.0/console/linphonec.c:387: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(received_prompt,ret);
data/linphone-4.4.0/console/linphonec.c:435: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(received_prompt,tmp);
data/linphone-4.4.0/console/shell.c:148:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(line, argv[0]);
data/linphone-4.4.0/console/shell.c:151:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(line, argv[i]);
data/linphone-4.4.0/console/shell.c:198:7:  [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("linphonec",args)==-1){
data/linphone-4.4.0/console/wav2raw.c:40:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(name,"%s",argv[1]);
data/linphone-4.4.0/console/wav2raw.c:43:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(p,"%s",".wav\0");
data/linphone-4.4.0/console/wav2raw.c:45:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(name,"%s%s",argv[1],".raw");
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:594:13:  [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.
			int nb = sscanf(value, "%s %u %3s %u %s %d typ %s raddr %s rport %d",
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:608: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.
			while (3 == sscanf(ptr, "%u %s %u%n", &componentID, candidate.addr, &candidate.port, &offset)) {
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:868:12:  [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.
		int nb = sscanf(value, "%d IN IP4 %s", &stream->rtcp_port, tmp);
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:951:8:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
			if (sscanf(attr_value, "%i %s", &rtp_ext_header_id, extmap_urn) > 0
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:969:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		err = sscanf(ids, "%s%n", tmp, &consumed);
data/linphone-4.4.0/coreapi/carddav.c:746:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(body, "%s", "<card:addressbook-multiget xmlns:d=\"DAV:\" xmlns:card=\"urn:ietf:params:xml:ns:carddav\"><d:prop><d:getetag /><card:address-data content-type='text/vcard' version='4.0'/></d:prop>");
data/linphone-4.4.0/coreapi/carddav.c:752:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(body, temp_body);
data/linphone-4.4.0/coreapi/help/examples/C/realtimetext_sender.c:113:7:  [4] (shell) system:
  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 (system ("/bin/stty raw") == -1){
data/linphone-4.4.0/coreapi/help/examples/C/realtimetext_sender.c:117:7:  [4] (shell) system:
  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 (system("/bin/stty cooked") == -1){
data/linphone-4.4.0/coreapi/ldapprovider.c:103:2:  [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(search->filter, FILTER_MAX_SIZE-1, cp->filter, predicate);
data/linphone-4.4.0/coreapi/linphone_tunnel.cc:276:14:  [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.
			int ret = sscanf(it,"%s%n", tmp, &adv);
data/linphone-4.4.0/coreapi/lpc2xml.c:109:2:  [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.
	vsnprintf(xmlCtx->errorBuffer + sl, LPC2XML_BZ-sl, fmt, args);
data/linphone-4.4.0/coreapi/lpconfig.c:292:10:  [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.
			nbs = sscanf(pos1+1, "%s", secname);
data/linphone-4.4.0/coreapi/lpconfig.c:310:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
							if (sscanf(pos2, "%s %s", key, value) == 2) {
data/linphone-4.4.0/coreapi/lpconfig.c:343:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
				if (sscanf(line,"%s",key)>0){
data/linphone-4.4.0/coreapi/lpconfig.c:1000:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(default_section, section);
data/linphone-4.4.0/coreapi/lpconfig.c:1001:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(default_section, DEFAULT_VALUES_SUFFIX);
data/linphone-4.4.0/coreapi/lpconfig.c:1008:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(default_section, section);
data/linphone-4.4.0/coreapi/lpconfig.c:1009:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(default_section, DEFAULT_VALUES_SUFFIX);
data/linphone-4.4.0/coreapi/lpconfig.c:1016:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(default_section, section);
data/linphone-4.4.0/coreapi/lpconfig.c:1017:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(default_section, DEFAULT_VALUES_SUFFIX);
data/linphone-4.4.0/coreapi/lpconfig.c:1024:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(default_section, section);
data/linphone-4.4.0/coreapi/lpconfig.c:1025:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(default_section, DEFAULT_VALUES_SUFFIX);
data/linphone-4.4.0/coreapi/misc.c:45:8:  [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.
#undef snprintf
data/linphone-4.4.0/coreapi/misc.c:50:9:  [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/linphone-4.4.0/coreapi/misc.c:50:18:  [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/linphone-4.4.0/coreapi/misc.c:51:9:  [4] (shell) popen:
  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.
#define popen _popen
data/linphone-4.4.0/coreapi/misc.c:113:10:  [4] (shell) popen:
  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.
	FILE *f=popen(command,"r");
data/linphone-4.4.0/coreapi/misc.c:272:4:  [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.
			sscanf(p,"%s",name);
data/linphone-4.4.0/coreapi/offeranswer.c:428: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(result->rtp_addr,remote_answer->rtp_addr);
data/linphone-4.4.0/coreapi/offeranswer.c:429: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(result->rtcp_addr,remote_answer->rtcp_addr);
data/linphone-4.4.0/coreapi/offeranswer.c:484: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(result->rtp_addr,remote_offer->rtp_addr);
data/linphone-4.4.0/coreapi/offeranswer.c:485: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(result->rtcp_addr,remote_offer->rtcp_addr);
data/linphone-4.4.0/coreapi/offeranswer.c:495: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(result->rtp_addr,local_cap->rtp_addr);
data/linphone-4.4.0/coreapi/offeranswer.c:496: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(result->rtcp_addr,local_cap->rtcp_addr);
data/linphone-4.4.0/coreapi/offeranswer.c:539:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(result->ice_pwd, local_cap->ice_pwd);
data/linphone-4.4.0/coreapi/offeranswer.c:540:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(result->ice_ufrag, local_cap->ice_ufrag);
data/linphone-4.4.0/coreapi/offeranswer.c:545:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(result->name,local_cap->name);
data/linphone-4.4.0/coreapi/offeranswer.c:592:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(result->addr,remote_answer->addr);
data/linphone-4.4.0/coreapi/offeranswer.c:593:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(result->ice_pwd, local_offer->ice_pwd);
data/linphone-4.4.0/coreapi/offeranswer.c:594:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(result->ice_ufrag, local_offer->ice_ufrag);
data/linphone-4.4.0/coreapi/offeranswer.c:673:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(result->username, local_capabilities->username);
data/linphone-4.4.0/coreapi/offeranswer.c:674:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(result->addr,local_capabilities->addr);
data/linphone-4.4.0/coreapi/offeranswer.c:678:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(result->ice_pwd, local_capabilities->ice_pwd);
data/linphone-4.4.0/coreapi/offeranswer.c:679:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(result->ice_ufrag, local_capabilities->ice_ufrag);
data/linphone-4.4.0/coreapi/offeranswer.c:684:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(result->name,local_capabilities->name);
data/linphone-4.4.0/coreapi/xml.c:57:2:  [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.
	vsnprintf(xmlCtx->errorBuffer + sl, XMLPARSING_BUFFER_LEN - sl, fmt, args);
data/linphone-4.4.0/coreapi/xml2lpc.c:90:2:  [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.
	vsnprintf(xmlCtx->errorBuffer + sl, XML2LPC_BZ-sl, fmt, args);
data/linphone-4.4.0/coreapi/xml2lpc.c:99:2:  [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.
	vsnprintf(xmlCtx->warningBuffer + sl, XML2LPC_BZ-sl, fmt, args);
data/linphone-4.4.0/daemon/commands/register.cc:72:89:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
			LinphoneAuthInfo *info = linphone_auth_info_new(linphone_address_get_username(from), cuserid, cpassword, NULL, crealm, NULL);
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:736:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	if (sscanf(line, "%s", key_candidate) != 1) return FALSE;
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:741:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	if (sscanf(equal, "%s", value) != 1) return FALSE;
data/linphone-4.4.0/src/sal/call-op.cpp:370: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(mResult->addr, mRemoteMedia->addr);
data/linphone-4.4.0/src/sal/call-op.cpp:376: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(mResult->streams[i].rtp_addr, mRemoteMedia->streams[i].rtp_addr);
data/linphone-4.4.0/src/sal/call-op.cpp:381: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(mResult->streams[i].rtcp_addr, mRemoteMedia->streams[i].rtcp_addr);
data/linphone-4.4.0/tester/audio_bypass_wav_header.h:52:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	#define access _access
data/linphone-4.4.0/tester/call_single_tester.c:797:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/complex_sip_case_tester.c:116:9:  [4] (shell) popen:
  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.
	file = popen(command, "r");
data/linphone-4.4.0/tester/complex_sip_case_tester.c:132:9:  [4] (shell) popen:
  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.
	file = popen(command, "r");
data/linphone-4.4.0/tester/conference-event-tester.cpp:552:2:  [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(notify, size, first_notify, confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:589:2:  [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(notify, size, first_notify, confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:621:2:  [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(notify, size, first_notify, confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:633:2:  [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(notify_added, size2, participant_added_notify, confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:667:2:  [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(notify, size, first_notify, confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:679:2:  [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(notify_not_added, size2, participant_not_added_notify, confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:710:2:  [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(notify, size, first_notify, confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:722:2:  [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(notify_deleted, size2, participant_deleted_notify, confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:753:2:  [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(notify, size, first_notify, confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:764:2:  [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(notify_admined, size2, participant_admined_notify, confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:795:2:  [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(notify, size, first_notify, confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:806:2:  [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(notify_unadmined, size2, participant_unadmined_notify, confUri);
data/linphone-4.4.0/tester/group_chat_benchmark.c:55:2:  [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.
	vsnprintf(str, sizeof(str) - 1, fmt, args);
data/linphone-4.4.0/tester/group_chat_benchmark.c:104:2:  [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.
	vsnprintf(buffer, CALLBACK_BUFFER_SIZE, fmt, args);
data/linphone-4.4.0/tester/group_chat_benchmark.c:159:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(lev == ORTP_ERROR ? stderr : stdout, fmt, args);
data/linphone-4.4.0/tester/group_chat_benchmark.c:169:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(lev == ORTP_ERROR ? stderr : stdout, fmt, cap);
data/linphone-4.4.0/tester/liblinphone_tester.c:151:2:  [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.
	vsnprintf(str, sizeof(str) - 1, fmt, args);
data/linphone-4.4.0/tester/liblinphone_tester.c:200:2:  [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.
	vsnprintf(buffer, CALLBACK_BUFFER_SIZE, fmt, args);
data/linphone-4.4.0/tester/liblinphone_tester.c:288:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(lev == ORTP_ERROR ? stderr : stdout, fmt, args);
data/linphone-4.4.0/tester/liblinphone_tester.c:298:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(lev == ORTP_ERROR ? stderr : stdout, fmt, cap);
data/linphone-4.4.0/tester/liblinphone_tester.h:35:9:  [4] (shell) popen:
  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.
#define popen _popen
data/linphone-4.4.0/tester/liblinphone_tester_windows.cpp:44:3:  [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.
		vsnprintf((char *)str.c_str(), MAX_TRACE_SIZE, fmt, args);
data/linphone-4.4.0/tester/message_tester.c:316:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/message_tester.c:2816:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf((char *)&output[b64Size], "%s", " is secured by base64"); //to check if encryption engine is really called
data/linphone-4.4.0/tester/register_tester.c:180:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/register_tester.c:281:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/register_tester.c:290:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s;transport=tcp",test_route);
data/linphone-4.4.0/tester/register_tester.c:300:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/register_tester.c:313:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(route,"sip:%s;transport=tls",test_route);
data/linphone-4.4.0/tester/register_tester.c:325:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/register_tester.c:339:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/register_tester.c:364:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/register_tester.c:393:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/register_tester.c:410:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/register_tester.c:425:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/register_tester.c:447:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/register_tester.c:471:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/register_tester.c:545:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/register_tester.c:571:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/register_tester.c:812:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/register_tester.c:848:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tester/register_tester.c:1165:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s:5064",test_route);
data/linphone-4.4.0/tester/register_tester.c:1384:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(route,"sip:%s",test_route);
data/linphone-4.4.0/tools/lpc2xml_jni.cc:55:3:  [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.
		vsnprintf(buffer, LPC2XML_CALLBACK_BUFFER_SIZE, fmt, list);
data/linphone-4.4.0/tools/lpc2xml_test.c:40:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stdout, msg, list);
data/linphone-4.4.0/tools/test_ecc.c:39:48:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (argc != 3 || strncmp("-c", argv[1], 2) || access(argv[2], F_OK) != 0) {
data/linphone-4.4.0/tools/xml2lpc_jni.cc:55:3:  [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.
		vsnprintf(buffer, XML2LPC_CALLBACK_BUFFER_SIZE, fmt, list);
data/linphone-4.4.0/tools/xml2lpc_test.c:40:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stdout, msg, list);
data/linphone-4.4.0/console/linphonec.c:634:4:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			getenv("HOME"));
data/linphone-4.4.0/console/linphonec.c:636:4:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			getenv("HOME"));
data/linphone-4.4.0/console/linphonec.c:638:4:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			getenv("HOME"));
data/linphone-4.4.0/console/linphonec.c:645:4:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			getenv("APPDATA"));
data/linphone-4.4.0/console/linphonec.c:647:4:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			getenv("APPDATA"));
data/linphone-4.4.0/console/linphonec.c:649:4:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			getenv("APPDATA"));
data/linphone-4.4.0/console/linphonec.c:890:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *dname=getenv("DISPLAY");
data/linphone-4.4.0/console/linphonec.c:1033:3:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		getenv("HOME"));
data/linphone-4.4.0/console/linphonec.c:1283:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *home = getenv("HOME");
data/linphone-4.4.0/console/shell.c:224:6:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
	ret=CreateProcess(NULL, cmd_with_args,
data/linphone-4.4.0/console/shell.c:224:6:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
	ret=CreateProcess(NULL, cmd_with_args,
data/linphone-4.4.0/console/sipomatic.c:237:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		url=getenv("SIPOMATIC_URL");
data/linphone-4.4.0/coreapi/linphonecore.c:1504: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.
		hostname=getenv("HOST");
data/linphone-4.4.0/coreapi/linphonecore.c:1507:15:  [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.
			username = getenv("USERNAME");
data/linphone-4.4.0/coreapi/linphonecore.c:1509:15:  [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.
			username = getenv("USER");
data/linphone-4.4.0/coreapi/linphonecore.c:1511:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		if (hostname==NULL) hostname=getenv("HOSTNAME");
data/linphone-4.4.0/coreapi/lpconfig.c:118:18:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	char * output = realpath(file, name);
data/linphone-4.4.0/coreapi/plugins/buddylookup/src/lookup.c:237:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	proxy=getenv("http_proxy");
data/linphone-4.4.0/daemon/daemon.cc:310:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		const char *homedir = getenv("HOME");
data/linphone-4.4.0/src/core/paths/paths-linux.cpp:33:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		char *dir = getenv("HOME");
data/linphone-4.4.0/src/core/paths/paths-windows.cpp:49:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char * env = getenv("LOCALAPPDATA");
data/linphone-4.4.0/console/commands.c:561:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char callee_name[256]={0};
data/linphone-4.4.0/console/commands.c:562:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char caller_name[256]={0};
data/linphone-4.4.0/console/commands.c:667: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 arg1[256]={0};
data/linphone-4.4.0/console/commands.c:668: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 arg2[266]={0};
data/linphone-4.4.0/console/commands.c:683:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			int id=atoi(arg1);
data/linphone-4.4.0/console/commands.c:689:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			int id=atoi(arg1);
data/linphone-4.4.0/console/commands.c:727:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		int id=atoi(args);
data/linphone-4.4.0/console/commands.c:1045: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  addr[80];
data/linphone-4.4.0/console/commands.c:1059:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy (addr, "sip:");
data/linphone-4.4.0/console/commands.c:1132:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		linphonec_proxy_remove(lc,atoi(arg2));
data/linphone-4.4.0/console/commands.c:1138:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			proxynum=atoi(arg2);
data/linphone-4.4.0/console/commands.c:1168:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				linphonec_proxy_show(lc, atoi(arg2));
data/linphone-4.4.0/console/commands.c:1298:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		index=atoi(arg2); /* FIXME: handle not-a-number */
data/linphone-4.4.0/console/commands.c:1320:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			index=atoi(arg2); /* FIXME: handle not-a-number */
data/linphone-4.4.0/console/commands.c:1338:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			index=atoi(arg2); /* FIXME: handle not-a-number */
data/linphone-4.4.0/console/commands.c:1356:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			index=atoi(arg2); /* FIXME: handle not-a-number */
data/linphone-4.4.0/console/commands.c:1401:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		index=atoi(arg2); /* FIXME: handle not-a-number */
data/linphone-4.4.0/console/commands.c:1511: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 subcommand[32]={0};
data/linphone-4.4.0/console/commands.c:1664:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			expires=atoi(input);
data/linphone-4.4.0/console/commands.c:1905: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 url[PATH_MAX];
data/linphone-4.4.0/console/commands.c:1950: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 identity[512];
data/linphone-4.4.0/console/commands.c:1951: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 proxy[512];
data/linphone-4.4.0/console/commands.c:1952: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 passwd[512];
data/linphone-4.4.0/console/commands.c:2122: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 section[20], param[20], value[50];
data/linphone-4.4.0/console/commands.c:2151: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 voice[64];
data/linphone-4.4.0/console/commands.c:2153: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 cl[256];
data/linphone-4.4.0/console/commands.c:2154: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 wavfile[128]="/tmp/linphonec-espeak-XXXXXX";
data/linphone-4.4.0/console/commands.c:2166:6:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
	if (mkstemp(wavfile)==-1){
data/linphone-4.4.0/console/commands.c:2222:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else linphonec_codec_enable(type,lc,atoi(arg2));
data/linphone-4.4.0/console/commands.c:2234:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else linphonec_codec_disable(type,lc,atoi(arg2));
data/linphone-4.4.0/console/commands.c:2415: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 subcommand[64];
data/linphone-4.4.0/console/commands.c:2634:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		call=linphonec_get_call(atoi(args));
data/linphone-4.4.0/console/linphonec.c:134:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char last_in_history[256];
data/linphone-4.4.0/console/linphonec.c:149:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char configfile_name[PATH_MAX];
data/linphone-4.4.0/console/linphonec.c:150:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char zrtpsecrets[PATH_MAX];
data/linphone-4.4.0/console/linphonec.c:151:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char usr_certificates_path[PATH_MAX];
data/linphone-4.4.0/console/linphonec.c:158:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char prompt[PROMPT_MAX_LEN];
data/linphone-4.4.0/console/linphonec.c:378:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char received_prompt[PROMPT_MAX_LEN];
data/linphone-4.4.0/console/linphonec.c:384: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 tmp[PROMPT_MAX_LEN];
data/linphone-4.4.0/console/linphonec.c:401: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 path[128];
data/linphone-4.4.0/console/linphonec.c:406:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		TCHAR username[128];
data/linphone-4.4.0/console/linphonec.c:417: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 tmp[250];
data/linphone-4.4.0/console/linphonec.c:576: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 argtmp[128];
data/linphone-4.4.0/console/linphonec.c:641:12:  [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).
	mylogfile=fopen(PACKAGE_DIR "\\" "linphonec.log","w");
data/linphone-4.4.0/console/linphonec.c:670:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			mylogfile = fopen (logfile_name, "w+");
data/linphone-4.4.0/console/linphonec.c:779: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 auth_prompt[256];
data/linphone-4.4.0/console/linphonec.c:984:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[512];
data/linphone-4.4.0/console/linphonec.c:1148:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				trace_level = atoi (argv[arg_num]);
data/linphone-4.4.0/console/linphonec.c:1352: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 message[256];
data/linphone-4.4.0/console/linphonec.c:1354:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[256];
data/linphone-4.4.0/console/linphonec.c:1358:5:  [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).
	in=fopen(from, "r");
data/linphone-4.4.0/console/linphonec.c:1368: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).
	out=fopen(to, "w");
data/linphone-4.4.0/console/shell.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 path[128];
data/linphone-4.4.0/console/shell.c:88: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 username[128];
data/linphone-4.4.0/console/shell.c:161: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 * args[MAX_ARGS+1];
data/linphone-4.4.0/console/shell.c:175:8:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
	pid = vfork();
data/linphone-4.4.0/console/shell.c:188:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open("/dev/null", O_RDWR);
data/linphone-4.4.0/console/shell.c:247: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 reply[DEFAULT_REPLY_SIZE];
data/linphone-4.4.0/console/shell.c:258: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 cmd[512];
data/linphone-4.4.0/console/shell.c:300: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 cmd[512];
data/linphone-4.4.0/console/shell.c:311: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 cmd[512];
data/linphone-4.4.0/console/shell.c:312: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 reply[DEFAULT_REPLY_SIZE];
data/linphone-4.4.0/console/shell.c:339: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 cmd[512];
data/linphone-4.4.0/console/shell.c:340: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 reply[DEFAULT_REPLY_SIZE];
data/linphone-4.4.0/console/sipomatic.c:89: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 record_file[250];
data/linphone-4.4.0/console/sipomatic.c:91:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(record_file,"/tmp/sipomatic%i.wav",call_count);
data/linphone-4.4.0/console/sipomatic.c:246:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if (uri->port!=NULL) port=atoi(uri->port);
data/linphone-4.4.0/console/sipomatic.c:440:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			sendport=atoi(port);
data/linphone-4.4.0/console/wav2raw.c:35:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[200];
data/linphone-4.4.0/console/wav2raw.c:48:6:  [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).
	ifd=open(name,O_RDONLY);
data/linphone-4.4.0/console/wav2raw.c:53:6:  [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).
	ofd=open(argv[1],O_WRONLY|O_CREAT|O_TRUNC,S_IRUSR|S_IWUSR|S_IRGRP);
data/linphone-4.4.0/coreapi/account_creator.c:59: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.
		static char ha1[33];
data/linphone-4.4.0/coreapi/account_creator.c:64: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.
		static char ha1[65];
data/linphone-4.4.0/coreapi/account_creator.c:157: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 buff[4];
data/linphone-4.4.0/coreapi/authentication.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 tmp1[128];
data/linphone-4.4.0/coreapi/authentication.c: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 tmp2[128];
data/linphone-4.4.0/coreapi/bellesip_sal/sal_address_impl.c:163: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 tmp[1024]={0};
data/linphone-4.4.0/coreapi/bellesip_sal/sal_address_impl.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 tmp[1024]={0};
data/linphone-4.4.0/coreapi/bellesip_sal/sal_impl.c:48:85:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int sal_auth_compute_ha1(const char* userid,const char* realm,const char* password, char ha1[33]) {
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:30: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 buffer[1024];
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:56: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 buffer[1024];
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:215: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 buffer[1024];
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:370: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 sastr[1024] = {0};
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:371: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 mastr[1024] = {0};
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:530: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 tmp[257]={0}, tmp2[129]={0}, parameters[257]={0};
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:593: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 proto[4];
data/linphone-4.4.0/coreapi/buffer.c:84: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(buffer->content, content, size);
data/linphone-4.4.0/coreapi/call_log.c:82: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 logsection[32];
data/linphone-4.4.0/coreapi/call_log.c:119: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 logsection[32];
data/linphone-4.4.0/coreapi/call_log.c:480:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	unsigned int storage_id = (unsigned int)atoi(argv[0]);
data/linphone-4.4.0/coreapi/call_log.c:493:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	dir = (LinphoneCallDir) atoi(argv[3]);
data/linphone-4.4.0/coreapi/call_log.c:497:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	log->duration = atoi(argv[4]);
data/linphone-4.4.0/coreapi/call_log.c:498:33:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	log->start_date_time = (time_t)atol(argv[5]);
data/linphone-4.4.0/coreapi/call_log.c:500:37:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	log->connected_date_time = (time_t)atol(argv[6]);
data/linphone-4.4.0/coreapi/call_log.c:501:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	log->status = (LinphoneCallStatus) atoi(argv[7]);
data/linphone-4.4.0/coreapi/call_log.c:502:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	log->video_enabled = atoi(argv[8]) == 1;
data/linphone-4.4.0/coreapi/carddav.c:129:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 full_url[300];
data/linphone-4.4.0/coreapi/carddav.c:332:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			result = atoi(response);
data/linphone-4.4.0/coreapi/carddav.c:441: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 msg[100];
data/linphone-4.4.0/coreapi/carddav.c:750: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 temp_body[300];
data/linphone-4.4.0/coreapi/carddav.c:756:2:  [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(body, "</card:addressbook-multiget>");
data/linphone-4.4.0/coreapi/enum.c:44:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(&domain[i],"e164.arpa");
data/linphone-4.4.0/coreapi/enum.h:28: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 *sip_address[MAX_ENUM_LOOKUP_RESULTS];
data/linphone-4.4.0/coreapi/friend.c:1081: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 item[50];
data/linphone-4.4.0/coreapi/friend.c:1086:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(item,"friend_%i",index);
data/linphone-4.4.0/coreapi/friend.c:1131:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char section[50];
data/linphone-4.4.0/coreapi/friend.c:1132: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(section, "friend_%i", lf->rc_index);
data/linphone-4.4.0/coreapi/friend.c:1393:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	unsigned int storage_id = (unsigned int)atoi(argv[0]);
data/linphone-4.4.0/coreapi/friend.c:1400:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	lfl->revision = atoi(argv[4]);
data/linphone-4.4.0/coreapi/friend.c:1432:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	unsigned int storage_id = (unsigned int)atoi(argv[0]);
data/linphone-4.4.0/coreapi/friend.c:1451:84:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	linphone_friend_set_inc_subscribe_policy(lf, static_cast<LinphoneSubscribePolicy>(atoi(argv[3])));
data/linphone-4.4.0/coreapi/friend.c:1452:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	linphone_friend_send_subscribe(lf, !!atoi(argv[4]));
data/linphone-4.4.0/coreapi/friend.c:1454:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	lf->presence_received = !!atoi(argv[9]);
data/linphone-4.4.0/coreapi/friendlist.c:289:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		version = atoi(version_str);
data/linphone-4.4.0/coreapi/friendlist.c:980:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char digest[16];
data/linphone-4.4.0/coreapi/friendlist.c:994: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(list->content_digest, digest, sizeof(digest));
data/linphone-4.4.0/coreapi/friendlist.c:1294:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file = fopen(vcard_file, "wb");
data/linphone-4.4.0/coreapi/help/examples/C/filetransfer.c:66:10:  [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("receive_file.dump","wb");
data/linphone-4.4.0/coreapi/help/examples/C/filetransfer.c:83:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char big_file [128000];
data/linphone-4.4.0/coreapi/help/examples/C/filetransfer.c:130: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(big_file+i, big_file_content, strlen(big_file_content));
data/linphone-4.4.0/coreapi/lime.c:98: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(currentPeerKey->peerZID, sqlite3_column_blob(sqlStmt, 1), (size_t)length);
data/linphone-4.4.0/coreapi/lime.c:105: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(currentPeerKey->key, sqlite3_column_blob(sqlStmt, 2), (size_t)length);
data/linphone-4.4.0/coreapi/lime.c:112: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(currentPeerKey->sessionId, sqlite3_column_blob(sqlStmt, 3), (size_t)length);
data/linphone-4.4.0/coreapi/lime.c:215: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(associatedKey->key, sqlite3_column_blob(sqlStmt, 1), (size_t)length);
data/linphone-4.4.0/coreapi/lime.c:224: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(associatedKey->sessionId, sqlite3_column_blob(sqlStmt, 2), (size_t)length);
data/linphone-4.4.0/coreapi/lime.c:331: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(inputData+4, "MessageKey", 10);
data/linphone-4.4.0/coreapi/lime.c:335: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(inputData+15, key->sessionId, 32);
data/linphone-4.4.0/coreapi/lime.c:351: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(key->key, derivedKey, 32);
data/linphone-4.4.0/coreapi/lime.c:383: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(authenticatedData, selfZID, 12);
data/linphone-4.4.0/coreapi/lime.c:384: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(authenticatedData+12, key->peerZID, 12);
data/linphone-4.4.0/coreapi/lime.c:407: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(authenticatedData, key->peerZID, 12);
data/linphone-4.4.0/coreapi/lime.c:408: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(authenticatedData+12, selfZID, 12);
data/linphone-4.4.0/coreapi/lime.c:536: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(*output, local_output, (size_t)xmlStringLength);
data/linphone-4.4.0/coreapi/lime.c:550: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 xpath_str[MAX_XPATH_LENGTH];
data/linphone-4.4.0/coreapi/lime.c:948: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 keyBuffer [FILE_TRANSFER_KEY_SIZE]; /* temporary storage of generated key: 192 bits of key + 64 bits of initial vector */
data/linphone-4.4.0/coreapi/linphone_tunnel.cc:147:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			port = atoi(pch);
data/linphone-4.4.0/coreapi/linphone_tunnel.cc:150:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			remote_udp_mirror_port = atoi(pch);
data/linphone-4.4.0/coreapi/linphone_tunnel.cc:153:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			delay = atoi(pch);
data/linphone-4.4.0/coreapi/linphone_tunnel.cc:186:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				port = atoi(pch);
data/linphone-4.4.0/coreapi/linphone_tunnel.cc:189:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				remote_udp_mirror_port = atoi(pch);
data/linphone-4.4.0/coreapi/linphone_tunnel.cc:192:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				delay = atoi(pch);
data/linphone-4.4.0/coreapi/linphonecore.c:599:36:  [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).
	liblinphone_log_collection_file = fopen(log_filename, "a");
data/linphone-4.4.0/coreapi/linphonecore.c:839: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 *log_file = fopen(log_filename, "rb");
data/linphone-4.4.0/coreapi/linphonecore.c:841: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 *log_file = fopen(log_filename, "r");
data/linphone-4.4.0/coreapi/linphonecore.c:971:23:  [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 COMPRESS_OPEN fopen
data/linphone-4.4.0/coreapi/linphonecore.c:979: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 buffer[131072]; /* 128kB */
data/linphone-4.4.0/coreapi/linphonecore.c:1010: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).
	input_file = fopen(input_filename, "rb");
data/linphone-4.4.0/coreapi/linphonecore.c:1019: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).
	input_file = fopen(input_filename, "rb");
data/linphone-4.4.0/coreapi/linphonecore.c:1038:22:  [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 *output_file = fopen(output_filename, "rb");
data/linphone-4.4.0/coreapi/linphonecore.c:1262: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(d,devid,l+1);
data/linphone-4.4.0/coreapi/linphonecore.c:1756: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 codeckey[50];
data/linphone-4.4.0/coreapi/linphonecore.c:1980: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 item[50];
data/linphone-4.4.0/coreapi/linphonecore.c:1983:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(item, "friend_%i", i);
data/linphone-4.4.0/coreapi/linphonecore.c:2818: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 tmp[LINPHONE_IPADDR_SIZE];
data/linphone-4.4.0/coreapi/linphonecore.c:3227:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char _ua_name[64]="Linphone";
data/linphone-4.4.0/coreapi/linphonecore.c:3228:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char _ua_version[64]=LIBLINPHONE_VERSION;
data/linphone-4.4.0/coreapi/linphonecore.c:3398: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(&lc->sip_conf.transports,&tr,sizeof(tr));
data/linphone-4.4.0/coreapi/linphonecore.c:3433: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(tr,&lc->sip_conf.transports,sizeof(*tr));
data/linphone-4.4.0/coreapi/linphonecore.c:4952: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 ipstring [INET6_ADDRSTRLEN];
data/linphone-4.4.0/coreapi/linphonecore.c:5186: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 logsection[32];
data/linphone-4.4.0/coreapi/linphonecore.c:6310: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[50];
data/linphone-4.4.0/coreapi/linphonecore.c:6315:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(key,"audio_codec_%i",index);
data/linphone-4.4.0/coreapi/linphonecore.c:6322:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(key,"audio_codec_%i",index);
data/linphone-4.4.0/coreapi/linphonecore.c:6328:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(key,"video_codec_%i",index);
data/linphone-4.4.0/coreapi/linphonecore.c:6335:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(key,"video_codec_%i",index);
data/linphone-4.4.0/coreapi/linphonecore_jni.cc:8783: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 buff[4];
data/linphone-4.4.0/coreapi/lpc2xml.c:63: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 errorBuffer[LPC2XML_BZ];
data/linphone-4.4.0/coreapi/lpc2xml.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 warningBuffer[LPC2XML_BZ];
data/linphone-4.4.0/coreapi/lpconfig.c:383: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 tmp[MAX_LEN]= {'\0'};
data/linphone-4.4.0/coreapi/lpconfig.c:668:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		*min = atoi(str);
data/linphone-4.4.0/coreapi/lpconfig.c:669:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		*max = atoi(minusptr + 1);
data/linphone-4.4.0/coreapi/lpconfig.c:803: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 tmp[30];
data/linphone-4.4.0/coreapi/lpconfig.c:809: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 tmp[30];
data/linphone-4.4.0/coreapi/lpconfig.c:823: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 tmp[30];
data/linphone-4.4.0/coreapi/lpconfig.c:829: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 tmp[30];
data/linphone-4.4.0/coreapi/lpconfig.c:836: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 tmp[30];
data/linphone-4.4.0/coreapi/lpconfig.c:999: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 default_section[MAX_LEN];
data/linphone-4.4.0/coreapi/lpconfig.c:1007: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 default_section[MAX_LEN];
data/linphone-4.4.0/coreapi/lpconfig.c:1015: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 default_section[MAX_LEN];
data/linphone-4.4.0/coreapi/lpconfig.c:1023: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 default_section[MAX_LEN];
data/linphone-4.4.0/coreapi/lpconfig.c:1044: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 drive[_MAX_DRIVE];
data/linphone-4.4.0/coreapi/lpconfig.c:1045: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 dir[_MAX_DIR];
data/linphone-4.4.0/coreapi/lpconfig.c:1046: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 fname[_MAX_FNAME];
data/linphone-4.4.0/coreapi/lpconfig.c:1047: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 ext[_MAX_EXT];
data/linphone-4.4.0/coreapi/lpconfig.c:1048:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char dirname[_MAX_DRIVE + _MAX_DIR];
data/linphone-4.4.0/coreapi/misc.c:134: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 tmphost[NI_MAXHOST]={0};
data/linphone-4.4.0/coreapi/misc.c:154: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 port[6];
data/linphone-4.4.0/coreapi/misc.c:155: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 host[NI_MAXHOST];
data/linphone-4.4.0/coreapi/misc.c:172: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(ss,res->ai_addr,(size_t)res->ai_addrlen);
data/linphone-4.4.0/coreapi/misc.c:264: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[256]={0};
data/linphone-4.4.0/coreapi/misc.c:265:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[256];
data/linphone-4.4.0/coreapi/misc.c:815: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.
static const char *_tunnel_mode_str[3] = { "disable", "enable", "auto" };
data/linphone-4.4.0/coreapi/nat_policy.c:35: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 ref[17] = { 0 };
data/linphone-4.4.0/coreapi/nat_policy.c:241:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char host[NI_MAXHOST];
data/linphone-4.4.0/coreapi/player.c:89:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	return obj->open(obj,filename);
data/linphone-4.4.0/coreapi/plugins/buddylookup/src/lookup.c:87: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 tmp[256];
data/linphone-4.4.0/coreapi/plugins/buddylookup/src/lookup.c:116: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(bi->image_data,body->data,bi->image_length);
data/linphone-4.4.0/coreapi/presence.c:131: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[7];
data/linphone-4.4.0/coreapi/presence.c:1390: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 xpath_str[MAX_XPATH_LENGTH];
data/linphone-4.4.0/coreapi/presence.c:1419: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 xpath_str[MAX_XPATH_LENGTH];
data/linphone-4.4.0/coreapi/presence.c:1518: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 xpath_str[MAX_XPATH_LENGTH];
data/linphone-4.4.0/coreapi/presence.c:1562: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 xpath_str[MAX_XPATH_LENGTH];
data/linphone-4.4.0/coreapi/presence.c:1609: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 xpath_str[MAX_XPATH_LENGTH];
data/linphone-4.4.0/coreapi/presence.c:1658: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 xpath_str[MAX_XPATH_LENGTH];
data/linphone-4.4.0/coreapi/private_structs.h:46: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 start_date[128]; /**<Human readable string containing the start date*/
data/linphone-4.4.0/coreapi/private_structs.h:71: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 addr[64];
data/linphone-4.4.0/coreapi/private_structs.h:76: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 multicast_ip[LINPHONE_IPADDR_SIZE];
data/linphone-4.4.0/coreapi/private_structs.h:77: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 multicast_bind_ip[LINPHONE_IPADDR_SIZE];
data/linphone-4.4.0/coreapi/private_structs.h:609:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int (*open)(LinphonePlayer* player, const char *filename);
data/linphone-4.4.0/coreapi/private_structs.h:638: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 errorBuffer[XMLPARSING_BUFFER_LEN];
data/linphone-4.4.0/coreapi/private_structs.h:639: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 warningBuffer[XMLPARSING_BUFFER_LEN];
data/linphone-4.4.0/coreapi/private_structs.h:813: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 localip4[LINPHONE_IPADDR_SIZE]; \
data/linphone-4.4.0/coreapi/private_structs.h:814: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 localip6[LINPHONE_IPADDR_SIZE]; \
data/linphone-4.4.0/coreapi/proxy.c:59: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[17] = {0};
data/linphone-4.4.0/coreapi/proxy.c:215: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 hash[33];
data/linphone-4.4.0/coreapi/proxy.c:767: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(result, output, MIN(strlen(output) + 1, result_len));
data/linphone-4.4.0/coreapi/proxy.c:1297: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 key[50];
data/linphone-4.4.0/coreapi/proxy.c:1299:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(key, "proxy_%i", index);
data/linphone-4.4.0/coreapi/proxy.c:1370: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 key[50];
data/linphone-4.4.0/coreapi/proxy.c:1374:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(key,"proxy_%i",index);
data/linphone-4.4.0/coreapi/proxy.c:1453: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 proxy[256];
data/linphone-4.4.0/coreapi/update_check.c:73:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	parsed_version->major = atoi(ptr);
data/linphone-4.4.0/coreapi/update_check.c:76:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	parsed_version->minor = atoi(ptr);
data/linphone-4.4.0/coreapi/update_check.c:79:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		parsed_version->patch = atoi(ptr);
data/linphone-4.4.0/coreapi/vcard.cc:74:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char md5[VCARD_MD5_HASH_SIZE];
data/linphone-4.4.0/coreapi/vcard.cc:132:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(copy->md5, vCard->md5, sizeof *vCard->md5);
data/linphone-4.4.0/coreapi/vcard.cc:434:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char previous_md5[VCARD_MD5_HASH_SIZE];
data/linphone-4.4.0/coreapi/vcard.cc:435: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(previous_md5, vCard->md5, VCARD_MD5_HASH_SIZE);
data/linphone-4.4.0/coreapi/xml2lpc.c:34: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 errorBuffer[XML2LPC_BZ];
data/linphone-4.4.0/coreapi/xml2lpc.c:35: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 warningBuffer[XML2LPC_BZ];
data/linphone-4.4.0/coreapi/xmlrpc.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 si[64];
data/linphone-4.4.0/coreapi/xmlrpc.c:235:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					request->response.data.i = atoi(response_str);
data/linphone-4.4.0/daemon/commands/audio-codec-set.cc:111:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				payload->clock_rate = atoi(value.c_str());
data/linphone-4.4.0/daemon/commands/audio-codec-set.cc:122:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				int idx=atoi(value.c_str());
data/linphone-4.4.0/daemon/commands/audio-codec-set.cc:125:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					conflict=findPayload(app->getCore(), atoi(value.c_str()), NULL);
data/linphone-4.4.0/daemon/commands/audio-codec-set.cc:136:68:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			linphone_core_set_payload_type_bitrate(app->getCore(), payload, atoi(value.c_str()));
data/linphone-4.4.0/daemon/commands/audio-stream-start.cc:76: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 fmtp[32];
data/linphone-4.4.0/daemon/commands/netsim.cc:87: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 value[128] = { 0 };
data/linphone-4.4.0/daemon/commands/netsim.cc:90:34:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			params.max_bandwidth = (float)atoi(value);
data/linphone-4.4.0/daemon/commands/netsim.cc:93:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			params.max_buffer_size = atoi(value);
data/linphone-4.4.0/daemon/commands/netsim.cc:96:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			params.loss_rate = (float)atoi(value);
data/linphone-4.4.0/daemon/commands/netsim.cc:99:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			params.latency = (uint32_t)atoi(value);
data/linphone-4.4.0/daemon/commands/register-info.cc:97:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			id = atoi(param.c_str());
data/linphone-4.4.0/daemon/daemon-pipetest.c:35:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[32768];
data/linphone-4.4.0/daemon/daemon.cc:254: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 type[64]={0};
data/linphone-4.4.0/daemon/daemon.cc:329:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		mLogFile = fopen(log_file, "a+");
data/linphone-4.4.0/daemon/daemon.cc:646: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 buffer[32768];
data/linphone-4.4.0/include/linphone/sipsetup.h:37: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 domain[128];
data/linphone-4.4.0/include/linphone/sipsetup.h:38: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 username[128];
data/linphone-4.4.0/include/linphone/sipsetup.h:61: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 street[64];
data/linphone-4.4.0/include/linphone/sipsetup.h:62:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char zip[64];
data/linphone-4.4.0/include/linphone/sipsetup.h:63: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 town[64];
data/linphone-4.4.0/include/linphone/sipsetup.h: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 country[64];
data/linphone-4.4.0/include/linphone/sipsetup.h:68: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 firstname[64];
data/linphone-4.4.0/include/linphone/sipsetup.h:69: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 lastname[64];
data/linphone-4.4.0/include/linphone/sipsetup.h:70: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 displayname[64];
data/linphone-4.4.0/include/linphone/sipsetup.h:71: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 sip_uri[128];
data/linphone-4.4.0/include/linphone/sipsetup.h:72: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 email[128];
data/linphone-4.4.0/include/linphone/sipsetup.h:74: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 image_type[32];
data/linphone-4.4.0/src/auth-info/auth-info.cpp:198:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char key[50];
data/linphone-4.4.0/src/auth-info/auth-info.cpp:202:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(key, "auth_info_%i", pos);
data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp:37:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char key[50];
data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp:38:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(key, "auth_info_%i", pos);
data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp:51:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char key[50];
data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp:52: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(key, "auth_info_%i", pos);
data/linphone-4.4.0/src/c-wrapper/api/c-call-stats.cpp:147: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(&(stats->rtp_stats), rtpStats, sizeof(*rtpStats));
data/linphone-4.4.0/src/c-wrapper/api/c-call-stats.cpp:231: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(&stats->jitter_stats, rtp_session_get_jitter_stats(ms->sessions.rtp_session), sizeof(jitter_stats_t));
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:722:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[256] = {0};
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:723: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 key_candidate[256]; // key_candidate array must have the same size of line array to avoid potential invalid writes
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:193: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 addr[SAL_MEDIA_DESCRIPTION_MAX_ICE_ADDR_LEN];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:194: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 raddr[SAL_MEDIA_DESCRIPTION_MAX_ICE_ADDR_LEN];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:195: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 foundation[SAL_MEDIA_DESCRIPTION_MAX_ICE_FOUNDATION_LEN];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:196: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[SAL_MEDIA_DESCRIPTION_MAX_ICE_TYPE_LEN];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:206: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 addr[SAL_MEDIA_DESCRIPTION_MAX_ICE_ADDR_LEN];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:221: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 master_key[SAL_SRTP_KEY_SIZE + 1];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:253: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 name[16]; /*unique name of stream, in order to ease offer/answer model algorithm*/
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:256: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 typeother[32];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:257: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 proto_other[32];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:258: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 rtp_addr[64];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:259: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 rtcp_addr[64];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:261: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 rtcp_cname[256];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:281: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 ice_ufrag[SAL_MEDIA_DESCRIPTION_MAX_ICE_UFRAG_LEN];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:282: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 ice_pwd[SAL_MEDIA_DESCRIPTION_MAX_ICE_PWD_LEN];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:283: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 mid[32]; /* Media line identifier for RTP bundle mode */
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:291: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 dtls_fingerprint[256];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:313: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 name[64];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:314: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 addr[64];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:315: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 username[64];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:324: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 ice_ufrag[SAL_MEDIA_DESCRIPTION_MAX_ICE_UFRAG_LEN];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:325: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 ice_pwd[SAL_MEDIA_DESCRIPTION_MAX_ICE_PWD_LEN];
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:526:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
LINPHONE_PUBLIC int sal_auth_compute_ha1(const char *userid, const char *realm, const char *password, char ha1[33]);
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:526:68:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
LINPHONE_PUBLIC int sal_auth_compute_ha1(const char *userid, const char *realm, const char *password, char ha1[33]);
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:526:87:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
LINPHONE_PUBLIC int sal_auth_compute_ha1(const char *userid, const char *realm, const char *password, char ha1[33]);
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.h:526:103:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
LINPHONE_PUBLIC int sal_auth_compute_ha1(const char *userid, const char *realm, const char *password, char ha1[33]);
data/linphone-4.4.0/src/chat/encryption/lime-x3dh-encryption-engine.cpp:500: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 keyBuffer [FILE_TRANSFER_KEY_SIZE];// temporary storage of generated key: 192 bits of key + 64 bits of initial vector
data/linphone-4.4.0/src/chat/encryption/lime-x3dh-encryption-engine.cpp:524: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 authTag[FILE_TRANSFER_AUTH_TAG_SIZE]; // store the authentication tag generated at the end of decryption
data/linphone-4.4.0/src/chat/encryption/lime-x3dh-encryption-engine.cpp:570: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 authTag[FILE_TRANSFER_AUTH_TAG_SIZE]; // store the authentication tag generated at the end of encryption, size is fixed at 16 bytes
data/linphone-4.4.0/src/chat/modifier/cpim-chat-message-modifier.cpp:77: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 token[13];
data/linphone-4.4.0/src/chat/modifier/file-transfer-chat-message-modifier.cpp:171: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(buffer, linphone_buffer_get_content(lb), *size);
data/linphone-4.4.0/src/chat/modifier/file-transfer-chat-message-modifier.cpp: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(buffer, encrypted_buffer, *size);
data/linphone-4.4.0/src/chat/modifier/file-transfer-chat-message-modifier.cpp:278:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(buf, currentFileContentToTransfer->getBody().data(), buf_size);
data/linphone-4.4.0/src/chat/modifier/file-transfer-chat-message-modifier.cpp:290: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, encrypted_buffer, buf_size);
data/linphone-4.4.0/src/chat/modifier/file-transfer-chat-message-modifier.cpp:772: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(buffer, decrypted_buffer, size);
data/linphone-4.4.0/src/conference/handlers/local-conference-list-event-handler.cpp:166: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 token[17];
data/linphone-4.4.0/src/conference/session/audio-stream.cpp:575:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char dtmfTab[16] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '*', '#', 'A', 'B', 'C', 'D' };
data/linphone-4.4.0/src/conference/session/media-session.cpp:382:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char dtmfTab[16] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '*', '#', 'A', 'B', 'C', 'D' };
data/linphone-4.4.0/src/conference/session/media-session.cpp:914: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[LINPHONE_IPADDR_SIZE];
data/linphone-4.4.0/src/conference/session/media-session.cpp:974: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 ipv4[LINPHONE_IPADDR_SIZE];
data/linphone-4.4.0/src/conference/session/media-session.cpp:975: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 ipv6[LINPHONE_IPADDR_SIZE];
data/linphone-4.4.0/src/conference/session/media-session.cpp:1416:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy(&md->streams[i].crypto[j], &oldMd->streams[i].crypto[j], sizeof(SalSrtpCryptoAlgo));
data/linphone-4.4.0/src/conference/session/ms2-stream.cpp:130: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 multicastBindIp[LINPHONE_IPADDR_SIZE] = {0};
data/linphone-4.4.0/src/core/platform-helpers/platform-helpers.cpp:153: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 newIp4[LINPHONE_IPADDR_SIZE];
data/linphone-4.4.0/src/core/platform-helpers/platform-helpers.cpp:154: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 newIp6[LINPHONE_IPADDR_SIZE];
data/linphone-4.4.0/src/db/internal/statements.cpp:50: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.
		const char *mSql[2];
data/linphone-4.4.0/src/db/internal/statements.cpp:57:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	constexpr const char *select[SelectCount] = {
data/linphone-4.4.0/src/db/session/db-session.cpp:138: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[128];
data/linphone-4.4.0/src/nat/ice-service.cpp:244: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[NI_MAXHOST];
data/linphone-4.4.0/src/nat/stun-client.cpp:204:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[MS_STUN_MAX_MESSAGE_SIZE];
data/linphone-4.4.0/src/sal/call-op.cpp:527:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					int minSE = atoi(
data/linphone-4.4.0/src/sal/call-op.cpp:872:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					int inviteSE = atoi(belle_sip_header_get_unparsed_value(session_expires));
data/linphone-4.4.0/src/sal/call-op.cpp:1007:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
								char tmp[10];
data/linphone-4.4.0/src/sal/call-op.cpp:1208:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				delta = atoi(belle_sip_header_get_unparsed_value(session_expires_min_se_header));
data/linphone-4.4.0/src/sal/call-op.cpp:1575: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 body[128] = { 0 };
data/linphone-4.4.0/src/sal/op.cpp:535: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 token[10];
data/linphone-4.4.0/src/sal/op.cpp:876: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 userAgentStr[256];
data/linphone-4.4.0/src/sal/op.cpp:982: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(buffer, body.getBody().data(), bodySize);
data/linphone-4.4.0/src/sal/op.cpp:1008: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 messageId[256]{};
data/linphone-4.4.0/src/sal/op.cpp:1025:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[1024];
data/linphone-4.4.0/src/sal/sal.cpp:405: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(&mCallbacks, cbs, sizeof(*cbs));
data/linphone-4.4.0/src/sal/sal.cpp:622: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 userAgent[256];
data/linphone-4.4.0/src/sal/sal.cpp:745: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 generatedUuid[128] = { 0 };
data/linphone-4.4.0/src/sal/sal.h:281:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char node[6];
data/linphone-4.4.0/src/utils/if-addrs.cpp:57:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char addr[INET6_ADDRSTRLEN] = { 0 };
data/linphone-4.4.0/src/utils/if-addrs.cpp:104:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char szAddr[INET6_ADDRSTRLEN];
data/linphone-4.4.0/src/utils/if-addrs.cpp:191: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 localAddr[LINPHONE_IPADDR_SIZE];
data/linphone-4.4.0/tester/accountmanager.c:402: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[64];
data/linphone-4.4.0/tester/audio_bypass_tester.c:139:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fd=open(file,O_RDONLY|O_BINARY))==-1){
data/linphone-4.4.0/tester/audio_bypass_wav_header.h:48:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	#define open _open
data/linphone-4.4.0/tester/audio_bypass_wav_header.h:88: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 riff[4] ;	/* "RIFF" (ASCII characters) */
data/linphone-4.4.0/tester/audio_bypass_wav_header.h:90: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 wave[4] ;	/* "WAVE" (ASCII characters) */
data/linphone-4.4.0/tester/audio_bypass_wav_header.h:96: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  fmt[4] ;		/* "fmt_" (ASCII characters) */
data/linphone-4.4.0/tester/audio_bypass_wav_header.h:109: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 data[4] ;	/* "data" (ASCII characters) */
data/linphone-4.4.0/tester/call_ice_tester.c:240: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 localip[LINPHONE_IPADDR_SIZE]={0};
data/linphone-4.4.0/tester/call_ice_tester.c:241: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 localip6[LINPHONE_IPADDR_SIZE]={0};
data/linphone-4.4.0/tester/call_secure_tester.c:331:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		f = fopen(db_file, "wb");
data/linphone-4.4.0/tester/call_single_tester.c:774: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 route[256];
data/linphone-4.4.0/tester/call_single_tester.c:1613: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 tmp2[256];
data/linphone-4.4.0/tester/complex_sip_case_tester.c:32: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 ipstring [INET6_ADDRSTRLEN];
data/linphone-4.4.0/tester/complex_sip_case_tester.c:99: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 local_ip[64];
data/linphone-4.4.0/tester/flexisip_tester.c:986:18:  [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_to_send = fopen(send_filepath, "rb");
data/linphone-4.4.0/tester/flexisip_tester.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 msg[128] = { 0 };
data/linphone-4.4.0/tester/flexisip_tester.c:1569: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 local_ip[LINPHONE_IPADDR_SIZE] = { 0 };
data/linphone-4.4.0/tester/group_chat_benchmark.c:51: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 str[4096];
data/linphone-4.4.0/tester/group_chat_benchmark.c:97: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 buffer[CALLBACK_BUFFER_SIZE];
data/linphone-4.4.0/tester/group_chat_benchmark.c:181:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	log_file = fopen(filename, "w");
data/linphone-4.4.0/tester/group_chat_benchmark.c:522:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			nb_chatrooms=atoi(argv[i]);
data/linphone-4.4.0/tester/group_chat_benchmark.c:525:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			nb_participants=atoi(argv[i]);
data/linphone-4.4.0/tester/group_chat_benchmark.c:528:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			nb_participants_per_room=atoi(argv[i]);
data/linphone-4.4.0/tester/group_chat_benchmark.c:531:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			nb_instance_participants=atoi(argv[i]);
data/linphone-4.4.0/tester/group_chat_benchmark.c:534:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			start_identity=atoi(argv[i]);
data/linphone-4.4.0/tester/group_chat_benchmark.c:537:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			nb_messages=atoi(argv[i]);
data/linphone-4.4.0/tester/group_chat_tester.c:250:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file_to_send = fopen(sendFilePath, "rb");
data/linphone-4.4.0/tester/liblinphone_tester.c:147: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 str[4096];
data/linphone-4.4.0/tester/liblinphone_tester.c:193: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 buffer[CALLBACK_BUFFER_SIZE];
data/linphone-4.4.0/tester/liblinphone_tester.c:401:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	log_file = fopen(filename, "w");
data/linphone-4.4.0/tester/liblinphone_tester_windows.cpp:41:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		wchar_t wstr[MAX_TRACE_SIZE] = { 0 };
data/linphone-4.4.0/tester/liblinphone_tester_windows.cpp:96: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 writable_dir[MAX_WRITABLE_DIR_SIZE] = { 0 };
data/linphone-4.4.0/tester/liblinphone_tester_windows.cpp:118: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 csuitename[MAX_SUITE_NAME_SIZE] = { 0 };
data/linphone-4.4.0/tester/liblinphone_tester_windows.cpp:119: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 ccasename[MAX_SUITE_NAME_SIZE] = { 0 };
data/linphone-4.4.0/tester/liblinphone_tester_windows.cpp:150: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 cname[MAX_SUITE_NAME_SIZE] = { 0 };
data/linphone-4.4.0/tester/liblinphone_tester_windows.cpp:158:2:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	wchar_t wcname[MAX_SUITE_NAME_SIZE];
data/linphone-4.4.0/tester/liblinphone_tester_windows.cpp:166: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 csuitename[MAX_SUITE_NAME_SIZE] = { 0 };
data/linphone-4.4.0/tester/liblinphone_tester_windows.cpp:170:2:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	wchar_t wcname[MAX_SUITE_NAME_SIZE];
data/linphone-4.4.0/tester/log_collection_tester.c:135:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[512]={0};
data/linphone-4.4.0/tester/log_collection_tester.c:136:12:  [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).
		output = fopen(newname, "wb");
data/linphone-4.4.0/tester/log_collection_tester.c:143:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		ret=fopen(newname, "rb");
data/linphone-4.4.0/tester/log_collection_tester.c:190:10:  [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(filepath, "rb");
data/linphone-4.4.0/tester/log_collection_tester.c:204:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char date[24] = {'\0'};
data/linphone-4.4.0/tester/log_collection_tester.c:205: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(date, line, 23);
data/linphone-4.4.0/tester/log_collection_tester.c:227: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 buffers[2][128] = {{0}};
data/linphone-4.4.0/tester/message_tester.c:57:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file_to_send = fopen(send_filepath, "rb");
data/linphone-4.4.0/tester/message_tester.c:89:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file_to_send = fopen(send_filepath, "rb");
data/linphone-4.4.0/tester/message_tester.c:309: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 route[256];
data/linphone-4.4.0/tester/message_tester.c:537:18:  [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_to_send = fopen(send_filepath2, "rb");
data/linphone-4.4.0/tester/message_tester.c:1686:18:  [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_to_send = fopen(send_filepath2, "rb");
data/linphone-4.4.0/tester/message_tester.c:1833:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if ((xmlCacheFD = fopen(xmlCache_filepath, "w") ) == NULL) {
data/linphone-4.4.0/tester/presence_server_tester.c:62:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char phone[64];
data/linphone-4.4.0/tester/presence_server_tester.c:923: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 user_id[256];
data/linphone-4.4.0/tester/presence_server_tester.c:1094: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 phone[20];
data/linphone-4.4.0/tester/presence_server_tester.c:2088: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 phoneMarie[20];
data/linphone-4.4.0/tester/presence_server_tester.c:2089: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 phoneLaure[20];
data/linphone-4.4.0/tester/presence_server_tester.c:2178: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 phoneMarie[20];
data/linphone-4.4.0/tester/proxy_config_tester.c:28:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char result[255];
data/linphone-4.4.0/tester/proxy_config_tester.c:31:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(result, output, strlen(output)+1);
data/linphone-4.4.0/tester/register_tester.c: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:280: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:288: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:297: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:311: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:324: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:338: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:360: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:388: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 ha1[33];
data/linphone-4.4.0/tester/register_tester.c:390: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:405: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 ha1[65];
data/linphone-4.4.0/tester/register_tester.c:407: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:423: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:444: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:466: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:539: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:569: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:810: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:846: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:1058:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *infile = fopen(path, "rb");
data/linphone-4.4.0/tester/register_tester.c:1108: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[256];
data/linphone-4.4.0/tester/register_tester.c:1162: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 route[256];
data/linphone-4.4.0/tester/register_tester.c:1379: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 route[256];
data/linphone-4.4.0/tester/setup_tester.c:36: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.
static const char *sFriends[S_SIZE_FRIEND] = {
data/linphone-4.4.0/tester/setup_tester.c:1449: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 subBuff[20];
data/linphone-4.4.0/tester/setup_tester.c:1450: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(subBuff, searchedFriend, i);
data/linphone-4.4.0/tester/stun_tester.c:53: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 audio_addr[LINPHONE_IPADDR_SIZE] = { 0 };
data/linphone-4.4.0/tester/stun_tester.c:54: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 video_addr[LINPHONE_IPADDR_SIZE] = { 0 };
data/linphone-4.4.0/tester/stun_tester.c:55: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 text_addr[LINPHONE_IPADDR_SIZE] = { 0 };
data/linphone-4.4.0/tester/tester.c:452: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 random_id[32];
data/linphone-4.4.0/tester/tester.c:751: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 localip[128];
data/linphone-4.4.0/tester/tester.c:770: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 localip[128];
data/linphone-4.4.0/tester/tester.c:913: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 ip[NI_MAXHOST] = { 0 };
data/linphone-4.4.0/tester/tester.c:930: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(&remaddr, &astream->ms.sessions.rtp_session->rtp.gs.rem_addr, astream->ms.sessions.rtp_session->rtp.gs.rem_addrlen);
data/linphone-4.4.0/tester/tester.c:1711:10:  [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(receive_file,"wb");
data/linphone-4.4.0/tester/tester.c:2035: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 method[20];
data/linphone-4.4.0/tester/tester.c:2108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];
data/linphone-4.4.0/tester/tester.c:2112: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).
    in=fopen(from, "rb");
data/linphone-4.4.0/tester/tester.c:2120:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    out=fopen(to, "wb");
data/linphone-4.4.0/tester/tunnel_tester.c:60: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  tunnel_ip[64];
data/linphone-4.4.0/tester/tunnel_tester.c:286: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 tunnel_ip[64];
data/linphone-4.4.0/tester/vcard_tester.c:87: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).
	infile = fopen(import_filepath, "rb");
data/linphone-4.4.0/tester/vcard_tester.c:969: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 key[64];
data/linphone-4.4.0/tester/vcard_tester.c:988: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 key[64];
data/linphone-4.4.0/tools/auto_answer.c:95:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			max_call_duration = atoi(argv[++i]);
data/linphone-4.4.0/tools/lpc2xml_jni.cc:54:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[LPC2XML_CALLBACK_BUFFER_SIZE];
data/linphone-4.4.0/tools/test_ecc.c:34:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char config_file[1024] = {0};
data/linphone-4.4.0/tools/test_numbers.c:47:5:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				atoi(linphone_proxy_config_get_dial_prefix(cfg))) {
data/linphone-4.4.0/tools/xml2lpc_jni.cc:54:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[XML2LPC_CALLBACK_BUFFER_SIZE];
data/linphone-4.4.0/console/commands.c:467: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).
		len=strlen(text);
data/linphone-4.4.0/console/commands.c:670:9:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
		int n=sscanf(args,"%255s %265s %d",arg1,arg2,&id2);
data/linphone-4.4.0/console/commands.c:684: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).
			refer_to=args+strlen(arg1)+1;
data/linphone-4.4.0/console/commands.c:1060: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).
			addr_p = addr + strlen("sip:");
data/linphone-4.4.0/console/commands.c:1063:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (1 >= strlen(addr_orig)) {
data/linphone-4.4.0/console/commands.c:1514:4:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	n=sscanf(args, "%31s %d", subcommand,&id);
data/linphone-4.4.0/console/commands.c:1975:2:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	sscanf(args,"%511s %511s %511s",identity,proxy,passwd);
data/linphone-4.4.0/console/commands.c:2128:10:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	switch (sscanf(args,"%19s %19s %49s",section,param,value)) {
data/linphone-4.4.0/console/commands.c:2160:2:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	sscanf(args,"%63s",voice);
data/linphone-4.4.0/console/commands.c:2161: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).
	sentence=args+strlen(voice);
data/linphone-4.4.0/console/commands.c:2421:6:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	err=sscanf(args,"%63s %d %d",subcommand,&a,&b);
data/linphone-4.4.0/console/commands.c:2497:74:  [1] (buffer) strlen:
  Does not handle 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,linphone_call_state_to_string(linphone_call_get_state(call))+strlen("LinphoneCall"),flag);
data/linphone-4.4.0/console/linphonec.c:423: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(20000);
data/linphone-4.4.0/console/linphonec.c:514: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(20000);
data/linphone-4.4.0/console/linphonec.c:535: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).
		if (ortp_pipe_write(client_sock,(uint8_t*)res,(int)strlen(res))==-1){
data/linphone-4.4.0/console/linphonec.c:640:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(configfile_name,PACKAGE_DIR "\\linphonerc",PATH_MAX);
data/linphone-4.4.0/console/linphonec.c:1092: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).
		input_len = strlen(iptr);
data/linphone-4.4.0/console/linphonec.c:1113:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(last_in_history,iptr,sizeof(last_in_history));
data/linphone-4.4.0/console/linphonec.c:1202:72:  [1] (buffer) strlen:
  Does not handle 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 (strncmp ("--real-early-media", argv[arg_num], strlen("--real-early-media")) == 0)
data/linphone-4.4.0/console/linphonec.c:1224:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			   strlen ("--version")) == 0))
data/linphone-4.4.0/console/linphonec.c:1443: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).
	iptr=input+strlen(input);
data/linphone-4.4.0/console/shell.c:98: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).
	if (ortp_pipe_write(pp,(uint8_t*)command,strlen(command))==-1){
data/linphone-4.4.0/console/shell.c:142: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).
	line_length = strlen(argv[0]);
data/linphone-4.4.0/console/shell.c:144: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_length += strlen(argv[i]) + 1;
data/linphone-4.4.0/console/shell.c:150:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(line, " ");
data/linphone-4.4.0/console/sipomatic.c:107: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).
	osip_message_set_body(msg,call->sdpc->answerstr,strlen(call->sdpc->answerstr));
data/linphone-4.4.0/console/sipomatic.c:472:3:  [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(20000);
data/linphone-4.4.0/console/wav2raw.c:39: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).
	name=malloc(strlen(argv[1])+10);
data/linphone-4.4.0/console/wav2raw.c:58:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	len=read(ifd,buf,20);
data/linphone-4.4.0/console/wav2raw.c:69:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ( (len=read(ifd,buf,200))>0){
data/linphone-4.4.0/coreapi/account_creator.c:94:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (display_name && (!strlen(display_name) || linphone_address_set_display_name(addr, display_name) != 0)) {
data/linphone-4.4.0/coreapi/account_creator.c:457: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).
	} else if (min_length > 0 && strlen(username) < (size_t)min_length) {
data/linphone-4.4.0/coreapi/account_creator.c:459: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).
	} else if (max_length > 0 && strlen(username) > (size_t)max_length) {
data/linphone-4.4.0/coreapi/account_creator.c:489: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(country_code) == 0 || strcmp(country_code, "+") == 0) return LinphoneAccountCreatorPhoneNumberStatusInvalidCountryCode;
data/linphone-4.4.0/coreapi/account_creator.c:504:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			int size = (int)strlen(phone_number);
data/linphone-4.4.0/coreapi/account_creator.c:540: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 (min_length > 0 && strlen(password) < (size_t)min_length) {
data/linphone-4.4.0/coreapi/account_creator.c:542: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).
	} else if (max_length > 0 && strlen(password) > (size_t)max_length) {
data/linphone-4.4.0/coreapi/authentication.c:71:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(tmp1,realm1,sizeof(tmp1)-1);
data/linphone-4.4.0/coreapi/authentication.c:72:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(tmp2,realm2,sizeof(tmp2)-1);
data/linphone-4.4.0/coreapi/bellesip_sal/sal_impl.c:180: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).
	size_t len = buffer != NULL ? strlen(buffer) : 0;
data/linphone-4.4.0/coreapi/bellesip_sal/sal_impl.c:191: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).
	size_t len = buffer != NULL ? strlen(buffer) : 0;
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:292: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).
		if ((stream->dtls_role != SalDtlsRoleInvalid) && (strlen(stream->dtls_fingerprint)>0)) {
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:541:9:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
			nb = sscanf ( belle_sdp_attribute_get_value ( attribute ), "%d %256s inline:%128s %256s",
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:558:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy ( stream->crypto[valid_count].master_key, tmp2, sizeof(stream->crypto[valid_count].master_key));
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:607: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).
			const char *endptr = value + strlen(ptr);
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:611:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(remote_candidate->addr, candidate.addr, sizeof(remote_candidate->addr));
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:620:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(stream->ice_ufrag, value, sizeof(stream->ice_ufrag)-1);
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:622:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(stream->ice_pwd, value, sizeof(stream->ice_pwd) -1);
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:811:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(stream->proto_other,proto,sizeof(stream->proto_other)-1);
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:815:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy ( stream->rtp_addr,belle_sdp_connection_get_address ( cnx ), sizeof ( stream->rtp_addr ) -1 );
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:830:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy ( stream->typeother,mtype,sizeof ( stream->typeother )-1 );
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:856:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(stream->mid, value, sizeof(stream->mid) - 1);
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:864:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(stream->rtcp_addr, stream->rtp_addr, sizeof(stream->rtcp_addr) - 1);
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:867:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		char *tmp = (char *)ms_malloc0(strlen(value));
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:872:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(stream->rtcp_addr, tmp, sizeof(stream->rtcp_addr));
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:893:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(stream->dtls_fingerprint, belle_sdp_attribute_get_value(attribute),sizeof(stream->dtls_fingerprint));
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:905:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy((char *)(stream->zrtphash), belle_sdp_attribute_get_value(attribute),sizeof(stream->zrtphash));
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:949:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			char *extmap_urn = (char*)bctbx_malloc0(strlen(attr_value) + 1);
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:964:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char *tmp = (char*)ms_malloc0(strlen(ids) + 1);
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:993:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy ( desc->addr,belle_sdp_connection_get_address ( cnx ),sizeof ( desc->addr ) -1  );
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:996:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(desc->name,belle_sdp_session_name_get_value(sname),sizeof(desc->name) - 1);
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:1029:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(desc->streams[i].dtls_fingerprint, value, sizeof(desc->streams[i].dtls_fingerprint));
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:1035:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	if (value) strncpy(desc->ice_ufrag, value, sizeof(desc->ice_ufrag) - 1);
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:1038:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	if (value) strncpy(desc->ice_pwd, value, sizeof(desc->ice_pwd)-1);
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:1053: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).
			if (value && strncasecmp(value, "BUNDLE", strlen("BUNDLE")) == 0){
data/linphone-4.4.0/coreapi/bellesip_sal/sal_sdp.c:1054: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).
				add_bundles(desc, value + strlen("BUNDLE"));
data/linphone-4.4.0/coreapi/buffer.c:93: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).
	buffer->size = strlen(content);
data/linphone-4.4.0/coreapi/call_log.c:147:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(cl->start_date,tmp,sizeof(cl->start_date));
data/linphone-4.4.0/coreapi/carddav.c:549:72:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		bh = belle_sip_memory_body_handler_new_copy_from_buffer(query->body, strlen(query->body), NULL, NULL);
data/linphone-4.4.0/coreapi/ec-calibrator.c:163:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(expected_tone.tone_name,"freq1",sizeof(expected_tone.tone_name));
data/linphone-4.4.0/coreapi/ec-calibrator.c:170:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(expected_tone.tone_name,"freq2",sizeof(expected_tone.tone_name));
data/linphone-4.4.0/coreapi/ec-calibrator.c:177:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy(expected_tone.tone_name,"freq3",sizeof(expected_tone.tone_name));
data/linphone-4.4.0/coreapi/ec-calibrator.c:199:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
		strncpy(tone.tone_name, "D", sizeof(tone.tone_name));
data/linphone-4.4.0/coreapi/ec-calibrator.c:205:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
		strncpy(tone.tone_name, "E", sizeof(tone.tone_name));
data/linphone-4.4.0/coreapi/ec-calibrator.c:211:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
		strncpy(tone.tone_name, "C", sizeof(tone.tone_name));
data/linphone-4.4.0/coreapi/ec-calibrator.c:217:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
		strncpy(tone.tone_name, "C", sizeof(tone.tone_name));
data/linphone-4.4.0/coreapi/ec-calibrator.c:223:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
		strncpy(tone.tone_name, "D", sizeof(tone.tone_name));
data/linphone-4.4.0/coreapi/ec-calibrator.c:229:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant character.
		strncpy(tone.tone_name, "E", sizeof(tone.tone_name));
data/linphone-4.4.0/coreapi/enum.c:34: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).
	long len=(long)strlen(number);
data/linphone-4.4.0/coreapi/fonis.c:68:18:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		if (l->size>0) strncpy(stun1,l->resource_uri[0],size);
data/linphone-4.4.0/coreapi/fonis.c:69:18:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		if (l->size>1) strncpy(stun2,l->resource_uri[1],size);
data/linphone-4.4.0/coreapi/fonis.c:81:18:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		if (l->size>0) strncpy(relay,l->resource_uri[0],size);
data/linphone-4.4.0/coreapi/friend.c:312: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).
	if (!lf || !lf->friend_list || !uri || strlen(uri) == 0) return;
data/linphone-4.4.0/coreapi/friend.c:339: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).
	if (!lf || !lf->friend_list || !uri || strlen(uri) == 0) return;
data/linphone-4.4.0/coreapi/friendlist.c:981: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).
	bctbx_md5((unsigned char *)xml_content, strlen(xml_content), digest);
data/linphone-4.4.0/coreapi/help/examples/C/filetransfer.c:129: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).
	for (i=0;i<sizeof(big_file);i+=strlen(big_file_content))
data/linphone-4.4.0/coreapi/help/examples/C/filetransfer.c: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).
		memcpy(big_file+i, big_file_content, strlen(big_file_content));
data/linphone-4.4.0/coreapi/help/examples/C/realtimetext_sender.c:116:15:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		character = getchar();
data/linphone-4.4.0/coreapi/ldapprovider.c:487: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).
		interact->len = strlen( (const char*)interact->result );
data/linphone-4.4.0/coreapi/ldapprovider.c:502: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).
		struct berval passwd = { strlen(obj->password), ms_strdup(obj->password)};
data/linphone-4.4.0/coreapi/lime.c:450: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).
	encryptedMessageLength = (uint32_t)strlen((char *)message) + 16;
data/linphone-4.4.0/coreapi/lime.c:451: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).
	encryptedContentTypeLength = (uint32_t)strlen((char *)contentType) + 16;
data/linphone-4.4.0/coreapi/lime.c:488: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).
		lime_encryptMessage(currentKey, message, (uint32_t)strlen((char *)message), selfZid, encryptedMessage);
data/linphone-4.4.0/coreapi/lime.c:489:75:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		lime_encryptMessage(currentKey, (const uint8_t *)contentType, (uint32_t)strlen((char *)contentType), selfZid, encryptedContentType);
data/linphone-4.4.0/coreapi/lime.c:594:84:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		bctbx_str_to_uint8(associatedKey.peerZID, (const uint8_t *)peerZidHex, (uint16_t)strlen(peerZidHex));
data/linphone-4.4.0/coreapi/lime.c:626:102:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						bctbx_base64_decode(NULL, &encryptedMessageLength, (const unsigned char *)encryptedMessageb64, strlen(encryptedMessageb64)); /* encryptedMessageLength is 0, so it will be set to the requested buffer length */
data/linphone-4.4.0/coreapi/lime.c:628:114:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						bctbx_base64_decode(encryptedMessage, &encryptedMessageLength, (const unsigned char *)encryptedMessageb64, strlen(encryptedMessageb64));
data/linphone-4.4.0/coreapi/lime.c:634:110:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						bctbx_base64_decode(NULL, &encryptedContentTypeLength, (const unsigned char *)encryptedContentTypeb64, strlen(encryptedContentTypeb64)); /* encryptedContentTypeLength is 0, so it will be set to the requested buffer length */
data/linphone-4.4.0/coreapi/lime.c:636:126:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						bctbx_base64_decode(encryptedContentType, &encryptedContentTypeLength, (const unsigned char *)encryptedContentTypeb64, strlen(encryptedContentTypeb64));
data/linphone-4.4.0/coreapi/linphone_tunnel_config.c:69: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).
	if(host != NULL && strlen(host)) {
data/linphone-4.4.0/coreapi/linphone_tunnel_config.c:91: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).
	if(host != NULL && strlen(host)) {
data/linphone-4.4.0/coreapi/linphonecore.c:1200:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (tmpstr!=NULL && (strlen(tmpstr)<1)) tmpstr=NULL;
data/linphone-4.4.0/coreapi/linphonecore.c:1259: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).
		size_t l=strlen(devid);
data/linphone-4.4.0/coreapi/linphonecore.c:1765:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (mime==NULL || strlen(mime)==0 ) return FALSE;
data/linphone-4.4.0/coreapi/linphonecore.c:7613:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (tls_cert && strlen(tls_cert) > 0) lc->tls_cert = ms_strdup(tls_cert);
data/linphone-4.4.0/coreapi/linphonecore.c:7621:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (tls_key && strlen(tls_key) > 0) lc->tls_key = ms_strdup(tls_key);
data/linphone-4.4.0/coreapi/linphonecore_jni.cc:83: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(str) < 512) {
data/linphone-4.4.0/coreapi/linphonecore_jni.cc:4657:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t length = strlen(message);
data/linphone-4.4.0/coreapi/lpc2xml.c:33: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).
	size = (int)strlen(in) + 1;
data/linphone-4.4.0/coreapi/lpc2xml.c:106: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).
	size_t sl = strlen(xmlCtx->errorBuffer);
data/linphone-4.4.0/coreapi/lpc2xml.c:163: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).
		if (strncmp(comment, entry, strlen(comment)) == 0) {
data/linphone-4.4.0/coreapi/lpconfig.c:279: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).
	size_t size=strlen(line)+1;
data/linphone-4.4.0/coreapi/lpconfig.c:294: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(secname) > 0) {
data/linphone-4.4.0/coreapi/lpconfig.c:301:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if (pos2 > pos1 + 1 + strlen(secname)) {
data/linphone-4.4.0/coreapi/lpconfig.c:303: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).
						pos2 = pos1 + 1 + strlen(secname) + 1; // Remove the white space after the secname
data/linphone-4.4.0/coreapi/lpconfig.c:314: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).
								pos2 += strlen(key) + strlen(value) + 2; // Remove the = sign + the white space after each param
data/linphone-4.4.0/coreapi/lpconfig.c:314: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).
								pos2 += strlen(key) + strlen(value) + 2; // Remove the = sign + the white space after each param
data/linphone-4.4.0/coreapi/lpconfig.c:349: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).
					if (pos2==NULL) pos2=pos1+strlen(pos1);
data/linphone-4.4.0/coreapi/lpconfig.c:923:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	(void) umask(S_IRWXG | S_IRWXO);
data/linphone-4.4.0/coreapi/lpconfig.c:1090:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(strlen(data) == 0) {
data/linphone-4.4.0/coreapi/misc.c:142:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(tmphost, input, sizeof(tmphost) - 1);
data/linphone-4.4.0/coreapi/misc.c:145:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(tmphost, input, sizeof(tmphost) - 1);
data/linphone-4.4.0/coreapi/misc.c:148:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(host,tmphost,hostlen);
data/linphone-4.4.0/coreapi/misc.c:183:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(audioCandidateAddr, client->getAudioCandidate().address.c_str(), LINPHONE_IPADDR_SIZE);
data/linphone-4.4.0/coreapi/misc.c:185:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(videoCandidateAddr, client->getVideoCandidate().address.c_str(), LINPHONE_IPADDR_SIZE);
data/linphone-4.4.0/coreapi/misc.c:187:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(textCandidateAddr, client->getTextCandidate().address.c_str(), LINPHONE_IPADDR_SIZE);
data/linphone-4.4.0/coreapi/misc.c:267:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(tmp,features,sizeof(tmp)-1);
data/linphone-4.4.0/coreapi/misc.c:319:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
				strncpy(result, "::1", LINPHONE_IPADDR_SIZE);
data/linphone-4.4.0/coreapi/misc.c:603: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).
			sep=pos+strlen(pos);
data/linphone-4.4.0/coreapi/offeranswer.c:278:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(result->master_key, local[j].master_key, sizeof(result->master_key) );
data/linphone-4.4.0/coreapi/offeranswer.c:284:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(result->master_key, remote[i].master_key, sizeof(result->master_key));
data/linphone-4.4.0/coreapi/offeranswer.c:416:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(result->mid, remote_answer->mid, sizeof(result->mid) - 1);
data/linphone-4.4.0/coreapi/offeranswer.c:446:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(result->rtcp_cname,local_offer->rtcp_cname,sizeof(result->rtcp_cname));
data/linphone-4.4.0/coreapi/offeranswer.c:450:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			&&(strlen(local_offer->dtls_fingerprint)>0) && (strlen(remote_answer->dtls_fingerprint)>0)) {
data/linphone-4.4.0/coreapi/offeranswer.c:450: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).
			&&(strlen(local_offer->dtls_fingerprint)>0) && (strlen(remote_answer->dtls_fingerprint)>0)) {
data/linphone-4.4.0/coreapi/offeranswer.c:451:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(result->dtls_fingerprint, remote_answer->dtls_fingerprint,sizeof(result->dtls_fingerprint));
data/linphone-4.4.0/coreapi/offeranswer.c:506:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(result->mid, remote_offer->mid, sizeof(result->mid) - 1);
data/linphone-4.4.0/coreapi/offeranswer.c:534:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy((char *)(result->zrtphash), (char *)(local_cap->zrtphash), sizeof(result->zrtphash));
data/linphone-4.4.0/coreapi/offeranswer.c:547:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(result->rtcp_cname,local_cap->rtcp_cname,sizeof(result->rtcp_cname));
data/linphone-4.4.0/coreapi/offeranswer.c:552:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			&& (strlen(local_cap->dtls_fingerprint)>0) && (strlen(remote_offer->dtls_fingerprint)>0)) {
data/linphone-4.4.0/coreapi/offeranswer.c:552: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).
			&& (strlen(local_cap->dtls_fingerprint)>0) && (strlen(remote_offer->dtls_fingerprint)>0)) {
data/linphone-4.4.0/coreapi/offeranswer.c:553:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(result->dtls_fingerprint, local_cap->dtls_fingerprint,sizeof(result->dtls_fingerprint));
data/linphone-4.4.0/coreapi/offeranswer.c:664:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(result->streams[i].typeother,rs->typeother,sizeof(rs->typeother)-1);
data/linphone-4.4.0/coreapi/offeranswer.c:667:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(result->streams[i].proto_other,rs->proto_other,sizeof(rs->proto_other)-1);
data/linphone-4.4.0/coreapi/plugins/buddylookup/src/lookup.c:81:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(dest,tmp,dest_size-1);
data/linphone-4.4.0/coreapi/plugins/buddylookup/src/lookup.c:95:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(bi->sip_uri,tmp,sizeof(bi->sip_uri)-1);
data/linphone-4.4.0/coreapi/plugins/buddylookup/src/lookup.c:113:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy(bi->image_type,"png",sizeof(bi->image_type));
data/linphone-4.4.0/coreapi/plugins/buddylookup/src/lookup.c:238:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (proxy && strlen(proxy)>0) set_proxy(req->session,proxy);
data/linphone-4.4.0/coreapi/proxy.c:340: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).
	if (server_addr!=NULL && strlen(server_addr)>0){
data/linphone-4.4.0/coreapi/proxy.c:379: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 (identity!=NULL && strlen(identity)>0){
data/linphone-4.4.0/coreapi/proxy.c:698: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).
	if (collector!=NULL && strlen(collector)>0){
data/linphone-4.4.0/coreapi/proxy.c:743: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).
	char *result=reinterpret_cast<char *>(ms_malloc0(strlen(number)+1));
data/linphone-4.4.0/coreapi/proxy.c:760:72:  [1] (buffer) strlen:
  Does not handle 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 (strstr(phone, icp) == phone) ?  ms_strdup_printf("+%s", phone+strlen(icp)) : ms_strdup(phone);
data/linphone-4.4.0/coreapi/proxy.c:767:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy(result, output, MIN(strlen(output) + 1, result_len));
data/linphone-4.4.0/coreapi/proxy.c:788: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).
				nationnal_significant_number +=strlen(dialplan->getCountryCallingCode().c_str());
data/linphone-4.4.0/coreapi/proxy.c:822:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
														+ MAX(0, (int)strlen(nationnal_significant_number)
data/linphone-4.4.0/coreapi/proxy.c:1019:71:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		linphone_content_set_buffer(content, (const uint8_t *)presence_body,strlen(presence_body));
data/linphone-4.4.0/coreapi/proxy.c:1408: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).
	if (tmp != NULL && strlen(tmp) > 0)
data/linphone-4.4.0/coreapi/proxy.c:1813:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (uri && strlen(uri) > 0) {
data/linphone-4.4.0/coreapi/proxy.c:1826:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (confUri && strlen(confUri)) {
data/linphone-4.4.0/coreapi/quality_reporting.c:301:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (report->info.local_addr.ip == NULL || strlen(report->info.local_addr.ip) == 0
data/linphone-4.4.0/coreapi/quality_reporting.c:302: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).
		|| report->info.remote_addr.ip == NULL || strlen(report->info.remote_addr.ip) == 0) {
data/linphone-4.4.0/coreapi/quality_reporting.c:308: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).
			, (report->info.local_addr.ip == NULL || strlen(report->info.local_addr.ip) == 0) ? "local" : "remote");
data/linphone-4.4.0/coreapi/quality_reporting.c:362: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).
	linphone_content_set_buffer(content, (uint8_t *)buffer, strlen(buffer));
data/linphone-4.4.0/coreapi/quality_reporting.c:436: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(local_desc->rtp_addr) > 0) {
data/linphone-4.4.0/coreapi/quality_reporting.c:447: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(remote_desc->rtp_addr) > 0) {
data/linphone-4.4.0/coreapi/remote_provisioning.c:96: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).
		const char* file_path = remote_provisioning_uri + strlen("file://"); // skip scheme
data/linphone-4.4.0/coreapi/remote_provisioning.c:101: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).
	} else if( scheme && strncmp(scheme, "http", 4) == 0 && host && strlen(host) > 0) {
data/linphone-4.4.0/coreapi/siplogin.c:31:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char *dn=(char*)ms_malloc(strlen(linphone_address_get_username(from))+3);
data/linphone-4.4.0/coreapi/sipsetup.c:150:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(ctx->domain,linphone_address_get_domain(from),sizeof(ctx->domain));
data/linphone-4.4.0/coreapi/sipsetup.c:152:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(ctx->username,linphone_address_get_username(from),sizeof(ctx->username));
data/linphone-4.4.0/coreapi/update_check.c:145:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (current_version == NULL || strlen(current_version) == 0) {
data/linphone-4.4.0/coreapi/vcard.cc:430: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).
	bctbx_md5((unsigned char *)text, strlen(text), vCard->md5);
data/linphone-4.4.0/coreapi/xml.c:54: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).
	size_t sl = strlen(xmlCtx->errorBuffer);
data/linphone-4.4.0/coreapi/xml2lpc.c:87: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).
	size_t sl = strlen(xmlCtx->errorBuffer);
data/linphone-4.4.0/coreapi/xml2lpc.c:96: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).
	size_t sl = strlen(xmlCtx->warningBuffer);
data/linphone-4.4.0/coreapi/xml2lpc.c:250: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(xmlCtx->warningBuffer) > 0)
data/linphone-4.4.0/coreapi/xml2lpc.c:252: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(xmlCtx->errorBuffer) > 0)
data/linphone-4.4.0/coreapi/xmlrpc.c:538: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).
	bh = belle_sip_memory_body_handler_new_copy_from_buffer(data, strlen(data), NULL, NULL);
data/linphone-4.4.0/daemon/daemon-pipetest.c:64:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ReadFile(hin, buf, sizeof(buf), &read, NULL);
data/linphone-4.4.0/daemon/daemon-pipetest.c:65:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read > 2) {
data/linphone-4.4.0/daemon/daemon-pipetest.c:67: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).
			if (ortp_pipe_write(fd, (uint8_t *)buf, (int)strlen(buf)) < 0) {
data/linphone-4.4.0/daemon/daemon-pipetest.c:71:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if (read > 0) {
data/linphone-4.4.0/daemon/daemon-pipetest.c:72:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					WriteFile(hout, buf, read, &written, NULL);
data/linphone-4.4.0/daemon/daemon-pipetest.c:93:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if ((bytes=read(pfds[0].fd,buf,sizeof(buf)))>0){
data/linphone-4.4.0/daemon/daemon-pipetest.c:105:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				if ((bytes=read(pfds[1].fd,buf,sizeof(buf)))>0){
data/linphone-4.4.0/daemon/daemon.cc:98:6:  [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.
void usleep(int waitTime) {
data/linphone-4.4.0/daemon/daemon.cc:124:3:  [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(20000);
data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp:129:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen(username) != 0 ? username : NULL;
data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp:134:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen(algo) != 0 ? algo : NULL;
data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp:143:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen(passwd) != 0 ? passwd : NULL;
data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp:148:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen(userid) != 0 ? userid : NULL;
data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp:153:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen(realm) != 0 ? realm : NULL;
data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp:158:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen(domain) != 0 ? domain : NULL;
data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp:163:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen(ha1) != 0 ? ha1 : NULL;
data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp:168:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen(tlsCert) != 0 ? tlsCert : NULL;
data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp:173:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen(tlsKey) != 0 ? tlsKey : NULL;
data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp:178:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen(tlsCertPath) != 0 ? tlsCertPath : NULL;
data/linphone-4.4.0/src/c-wrapper/api/c-auth-info.cpp:183:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return strlen(tlsKeyPath) != 0 ? tlsKeyPath : NULL;
data/linphone-4.4.0/src/c-wrapper/api/c-push-notification-message.cpp:56: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).
	return strlen(call_id) != 0 ? call_id : NULL;
data/linphone-4.4.0/src/c-wrapper/api/c-push-notification-message.cpp:65: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).
	return strlen(text) != 0 ? text : NULL;
data/linphone-4.4.0/src/c-wrapper/api/c-push-notification-message.cpp:70: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).
	return strlen(subject) != 0 ? subject : NULL;
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:75:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(stream->mid, mid ? mid : "", sizeof(stream->mid));
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:720:103:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static int line_get_value(const char *input, const char *key, char *value, size_t value_size, size_t *read) {
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:724:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	char *equal;
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:727:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (!end) len = strlen(input);
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:730:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(line, input, MIN(len, sizeof(line)));
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:733:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	if (!equal) return FALSE;
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:740: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(equal) >= value_size) equal[value_size - 1] = '\0';
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:740:13:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	if (strlen(equal) >= value_size) equal[value_size - 1] = '\0';
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:740:35:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	if (strlen(equal) >= value_size) equal[value_size - 1] = '\0';
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:741:13:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	if (sscanf(equal, "%s", value) != 1) return FALSE;
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:749:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (line_get_value(data, key, value, value_size, &read))
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:751:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		data += read;
data/linphone-4.4.0/src/c-wrapper/internal/c-sal.cpp:752:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	} while (read != 0);
data/linphone-4.4.0/src/chat/modifier/file-transfer-chat-message-modifier.cpp:316: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 (body && strlen(body) > 0) {
data/linphone-4.4.0/src/chat/modifier/file-transfer-chat-message-modifier.cpp:587: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).
							size_t keyb64Length = strlen(reinterpret_cast<char *>(keyb64));
data/linphone-4.4.0/src/chat/modifier/file-transfer-chat-message-modifier.cpp:605: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 authTagb64Length = strlen(reinterpret_cast<char *>(authTagb64));
data/linphone-4.4.0/src/chat/modifier/file-transfer-chat-message-modifier.cpp:717:71:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							bctbx_base64_decode(NULL, &keyLength, (unsigned char *)keyb64, strlen((const char *)keyb64));
data/linphone-4.4.0/src/chat/modifier/file-transfer-chat-message-modifier.cpp:720:76:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
							bctbx_base64_decode(keyBuffer, &keyLength, (unsigned char *)keyb64, strlen((const char *)keyb64));
data/linphone-4.4.0/src/conference/session/audio-stream.cpp:425: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).
			lInfo() << "Writing echo canceler state, " << (int)strlen(stateStr) << " bytes";
data/linphone-4.4.0/src/conference/session/audio-stream.cpp:448:94:  [1] (buffer) strlen:
  Does not handle 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 retval = ms_zrtp_setPeerHelloHash(mSessions.zrtp_context, (uint8_t *)remote->zrtphash, strlen((const char *)(remote->zrtphash)));
data/linphone-4.4.0/src/conference/session/media-session.cpp:1132:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(md->name, subject.c_str(), sizeof(md->name));
data/linphone-4.4.0/src/conference/session/media-session.cpp:1148:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(md->addr, mediaLocalIp.c_str(), sizeof(md->addr));
data/linphone-4.4.0/src/conference/session/media-session.cpp:1158:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(md->username, linphone_address_get_username(addr), sizeof(md->username));
data/linphone-4.4.0/src/conference/session/media-session.cpp:1184:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy(md->streams[mainAudioStreamIndex].name, "Audio", sizeof(md->streams[mainAudioStreamIndex].name) - 1);
data/linphone-4.4.0/src/conference/session/media-session.cpp:1194:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(md->streams[mainAudioStreamIndex].rtcp_cname, getMe()->getAddress().asString().c_str(), sizeof(md->streams[mainAudioStreamIndex].rtcp_cname));
data/linphone-4.4.0/src/conference/session/media-session.cpp:1222:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy(md->streams[mainVideoStreamIndex].name, "Video", sizeof(md->streams[mainVideoStreamIndex].name) - 1);
data/linphone-4.4.0/src/conference/session/media-session.cpp:1224:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(md->streams[mainVideoStreamIndex].rtcp_cname, getMe()->getAddress().asString().c_str(), sizeof(md->streams[mainVideoStreamIndex].rtcp_cname));
data/linphone-4.4.0/src/conference/session/media-session.cpp:1253:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy(md->streams[mainTextStreamIndex].name, "Text", sizeof(md->streams[mainTextStreamIndex].name) - 1);
data/linphone-4.4.0/src/conference/session/media-session.cpp:1255:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(md->streams[mainTextStreamIndex].rtcp_cname, getMe()->getAddress().asString().c_str(), sizeof(md->streams[mainTextStreamIndex].rtcp_cname));
data/linphone-4.4.0/src/conference/session/ms2-stream.cpp:150:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(localDesc->rtp_addr, getPublicIp().c_str(), sizeof(localDesc->rtp_addr) - 1);
data/linphone-4.4.0/src/conference/session/ms2-stream.cpp:151:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(localDesc->rtcp_addr, getPublicIp().c_str(), sizeof(localDesc->rtcp_addr) -1);
data/linphone-4.4.0/src/conference/session/ms2-stream.cpp:177:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(localDesc->dtls_fingerprint, mDtlsFingerPrint.c_str(), sizeof(localDesc->dtls_fingerprint) - 1);
data/linphone-4.4.0/src/conference/session/video-stream.cpp:379:102:  [1] (buffer) strlen:
  Does not handle 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 retval = ms_zrtp_setPeerHelloHash(mSessions.zrtp_context, (uint8_t *)remoteStream->zrtphash, strlen((const char *)(remoteStream->zrtphash)));
data/linphone-4.4.0/src/core/platform-helpers/platform-helpers.cpp:177:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(core->localip4, newIp4, sizeof core->localip4);
data/linphone-4.4.0/src/core/platform-helpers/platform-helpers.cpp:178:19:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	if (ipv6Enabled) strncpy(core->localip6, newIp6, sizeof core->localip6);
data/linphone-4.4.0/src/db/main-db.cpp:103:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	in.read(0, &out[0], len);
data/linphone-4.4.0/src/nat/ice-service.cpp:347: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).
			if (addr && (candidate->port == port) && (strlen(candidate->addr) == strlen(addr)) && (strcmp(candidate->addr, addr) == 0))
data/linphone-4.4.0/src/nat/ice-service.cpp:347:73:  [1] (buffer) strlen:
  Does not handle 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 (addr && (candidate->port == port) && (strlen(candidate->addr) == strlen(addr)) && (strcmp(candidate->addr, addr) == 0))
data/linphone-4.4.0/src/nat/ice-service.cpp:458:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(desc->addr, rtpCandidate->taddr.ip, sizeof(desc->addr));
data/linphone-4.4.0/src/nat/ice-service.cpp:465:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(desc->ice_pwd, ice_session_local_pwd(mIceSession), sizeof(desc->ice_pwd)-1);
data/linphone-4.4.0/src/nat/ice-service.cpp:466:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(desc->ice_ufrag, ice_session_local_ufrag(mIceSession), sizeof(desc->ice_ufrag)-1);
data/linphone-4.4.0/src/nat/ice-service.cpp:480:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(stream->rtp_addr, rtpCandidate->taddr.ip, sizeof(stream->rtp_addr));
data/linphone-4.4.0/src/nat/ice-service.cpp:481:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(stream->rtcp_addr, rtcpCandidate->taddr.ip, sizeof(stream->rtcp_addr));
data/linphone-4.4.0/src/nat/ice-service.cpp:488: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(ice_check_list_local_pwd(cl)) != strlen(desc->ice_pwd)) || (strcmp(ice_check_list_local_pwd(cl), desc->ice_pwd)))
data/linphone-4.4.0/src/nat/ice-service.cpp:488:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((strlen(ice_check_list_local_pwd(cl)) != strlen(desc->ice_pwd)) || (strcmp(ice_check_list_local_pwd(cl), desc->ice_pwd)))
data/linphone-4.4.0/src/nat/ice-service.cpp:489:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(stream->ice_pwd, ice_check_list_local_pwd(cl), sizeof(stream->ice_pwd) - 1);
data/linphone-4.4.0/src/nat/ice-service.cpp:492: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(ice_check_list_local_ufrag(cl)) != strlen(desc->ice_ufrag)) || (strcmp(ice_check_list_local_ufrag(cl), desc->ice_ufrag)))
data/linphone-4.4.0/src/nat/ice-service.cpp:492: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).
		if ((strlen(ice_check_list_local_ufrag(cl)) != strlen(desc->ice_ufrag)) || (strcmp(ice_check_list_local_ufrag(cl), desc->ice_ufrag)))
data/linphone-4.4.0/src/nat/ice-service.cpp:493:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(stream->ice_ufrag, ice_check_list_local_ufrag(cl), sizeof(stream->ice_ufrag) -1 );
data/linphone-4.4.0/src/nat/ice-service.cpp:518: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).
					!((iceCandidate->taddr.port == defaultPort) && (strlen(iceCandidate->taddr.ip) == strlen(defaultAddr)) && (strcmp(iceCandidate->taddr.ip, defaultAddr) == 0))
data/linphone-4.4.0/src/nat/ice-service.cpp:518:88:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					!((iceCandidate->taddr.port == defaultPort) && (strlen(iceCandidate->taddr.ip) == strlen(defaultAddr)) && (strcmp(iceCandidate->taddr.ip, defaultAddr) == 0))
data/linphone-4.4.0/src/nat/ice-service.cpp:521:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(salCandidate->foundation, iceCandidate->foundation, sizeof(salCandidate->foundation));
data/linphone-4.4.0/src/nat/ice-service.cpp:524:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(salCandidate->type, ice_candidate_type(iceCandidate), sizeof(salCandidate->type) - 1);
data/linphone-4.4.0/src/nat/ice-service.cpp:525:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(salCandidate->addr, iceCandidate->taddr.ip, sizeof(salCandidate->addr));
data/linphone-4.4.0/src/nat/ice-service.cpp:528:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(salCandidate->raddr, iceCandidate->base->taddr.ip, sizeof(salCandidate->raddr));
data/linphone-4.4.0/src/nat/ice-service.cpp:537:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(stream->ice_remote_candidates[0].addr, rtpCandidate->taddr.ip, sizeof(stream->ice_remote_candidates[0].addr));
data/linphone-4.4.0/src/nat/ice-service.cpp:540:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(stream->ice_remote_candidates[1].addr, rtcpCandidate->taddr.ip, sizeof(stream->ice_remote_candidates[1].addr));
data/linphone-4.4.0/src/nat/stun-client.cpp:153:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(md->streams[i].rtp_addr, audioCandidate.address.c_str(), sizeof(md->streams[i].rtp_addr));
data/linphone-4.4.0/src/nat/stun-client.cpp:163:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(md->addr, audioCandidate.address.c_str(), sizeof(md->addr));
data/linphone-4.4.0/src/nat/stun-client.cpp:167:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(md->streams[i].rtp_addr, videoCandidate.address.c_str(), sizeof(md->streams[i].rtp_addr));
data/linphone-4.4.0/src/nat/stun-client.cpp:170:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(md->streams[i].rtp_addr, textCandidate.address.c_str(), sizeof(md->streams[i].rtp_addr));
data/linphone-4.4.0/src/sal/call-op.cpp:333:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		strncpy(value, "::0", sz);
data/linphone-4.4.0/src/sal/call-op.cpp:335:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		strncpy(value, "0.0.0.0", sz);
data/linphone-4.4.0/src/sal/call-op.cpp:1577: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 bodylen = strlen(body);
data/linphone-4.4.0/src/sal/call-op.cpp:1690: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).
	size_t contentLength = strlen(sipfrag);
data/linphone-4.4.0/src/sal/call-op.cpp:1784:78:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		&& (strncasecmp(belle_sip_header_get_unparsed_value(eventHeader), "refer", strlen("refer")) == 0)
data/linphone-4.4.0/src/sal/op.cpp:1036: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 urlLength = strlen(belle_sip_parameters_get_parameter(BELLE_SIP_PARAMETERS(contentTypeHeader), "URL"));
data/linphone-4.4.0/src/sal/presence-op.cpp:399: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).
		size_t contentLength = strlen(content);
data/linphone-4.4.0/src/xml/conference-info.h:62:28:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
#error XSD runtime version mismatch
data/linphone-4.4.0/src/xml/imdn.h:63:28:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
#error XSD runtime version mismatch
data/linphone-4.4.0/src/xml/is-composing.h:62:28:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
#error XSD runtime version mismatch
data/linphone-4.4.0/src/xml/linphone-imdn.h:63:28:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
#error XSD runtime version mismatch
data/linphone-4.4.0/src/xml/resource-lists.h:63:28:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
#error XSD runtime version mismatch
data/linphone-4.4.0/src/xml/rlmi.h:62:28:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
#error XSD runtime version mismatch
data/linphone-4.4.0/src/xml/xml.h:62:28:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
#error XSD runtime version mismatch
data/linphone-4.4.0/tester/audio_bypass_tester.c:72:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ssize_t len = read(fd, (char*)riff_chunk, sizeof(riff_t)) ;
data/linphone-4.4.0/tester/audio_bypass_tester.c:81:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	len = read(fd, (char*)format_chunk, sizeof(format_t)) ;
data/linphone-4.4.0/tester/audio_bypass_tester.c:95:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		len = read(fd, data_chunk, sizeof(data_t)) ;
data/linphone-4.4.0/tester/audio_bypass_tester.c:195:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				err=read(d->fd,om->b_wptr,bytes);
data/linphone-4.4.0/tester/audio_bypass_wav_header.h:49:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	#define read _read
data/linphone-4.4.0/tester/call_ice_tester.c:227: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(ip)==0) return FALSE;
data/linphone-4.4.0/tester/call_single_tester.c:197:71:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		linphone_content_set_buffer(content, (const uint8_t *)info_content, strlen(info_content));
data/linphone-4.4.0/tester/call_single_tester.c:2713: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).
				BC_ASSERT_TRUE(strlen(pauline_token)>0);
data/linphone-4.4.0/tester/call_single_tester.c:2714: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).
				BC_ASSERT_TRUE(strlen(marie_token)>0);
data/linphone-4.4.0/tester/call_single_tester.c:4380: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).
			src[i] ^= (unsigned char) XOR_KEY[i % strlen(XOR_KEY)];
data/linphone-4.4.0/tester/call_single_tester.c:4398: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).
			src[i] ^= (unsigned char) XOR_KEY[i % strlen(XOR_KEY)];
data/linphone-4.4.0/tester/conference-event-tester.cpp:547:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t size = strlen(first_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:547: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).
	size_t size = strlen(first_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:585:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t size = strlen(first_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:585: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).
	size_t size = strlen(first_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:615:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t size = strlen(first_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:615: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).
	size_t size = strlen(first_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:617: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 size2 = strlen(participant_added_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:617: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).
	size_t size2 = strlen(participant_added_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:661:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t size = strlen(first_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:661: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).
	size_t size = strlen(first_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:663: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 size2 = strlen(participant_not_added_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:663:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t size2 = strlen(participant_not_added_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:704:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t size = strlen(first_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:704: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).
	size_t size = strlen(first_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:706: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 size2 = strlen(participant_deleted_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:706: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).
	size_t size2 = strlen(participant_deleted_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:747:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t size = strlen(first_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:747: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).
	size_t size = strlen(first_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:749: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 size2 = strlen(participant_admined_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:749: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).
	size_t size2 = strlen(participant_admined_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:789:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t size = strlen(first_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:789: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).
	size_t size = strlen(first_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:791: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 size2 = strlen(participant_unadmined_notify) + strlen(confUri);
data/linphone-4.4.0/tester/conference-event-tester.cpp:791:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t size2 = strlen(participant_unadmined_notify) + strlen(confUri);
data/linphone-4.4.0/tester/dtmf_tester.c:69: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).
		BC_ASSERT_TRUE(wait_for_until(marie->lc, pauline->lc, &pauline->stat.dtmf_count, (int)(dtmf_count_prev + strlen(dtmf_seq)), (int)(10000 + dtmf_delay_ms * strlen(dtmf_seq))));
data/linphone-4.4.0/tester/dtmf_tester.c:69:157:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		BC_ASSERT_TRUE(wait_for_until(marie->lc, pauline->lc, &pauline->stat.dtmf_count, (int)(dtmf_count_prev + strlen(dtmf_seq)), (int)(10000 + dtmf_delay_ms * strlen(dtmf_seq))));
data/linphone-4.4.0/tester/eventapi_tester.c:51:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	linphone_content_set_buffer(content,(const uint8_t *)subscribe_content,strlen(subscribe_content));
data/linphone-4.4.0/tester/eventapi_tester.c:99:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	linphone_content_set_buffer(content,(const uint8_t *)subscribe_content,strlen(subscribe_content));
data/linphone-4.4.0/tester/eventapi_tester.c:157:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	linphone_content_set_buffer(content,(const uint8_t *)subscribe_content,strlen(subscribe_content));
data/linphone-4.4.0/tester/eventapi_tester.c:242:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	linphone_content_set_buffer(content,(const uint8_t *)subscribe_content,strlen(subscribe_content));
data/linphone-4.4.0/tester/eventapi_tester.c:307:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	linphone_content_set_buffer(content,(const uint8_t *)subscribe_content,strlen(subscribe_content));
data/linphone-4.4.0/tester/eventapi_tester.c:361:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	linphone_content_set_buffer(content,(const uint8_t *)subscribe_content,strlen(subscribe_content));
data/linphone-4.4.0/tester/eventapi_tester.c:407:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	linphone_content_set_buffer(content,(const uint8_t *)subscribe_content,strlen(subscribe_content));
data/linphone-4.4.0/tester/eventapi_tester.c:463:70:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	linphone_content_set_buffer(content,(const uint8_t *)notify_content,strlen(notify_content));
data/linphone-4.4.0/tester/flexisip_tester.c:47:100:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	linphone_content_set_buffer(content, (const uint8_t *)liblinphone_tester_get_subscribe_content(), strlen(liblinphone_tester_get_subscribe_content()));
data/linphone-4.4.0/tester/flexisip_tester.c:1095: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).
		BC_ASSERT_NSTRING_EQUAL(linphone_chat_message_get_text(marie->stat.last_received_chat_message), passmsg, strlen(passmsg));
data/linphone-4.4.0/tester/flexisip_tester.c:1232:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	linphone_content_set_buffer(content,(const uint8_t *)subscribe_content,strlen(subscribe_content));
data/linphone-4.4.0/tester/group_chat_benchmark.c:57: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(str) < 512) {
data/linphone-4.4.0/tester/group_chat_tester.c:260:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	BC_ASSERT_EQUAL(read, file_size, int, "%d");
data/linphone-4.4.0/tester/group_chat_tester.c:923: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).
			bctbx_base64_decode(NULL, &b64Size, (unsigned char *)msg_str, strlen(msg_str));
data/linphone-4.4.0/tester/group_chat_tester.c:925:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			bctbx_base64_decode(output, &b64Size, (unsigned char *)msg_str, strlen(msg_str));
data/linphone-4.4.0/tester/group_chat_tester.c:945:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		bctbx_base64_encode(NULL, &b64Size, (unsigned char *)msg_str, strlen(msg_str));
data/linphone-4.4.0/tester/group_chat_tester.c:947:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		bctbx_base64_encode(output, &b64Size, (unsigned char *)msg_str, strlen(msg_str));
data/linphone-4.4.0/tester/group_chat_tester.c:2546:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
				BC_ASSERT_TRUE(equal);
data/linphone-4.4.0/tester/liblinphone_tester.c:129: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).
    len = (int)strlen(cString);
data/linphone-4.4.0/tester/liblinphone_tester.c:153: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(str) < 512) {
data/linphone-4.4.0/tester/log_collection_tester.c:59:6:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	c = fgetc(stream);
data/linphone-4.4.0/tester/log_collection_tester.c:86:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		c = fgetc(stream);
data/linphone-4.4.0/tester/log_collection_tester.c:139: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).
			memset(buffer, 0, strlen(buffer));
data/linphone-4.4.0/tester/log_collection_tester.c:203: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(line) > 24) {
data/linphone-4.4.0/tester/log_collection_tester.c:291: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).
			BC_ASSERT_GREATER((int)strlen(info), 0, int, "%d");
data/linphone-4.4.0/tester/message_tester.c:1083:72:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			linphone_content_set_buffer(content, (const uint8_t *)info_content, strlen(info_content));
data/linphone-4.4.0/tester/message_tester.c:1109: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).
				BC_ASSERT_EQUAL((int)linphone_content_get_size(content),(int)strlen(info_content), int, "%d");
data/linphone-4.4.0/tester/message_tester.c:1870:100:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		bctbx_str_to_uint8(associatedKey.peerZID, (const uint8_t *)"0987654321fedcba5a5a5a5a", (uint16_t)strlen("0987654321fedcba5a5a5a5a"));
data/linphone-4.4.0/tester/message_tester.c:2152: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).
			for (i = 0; i < strlen(message); i++) {
data/linphone-4.4.0/tester/message_tester.c:2247: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).
			for (i = 0; i < strlen(message1_1); i++) {
data/linphone-4.4.0/tester/message_tester.c:2285: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).
			for (i = 0; i < strlen(message2_1); i++) {
data/linphone-4.4.0/tester/message_tester.c:2365: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).
			for (i = 0; i < strlen(message); i++) {
data/linphone-4.4.0/tester/message_tester.c:2376:121:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			BC_ASSERT_TRUE(wait_for_until(pauline->lc, marie->lc, &marie->stat.number_of_LinphoneIsComposingActiveReceived, (int)strlen(message), 1000));
data/linphone-4.4.0/tester/message_tester.c:2651:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			for (i = 1; i <= strlen(message); i++) {
data/linphone-4.4.0/tester/message_tester.c:2813: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).
			bctbx_base64_decode(NULL, &b64Size, (unsigned char *)data, strlen(data));
data/linphone-4.4.0/tester/message_tester.c:2814: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).
			output = (unsigned char *)ms_malloc(b64Size+1+strlen(" is secured by base64")),
data/linphone-4.4.0/tester/message_tester.c:2815:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			bctbx_base64_decode(output, &b64Size, (unsigned char *)data, strlen(data));
data/linphone-4.4.0/tester/message_tester.c:2850:93:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		bctbx_base64_encode(NULL, &b64Size, (unsigned char *)linphone_chat_message_get_text(msg), strlen(linphone_chat_message_get_text(msg)));
data/linphone-4.4.0/tester/message_tester.c:2852:95:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		bctbx_base64_encode(output, &b64Size, (unsigned char *)linphone_chat_message_get_text(msg), strlen(linphone_chat_message_get_text(msg)));
data/linphone-4.4.0/tester/proxy_config_tester.c:31: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).
		memcpy(result, output, strlen(output)+1);
data/linphone-4.4.0/tester/proxy_config_tester.c:205:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	LinphoneAddress *read, *expected;
data/linphone-4.4.0/tester/proxy_config_tester.c:234:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	BC_ASSERT_TRUE(linphone_address_equal(read,expected));
data/linphone-4.4.0/tester/proxy_config_tester.c:235:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	linphone_address_unref(read);
data/linphone-4.4.0/tester/quality_reporting_tester.c:218: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).
	size_t corrupted_len = strlen(corrupted_str);
data/linphone-4.4.0/tester/quality_reporting_tester.c:219:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(body, corrupted_str, corrupted_len + 1);
data/linphone-4.4.0/tester/quality_reporting_tester.c:433: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).
			for (i = 0; i < strlen(message); i++) {
data/linphone-4.4.0/tester/setup_tester.c:1447: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).
	for (size_t i = 1; i < strlen(searchedFriend) ; i++) {
data/linphone-4.4.0/tester/setup_tester.c:1806: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).
		BC_ASSERT_EQUAL((strlen(e164)-strlen(calling_code) -1) ,linphone_dial_plan_get_national_number_length(dialplan),int,"%i");
data/linphone-4.4.0/tester/setup_tester.c:1806: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).
		BC_ASSERT_EQUAL((strlen(e164)-strlen(calling_code) -1) ,linphone_dial_plan_get_national_number_length(dialplan),int,"%i");
data/linphone-4.4.0/tester/tester.c:1205: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).
		ipaddr[strlen(ipaddr)] = '\0';
data/linphone-4.4.0/tester/tester.c:1399:70:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	linphone_content_set_buffer(content,(const uint8_t *)notify_content,strlen(notify_content));
data/linphone-4.4.0/tester/tester.c:2041:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(method, linphone_address_get_method_param(refer_to_addr), sizeof(method));
data/linphone-4.4.0/tools/test_ecc.c:43:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(config_file, argv[2], 1024);

ANALYSIS SUMMARY:

Hits = 950
Lines analyzed = 238358 in approximately 6.81 seconds (34980 lines/second)
Physical Source Lines of Code (SLOC) = 162934
Hits@level = [0] 272 [1] 367 [2] 443 [3]  21 [4] 118 [5]   1
Hits@level+ = [0+] 1222 [1+] 950 [2+] 583 [3+] 140 [4+] 119 [5+]   1
Hits/KSLOC@level+ = [0+] 7.49997 [1+] 5.83058 [2+] 3.57814 [3+] 0.859244 [4+] 0.730357 [5+] 0.00613745
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.