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/pidgin-2.13.0/finch/gntidle.c Examining data/pidgin-2.13.0/finch/gntui.h Examining data/pidgin-2.13.0/finch/gntlog.h Examining data/pidgin-2.13.0/finch/gntstatus.c Examining data/pidgin-2.13.0/finch/gntsound.c Examining data/pidgin-2.13.0/finch/gntprefs.c Examining data/pidgin-2.13.0/finch/gntconv.c Examining data/pidgin-2.13.0/finch/gntmedia.c Examining data/pidgin-2.13.0/finch/gntblist.h Examining data/pidgin-2.13.0/finch/gntsound.h Examining data/pidgin-2.13.0/finch/gntft.c Examining data/pidgin-2.13.0/finch/plugins/gntclipboard.c Examining data/pidgin-2.13.0/finch/plugins/grouping.c Examining data/pidgin-2.13.0/finch/plugins/gnttinyurl.c Examining data/pidgin-2.13.0/finch/plugins/gnthistory.c Examining data/pidgin-2.13.0/finch/plugins/lastlog.c Examining data/pidgin-2.13.0/finch/plugins/gntgf.c Examining data/pidgin-2.13.0/finch/gntrequest.c Examining data/pidgin-2.13.0/finch/gntpounce.c Examining data/pidgin-2.13.0/finch/getopt.c Examining data/pidgin-2.13.0/finch/gntidle.h Examining data/pidgin-2.13.0/finch/getopt1.c Examining data/pidgin-2.13.0/finch/gntnotify.c Examining data/pidgin-2.13.0/finch/getopt.h Examining data/pidgin-2.13.0/finch/gntplugin.h Examining data/pidgin-2.13.0/finch/gntconv.h Examining data/pidgin-2.13.0/finch/gntnotify.h Examining data/pidgin-2.13.0/finch/libgnt/gntfilesel.h Examining data/pidgin-2.13.0/finch/libgnt/gntwindow.c Examining data/pidgin-2.13.0/finch/libgnt/gntcombobox.h Examining data/pidgin-2.13.0/finch/libgnt/gntmenu.c Examining data/pidgin-2.13.0/finch/libgnt/gntclipboard.c Examining data/pidgin-2.13.0/finch/libgnt/gntbutton.c Examining data/pidgin-2.13.0/finch/libgnt/gntstyle.h Examining data/pidgin-2.13.0/finch/libgnt/gntmarshal.c Examining data/pidgin-2.13.0/finch/libgnt/gntlabel.h Examining data/pidgin-2.13.0/finch/libgnt/gntinternal.h Examining data/pidgin-2.13.0/finch/libgnt/gnttree.h Examining data/pidgin-2.13.0/finch/libgnt/gntkeys.h Examining data/pidgin-2.13.0/finch/libgnt/gntbindable.h Examining data/pidgin-2.13.0/finch/libgnt/gntslider.h Examining data/pidgin-2.13.0/finch/libgnt/gntcheckbox.h Examining data/pidgin-2.13.0/finch/libgnt/gnttree.c Examining data/pidgin-2.13.0/finch/libgnt/gntprogressbar.h Examining data/pidgin-2.13.0/finch/libgnt/gntws.c Examining data/pidgin-2.13.0/finch/libgnt/wms/s.c Examining data/pidgin-2.13.0/finch/libgnt/wms/irssi.c Examining data/pidgin-2.13.0/finch/libgnt/gntmenuitemcheck.h Examining data/pidgin-2.13.0/finch/libgnt/gntcheckbox.c Examining data/pidgin-2.13.0/finch/libgnt/gntws.h Examining data/pidgin-2.13.0/finch/libgnt/gntcolors.c Examining data/pidgin-2.13.0/finch/libgnt/gntline.c Examining data/pidgin-2.13.0/finch/libgnt/gntslider.c Examining data/pidgin-2.13.0/finch/libgnt/gntline.h Examining data/pidgin-2.13.0/finch/libgnt/gntmenuitemcheck.c Examining data/pidgin-2.13.0/finch/libgnt/gntmenuitem.h Examining data/pidgin-2.13.0/finch/libgnt/gntstyle.c Examining data/pidgin-2.13.0/finch/libgnt/gntwidget.h Examining data/pidgin-2.13.0/finch/libgnt/gnttextview.c Examining data/pidgin-2.13.0/finch/libgnt/gnt.h Examining data/pidgin-2.13.0/finch/libgnt/gntfilesel.c Examining data/pidgin-2.13.0/finch/libgnt/gntentry.h Examining data/pidgin-2.13.0/finch/libgnt/gntclipboard.h Examining data/pidgin-2.13.0/finch/libgnt/gntcombobox.c Examining data/pidgin-2.13.0/finch/libgnt/gntwm.h Examining data/pidgin-2.13.0/finch/libgnt/gntwindow.h Examining data/pidgin-2.13.0/finch/libgnt/gntlabel.c Examining data/pidgin-2.13.0/finch/libgnt/gntmain.c Examining data/pidgin-2.13.0/finch/libgnt/gntbox.h Examining data/pidgin-2.13.0/finch/libgnt/gntbutton.h Examining data/pidgin-2.13.0/finch/libgnt/gntprogressbar.c Examining data/pidgin-2.13.0/finch/libgnt/gntmenuitem.c Examining data/pidgin-2.13.0/finch/libgnt/gntwm.c Examining data/pidgin-2.13.0/finch/libgnt/gntcolors.h Examining data/pidgin-2.13.0/finch/libgnt/gntbindable.c Examining data/pidgin-2.13.0/finch/libgnt/gntentry.c Examining data/pidgin-2.13.0/finch/libgnt/gntbox.c Examining data/pidgin-2.13.0/finch/libgnt/gntmenu.h Examining data/pidgin-2.13.0/finch/libgnt/gntutils.c Examining data/pidgin-2.13.0/finch/libgnt/gntutils.h Examining data/pidgin-2.13.0/finch/libgnt/gntmarshal.h Examining data/pidgin-2.13.0/finch/libgnt/gntkeys.c Examining data/pidgin-2.13.0/finch/libgnt/gntwidget.c Examining data/pidgin-2.13.0/finch/libgnt/gnttextview.h Examining data/pidgin-2.13.0/finch/gntcertmgr.c Examining data/pidgin-2.13.0/finch/gntplugin.c Examining data/pidgin-2.13.0/finch/gntaccount.c Examining data/pidgin-2.13.0/finch/gntprefs.h Examining data/pidgin-2.13.0/finch/gntroomlist.h Examining data/pidgin-2.13.0/finch/gntconn.h Examining data/pidgin-2.13.0/finch/finch.c Examining data/pidgin-2.13.0/finch/gntdebug.h Examining data/pidgin-2.13.0/finch/gntmedia.h Examining data/pidgin-2.13.0/finch/gntlog.c Examining data/pidgin-2.13.0/finch/gntdebug.c Examining data/pidgin-2.13.0/finch/gntrequest.h Examining data/pidgin-2.13.0/finch/gntui.c Examining data/pidgin-2.13.0/finch/gntstatus.h Examining data/pidgin-2.13.0/finch/gntcertmgr.h Examining data/pidgin-2.13.0/finch/gntroomlist.c Examining data/pidgin-2.13.0/finch/gntblist.c Examining data/pidgin-2.13.0/finch/gntft.h Examining data/pidgin-2.13.0/finch/gntconn.c Examining data/pidgin-2.13.0/finch/finch.h Examining data/pidgin-2.13.0/finch/gntaccount.h Examining data/pidgin-2.13.0/finch/gntpounce.h Examining data/pidgin-2.13.0/pidgin/gtkft.c Examining data/pidgin-2.13.0/pidgin/gtksavedstatuses.c Examining data/pidgin-2.13.0/pidgin/gtkwhiteboard.c Examining data/pidgin-2.13.0/pidgin/gtkicon-theme.h Examining data/pidgin-2.13.0/pidgin/gtkblist-theme-loader.h Examining data/pidgin-2.13.0/pidgin/pidginstock.h Examining data/pidgin-2.13.0/pidgin/gtkprivacy.c Examining data/pidgin-2.13.0/pidgin/gtkmedia.h Examining data/pidgin-2.13.0/pidgin/minidialog.h Examining data/pidgin-2.13.0/pidgin/gtkcertmgr.c Examining data/pidgin-2.13.0/pidgin/pidgintooltip.h Examining data/pidgin-2.13.0/pidgin/gtknotify.h Examining data/pidgin-2.13.0/pidgin/gtkthemes.c Examining data/pidgin-2.13.0/pidgin/minidialog.c Examining data/pidgin-2.13.0/pidgin/gtkmenutray.c Examining data/pidgin-2.13.0/pidgin/gtkidle.h Examining data/pidgin-2.13.0/pidgin/gtkdnd-hints.h Examining data/pidgin-2.13.0/pidgin/gtkgaim-compat.h Examining data/pidgin-2.13.0/pidgin/gtkplugin.c Examining data/pidgin-2.13.0/pidgin/gtknotify.c Examining data/pidgin-2.13.0/pidgin/gtkicon-theme-loader.c Examining data/pidgin-2.13.0/pidgin/gtkroomlist.c Examining data/pidgin-2.13.0/pidgin/gtkdocklet.h Examining data/pidgin-2.13.0/pidgin/plugins/gtk-signals-test.c Examining data/pidgin-2.13.0/pidgin/plugins/disco/gtkdisco.c Examining data/pidgin-2.13.0/pidgin/plugins/disco/gtkdisco.h Examining data/pidgin-2.13.0/pidgin/plugins/disco/xmppdisco.c Examining data/pidgin-2.13.0/pidgin/plugins/disco/xmppdisco.h Examining data/pidgin-2.13.0/pidgin/plugins/contact_priority.c Examining data/pidgin-2.13.0/pidgin/plugins/unity.c Examining data/pidgin-2.13.0/pidgin/plugins/mailchk.c Examining data/pidgin-2.13.0/pidgin/plugins/cap/cap.h Examining data/pidgin-2.13.0/pidgin/plugins/cap/cap_statistics.h Examining data/pidgin-2.13.0/pidgin/plugins/cap/cap.c Examining data/pidgin-2.13.0/pidgin/plugins/transparency.c Examining data/pidgin-2.13.0/pidgin/plugins/gevolution/gevo-util.c Examining data/pidgin-2.13.0/pidgin/plugins/gevolution/eds-utils.c Examining data/pidgin-2.13.0/pidgin/plugins/gevolution/assoc-buddy.c Examining data/pidgin-2.13.0/pidgin/plugins/gevolution/new_person_dialog.c Examining data/pidgin-2.13.0/pidgin/plugins/gevolution/add_buddy_dialog.c Examining data/pidgin-2.13.0/pidgin/plugins/gevolution/gevolution.c Examining data/pidgin-2.13.0/pidgin/plugins/gevolution/gevolution.h Examining data/pidgin-2.13.0/pidgin/plugins/ticker/gtkticker.h Examining data/pidgin-2.13.0/pidgin/plugins/ticker/ticker.c Examining data/pidgin-2.13.0/pidgin/plugins/ticker/gtkticker.c Examining data/pidgin-2.13.0/pidgin/plugins/iconaway.c Examining data/pidgin-2.13.0/pidgin/plugins/xmppconsole.c Examining data/pidgin-2.13.0/pidgin/plugins/themeedit-icon.c Examining data/pidgin-2.13.0/pidgin/plugins/perl/common/gtkmodule.h Examining data/pidgin-2.13.0/pidgin/plugins/history.c Examining data/pidgin-2.13.0/pidgin/plugins/extplacement.c Examining data/pidgin-2.13.0/pidgin/plugins/timestamp_format.c Examining data/pidgin-2.13.0/pidgin/plugins/timestamp.c Examining data/pidgin-2.13.0/pidgin/plugins/win32/winprefs/gtkappbar.h Examining data/pidgin-2.13.0/pidgin/plugins/win32/winprefs/winprefs.c Examining data/pidgin-2.13.0/pidgin/plugins/win32/winprefs/gtkappbar.c Examining data/pidgin-2.13.0/pidgin/plugins/musicmessaging/musicmessaging.c Examining data/pidgin-2.13.0/pidgin/plugins/notify.c Examining data/pidgin-2.13.0/pidgin/plugins/pidgininc.c Examining data/pidgin-2.13.0/pidgin/plugins/gestures/gstroke.h Examining data/pidgin-2.13.0/pidgin/plugins/gestures/gestures.c Examining data/pidgin-2.13.0/pidgin/plugins/gestures/stroke-draw.c Examining data/pidgin-2.13.0/pidgin/plugins/gestures/gstroke-internal.h Examining data/pidgin-2.13.0/pidgin/plugins/gestures/stroke.c Examining data/pidgin-2.13.0/pidgin/plugins/sendbutton.c Examining data/pidgin-2.13.0/pidgin/plugins/themeedit-icon.h Examining data/pidgin-2.13.0/pidgin/plugins/vvconfig.c Examining data/pidgin-2.13.0/pidgin/plugins/gtkbuddynote.c Examining data/pidgin-2.13.0/pidgin/plugins/themeedit.c Examining data/pidgin-2.13.0/pidgin/plugins/convcolors.c Examining data/pidgin-2.13.0/pidgin/plugins/pidginrc.c Examining data/pidgin-2.13.0/pidgin/plugins/spellchk.c Examining data/pidgin-2.13.0/pidgin/plugins/raw.c Examining data/pidgin-2.13.0/pidgin/plugins/markerline.c Examining data/pidgin-2.13.0/pidgin/plugins/relnot.c Examining data/pidgin-2.13.0/pidgin/gtkblist.c Examining data/pidgin-2.13.0/pidgin/gtksound.c Examining data/pidgin-2.13.0/pidgin/gtkconv.h Examining data/pidgin-2.13.0/pidgin/gtksmiley.h Examining data/pidgin-2.13.0/pidgin/gtksourceiter.c Examining data/pidgin-2.13.0/pidgin/gtkdebug.h Examining data/pidgin-2.13.0/pidgin/pidgin.h Examining data/pidgin-2.13.0/pidgin/gtkcellrendererexpander.c Examining data/pidgin-2.13.0/pidgin/gtkconvwin.h Examining data/pidgin-2.13.0/pidgin/gtkaccount.c Examining data/pidgin-2.13.0/pidgin/gtkicon-theme-loader.h Examining data/pidgin-2.13.0/pidgin/pidgintooltip.c Examining data/pidgin-2.13.0/pidgin/getopt.c Examining data/pidgin-2.13.0/pidgin/getopt1.c Examining data/pidgin-2.13.0/pidgin/gtkstyle.h Examining data/pidgin-2.13.0/pidgin/getopt.h Examining data/pidgin-2.13.0/pidgin/gtkthemes.h Examining data/pidgin-2.13.0/pidgin/gtkscrollbook.h Examining data/pidgin-2.13.0/pidgin/gtksound.h Examining data/pidgin-2.13.0/pidgin/gtkstatusbox.h Examining data/pidgin-2.13.0/pidgin/gtkprefs.c Examining data/pidgin-2.13.0/pidgin/gtkconv.c Examining data/pidgin-2.13.0/pidgin/gtkdnd-hints.c Examining data/pidgin-2.13.0/pidgin/win32/wspell.c Examining data/pidgin-2.13.0/pidgin/win32/MinimizeToTray.h Examining data/pidgin-2.13.0/pidgin/win32/MinimizeToTray.c Examining data/pidgin-2.13.0/pidgin/win32/untar.c Examining data/pidgin-2.13.0/pidgin/win32/gtkwin32dep.c Examining data/pidgin-2.13.0/pidgin/win32/resource.h Examining data/pidgin-2.13.0/pidgin/win32/gtkdocklet-win32.c Examining data/pidgin-2.13.0/pidgin/win32/wspell.h Examining data/pidgin-2.13.0/pidgin/win32/gtkwin32dep.h Examining data/pidgin-2.13.0/pidgin/win32/winpidgin.c Examining data/pidgin-2.13.0/pidgin/win32/untar.h Examining data/pidgin-2.13.0/pidgin/gtkblist-theme-loader.c Examining data/pidgin-2.13.0/pidgin/gtkpounce.h Examining data/pidgin-2.13.0/pidgin/gtksavedstatuses.h Examining data/pidgin-2.13.0/pidgin/pidginstock.c Examining data/pidgin-2.13.0/pidgin/gtksourceundomanager.h Examining data/pidgin-2.13.0/pidgin/gtkscrollbook.c Examining data/pidgin-2.13.0/pidgin/gtkmenutray.h Examining data/pidgin-2.13.0/pidgin/gtksourceview-marshal.h Examining data/pidgin-2.13.0/pidgin/gtkroomlist.h Examining data/pidgin-2.13.0/pidgin/gtkpounce.c Examining data/pidgin-2.13.0/pidgin/gtkimhtml.h Examining data/pidgin-2.13.0/pidgin/gtklog.c Examining data/pidgin-2.13.0/pidgin/gtkconn.h Examining data/pidgin-2.13.0/pidgin/gtksourceiter.h Examining data/pidgin-2.13.0/pidgin/gtkstatus-icon-theme.c Examining data/pidgin-2.13.0/pidgin/gtkstatus-icon-theme.h Examining data/pidgin-2.13.0/pidgin/gtksourceview-marshal.c Examining data/pidgin-2.13.0/pidgin/gtkblist-theme.h Examining data/pidgin-2.13.0/pidgin/gtkeventloop.c Examining data/pidgin-2.13.0/pidgin/gtkconn.c Examining data/pidgin-2.13.0/pidgin/gtklog.h Examining data/pidgin-2.13.0/pidgin/gtkimhtmltoolbar.h Examining data/pidgin-2.13.0/pidgin/gtkimhtml.c Examining data/pidgin-2.13.0/pidgin/gtkdialogs.c Examining data/pidgin-2.13.0/pidgin/gtkrequest.c Examining data/pidgin-2.13.0/pidgin/gtkutils.c Examining data/pidgin-2.13.0/pidgin/gtkdocklet-gtk.c Examining data/pidgin-2.13.0/pidgin/gtkprefs.h Examining data/pidgin-2.13.0/pidgin/gtkblist-theme.c Examining data/pidgin-2.13.0/pidgin/gtkft.h Examining data/pidgin-2.13.0/pidgin/gtkblist.h Examining data/pidgin-2.13.0/pidgin/gtkpluginpref.c Examining data/pidgin-2.13.0/pidgin/gtkwhiteboard.h Examining data/pidgin-2.13.0/pidgin/gtkdialogs.h Examining data/pidgin-2.13.0/pidgin/gtkidle.c Examining data/pidgin-2.13.0/pidgin/gtknickcolors.h Examining data/pidgin-2.13.0/pidgin/gtksourceundomanager.c Examining data/pidgin-2.13.0/pidgin/gtkrequest.h Examining data/pidgin-2.13.0/pidgin/gtkcellrendererexpander.h Examining data/pidgin-2.13.0/pidgin/gtkimhtmltoolbar.c Examining data/pidgin-2.13.0/pidgin/gtkmedia.c Examining data/pidgin-2.13.0/pidgin/gtkeventloop.h Examining data/pidgin-2.13.0/pidgin/gtksession.h Examining data/pidgin-2.13.0/pidgin/gtkpluginpref.h Examining data/pidgin-2.13.0/pidgin/gtksession.c Examining data/pidgin-2.13.0/pidgin/gtkicon-theme.c Examining data/pidgin-2.13.0/pidgin/gtkutils.h Examining data/pidgin-2.13.0/pidgin/gtkstyle.c Examining data/pidgin-2.13.0/pidgin/gtksmiley.c Examining data/pidgin-2.13.0/pidgin/gtkprivacy.h Examining data/pidgin-2.13.0/pidgin/gtkdebug.c Examining data/pidgin-2.13.0/pidgin/gtkmain.c Examining data/pidgin-2.13.0/pidgin/gtkdocklet.c Examining data/pidgin-2.13.0/pidgin/gtkstatusbox.c Examining data/pidgin-2.13.0/pidgin/gtkplugin.h Examining data/pidgin-2.13.0/pidgin/gtkcertmgr.h Examining data/pidgin-2.13.0/pidgin/gtkaccount.h Examining data/pidgin-2.13.0/libpurple/mediamanager.h Examining data/pidgin-2.13.0/libpurple/network.h Examining data/pidgin-2.13.0/libpurple/core.h Examining data/pidgin-2.13.0/libpurple/prpl.c Examining data/pidgin-2.13.0/libpurple/util.h Examining data/pidgin-2.13.0/libpurple/theme-manager.h Examining data/pidgin-2.13.0/libpurple/gaim-compat.h Examining data/pidgin-2.13.0/libpurple/mime.h Examining data/pidgin-2.13.0/libpurple/ciphers/gchecksum.c Examining data/pidgin-2.13.0/libpurple/ciphers/sha256.c Examining data/pidgin-2.13.0/libpurple/ciphers/md5.c Examining data/pidgin-2.13.0/libpurple/ciphers/des.c Examining data/pidgin-2.13.0/libpurple/ciphers/md4.c Examining data/pidgin-2.13.0/libpurple/ciphers/rc4.c Examining data/pidgin-2.13.0/libpurple/ciphers/hmac.c Examining data/pidgin-2.13.0/libpurple/ciphers/sha1.c Examining data/pidgin-2.13.0/libpurple/theme-manager.c Examining data/pidgin-2.13.0/libpurple/status.c Examining data/pidgin-2.13.0/libpurple/imgstore.c Examining data/pidgin-2.13.0/libpurple/certificate.h Examining data/pidgin-2.13.0/libpurple/account.c Examining data/pidgin-2.13.0/libpurple/ft.h Examining data/pidgin-2.13.0/libpurple/dnssrv.h Examining data/pidgin-2.13.0/libpurple/cipher.h Examining data/pidgin-2.13.0/libpurple/privacy.h Examining data/pidgin-2.13.0/libpurple/theme.h Examining data/pidgin-2.13.0/libpurple/smiley.c Examining data/pidgin-2.13.0/libpurple/prefs.h Examining data/pidgin-2.13.0/libpurple/upnp.c Examining data/pidgin-2.13.0/libpurple/ntlm.h Examining data/pidgin-2.13.0/libpurple/nat-pmp.c Examining data/pidgin-2.13.0/libpurple/whiteboard.h Examining data/pidgin-2.13.0/libpurple/sslconn.h Examining data/pidgin-2.13.0/libpurple/example/defines.h Examining data/pidgin-2.13.0/libpurple/example/nullclient.c Examining data/pidgin-2.13.0/libpurple/eventloop.h Examining data/pidgin-2.13.0/libpurple/idle.c Examining data/pidgin-2.13.0/libpurple/privacy.c Examining data/pidgin-2.13.0/libpurple/blist.c Examining data/pidgin-2.13.0/libpurple/log.c Examining data/pidgin-2.13.0/libpurple/util.c Examining data/pidgin-2.13.0/libpurple/accountopt.h Examining data/pidgin-2.13.0/libpurple/media-gst.h Examining data/pidgin-2.13.0/libpurple/purple.h Examining data/pidgin-2.13.0/libpurple/purple-client-example.c Examining data/pidgin-2.13.0/libpurple/pounce.h Examining data/pidgin-2.13.0/libpurple/plugin.c Examining data/pidgin-2.13.0/libpurple/cmds.c Examining data/pidgin-2.13.0/libpurple/sound-theme-loader.h Examining data/pidgin-2.13.0/libpurple/theme-loader.h Examining data/pidgin-2.13.0/libpurple/dbus-server.h Examining data/pidgin-2.13.0/libpurple/certificate.c Examining data/pidgin-2.13.0/libpurple/mime.c Examining data/pidgin-2.13.0/libpurple/roomlist.h Examining data/pidgin-2.13.0/libpurple/connection.h Examining data/pidgin-2.13.0/libpurple/dnssrv.c Examining data/pidgin-2.13.0/libpurple/plugins/helloworld.c Examining data/pidgin-2.13.0/libpurple/plugins/buddynote.c Examining data/pidgin-2.13.0/libpurple/plugins/idle.c Examining data/pidgin-2.13.0/libpurple/plugins/ipc-test-client.c Examining data/pidgin-2.13.0/libpurple/plugins/filectl.c Examining data/pidgin-2.13.0/libpurple/plugins/debug_example.c Examining data/pidgin-2.13.0/libpurple/plugins/mono/loader/debug-glue.c Examining data/pidgin-2.13.0/libpurple/plugins/mono/loader/signal-glue.c Examining data/pidgin-2.13.0/libpurple/plugins/mono/loader/mono-glue.h Examining data/pidgin-2.13.0/libpurple/plugins/mono/loader/mono-helper.h Examining data/pidgin-2.13.0/libpurple/plugins/mono/loader/status-glue.c Examining data/pidgin-2.13.0/libpurple/plugins/mono/loader/mono.c Examining data/pidgin-2.13.0/libpurple/plugins/mono/loader/blist-glue.c Examining data/pidgin-2.13.0/libpurple/plugins/mono/loader/mono-helper.c Examining data/pidgin-2.13.0/libpurple/plugins/newline.c Examining data/pidgin-2.13.0/libpurple/plugins/offlinemsg.c Examining data/pidgin-2.13.0/libpurple/plugins/perl/perl-common.c Examining data/pidgin-2.13.0/libpurple/plugins/perl/common/module.h Examining data/pidgin-2.13.0/libpurple/plugins/perl/perl-handlers.c Examining data/pidgin-2.13.0/libpurple/plugins/perl/perl-handlers.h Examining data/pidgin-2.13.0/libpurple/plugins/perl/perl-common.h Examining data/pidgin-2.13.0/libpurple/plugins/perl/perl.c Examining data/pidgin-2.13.0/libpurple/plugins/joinpart.c Examining data/pidgin-2.13.0/libpurple/plugins/psychic.c Examining data/pidgin-2.13.0/libpurple/plugins/log_reader.c Examining data/pidgin-2.13.0/libpurple/plugins/pluginpref_example.c Examining data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_glib.h Examining data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_glib.c Examining data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_signals.c Examining data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_ref.c Examining data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_cmd.c Examining data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_cmds.c Examining data/pidgin-2.13.0/libpurple/plugins/tcl/tcl.c Examining data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_purple.h Examining data/pidgin-2.13.0/libpurple/plugins/ciphertest.c Examining data/pidgin-2.13.0/libpurple/plugins/simple.c Examining data/pidgin-2.13.0/libpurple/plugins/signals-test.c Examining data/pidgin-2.13.0/libpurple/plugins/dbus-example.c Examining data/pidgin-2.13.0/libpurple/plugins/autoaccept.c Examining data/pidgin-2.13.0/libpurple/plugins/notify_example.c Examining data/pidgin-2.13.0/libpurple/plugins/ipc-test-server.c Examining data/pidgin-2.13.0/libpurple/plugins/codeinline.c Examining data/pidgin-2.13.0/libpurple/plugins/one_time_password.c Examining data/pidgin-2.13.0/libpurple/plugins/statenotify.c Examining data/pidgin-2.13.0/libpurple/plugins/ssl/ssl-nss.c Examining data/pidgin-2.13.0/libpurple/plugins/ssl/nss-prefs.c Examining data/pidgin-2.13.0/libpurple/plugins/ssl/ssl-gnutls.c Examining data/pidgin-2.13.0/libpurple/plugins/ssl/ssl.c Examining data/pidgin-2.13.0/libpurple/theme.c Examining data/pidgin-2.13.0/libpurple/dbus-useful.h Examining data/pidgin-2.13.0/libpurple/purple-client.h Examining data/pidgin-2.13.0/libpurple/prefs.c Examining data/pidgin-2.13.0/libpurple/signals.c Examining data/pidgin-2.13.0/libpurple/ntlm.c Examining data/pidgin-2.13.0/libpurple/stringref.h Examining data/pidgin-2.13.0/libpurple/imgstore.h Examining data/pidgin-2.13.0/libpurple/dnsquery.c Examining data/pidgin-2.13.0/libpurple/desktopitem.c Examining data/pidgin-2.13.0/libpurple/dbus-server.c Examining data/pidgin-2.13.0/libpurple/xmlnode.h Examining data/pidgin-2.13.0/libpurple/plugin.h Examining data/pidgin-2.13.0/libpurple/cmds.h Examining data/pidgin-2.13.0/libpurple/value.c Examining data/pidgin-2.13.0/libpurple/server.c Examining data/pidgin-2.13.0/libpurple/upnp.h Examining data/pidgin-2.13.0/libpurple/pluginpref.h Examining data/pidgin-2.13.0/libpurple/dnsquery.h Examining data/pidgin-2.13.0/libpurple/win32/libc_internal.h Examining data/pidgin-2.13.0/libpurple/win32/wpurpleerror.h Examining data/pidgin-2.13.0/libpurple/win32/win32dep.h Examining data/pidgin-2.13.0/libpurple/win32/libc_interface.h Examining data/pidgin-2.13.0/libpurple/win32/win32dep.c Examining data/pidgin-2.13.0/libpurple/win32/libc_interface.c Examining data/pidgin-2.13.0/libpurple/win32/giowin32.c Examining data/pidgin-2.13.0/libpurple/dbus-useful.c Examining data/pidgin-2.13.0/libpurple/ft.c Examining data/pidgin-2.13.0/libpurple/notify.c Examining data/pidgin-2.13.0/libpurple/protocols/null/nullprpl.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/network.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/http.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/fileio.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/tvbuilder.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/strman.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/obsolete.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/message.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/deflate.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/tvbuilder.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc7.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir50.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/deflate.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/resolver.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/encoding.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/network.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/resolver.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/message.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/session.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/debug.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/debug.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/tvbuff.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/internal.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/tvbuff.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/protocol.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/packets.pb-c.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/config.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/endian.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/sha1.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/encoding.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/packets.pb-c.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/confer.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/gg.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/search.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/search.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/buddylist.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/gg-utils.h Examining data/pidgin-2.13.0/libpurple/protocols/gg/confer.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/gg-utils.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/buddylist.c Examining data/pidgin-2.13.0/libpurple/protocols/gg/gg.h Examining data/pidgin-2.13.0/libpurple/protocols/irc/cmds.c Examining data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c Examining data/pidgin-2.13.0/libpurple/protocols/irc/dcc_send.c Examining data/pidgin-2.13.0/libpurple/protocols/irc/irc.h Examining data/pidgin-2.13.0/libpurple/protocols/irc/irc.c Examining data/pidgin-2.13.0/libpurple/protocols/irc/parse.c Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/mdns_interface.h Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/parser.c Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.h Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/jabber.c Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/jabber.h Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour.h Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour.c Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/buddy.h Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/mdns_common.c Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/mdns_types.h Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/dns_sd_proxy.c Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/mdns_avahi.c Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/dns_sd_proxy.h Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/buddy.c Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/mdns_dns_sd.c Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/parser.h Examining data/pidgin-2.13.0/libpurple/protocols/bonjour/mdns_common.h Examining data/pidgin-2.13.0/libpurple/protocols/simple/simple.h Examining data/pidgin-2.13.0/libpurple/protocols/simple/simple.c Examining data/pidgin-2.13.0/libpurple/protocols/simple/sipmsg.h Examining data/pidgin-2.13.0/libpurple/protocols/simple/sipmsg.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtAuth.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZPeekIfNot.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZCkIfNot.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZWait4Not.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtSmRLst.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetWGPort.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZMakeAscii.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetSubs.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/error_table.h Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZRecvNot.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZCmpUIDP.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZCmpUID.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/mit-copyright.h Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtSmRaw.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZLocations.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZMkAuth.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZSendNot.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr_err.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFlsLocs.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZSendRaw.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/error_message.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZIfNotice.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFreeNot.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr_internal.h Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZPeekPkt.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFlsSubs.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZhmStat.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/init_et.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZSetFD.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr_err.h Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZCkAuth.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZPeekNot.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtRawLst.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZSetDest.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZPending.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZSendRLst.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/internal.h Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtRaw.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZSubs.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZParseNot.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZReadAscii.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZOpenPort.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/et_name.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZAsyncLocate.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetSender.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZSendList.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZRecvPkt.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtNotice.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/com_err.h Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtList.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZRetSubs.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetLocs.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZInit.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZClosePort.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/mit-sipb-copyright.h Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZSendPkt.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/sysdep.h Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZNewLocU.c Examining data/pidgin-2.13.0/libpurple/protocols/zephyr/ZSetSrv.c Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmcontact.h Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmmessage.h Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmconference.h Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmrtf.c Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmuser.h Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmuserrecord.c Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmuserrecord.h Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmevent.c Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmconn.c Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmrequest.h Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmconn.h Examining data/pidgin-2.13.0/libpurple/protocols/novell/novell.c Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmevent.h Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmrtf.h Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmcontact.c Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmconference.c Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmuser.c Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmrequest.c Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmmessage.c Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmfield.c Examining data/pidgin-2.13.0/libpurple/protocols/novell/nmfield.h Examining data/pidgin-2.13.0/libpurple/protocols/silc10/wb.c Examining data/pidgin-2.13.0/libpurple/protocols/silc10/util.c Examining data/pidgin-2.13.0/libpurple/protocols/silc10/pk.c Examining data/pidgin-2.13.0/libpurple/protocols/silc10/ft.c Examining data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c Examining data/pidgin-2.13.0/libpurple/protocols/silc10/chat.c Examining data/pidgin-2.13.0/libpurple/protocols/silc10/silcpurple.h Examining data/pidgin-2.13.0/libpurple/protocols/silc10/ops.c Examining data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c Examining data/pidgin-2.13.0/libpurple/protocols/silc10/wb.h Examining data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/msgcookie.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.h Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_chatnav.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/peer_proxy.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/oft.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/util.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_stats.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/authorization.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/kerberos.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/bstream.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_chat.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_auth.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_buddy.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_userlookup.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/visibility.h Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_popup.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/libicq.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/encoding.h Examining data/pidgin-2.13.0/libpurple/protocols/oscar/peer.h Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_bos.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_alert.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/peer.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/rxhandlers.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_bart.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/oscarcommon.h Examining data/pidgin-2.13.0/libpurple/protocols/oscar/snactypes.h Examining data/pidgin-2.13.0/libpurple/protocols/oscar/clientlogin.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_oservice.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/oscar_data.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/visibility.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/flap_connection.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/libaim.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/misc.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/encoding.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/odc.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_feedbag.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/userinfo.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/snac.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/tlv.c Examining data/pidgin-2.13.0/libpurple/protocols/oscar/family_admin.c Examining data/pidgin-2.13.0/libpurple/protocols/silc/wb.c Examining data/pidgin-2.13.0/libpurple/protocols/silc/util.c Examining data/pidgin-2.13.0/libpurple/protocols/silc/pk.c Examining data/pidgin-2.13.0/libpurple/protocols/silc/ft.c Examining data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c Examining data/pidgin-2.13.0/libpurple/protocols/silc/chat.c Examining data/pidgin-2.13.0/libpurple/protocols/silc/silcpurple.h Examining data/pidgin-2.13.0/libpurple/protocols/silc/ops.c Examining data/pidgin-2.13.0/libpurple/protocols/silc/silc.c Examining data/pidgin-2.13.0/libpurple/protocols/silc/wb.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/ping.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/si.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/parser.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/auth.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/auth_scram.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/auth_plain.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/useravatar.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/usermood.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jabber.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/data.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jabber.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/iq.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/roster.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/caps.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/usermood.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/buddy.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/xdata.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/usertune.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/pep.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/disco.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/auth_scram.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/message.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/ping.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/win32/utsname.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/win32/posix.uname.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/oob.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/chat.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/message.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/oob.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/auth_digest_md5.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/disco.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/auth_digest_md5.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/auth.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/buddy.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/adhoccommands.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/xdata.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/iq.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/usernick.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/caps.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/chat.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/data.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/presence.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/adhoccommands.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/google/gmail.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/google/google_presence.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/google/google_session.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/google/google_session.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/google/google_roster.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/google/google_presence.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/google/google.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/google/google.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/google/gmail.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/google/google_roster.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/google/jingleinfo.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/google/relay.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/google/jingleinfo.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/google/relay.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/usernick.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/roster.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/auth_cyrus.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/libxmpp.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/rtp.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/iceudp.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/jingle.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/rtp.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/jingle.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/transport.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/transport.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/session.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/rawudp.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/content.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/iceudp.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/rawudp.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/content.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/session.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/usertune.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/pep.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/parser.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/si.c Examining data/pidgin-2.13.0/libpurple/protocols/jabber/namespaces.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/presence.h Examining data/pidgin-2.13.0/libpurple/protocols/jabber/useravatar.h Examining data/pidgin-2.13.0/libpurple/protocols/sametime/sametime.h Examining data/pidgin-2.13.0/libpurple/protocols/sametime/sametime.c Examining data/pidgin-2.13.0/libpurple/idle.h Examining data/pidgin-2.13.0/libpurple/connection.c Examining data/pidgin-2.13.0/libpurple/cipher.c Examining data/pidgin-2.13.0/libpurple/sound-theme.c Examining data/pidgin-2.13.0/libpurple/buddyicon.c Examining data/pidgin-2.13.0/libpurple/theme-loader.c Examining data/pidgin-2.13.0/libpurple/dbus-maybe.h Examining data/pidgin-2.13.0/libpurple/pounce.c Examining data/pidgin-2.13.0/libpurple/conversation.c Examining data/pidgin-2.13.0/libpurple/sound-theme-loader.c Examining data/pidgin-2.13.0/libpurple/status.h Examining data/pidgin-2.13.0/libpurple/version.h Examining data/pidgin-2.13.0/libpurple/sound.c Examining data/pidgin-2.13.0/libpurple/stun.h Examining data/pidgin-2.13.0/libpurple/dbus-define-api.h Examining data/pidgin-2.13.0/libpurple/whiteboard.c Examining data/pidgin-2.13.0/libpurple/version.c Examining data/pidgin-2.13.0/libpurple/debug.h Examining data/pidgin-2.13.0/libpurple/sound.h Examining data/pidgin-2.13.0/libpurple/buddyicon.h Examining data/pidgin-2.13.0/libpurple/debug.c Examining data/pidgin-2.13.0/libpurple/request.c Examining data/pidgin-2.13.0/libpurple/prpl.h Examining data/pidgin-2.13.0/libpurple/marshallers.c Examining data/pidgin-2.13.0/libpurple/roomlist.c Examining data/pidgin-2.13.0/libpurple/notify.h Examining data/pidgin-2.13.0/libpurple/sound-theme.h Examining data/pidgin-2.13.0/libpurple/media.c Examining data/pidgin-2.13.0/libpurple/internal.h Examining data/pidgin-2.13.0/libpurple/value.h Examining data/pidgin-2.13.0/libpurple/circbuffer.h Examining data/pidgin-2.13.0/libpurple/valgrind.h Examining data/pidgin-2.13.0/libpurple/blist.h Examining data/pidgin-2.13.0/libpurple/accountopt.c Examining data/pidgin-2.13.0/libpurple/dbus-bindings.h Examining data/pidgin-2.13.0/libpurple/media.h Examining data/pidgin-2.13.0/libpurple/conversation.h Examining data/pidgin-2.13.0/libpurple/xmlnode.c Examining data/pidgin-2.13.0/libpurple/signals.h Examining data/pidgin-2.13.0/libpurple/stun.c Examining data/pidgin-2.13.0/libpurple/stringref.c Examining data/pidgin-2.13.0/libpurple/tests/tests.h Examining data/pidgin-2.13.0/libpurple/tests/check_libpurple.c Examining data/pidgin-2.13.0/libpurple/tests/test_jabber_scram.c Examining data/pidgin-2.13.0/libpurple/tests/test_xmlnode.c Examining data/pidgin-2.13.0/libpurple/tests/test_jabber_caps.c Examining data/pidgin-2.13.0/libpurple/tests/test_util.c Examining data/pidgin-2.13.0/libpurple/tests/test_oscar_util.c Examining data/pidgin-2.13.0/libpurple/tests/test_jabber_digest_md5.c Examining data/pidgin-2.13.0/libpurple/tests/test_jabber_jutil.c Examining data/pidgin-2.13.0/libpurple/tests/test_cipher.c Examining data/pidgin-2.13.0/libpurple/pluginpref.c Examining data/pidgin-2.13.0/libpurple/media/codec.h Examining data/pidgin-2.13.0/libpurple/media/enum-types.h Examining data/pidgin-2.13.0/libpurple/media/backend-fs2.h Examining data/pidgin-2.13.0/libpurple/media/codec.c Examining data/pidgin-2.13.0/libpurple/media/backend-iface.h Examining data/pidgin-2.13.0/libpurple/media/backend-iface.c Examining data/pidgin-2.13.0/libpurple/media/candidate.h Examining data/pidgin-2.13.0/libpurple/media/enum-types.c Examining data/pidgin-2.13.0/libpurple/media/candidate.c Examining data/pidgin-2.13.0/libpurple/media/backend-fs2.c Examining data/pidgin-2.13.0/libpurple/smiley.h Examining data/pidgin-2.13.0/libpurple/sslconn.c Examining data/pidgin-2.13.0/libpurple/purple-client.c Examining data/pidgin-2.13.0/libpurple/mediamanager.c Examining data/pidgin-2.13.0/libpurple/core.c Examining data/pidgin-2.13.0/libpurple/nat-pmp.h Examining data/pidgin-2.13.0/libpurple/log.h Examining data/pidgin-2.13.0/libpurple/dbus-types.h Examining data/pidgin-2.13.0/libpurple/savedstatuses.h Examining data/pidgin-2.13.0/libpurple/savedstatuses.c Examining data/pidgin-2.13.0/libpurple/marshallers.h Examining data/pidgin-2.13.0/libpurple/proxy.h Examining data/pidgin-2.13.0/libpurple/account.h Examining data/pidgin-2.13.0/libpurple/eventloop.c Examining data/pidgin-2.13.0/libpurple/dbus-purple.h Examining data/pidgin-2.13.0/libpurple/request.h Examining data/pidgin-2.13.0/libpurple/server.h Examining data/pidgin-2.13.0/libpurple/proxy.c Examining data/pidgin-2.13.0/libpurple/desktopitem.h Examining data/pidgin-2.13.0/libpurple/circbuffer.c Examining data/pidgin-2.13.0/libpurple/network.c Examining data/pidgin-2.13.0/package_revision.h FINAL RESULTS: data/pidgin-2.13.0/libpurple/dnsquery.c:420:6: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. n = readlink(s, e, sizeof(e)); data/pidgin-2.13.0/pidgin/win32/untar.c:357:4: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. chmod(nbuf, mode); data/pidgin-2.13.0/pidgin/win32/untar.c:559:4: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. chmod(nbuf, mode); data/pidgin-2.13.0/finch/gntpounce.c:913:6: [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. execvp(args[0], args); data/pidgin-2.13.0/finch/plugins/gnthistory.c:162:24: [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 (purple_strequal(system, list->data)) data/pidgin-2.13.0/libpurple/dnsquery.c:237:2: [4] (shell) execlp: 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. execlp("xmessage","xmessage","-center", message, NULL); data/pidgin-2.13.0/libpurple/example/nullclient.c:311:13: [4] (misc) getpass: This function is obsolete and not portable. It was in SUSv2 but removed by POSIX.2. What it does exactly varies considerably between systems, particularly in where its prompt is displayed and where it gets its data (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do exactly what you want. If you continue to use it, or write your own, be sure to zero the password as soon as possible to avoid leaving the cleartext password visible in the process' address space. password = getpass("Password: "); data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour.c:686:24: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. else if (((fullname = getlogin()) != NULL) && (fullname[0] == '\0')) data/pidgin-2.13.0/libpurple/protocols/gg/gg.c:2377:8: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. ret = vsnprintf(msgbuff, sizeof(msgbuff) / sizeof(char), format, args); data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:94:10: [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. res = vsnprintf(buf, size, format, aq); data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:109:10: [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. size = vsnprintf(tmp, sizeof(tmp), format, aq) + 1; data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:116: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(buf, size, format, ap); data/pidgin-2.13.0/libpurple/protocols/gg/lib/config.h:3:8: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #undef printf data/pidgin-2.13.0/libpurple/protocols/gg/lib/debug.c:109:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf((gg_debug_file) ? gg_debug_file : stderr, format, ap); data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:681: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(list, inet_ntoa(addrs[i])); data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:2177:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf + buflen, filename); data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.h:153:29: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. __attribute__((format (printf, (format_idx), (arg_idx)))) data/pidgin-2.13.0/libpurple/protocols/gg/lib/message.c:491:8: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(&dst[len], span_fmt, color[0], color[1], color[2]); data/pidgin-2.13.0/libpurple/protocols/gg/lib/message.c:511:6: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(&dst[len], img_fmt, data/pidgin-2.13.0/libpurple/protocols/gg/lib/message.c:546:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(&dst[len], span_fmt, default_color[0], default_color[1], default_color[2]); data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir.c:770:19: [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 (!h->body || sscanf(h->body, "%d %d %d\r\n%s\r\n%s", &width, &height, &length, tokenid, url) != 5) { data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir50.c:272:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(p, req->entries[i].field); data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir50.c:275:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(p, req->entries[i].value); data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir50.c:288:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(p, tmp); data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir50.c:301:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(p, tmp); data/pidgin-2.13.0/libpurple/protocols/gg/lib/strman.h:36:11: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define snprintf(str, size, format, ...) _snprintf_s(str, size, _TRUNCATE, format, __VA_ARGS__) data/pidgin-2.13.0/libpurple/protocols/gg/lib/strman.h:37:11: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define vsnprintf(str, size, format, ap) vsnprintf_s(str, size, _TRUNCATE, format, ap) data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:1437: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((char*)sasl_secret->data, pw); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_cyrus.c:112: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((char*)js->sasl_secret->data, pw); data/pidgin-2.13.0/libpurple/protocols/jabber/oob.c:142: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 the scanf format is influenceable by an attacker, it's exploitable. if (sscanf(lenstr, "Content-Length: %" G_GSIZE_FORMAT, &size) == 1) data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1303:3: [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(encoding, strlen(defencoding) + strlen(profile_encoding), defencoding, profile_encoding); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1320:4: [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(encoding, strlen(defencoding) + strlen(awaymsg_encoding), defencoding, awaymsg_encoding); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:365: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(buf, (mode & SILC_UMODE_SERVER_OPERATOR) ? data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:408: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(buf, (mode & SILC_UMODE_SERVER_OPERATOR) ? data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:581:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(len, "%" G_GSIZE_FORMAT , strlen(body)); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetSender.c:37:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(sender, "%s%s%s@%s", pname, (pinst[0] ? "." : ""), pinst, prealm); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetSender.c:50:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(sender, "%s@%s", pw->pw_name, __Zephyr_realm); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:628:13: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. (void) sprintf(version, "%s%d.%d", ZVERSIONHDR, ZVERSIONMAJOR, data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:733:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. (void) sprintf(newrecip, "%s@%s", notice->z_recipient, __Zephyr_realm); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:776:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(*ptr, field); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:967:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, format, args); data/pidgin-2.13.0/libpurple/protocols/zephyr/error_message.c:49: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 (buf, error_table_name_r (table_num, namebuf)); data/pidgin-2.13.0/libpurple/protocols/zephyr/sysdep.h:37:41: [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). char *getenv(), *strerror(), *ctime(), *strcpy(void); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:1656:4: [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. execvp(tzc_cmd_array[0], tzc_cmd_array); data/pidgin-2.13.0/libpurple/proxy.c:985:7: [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 the scanf format is influenceable by an attacker, it's exploitable. if (sscanf(p, "%" G_GSIZE_FORMAT, &content_len) != 1) { data/pidgin-2.13.0/libpurple/purple-client.c:51:2: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(stderr, str, args); data/pidgin-2.13.0/libpurple/stringref.c:92: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(newref->value, value); data/pidgin-2.13.0/libpurple/stringref.c:112:2: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(newref->value, format, ap); data/pidgin-2.13.0/libpurple/util.c:3534:7: [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 the scanf format is influenceable by an attacker, it's exploitable. f = sscanf(url, scan_info, user, passwd); data/pidgin-2.13.0/libpurple/util.c:3539: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 the scanf format is influenceable by an attacker, it's exploitable. f = sscanf(url, scan_info, user); data/pidgin-2.13.0/libpurple/util.c:3552: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 the scanf format is influenceable by an attacker, it's exploitable. f = sscanf(url, scan_info, host, port_str, path); data/pidgin-2.13.0/libpurple/util.c:3557:7: [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 the scanf format is influenceable by an attacker, it's exploitable. f = sscanf(url, scan_info, host, path); data/pidgin-2.13.0/libpurple/util.c:3756:7: [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 the scanf format is influenceable by an attacker, it's exploitable. if (sscanf(p, "%" G_GSIZE_FORMAT, &content_len) != 1) { data/pidgin-2.13.0/libpurple/win32/libc_interface.h:135: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/pidgin-2.13.0/libpurple/win32/libc_interface.h:136: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/pidgin-2.13.0/libpurple/win32/libc_interface.h:136: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/pidgin-2.13.0/libpurple/win32/libc_interface.h:137:8: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #undef vsnprintf data/pidgin-2.13.0/libpurple/win32/libc_interface.h:138:9: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define vsnprintf _vsnprintf data/pidgin-2.13.0/libpurple/win32/win32dep.c:248:68: [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. static HKEY _reg_open_key(HKEY rootkey, const char *subkey, REGSAM access) { data/pidgin-2.13.0/libpurple/win32/win32dep.c:254:44: [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. rv = RegOpenKeyExW(rootkey, wc_subkey, 0, access, ®_key); data/pidgin-2.13.0/libpurple/xmlnode.c:642: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(errmsg, sizeof(errmsg), msg, args); data/pidgin-2.13.0/pidgin/gtkconv.c:6095:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(with_font_tag, pre); data/pidgin-2.13.0/pidgin/gtkconv.c:6097:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(with_font_tag + pre_len + length, post); data/pidgin-2.13.0/pidgin/gtkpounce.c:1504:6: [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. execvp(args[0], args); data/pidgin-2.13.0/pidgin/gtkprefs.c:690: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(command)) { data/pidgin-2.13.0/pidgin/plugins/themeedit-icon.c:113:11: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. author = getlogin(); data/pidgin-2.13.0/pidgin/plugins/themeedit.c:273:12: [4] (misc) getlogin: It's often easy to fool getlogin. Sometimes it does not work at all, because some program messed up the utmp file. Often, it gives only the first 8 characters of the login name. The user currently logged in on the controlling tty of our program need not be the user who started it. Avoid getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid()) and extract the desired information instead. author = getlogin(); data/pidgin-2.13.0/pidgin/win32/gtkwin32dep.c:119:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(tmpfile, "%s%s%s", g_get_tmp_dir(), G_DIR_SEPARATOR_S, _mktemp(template)); data/pidgin-2.13.0/pidgin/win32/untar.c:149:16: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (!FORCE && access(name, 0) == 0) data/pidgin-2.13.0/pidgin/win32/winpidgin.c:615:4: [4] (buffer) wcscpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using a function version that stops copying at the end of the buffer. wcscpy(exe_name, pidgin_dir_start + 1); data/pidgin-2.13.0/finch/finch.c:289:16: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ((opt = getopt_long(argc, argv, data/pidgin-2.13.0/finch/getopt.c:195:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *getenv (); data/pidgin-2.13.0/finch/getopt.c:355:16: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. else if (getenv ("POSIXLY_CORRECT") != NULL) data/pidgin-2.13.0/finch/getopt.c:654:1: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. getopt (argc, argv, optstring) data/pidgin-2.13.0/finch/getopt.c:684:11: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. c = getopt (argc, argv, "abc:d:0123456789"); data/pidgin-2.13.0/finch/getopt.h:109:12: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. extern int getopt (int argc, char *const *argv, const char *shortopts); data/pidgin-2.13.0/finch/getopt.h:111:12: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. extern int getopt (); data/pidgin-2.13.0/finch/getopt.h:113:12: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. extern int getopt_long (int argc, char *const *argv, const char *shortopts, data/pidgin-2.13.0/finch/getopt.h:125:12: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. extern int getopt (); data/pidgin-2.13.0/finch/getopt.h:126:12: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. extern int getopt_long (); data/pidgin-2.13.0/finch/getopt1.c:48:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *getenv (); data/pidgin-2.13.0/finch/getopt1.c:56:1: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. getopt_long (argc, argv, options, long_options, opt_index) data/pidgin-2.13.0/finch/getopt1.c:112:11: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. c = getopt_long (argc, argv, "abc:d:0123456789", data/pidgin-2.13.0/finch/gntconn.c:117:18: [3] (random) g_random_int_range: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. info->delay = g_random_int_range(INITIAL_RECON_DELAY_MIN, INITIAL_RECON_DELAY_MAX); data/pidgin-2.13.0/finch/libgnt/gntfilesel.c:464:42: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. gnt_file_sel_set_current_location(sel, g_get_home_dir()); data/pidgin-2.13.0/finch/libgnt/gntkeys.c:49:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. term = getenv("TERM"); data/pidgin-2.13.0/finch/libgnt/gntmain.c:490:30: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. filename = g_build_filename(g_get_home_dir(), ".gntrc", NULL); data/pidgin-2.13.0/finch/libgnt/gnttextview.c:910:70: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. len = g_snprintf(path, sizeof(path), "%s" G_DIR_SEPARATOR_S "gnt", g_get_tmp_dir()); data/pidgin-2.13.0/finch/libgnt/gnttextview.c:937: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. argv[0] = argv[0] ? argv[0] : getenv(pg ? "PAGER" : "EDITOR"); data/pidgin-2.13.0/finch/libgnt/gntwm.c:342:36: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *filename = g_build_filename(g_get_home_dir(), ".gntpositions", NULL); data/pidgin-2.13.0/finch/libgnt/gntwm.c:2158:30: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. filename = g_build_filename(g_get_home_dir(), ".gntpositions", NULL); data/pidgin-2.13.0/finch/plugins/gntclipboard.c:62: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. ids = getenv("WINDOWID"); data/pidgin-2.13.0/finch/plugins/gntclipboard.c:119: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. if (!getenv("WINDOWID")) { data/pidgin-2.13.0/finch/plugins/gntgf.c:134: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. ids = getenv("WINDOWID"); data/pidgin-2.13.0/libpurple/account.c:971:32: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. filename = g_build_filename(g_get_home_dir(), ".gaim", "icons", data, NULL); data/pidgin-2.13.0/libpurple/dnssrv.c:159:21: [3] (random) g_random_int_range: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. r = runningtotal ? g_random_int_range(1, runningtotal + 1) : 0; data/pidgin-2.13.0/libpurple/protocols/gg/gg.c:1976:23: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. dummy_length = (int)g_random_int(); data/pidgin-2.13.0/libpurple/protocols/gg/lib/resolver.c:654:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&data->mutex); data/pidgin-2.13.0/libpurple/protocols/gg/lib/resolver.c:728:2: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(mutex); data/pidgin-2.13.0/libpurple/protocols/gg/lib/resolver.c:787:3: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&data->mutex); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_digest_md5.c:233:39: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. cnonce = g_strdup_printf("%x%u%x", g_random_int(), (int)time(NULL), data/pidgin-2.13.0/libpurple/protocols/jabber/auth_digest_md5.c:234:6: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. g_random_int()); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_scram.c:421:21: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. cnonce = ((guint64)g_random_int() << 32) | g_random_int(); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_scram.c:421:45: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. cnonce = ((guint64)g_random_int() << 32) | g_random_int(); data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.c:236:24: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. conn->rid = ((guint64)g_random_int() << 32) | g_random_int(); data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.c:236:48: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. conn->rid = ((guint64)g_random_int() << 32) | g_random_int(); data/pidgin-2.13.0/libpurple/protocols/jabber/jabber.c:995:16: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. js->next_id = g_random_int(); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:1616:29: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. guint16 cookie2 = (guint16)g_random_int(); data/pidgin-2.13.0/libpurple/protocols/oscar/kerberos.c:380:20: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. reqid = (guint16) g_random_int(); data/pidgin-2.13.0/libpurple/protocols/sametime/sametime.c:3778:3: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(time(NULL) ^ seed); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetWGPort.c:22:14: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. envptr = getenv("WGFILE"); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetWGPort.c:26:10: [3] (tmpfile) GetTempFileName: Temporary file race condition in certain cases (e.g., if run as SYSTEM in many versions of Windows) (CWE-377). GetTempFileName(tempdir,"wg.",0,name); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZLocations.c:91: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. if ((display = getenv("DISPLAY")) && *display) { data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:146: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. base = getenv("HOME"); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:148:16: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. base = getenv("HOMEPATH"); data/pidgin-2.13.0/libpurple/protocols/zephyr/sysdep.h:37:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *getenv(), *strerror(), *ctime(), *strcpy(void); data/pidgin-2.13.0/libpurple/protocols/zephyr/sysdep.h:39:14: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ZEPHYR_INT32 random(void); data/pidgin-2.13.0/libpurple/protocols/zephyr/sysdep.h:44:9: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. #define random lrand48 data/pidgin-2.13.0/libpurple/protocols/zephyr/sysdep.h:44:16: [3] (random) lrand48: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. #define random lrand48 data/pidgin-2.13.0/libpurple/protocols/zephyr/sysdep.h:45:9: [3] (random) srandom: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. #define srandom srand48 data/pidgin-2.13.0/libpurple/protocols/zephyr/sysdep.h:47:9: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. #define random rand data/pidgin-2.13.0/libpurple/protocols/zephyr/sysdep.h:48:9: [3] (random) srandom: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. #define srandom srand data/pidgin-2.13.0/libpurple/protocols/zephyr/sysdep.h:48:17: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. #define srandom srand data/pidgin-2.13.0/libpurple/util.c:2510:9: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. return g_get_home_dir(); data/pidgin-2.13.0/libpurple/util.c:2760:23: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if((tmpdir = (gchar*)g_get_tmp_dir()) != NULL) { data/pidgin-2.13.0/libpurple/util.c:5179:8: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. tmp = g_random_int(); data/pidgin-2.13.0/libpurple/util.c:5184:8: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. tmp = g_random_int(); data/pidgin-2.13.0/libpurple/util.c:5187:4: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. g_random_int(), data/pidgin-2.13.0/libpurple/util.c:5191:26: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. (tmp >> 16) & 0xFFFF, g_random_int()); data/pidgin-2.13.0/libpurple/win32/giowin32.c:119:21: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. #define LOCK(mutex) EnterCriticalSection (&mutex) data/pidgin-2.13.0/libpurple/win32/giowin32.c:152: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. if (getenv ("G_IO_WIN32_DEBUG") != NULL) data/pidgin-2.13.0/libpurple/win32/giowin32.c:174:3: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection (&channel->mutex); data/pidgin-2.13.0/pidgin/getopt.c:195:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *getenv (); data/pidgin-2.13.0/pidgin/getopt.c:355:16: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. else if (getenv ("POSIXLY_CORRECT") != NULL) data/pidgin-2.13.0/pidgin/getopt.c:654:1: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. getopt (argc, argv, optstring) data/pidgin-2.13.0/pidgin/getopt.c:684:11: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. c = getopt (argc, argv, "abc:d:0123456789"); data/pidgin-2.13.0/pidgin/getopt.h:109:12: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. extern int getopt (int argc, char *const *argv, const char *shortopts); data/pidgin-2.13.0/pidgin/getopt.h:111:12: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. extern int getopt (); data/pidgin-2.13.0/pidgin/getopt.h:113:12: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. extern int getopt_long (int argc, char *const *argv, const char *shortopts, data/pidgin-2.13.0/pidgin/getopt.h:125:12: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. extern int getopt (); data/pidgin-2.13.0/pidgin/getopt.h:126:12: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. extern int getopt_long (); data/pidgin-2.13.0/pidgin/getopt1.c:48:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *getenv (); data/pidgin-2.13.0/pidgin/getopt1.c:56:1: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. getopt_long (argc, argv, options, long_options, opt_index) data/pidgin-2.13.0/pidgin/getopt1.c:112:11: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. c = getopt_long (argc, argv, "abc:d:0123456789", data/pidgin-2.13.0/pidgin/gtkaccount.c:2669:36: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. default_avatar = g_build_filename(g_get_home_dir(), ".face.icon", NULL); data/pidgin-2.13.0/pidgin/gtkaccount.c:2672:37: [3] (buffer) g_get_home_dir: This function is synonymous with 'getenv("HOME")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. default_avatar = g_build_filename(g_get_home_dir(), ".face", NULL); data/pidgin-2.13.0/pidgin/gtkconn.c:153:18: [3] (random) g_random_int_range: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. info->delay = g_random_int_range(INITIAL_RECON_DELAY_MIN, INITIAL_RECON_DELAY_MAX); data/pidgin-2.13.0/pidgin/gtkconv.c:10278:2: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(background.red + background.green + background.blue + 1); data/pidgin-2.13.0/pidgin/gtkmain.c:653:16: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ((opt = getopt_long(argc, argv, data/pidgin-2.13.0/pidgin/plugins/disco/xmppdisco.c:90:12: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. index = g_random_int(); data/pidgin-2.13.0/pidgin/plugins/themeedit-icon.c:109:24: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char *dirname = g_get_tmp_dir(); data/pidgin-2.13.0/pidgin/plugins/xmppconsole.c:327:6: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. g_random_int(), data/pidgin-2.13.0/pidgin/plugins/xmppconsole.c:470:27: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. g_random_int(), data/pidgin-2.13.0/pidgin/plugins/xmppconsole.c:615:27: [3] (random) g_random_int: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. g_random_int(), data/pidgin-2.13.0/pidgin/win32/gtkwin32dep.c:119:29: [3] (buffer) g_get_tmp_dir: This function is synonymous with 'getenv("TMP")';it returns untrustable input if the environment can beset by an attacker. It can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. sprintf(tmpfile, "%s%s%s", g_get_tmp_dir(), G_DIR_SEPARATOR_S, _mktemp(template)); data/pidgin-2.13.0/pidgin/win32/winpidgin.c:691: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. else if (!getenv("PIDGIN_NO_DLL_CHECK")) data/pidgin-2.13.0/pidgin/win32/winpidgin.c:698:30: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!winpidgin_set_running(getenv("PIDGIN_MULTI_INST") == NULL && !multiple)) data/pidgin-2.13.0/finch/getopt.c:189:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define my_bcopy(src, dst, n) memcpy ((dst), (src), (n)) data/pidgin-2.13.0/finch/gntaccount.c:229:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). value = atoi(str); data/pidgin-2.13.0/finch/gntaccount.c:474: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 str[32]; data/pidgin-2.13.0/finch/gntblist.c:903: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 text[2096]; data/pidgin-2.13.0/finch/gntblist.c:904: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 status[8] = " "; data/pidgin-2.13.0/finch/gntblist.c:2665: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 menuid[128]; data/pidgin-2.13.0/finch/gntconv.c:716: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 command[256] = "/"; data/pidgin-2.13.0/finch/gntconv.c:743: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 command[256] = "/"; data/pidgin-2.13.0/finch/gntdebug.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 message[1024]; data/pidgin-2.13.0/finch/gntft.c:402: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 prog_str[5]; data/pidgin-2.13.0/finch/gntlog.c:233: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 prev_top_month[30] = ""; data/pidgin-2.13.0/finch/gntnotify.c:278: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[256]; data/pidgin-2.13.0/finch/gntpounce.c:906: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 *args[4]; data/pidgin-2.13.0/finch/gntrequest.c:340:35: [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 value = (text && *text) ? atoi(text) : 0; data/pidgin-2.13.0/finch/gntrequest.c:472: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[256]; data/pidgin-2.13.0/finch/gntsound.c:124: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 pref_string[512]; data/pidgin-2.13.0/finch/gntsound.c:321: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 pref[512]; data/pidgin-2.13.0/finch/gntsound.c:340: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 pname[512]; data/pidgin-2.13.0/finch/gntsound.c:701:25: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). char *enabled, *file, *tmpfile, *volpref; data/pidgin-2.13.0/finch/gntsound.c:722:30: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). purple_prefs_set_path(file, tmpfile); data/pidgin-2.13.0/finch/gntsound.c:727:9: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). g_free(tmpfile); data/pidgin-2.13.0/finch/libgnt/gntcolors.c:203: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 r = atoi(list[0]); data/pidgin-2.13.0/finch/libgnt/gntcolors.c:204: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 g = atoi(list[1]); data/pidgin-2.13.0/finch/libgnt/gntcolors.c:205: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 b = atoi(list[2]); data/pidgin-2.13.0/finch/libgnt/gntentry.c:754: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 hold[8]; /* that's right */ data/pidgin-2.13.0/finch/libgnt/gntentry.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(hold, prev, current - prev); data/pidgin-2.13.0/finch/libgnt/gntentry.c:769: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(prev + (entry->cursor - current), hold, current - prev); data/pidgin-2.13.0/finch/libgnt/gntentry.c:938:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char s[3] = {'\033', erasechar(), 0}; data/pidgin-2.13.0/finch/libgnt/gntfilesel.c:334: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 size[128]; data/pidgin-2.13.0/finch/libgnt/gntfilesel.c:426: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 size[128]; data/pidgin-2.13.0/finch/libgnt/gntkeys.c: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 key[32]; data/pidgin-2.13.0/finch/libgnt/gntkeys.c:111: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 __[32]; \ data/pidgin-2.13.0/finch/libgnt/gntkeys.c:127: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 str[2] = {'a' + ch, 0}, code[4] = "\0\0\0\0"; data/pidgin-2.13.0/finch/libgnt/gntkeys.c:147:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[2] = {'A' + ch, 0}, code[] = {'\033', 'A' + ch, 0}; data/pidgin-2.13.0/finch/libgnt/gntkeys.c:152:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char str[2] = {'0' + ch, 0}, code[] = {'\033', '0' + ch, 0}; data/pidgin-2.13.0/finch/libgnt/gntmain.c:230: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 keys[256]; data/pidgin-2.13.0/finch/libgnt/gntmain.c:351: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 errmsg[BUFSIZ]; data/pidgin-2.13.0/finch/libgnt/gntmenu.c:122: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 trigger[4] = "\0 )\0"; data/pidgin-2.13.0/finch/libgnt/gntmenu.c:172:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char t[2] = {ch, '\0'}; data/pidgin-2.13.0/finch/libgnt/gntslider.c:335: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 value[256]; data/pidgin-2.13.0/finch/libgnt/gntstyle.c:42: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 * str_styles[GNT_STYLES]; data/pidgin-2.13.0/finch/libgnt/gntstyle.c: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 group[32]; data/pidgin-2.13.0/finch/libgnt/gnttextview.c:897:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char path[1024]; data/pidgin-2.13.0/finch/libgnt/gntwm.c:46:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). # define g_fopen open data/pidgin-2.13.0/finch/libgnt/gntwm.c:365: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 x = atoi(coords[0]); data/pidgin-2.13.0/finch/libgnt/gntwm.c:366: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 y = atoi(coords[1]); data/pidgin-2.13.0/finch/libgnt/gntwm.c:745: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 ch[2] = {0, 0}, *print; data/pidgin-2.13.0/finch/libgnt/gntwm.c:752: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 unicode[12]; data/pidgin-2.13.0/finch/libgnt/gntwm.c:1287: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). FILE *file = fopen(path, "r"); data/pidgin-2.13.0/finch/libgnt/gntwm.c:1411: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[32]; data/pidgin-2.13.0/finch/libgnt/gntwm.c:2160: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(filename, "wb"); data/pidgin-2.13.0/finch/libgnt/wms/irssi.c:209:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char title[256]; data/pidgin-2.13.0/finch/libgnt/wms/irssi.c:357: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). irssi->vert = style ? atoi(style) : 1; data/pidgin-2.13.0/finch/libgnt/wms/irssi.c:361:25: [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). irssi->horiz = style ? atoi(style) : 1; data/pidgin-2.13.0/finch/plugins/gntclipboard.c:65:6: [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). w = atoi(ids); data/pidgin-2.13.0/finch/plugins/gntgf.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 buffer[1024]; data/pidgin-2.13.0/finch/plugins/gntgf.c:138:7: [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(ids); data/pidgin-2.13.0/libpurple/account.c:117:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[21]; data/pidgin-2.13.0/libpurple/account.c:299: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[21]; data/pidgin-2.13.0/libpurple/account.c:347: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_str[3]; data/pidgin-2.13.0/libpurple/account.c:624: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). purple_account_set_int(account, name, atoi(data)); data/pidgin-2.13.0/libpurple/account.c:632:50: [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). purple_account_set_ui_int(account, ui, name, atoi(data)); data/pidgin-2.13.0/libpurple/account.c:795: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). purple_proxy_info_set_port(proxy_info, atoi(data)); data/pidgin-2.13.0/libpurple/account.c:840: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). type = atoi(type_str); data/pidgin-2.13.0/libpurple/account.c:1588: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 primary[256]; data/pidgin-2.13.0/libpurple/account.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 primary[256]; data/pidgin-2.13.0/libpurple/blist.c:139: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[21]; data/pidgin-2.13.0/libpurple/blist.c: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 buf[10]; data/pidgin-2.13.0/libpurple/blist.c:452: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). purple_blist_node_set_bool(node, name, atoi(value)); data/pidgin-2.13.0/libpurple/blist.c:454:41: [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). purple_blist_node_set_int(node, name, atoi(value)); data/pidgin-2.13.0/libpurple/blist.c:649: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). imode = atoi(mode); data/pidgin-2.13.0/libpurple/cipher.c:460: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(digest_s + (n * 2), "%02x", digest[n]); data/pidgin-2.13.0/libpurple/ciphers/des.c:581: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(buf, ctx->iv, 8); data/pidgin-2.13.0/libpurple/ciphers/des.c:598:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf, output+offset, 8); data/pidgin-2.13.0/libpurple/ciphers/des.c:701: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(link, ctx->iv, 8); data/pidgin-2.13.0/libpurple/ciphers/des.c:717: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(link, data + offset, 8); data/pidgin-2.13.0/libpurple/ciphers/des.c:790: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(ctx->iv, iv, len); data/pidgin-2.13.0/libpurple/ciphers/md4.c:198: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((char *)mctx->block + (sizeof(mctx->block) - avail), data/pidgin-2.13.0/libpurple/ciphers/md4.c:203:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((char *)mctx->block + (sizeof(mctx->block) - avail), data/pidgin-2.13.0/libpurple/ciphers/md4.c:217: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(mctx->block, data, len); data/pidgin-2.13.0/libpurple/ciphers/md4.c:247:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(out, mctx->hash, sizeof(mctx->hash)); data/pidgin-2.13.0/libpurple/ciphers/md5.c:238: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((md5_context->buffer + left), data, fill); data/pidgin-2.13.0/libpurple/ciphers/md5.c:252: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((md5_context->buffer + left), data, len); data/pidgin-2.13.0/libpurple/circbuffer.c:74:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf->buffer + start_buflen, buf->buffer, shift_n); data/pidgin-2.13.0/libpurple/circbuffer.c:111:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf->inptr, src, len_stored); data/pidgin-2.13.0/libpurple/circbuffer.c:114:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf->buffer, (char*)src + len_stored, len - len_stored); data/pidgin-2.13.0/libpurple/conversation.c:1762: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[BUF_LONG]; data/pidgin-2.13.0/libpurple/core.c:687:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[256]; data/pidgin-2.13.0/libpurple/desktopitem.c:342:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf [BUFSIZ]; data/pidgin-2.13.0/libpurple/desktopitem.c:485: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 lang[3]; data/pidgin-2.13.0/libpurple/desktopitem.c:646:7: [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 (value) != 0) { data/pidgin-2.13.0/libpurple/desktopitem.c:921: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 CharBuffer [1024]; data/pidgin-2.13.0/libpurple/dnsquery.c:95: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 hostname[512]; data/pidgin-2.13.0/libpurple/dnsquery.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 servname[20]; data/pidgin-2.13.0/libpurple/dnsquery.c:268:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char servname[20]; data/pidgin-2.13.0/libpurple/dnsquery.c:378: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(&sin.sin_addr.s_addr, hp->h_addr, hp->h_length); data/pidgin-2.13.0/libpurple/dnsquery.c:411:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char s[256], e[512]; data/pidgin-2.13.0/libpurple/dnsquery.c:644: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[1024]; data/pidgin-2.13.0/libpurple/dnsquery.c:738: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 servname[20]; data/pidgin-2.13.0/libpurple/dnsquery.c:792: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(&sin.sin_addr.s_addr, hp->h_addr, hp->h_length); data/pidgin-2.13.0/libpurple/dnsquery.c:825: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 message[1024]; data/pidgin-2.13.0/libpurple/dnsquery.c:852:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char message[1024]; data/pidgin-2.13.0/libpurple/dnsquery.c:863: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 message[1024]; data/pidgin-2.13.0/libpurple/dnsquery.c:871: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(&sin.sin_addr.s_addr, hp->h_addr, hp->h_length); data/pidgin-2.13.0/libpurple/dnssrv.c: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 query[256]; data/pidgin-2.13.0/libpurple/dnssrv.c:617: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(srvres_tmp++, lstdata, sizeof(PurpleSrvResponse)); data/pidgin-2.13.0/libpurple/dnssrv.h:47: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 hostname[256]; data/pidgin-2.13.0/libpurple/example/nullclient.c: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 name[128]; data/pidgin-2.13.0/libpurple/ft.c:1185: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, buffer_got, got_len); data/pidgin-2.13.0/libpurple/log.c:798: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). imgid = atoi(idstr); data/pidgin-2.13.0/libpurple/log.c:1681: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[BUF_LONG]; data/pidgin-2.13.0/libpurple/log.c:1683: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 month[4]; data/pidgin-2.13.0/libpurple/log.c:1713: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(pathstr + strlen(pathstr) - 3, "idx"); data/pidgin-2.13.0/libpurple/log.c:1795: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 convostart[32]; data/pidgin-2.13.0/libpurple/media/backend-fs2.c:2197: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(_params, params, sizeof(GParameter) * num_params); data/pidgin-2.13.0/libpurple/media/backend-fs2.c:2618: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(info.data, key, key_len); data/pidgin-2.13.0/libpurple/mediamanager.c:1853: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 ((guint8 *)buffer + bytes_read, data/pidgin-2.13.0/libpurple/nat-pmp.c:75: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 reserved[2]; data/pidgin-2.13.0/libpurple/nat-pmp.c:252:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(sin, rti_info[RTAX_GATEWAY], sizeof(struct sockaddr_in)); data/pidgin-2.13.0/libpurple/network.c:127: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. static unsigned char ret[4]; data/pidgin-2.13.0/libpurple/network.c:136: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). ret[i] = atoi(split[i]); data/pidgin-2.13.0/libpurple/network.c:165: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/pidgin-2.13.0/libpurple/network.c:166: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 ip[16]; data/pidgin-2.13.0/libpurple/network.c:228: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[INET6_ADDRSTRLEN]; data/pidgin-2.13.0/libpurple/network.c: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 buffer[1024]; data/pidgin-2.13.0/libpurple/network.c:268: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 dst[INET_ADDRSTRLEN]; data/pidgin-2.13.0/libpurple/network.c:410: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 serv[6]; data/pidgin-2.13.0/libpurple/network.c:1012: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 dst[INET6_ADDRSTRLEN]; data/pidgin-2.13.0/libpurple/ntlm.c:140:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(msg + host_off, hostname, hostnamelen); data/pidgin-2.13.0/libpurple/ntlm.c:141: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(msg + dom_off, domain, domainlen); data/pidgin-2.13.0/libpurple/ntlm.c:158: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(nonce, tmsg->nonce, 8); data/pidgin-2.13.0/libpurple/ntlm.c:232: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, oldkey, 16); data/pidgin-2.13.0/libpurple/ntlm.c:239: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 lm_pw[14]; data/pidgin-2.13.0/libpurple/ntlm.c:240: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 lm_hpw[21]; data/pidgin-2.13.0/libpurple/ntlm.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 sesskey[16]; data/pidgin-2.13.0/libpurple/ntlm.c:249: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 lm_resp[24], nt_resp[24]; data/pidgin-2.13.0/libpurple/ntlm.c:251: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 nt_hpw[21]; data/pidgin-2.13.0/libpurple/ntlm.c:252: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 nt_pw[128]; data/pidgin-2.13.0/libpurple/ntlm.c:301:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp, ucs2le, domainlen); data/pidgin-2.13.0/libpurple/ntlm.c:310:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp, ucs2le, usernamelen); data/pidgin-2.13.0/libpurple/ntlm.c:319:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp, ucs2le, hostnamelen); data/pidgin-2.13.0/libpurple/ntlm.c:343: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(tmp, lm_resp, 0x18); data/pidgin-2.13.0/libpurple/ntlm.c:363:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp, nt_resp, 0x18); data/pidgin-2.13.0/libpurple/ntlm.c:370:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp, sesskey, 0x10); data/pidgin-2.13.0/libpurple/plugins/filectl.c:43: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 filename[MAXPATHLEN]; data/pidgin-2.13.0/libpurple/plugins/filectl.c:44: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/pidgin-2.13.0/libpurple/plugins/filectl.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 filename[MAXPATHLEN]; data/pidgin-2.13.0/libpurple/plugins/filectl.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 filename[MAXPATHLEN]; data/pidgin-2.13.0/libpurple/plugins/log_reader.c:119: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 contents[57]; /* XXX: This is really inflexible. */ data/pidgin-2.13.0/libpurple/plugins/log_reader.c:181: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 contents[14]; /* XXX: This is really inflexible. */ data/pidgin-2.13.0/libpurple/plugins/log_reader.c:2170: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 month[4]; data/pidgin-2.13.0/libpurple/plugins/log_reader.c:2396: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 colour[7]; data/pidgin-2.13.0/libpurple/plugins/perl/perl-handlers.c:369: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. if (!*((char **)copy_args[i]) || !SvPVX(sv_args[i]) || data/pidgin-2.13.0/libpurple/plugins/perl/perl-handlers.c:370:28: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. !purple_strequal(*((char **)copy_args[i]), SvPVX(sv_args[i]))) { data/pidgin-2.13.0/libpurple/plugins/perl/perl-handlers.c:371:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. g_free(*((char **)copy_args[i])); data/pidgin-2.13.0/libpurple/plugins/perl/perl-handlers.c:372:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. *((char **)copy_args[i]) = data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:485: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 *atmp[3] = { plugin->path, NULL, NULL }; data/pidgin-2.13.0/libpurple/plugins/ssl/ssl-gnutls.c:74:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int level = atoi(debug_level); data/pidgin-2.13.0/libpurple/plugins/ssl/ssl-gnutls.c:1248: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 buffer1[64], buffer2[64]; data/pidgin-2.13.0/libpurple/plugins/statenotify.c:21: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/pidgin-2.13.0/libpurple/plugins/tcl/tcl.c:449: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). major = atoi(tokens[0]); data/pidgin-2.13.0/libpurple/plugins/tcl/tcl.c:450: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). minor = atoi(tokens[1]); data/pidgin-2.13.0/libpurple/plugins/tcl/tcl.c:451: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). micro = atoi(tokens[2]); data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_cmd.c:183: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[32]; data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_cmds.c:1088:25: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. Tcl_NewStringObj((char *)purple_prefs_get_string(Tcl_GetString(objv[2])), -1)); data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_signals.c:261: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. *(char *)vals[i] = '\0'; data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_signals.c:373:30: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. if (vals[i] != NULL && *(char **)vals[i] != NULL) { data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_signals.c:397: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[32]; data/pidgin-2.13.0/libpurple/prefs.c:143: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[21]; data/pidgin-2.13.0/libpurple/prefs.c:354:48: [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). purple_prefs_set_bool(pref_name_full->str, atoi(pref_value)); data/pidgin-2.13.0/libpurple/prefs.c:357:47: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). purple_prefs_set_int(pref_name_full->str, atoi(pref_value)); data/pidgin-2.13.0/libpurple/prefs.c:1623: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 sep[2] = "\0\0";; data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour.c:621: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 username[UNLEN + 1]; data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c: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 buf[1]; data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:185: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[32]; data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:670: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). !(portnum = atoi(port))) { data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:884: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(xf->tx_buf + 5, xf->buddy_ip, strlen(xf->buddy_ip)); data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:1029: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 dstaddr[41]; data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:1031: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 hashval[20]; data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.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 rx_buf[0x500]; data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.h:47: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 tx_buf[0x500]; data/pidgin-2.13.0/libpurple/protocols/bonjour/jabber.c:192: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). font_size = _font_size_ichat_to_purple(atoi(font_size)); data/pidgin-2.13.0/libpurple/protocols/bonjour/jabber.c:418: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 message[4096]; data/pidgin-2.13.0/libpurple/protocols/bonjour/jabber.c:641: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 addrstr[INET6_ADDRSTRLEN]; data/pidgin-2.13.0/libpurple/protocols/bonjour/jabber.c:1367: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 addrstr[INET6_ADDRSTRLEN]; data/pidgin-2.13.0/libpurple/protocols/bonjour/jabber.c:1411: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/pidgin-2.13.0/libpurple/protocols/bonjour/mdns_avahi.c: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 ip[AVAHI_ADDRESS_STR_MAX]; data/pidgin-2.13.0/libpurple/protocols/bonjour/mdns_common.c:58: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 buffer[MAX_TXT_CONSTITUENT_LEN + 1]; data/pidgin-2.13.0/libpurple/protocols/bonjour/mdns_common.c: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 portstring[6]; data/pidgin-2.13.0/libpurple/protocols/bonjour/mdns_dns_sd.c:632: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 svc_name[kDNSServiceMaxDomainName]; data/pidgin-2.13.0/libpurple/protocols/bonjour/parser.c:42:35: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. bconv->buddy_name = g_strndup((char *)attributes[i+3], len); data/pidgin-2.13.0/libpurple/protocols/bonjour/parser.c:94:30: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 *name = (const char *)attributes[i]; data/pidgin-2.13.0/libpurple/protocols/bonjour/parser.c:95:32: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *prefix = (const char *)attributes[i+1]; data/pidgin-2.13.0/libpurple/protocols/bonjour/parser.c:96:35: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 *attrib_ns = (const char *)attributes[i+2]; data/pidgin-2.13.0/libpurple/protocols/bonjour/parser.c:101: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(attrib, attributes[i+3], attrib_len); data/pidgin-2.13.0/libpurple/protocols/gg/buddylist.c:106:25: [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). if ('\0' == *name || !atol(name)) { data/pidgin-2.13.0/libpurple/protocols/gg/gg.c:1268: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). event_type = atoi(event_type_raw); data/pidgin-2.13.0/libpurple/protocols/gg/gg.c:1855: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 format[1024]; data/pidgin-2.13.0/libpurple/protocols/gg/gg.c:1884:89: [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((id = g_datalist_get_data(&attribs, "id")) && (image = purple_imgstore_find_by_id(atoi(id)))) { data/pidgin-2.13.0/libpurple/protocols/gg/gg.c:1892:87: [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). g_hash_table_insert(info->pending_images, GINT_TO_POINTER(crc32), GINT_TO_POINTER(atoi(id))); data/pidgin-2.13.0/libpurple/protocols/gg/gg.c:1894:89: [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). purple_debug_info("gg", "ggp_send_im_richtext: got crc: %u for imgid: %i\n", crc32, atoi(id)); data/pidgin-2.13.0/libpurple/protocols/gg/gg.c:1908: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(format + format_length, &actformat, sizeof(actformat)); data/pidgin-2.13.0/libpurple/protocols/gg/gg.c:1910: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(format + format_length, &actimage, sizeof(actimage)); data/pidgin-2.13.0/libpurple/protocols/gg/gg.c:1930: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(format, &fmt, sizeof(fmt)); data/pidgin-2.13.0/libpurple/protocols/gg/gg.c:2372: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 msgbuff[1000]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:105: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[2]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:416:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[16]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:712: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[11]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:720: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(buff, str, len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:795: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(chat->participants, participants, data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc.c:95: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(ft, &tmp, sizeof(tmp)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc.c:141:20: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((d->file_fd = open(local_filename, O_RDONLY)) == -1) { data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc.c:652:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024], ack[] = "UDAG"; data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc.c:1084: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(&file_info_packet.file_info, &h->file_info, sizeof(h->file_info)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc7.c:441: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(dcc->hash, hash, GG_DCC7_HASH_LEN); data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc7.c:471: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_buf[GG_DCC7_HASH_LEN]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc7.c:487:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fd = open(filename, O_RDONLY)) == -1) { data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc7.c:670: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((char*)s.filename, (char*)tmp->filename, sizeof(s.filename)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc7.c:763:61: [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 (!(tmp = strchr(p->info, ' ')) || !(dcc->remote_port = atoi(tmp + 1))) { data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc7.c:962: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(dcc->hash, p->hash, GG_DCC7_HASH_LEN); data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc7.c:1310:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc7.c:1373:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc7.c:1519:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[256]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/debug.c:164: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[80]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/debug.c:170:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(line, "%.4x: ", i); data/pidgin-2.13.0/libpurple/protocols/gg/lib/debug.c:175: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(line + ofs, " %02x", (unsigned char) buf[i + j]); data/pidgin-2.13.0/libpurple/protocols/gg/lib/debug.c:177: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(line + ofs, " "); data/pidgin-2.13.0/libpurple/protocols/gg/lib/debug.c:182:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(line + ofs, " "); data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:278: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[1024]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:283: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 rdata[1024]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:587: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/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:620: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(sess->recv_buf + sess->recv_done, buf, res); data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:679:5: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(list, ", "); data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c: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 buf[1024], *tmp, host[129]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:1008: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(sess->recv_buf + sess->recv_done, buf, res); data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:1087:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). port = atoi(tmp + 1); data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:1302: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/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:1371:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[256]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:1396: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[256]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:1466: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/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:1500: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(sess->recv_buf + sess->recv_done, buf, res); data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:1593: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[1024]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/fileio.h:39: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). # undef open data/pidgin-2.13.0/libpurple/protocols/gg/lib/fileio.h:40:11: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). # define open _open data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:98: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 client_str[1000]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:246: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(hash_buf, &hash, sizeof(hash)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:254: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[41]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:551:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(ge->event.xml_event.data, ptr, len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:653: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(gs->userlist_reply + reply_len, ptr + 1, len - 1); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:822: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(q->image + q->done, p, len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:910: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(e->event.msg.recipients, p, count * sizeof(uin_t)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:933: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(&len, p + 1, sizeof(uint16_t)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:962: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, p, len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:1473: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(ev->formats, msg->data.data, msg->data.len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:1490: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(ev->recipients, chat->participants, data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:1604: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(&t, ptr + len - 4, sizeof(uint32_t)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:1638: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(ge->event.notify_descr.notify, ptr, sizeof(*n)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:1665: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(ge->event.notify, ptr, len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:2106: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(key, p, key_size); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:2144: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(value, p, value_size); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:2191: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(&uin, &n->uin, sizeof(uin_t)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:2274: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(sessions[i].name, p, name_size); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:2843:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp, ptr, len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/http.c:308:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024], *tmp; data/pidgin-2.13.0/libpurple/protocols/gg/lib/http.c:351: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(h->header + h->header_size, buf, res); data/pidgin-2.13.0/libpurple/protocols/gg/lib/http.c:392: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). h->body_size = atoi(line + 16); data/pidgin-2.13.0/libpurple/protocols/gg/lib/http.c:428: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(h->body, tmp + sep_len, left); data/pidgin-2.13.0/libpurple/protocols/gg/lib/http.c:443:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/http.c:508: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(h->body + h->body_done, buf, res); data/pidgin-2.13.0/libpurple/protocols/gg/lib/internal.h:114: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[1910]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/internal.h:228: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(&trap[2], &addr, sizeof(addr)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/internal.h:231: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(&trap[1], &addr, sizeof(addr)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/internal.h:238:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data->trap, trap, sizeof(trap)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/internal.h:239:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data->original, orig_func, sizeof(trap)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/internal.h:241: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(orig_func, trap, sizeof(trap)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/internal.h:259:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data->fnc, src, sizeof(data->trap)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:495: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(sess->send_buf + sess->send_left, buf + res, length - res); data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:754:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp + tmp_length, payload, payload_length); data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:928: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(colon + 1); data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:949: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(&sess_private->socket_manager, data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:1655: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(generated_format + 1, &fixed_fmt_len, sizeof(fixed_fmt_len)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:2125: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[1910]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:2183:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buf + buflen, image, chunklen); data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:2197: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(&it->msg_hdr, &s, sizeof(s)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:2198: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(it->buf, buf, buflen + chunklen); data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:2654: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(&pkt.uin, &uin, sizeof(uin_t)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.h:419: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 filename[GG_MAX_PATH - 14]; /**< cFileName */ data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.h:420: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 short_filename[14]; /**< cAlternateFileName */ data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.h:480: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 filename[GG_DCC7_FILENAME_LEN + 1]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.h:482: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 hash[GG_DCC7_HASH_LEN]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.h:2550: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 info[GG_DCC7_INFO_LEN]; /* informacje o poÅ‚Ä…czeniu "ip port" */ data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.h:2551: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[GG_DCC7_INFO_HASH_LEN];/* skrót "ip" */ data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.h:2561: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 filename[GG_DCC7_FILENAME_LEN]; /* nazwa pliku */ data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.h:2564: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 hash[GG_DCC7_HASH_LEN]; /* hash SHA1 */ data/pidgin-2.13.0/libpurple/protocols/gg/lib/message.c:138:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(tmp, recipients, recipient_count * sizeof(uin_t)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/message.c:371: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(&dst[*pos], src, len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/message.c:650: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(*format, color, color_size); data/pidgin-2.13.0/libpurple/protocols/gg/lib/message.c:662:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(old_color, color, color_size); data/pidgin-2.13.0/libpurple/protocols/gg/lib/message.c:688: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 color[3] = { 0 }, old_color[3] = { 0 }; data/pidgin-2.13.0/libpurple/protocols/gg/lib/message.c:748:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char img_attr[13]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/message.c:751: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. char buf[3] = { 0 }; data/pidgin-2.13.0/libpurple/protocols/gg/lib/message.c:766:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(format, img_attr, sizeof(img_attr)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/message.c:835: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. char buf[3] = { 0 }; data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:206: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(new_data, simp->data, simp->len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:214: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(simp->data + simp->len, data, len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:565:26: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. size_t len = strlen(((char **) array)[i]); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:804:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(out, &value, 4); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:835:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(out, &value, 8); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:887:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(out + rv, str, len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:908:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(out + rv, bd->data, len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:1111:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(out, in, n * 4); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:1134:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(out, in, n * 8); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:1295:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(out + rv, field->data, field->len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:1946: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(new_field, *p_earlier, data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:1948: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(new_field + data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:2040: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(latter_elem, earlier_elem, el_size); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:2157: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(&t, data, 4); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:2201: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(&t, data, 8); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:2293: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(*pstr, data + pref_len, len - pref_len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:2316: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(bd->data, data + pref_len, len - pref_len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:2528: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(array, at, count * siz); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:2561: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(ufield->data, scanned_member->data, ufield->len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:2621: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(field, dv, 4); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:2629: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(field, dv, 8); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:2632: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(field, dv, sizeof(protobuf_c_boolean)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:2635: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(field, dv, sizeof(ProtobufCBinaryData)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:2707: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 required_fields_bitmap_stack[16]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:2999:27: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. do_free(allocator, ((char **) arr)[i]); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf.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 data[GG_PROTOBUFF_UIN_MAXLEN + 1 + 2]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir.c:830: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(h, h2, sizeof(struct gg_http)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir50.c:419: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). res->next = value ? atoi(value) : 0; data/pidgin-2.13.0/libpurple/protocols/gg/lib/resolver.c:188: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(&((*result)[i]), he_ptr->h_addr_list[i], sizeof(struct in_addr)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/resolver.c:259: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)[i]), he->h_addr_list[i], sizeof(struct in_addr)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/sha1.c:78:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buffer[64]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/sha1.c:81:62: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 void SHA1_Transform(uint32_t state[5], const unsigned char buffer[64]); data/pidgin-2.13.0/libpurple/protocols/gg/lib/sha1.c:84:32: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static int SHA1_Final(unsigned char digest[20], SHA_CTX* context); data/pidgin-2.13.0/libpurple/protocols/gg/lib/sha1.c:111:62: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 void SHA1_Transform(uint32_t state[5], const unsigned char buffer[64]) data/pidgin-2.13.0/libpurple/protocols/gg/lib/sha1.c:115:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char c[64]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/sha1.c:190:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&context->buffer[j], data, (i = 64-j)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/sha1.c:198: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(&context->buffer[j], &data[i], len - i); data/pidgin-2.13.0/libpurple/protocols/gg/lib/sha1.c:206:32: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static int SHA1_Final(unsigned char digest[20], SHA_CTX* context) data/pidgin-2.13.0/libpurple/protocols/gg/lib/sha1.c:209:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char finalcount[8]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/sha1.c:288: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 buf[4096]; data/pidgin-2.13.0/libpurple/protocols/gg/lib/tvbuff.c:258: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(&val, tvb->buffer + tvb->offset, 4); data/pidgin-2.13.0/libpurple/protocols/gg/lib/tvbuff.c:284: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(&val, tvb->buffer + tvb->offset, 8); data/pidgin-2.13.0/libpurple/protocols/gg/lib/tvbuff.c:404:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buffer, tvb->buffer + tvb->offset, length); data/pidgin-2.13.0/libpurple/protocols/gg/lib/tvbuilder.c:387: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(buff, buffer, length); data/pidgin-2.13.0/libpurple/protocols/gg/lib/tvbuilder.c:419: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 uin_str[16]; data/pidgin-2.13.0/libpurple/protocols/irc/cmds.c:140: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(action, "\001ACTION "); data/pidgin-2.13.0/libpurple/protocols/irc/cmds.c:674: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, mode[5]; data/pidgin-2.13.0/libpurple/protocols/irc/dcc_send.c:120: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). xfer->remote_port = atoi(token[i+1]); data/pidgin-2.13.0/libpurple/protocols/irc/dcc_send.c:131: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). purple_xfer_set_size(xfer, token[i+2] ? atoi(token[i+2]) : 0); data/pidgin-2.13.0/libpurple/protocols/irc/dcc_send.c:182: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[64]; data/pidgin-2.13.0/libpurple/protocols/irc/dcc_send.c:197:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(xd->rxqueue + xd->rxlen, buffer, len); data/pidgin-2.13.0/libpurple/protocols/irc/dcc_send.c:279: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. const char *arg[2]; data/pidgin-2.13.0/libpurple/protocols/irc/irc.c:569: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. const char *args[2]; data/pidgin-2.13.0/libpurple/protocols/irc/irc.c:584: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. const char *args[2]; data/pidgin-2.13.0/libpurple/protocols/irc/irc.c:594: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. const char *args[1]; data/pidgin-2.13.0/libpurple/protocols/irc/irc.c:769: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. const char *args[2]; data/pidgin-2.13.0/libpurple/protocols/irc/irc.c:784: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. const char *args[2]; data/pidgin-2.13.0/libpurple/protocols/irc/irc.c:800: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. const char *args[2]; data/pidgin-2.13.0/libpurple/protocols/irc/irc.c:815: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. const char *args[2]; data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:47:62: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 void irc_chat_remove_buddy(PurpleConversation *convo, char *data[2]); data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:77:62: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 void irc_chat_remove_buddy(PurpleConversation *convo, char *data[2]) data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:276: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 t1 = atoi(args[4]); data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:378: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). irc->whois.idle = atoi(args[2]); data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:380:32: [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). irc->whois.signon = (time_t)atoi(args[3]); data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:646:14: [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). t = (time_t)atol(args[3]); data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:1376: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[2]; data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:42: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 *irc_mirc_colors[16] = { data/pidgin-2.13.0/libpurple/protocols/irc/parse.c: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 args[10]; data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:380: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 fg[3] = "\0\0", bg[3] = "\0\0"; data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:428: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). fgnum = atoi(fg); data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:434:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). bgnum = atoi(bg); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_scram.c:105: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(prev, result, hash->size); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_scram.c:118: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(prev, tmp, hash->size); data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.c:523: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). major = atoi(version); data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.c:525: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). minor = atoi(dot + 1); data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.c:538: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). js->max_inactivity = atoi(inactivity); data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.c:557: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). conn->max_requests = atoi(requests); data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.c:757: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). len = atoi(content_length + strlen("\r\nContent-Length:")); data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.c:839: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[1025]; data/pidgin-2.13.0/libpurple/protocols/jabber/buddy.c:755: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 priority[12]; data/pidgin-2.13.0/libpurple/protocols/jabber/disco.c:82: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). sh->port = atoi(port); data/pidgin-2.13.0/libpurple/protocols/jabber/disco.c:440: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 dst[INET6_ADDRSTRLEN]; data/pidgin-2.13.0/libpurple/protocols/jabber/google/gmail.c:51: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). count = atoi(in_str); data/pidgin-2.13.0/libpurple/protocols/jabber/google/gmail.c:61: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. const char *default_tos[2] = { bare_jid }; data/pidgin-2.13.0/libpurple/protocols/jabber/google/google_session.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(new_params, params, sizeof(GParameter) * num_params); data/pidgin-2.13.0/libpurple/protocols/jabber/google/google_session.c:529:35: [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). codec = purple_media_codec_new(atoi(id), encoding_name, data/pidgin-2.13.0/libpurple/protocols/jabber/google/google_session.c:532: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). clock_rate ? atoi(clock_rate) : 0); data/pidgin-2.13.0/libpurple/protocols/jabber/google/google_session.c:620: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 n[4]; data/pidgin-2.13.0/libpurple/protocols/jabber/google/google_session.c:662:6: [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(port)); data/pidgin-2.13.0/libpurple/protocols/jabber/google/google_session.c:742:6: [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(id), encoding_name, data/pidgin-2.13.0/libpurple/protocols/jabber/google/google_session.c:745: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). clock_rate ? atoi(clock_rate) : 0); data/pidgin-2.13.0/libpurple/protocols/jabber/google/jingleinfo.c:41: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 dst[INET6_ADDRSTRLEN]; data/pidgin-2.13.0/libpurple/protocols/jabber/google/jingleinfo.c:113: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). int port = atoi(udp); data/pidgin-2.13.0/libpurple/protocols/jabber/google/relay.c:46: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). *udp = atoi(parts[1]); data/pidgin-2.13.0/libpurple/protocols/jabber/google/relay.c:48: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). *tcp = atoi(parts[1]); data/pidgin-2.13.0/libpurple/protocols/jabber/google/relay.c:50:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *ssltcp = atoi(parts[1]); data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.c:57:27: [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). const char *id, xmlnode *open, gpointer user_data) data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.c:60:40: [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). const gchar *sid = xmlnode_get_attrib(open, "sid"); data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.c:61:47: [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). const gchar *block_size = xmlnode_get_attrib(open, "block-size"); data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.c:63:7: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!open) { data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.c:76: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). sess->block_size = atoi(block_size); data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.c:240:25: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). xmlnode_set_namespace(open, NS_IBB); data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.c:241:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). xmlnode_set_attrib(open, "sid", jabber_ibb_session_get_sid(sess)); data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.c:244:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). xmlnode_set_attrib(open, "block-size", block_size); data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.c:245:35: [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). xmlnode_insert_child(set->node, open); data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.c:341: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 seq[10]; data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.c:406: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). guint16 seq = (seq_attr ? atoi(seq_attr) : 0); data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.c:476:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). } else if (open) { data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.h:41:66: [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). const char *id, xmlnode *open); data/pidgin-2.13.0/libpurple/protocols/jabber/ibb.h:80:47: [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). const gchar *from, const gchar *id, xmlnode *open, gpointer user_data); data/pidgin-2.13.0/libpurple/protocols/jabber/jabber.c:183: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 hostname[256], /* current hostname */ data/pidgin-2.13.0/libpurple/protocols/jabber/jabber.c:648: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 buf[4096]; data/pidgin-2.13.0/libpurple/protocols/jabber/jabber.c:686: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 buf[4096]; data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/iceudp.c:338: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(component), data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/iceudp.c:340: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(generation), data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/iceudp.c:343: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(network), data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/iceudp.c:344: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(port), data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/iceudp.c:345: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(priority), data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/iceudp.c:352: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). relport != NULL ? atoi(relport) : 0; data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/rawudp.c:300: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(generation), data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/rawudp.c:301: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(component), data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/rawudp.c:303: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(port)); data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/rtp.c:698: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). codec = purple_media_codec_new(atoi(id), encoding_name, data/pidgin-2.13.0/libpurple/protocols/jabber/jingle/rtp.c:700: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). clock_rate ? atoi(clock_rate) : 0); data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:39: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 idn_buffer[1024]; data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:633: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 buf[3072]; /* maximum legal length of a jabber jid */ data/pidgin-2.13.0/libpurple/protocols/jabber/message.c:134: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/pidgin-2.13.0/libpurple/protocols/jabber/oob.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 test[2048]; data/pidgin-2.13.0/libpurple/protocols/jabber/parser.c:71: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). js->protocol_version.major = atoi(attrib); data/pidgin-2.13.0/libpurple/protocols/jabber/parser.c:72:40: [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). js->protocol_version.minor = dot ? atoi(dot + 1) : 0; data/pidgin-2.13.0/libpurple/protocols/jabber/parser.c:129:30: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 *key = (const char *)namespaces[j]; data/pidgin-2.13.0/libpurple/protocols/jabber/parser.c:130:30: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 *val = (const char *)namespaces[j + 1]; data/pidgin-2.13.0/libpurple/protocols/jabber/parser.c:136:30: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 *name = (const char *)attributes[i]; data/pidgin-2.13.0/libpurple/protocols/jabber/parser.c:137:32: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *prefix = (const char *)attributes[i+1]; data/pidgin-2.13.0/libpurple/protocols/jabber/parser.c:138:35: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 *attrib_ns = (const char *)attributes[i+2]; data/pidgin-2.13.0/libpurple/protocols/jabber/presence.c:1135: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). presence->priority = atoi(p); data/pidgin-2.13.0/libpurple/protocols/jabber/presence.c:1183: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). presence->idle = atoi(seconds); data/pidgin-2.13.0/libpurple/protocols/jabber/presence.c:1241: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). val = atoi(code); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:358: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). (portnum = atoi(port))))) { data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:416: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[42]; /* 40 for DST.ADDR + 2 bytes for port number*/ data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:436: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(jsx->rxqueue + jsx->rxlen, buffer, len); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:465: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(jsx->rxqueue + jsx->rxlen, buffer, len); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:515: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(jsx->rxqueue + 5, host, strlen(host)); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:574: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[256]; data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:594: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(jsx->rxqueue + jsx->rxlen, buffer, len); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:613: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(jsx->rxqueue + jsx->rxlen, buffer, len); data/pidgin-2.13.0/libpurple/protocols/jabber/si.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 port[6]; data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:1044: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, jsx->ibb_buffer->outptr, tmp); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:1054:37: [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). xmlnode *open) data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:1056:40: [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). const gchar *sid = xmlnode_get_attrib(open, "sid"); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:1061:56: [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). jabber_ibb_session_create_from_xmlnode(js, who, id, open, xfer); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:1239: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[32]; data/pidgin-2.13.0/libpurple/protocols/jabber/win32/posix.uname.c:90: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( uts->version, "%i", __MINGW32_MAJOR_VERSION ); data/pidgin-2.13.0/libpurple/protocols/jabber/win32/posix.uname.c:91: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( uts->release, "%i", __MINGW32_MINOR_VERSION ); data/pidgin-2.13.0/libpurple/protocols/jabber/win32/posix.uname.c:117:15: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf( uts->machine, "i%ld", System_Info.dwProcessorType ); data/pidgin-2.13.0/libpurple/protocols/jabber/win32/posix.uname.c:125: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( uts->machine, "i%d86", System_Info.wProcessorLevel ); data/pidgin-2.13.0/libpurple/protocols/jabber/win32/utsname.h:10: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 sysname[20]; data/pidgin-2.13.0/libpurple/protocols/jabber/win32/utsname.h:11: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 nodename[20]; data/pidgin-2.13.0/libpurple/protocols/jabber/win32/utsname.h:12: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 release[20]; data/pidgin-2.13.0/libpurple/protocols/jabber/win32/utsname.h:13: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 version[20]; data/pidgin-2.13.0/libpurple/protocols/jabber/win32/utsname.h:14: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 machine[20]; data/pidgin-2.13.0/libpurple/protocols/novell/nmconn.c:68:15: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 hex_table[16] = "0123456789abcdef"; data/pidgin-2.13.0/libpurple/protocols/novell/nmconn.c:301: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[4096]; data/pidgin-2.13.0/libpurple/protocols/novell/nmconn.c:414: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[512]; data/pidgin-2.13.0/libpurple/protocols/novell/nmconn.c:496: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[512]; data/pidgin-2.13.0/libpurple/protocols/novell/nmconn.c:499: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 rtn_buf[8]; data/pidgin-2.13.0/libpurple/protocols/novell/nmconn.c:523: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). rtn_code = atoi(rtn_buf); data/pidgin-2.13.0/libpurple/protocols/novell/nmconn.c:546: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 tag[64]; data/pidgin-2.13.0/libpurple/protocols/novell/nmcontact.c:97: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). contact->id = atoi((char *) field->ptr_value); data/pidgin-2.13.0/libpurple/protocols/novell/nmcontact.c:104:25: [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). contact->parent_id = atoi((char *) field->ptr_value); data/pidgin-2.13.0/libpurple/protocols/novell/nmcontact.c:112: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). contact->seq = atoi((char *) field->ptr_value); data/pidgin-2.13.0/libpurple/protocols/novell/nmcontact.c:145: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). contact->id = atoi((char *)field->ptr_value); data/pidgin-2.13.0/libpurple/protocols/novell/nmcontact.c:152:25: [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). contact->parent_id = atoi((char *) field->ptr_value); data/pidgin-2.13.0/libpurple/protocols/novell/nmcontact.c:160: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). contact->seq = atoi((char *) field->ptr_value); data/pidgin-2.13.0/libpurple/protocols/novell/nmcontact.c:470: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). folder->id = atoi((char *) field->ptr_value); data/pidgin-2.13.0/libpurple/protocols/novell/nmcontact.c:477: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). folder->seq = atoi((char *) field->ptr_value); data/pidgin-2.13.0/libpurple/protocols/novell/nmcontact.c:531: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). folder->id = atoi((char *) field->ptr_value); data/pidgin-2.13.0/libpurple/protocols/novell/nmcontact.c:539: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). folder->seq = atoi((char *) field->ptr_value); data/pidgin-2.13.0/libpurple/protocols/novell/nmfield.c:249: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(dest->ptr_value, src->ptr_value, src->size); data/pidgin-2.13.0/libpurple/protocols/novell/nmfield.c:334: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(value, (const char *) field->ptr_value, field->size); data/pidgin-2.13.0/libpurple/protocols/novell/nmrtf.c:510: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 keyword[30]; data/pidgin-2.13.0/libpurple/protocols/novell/nmrtf.c:511: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 parameter[20]; data/pidgin-2.13.0/libpurple/protocols/novell/nmrtf.c:550: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). ctx->param = param = atoi(parameter); data/pidgin-2.13.0/libpurple/protocols/novell/nmrtf.c:624: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[7]; data/pidgin-2.13.0/libpurple/protocols/novell/nmuser.c:1243: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). user->default_deny = atoi((char *)locate->ptr_value); data/pidgin-2.13.0/libpurple/protocols/novell/nmuser.c:1565:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ret_code = atoi((char *) field->ptr_value); data/pidgin-2.13.0/libpurple/protocols/novell/nmuser.c:1701:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atoi((char *)locate->ptr_value)); data/pidgin-2.13.0/libpurple/protocols/novell/nmuser.c:1729: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). atoi((char *) locate->ptr_value), NULL); data/pidgin-2.13.0/libpurple/protocols/novell/nmuser.c:1783: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). req = nm_conn_find_request(conn, atoi((char *) field->ptr_value)); data/pidgin-2.13.0/libpurple/protocols/novell/nmuser.c:1989:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). objid1 = atoi((char *) locate->ptr_value); data/pidgin-2.13.0/libpurple/protocols/novell/nmuserrecord.c:169: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). user_record->status = atoi((char *) field->ptr_value); data/pidgin-2.13.0/libpurple/protocols/oscar/bstream.c:138: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(buf, bs->data + bs->offset, len); data/pidgin-2.13.0/libpurple/protocols/oscar/bstream.c:226: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(bs->data + bs->offset, v, len); data/pidgin-2.13.0/libpurple/protocols/oscar/bstream.c:241: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(bs->data + bs->offset, srcbs->data + srcbs->offset, len); data/pidgin-2.13.0/libpurple/protocols/oscar/bstream.c:253: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). return byte_stream_putle32(bs, atoi(purple_account_get_username(account))); data/pidgin-2.13.0/libpurple/protocols/oscar/clientlogin.c:207: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). code = atoi(tmp); data/pidgin-2.13.0/libpurple/protocols/oscar/clientlogin.c:218: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). status_detail = atoi(data); data/pidgin-2.13.0/libpurple/protocols/oscar/clientlogin.c:304:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *port = atoi(tmp); data/pidgin-2.13.0/libpurple/protocols/oscar/clientlogin.c:462: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). status_code = atoi(tmp); data/pidgin-2.13.0/libpurple/protocols/oscar/clientlogin.c:466:25: [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). status_detail_code = atoi(tmp); data/pidgin-2.13.0/libpurple/protocols/oscar/family_feedbag.c:1094: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(&csumdata[2], iconsum, iconsumlen); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:1223: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 proxyip[30] = {""}; data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:1224: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 clientip[30] = {""}; data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:1225: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 verifiedip[30] = {""}; data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:1259: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(args.cookie, cookie2, 8); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c:248: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). byte_stream_putle32(&bs, atoi(uin)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c:257:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). info->uin = atoi(uin); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c:295: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). byte_stream_putle32(&bs, atoi(uin)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c:304:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). info->uin = atoi(uin); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c:725: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). info->uin = atoi(uin); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c:728: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(&info->icbm_cookie, cookie, 8); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:493: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(cur->iconcsum, userinfo->iconcsum, userinfo->iconcsumlen); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:502: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(cur->info, userinfo->info, userinfo->info_len); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:514: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(cur->status, userinfo->status, userinfo->status_len); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:529:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(cur->itmsurl, userinfo->itmsurl, userinfo->itmsurl_len); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:544: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(cur->away, userinfo->away, userinfo->away_len); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1393: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(userinfo->info, tlv->value, tlv->length); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1401: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(userinfo->away, tlv->value, tlv->length); data/pidgin-2.13.0/libpurple/protocols/oscar/family_oservice.c:460:15: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 *codes[5] = { data/pidgin-2.13.0/libpurple/protocols/oscar/kerberos.c:284: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(&(bosip[i+1])); data/pidgin-2.13.0/libpurple/protocols/oscar/msgcookie.c:120: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(cookie->cookie, c, 8); data/pidgin-2.13.0/libpurple/protocols/oscar/odc.c:98: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(frame->bn, username, strlen(username)); data/pidgin-2.13.0/libpurple/protocols/oscar/odc.c:99: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(frame->cookie, conn->cookie, 8); data/pidgin-2.13.0/libpurple/protocols/oscar/odc.c:296: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(idstr); data/pidgin-2.13.0/libpurple/protocols/oscar/odc.c:305:11: [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). size = atol(sizestr); data/pidgin-2.13.0/libpurple/protocols/oscar/odc.c:350: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(idstr); data/pidgin-2.13.0/libpurple/protocols/oscar/odc.c:351:11: [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). size = atol(sizestr); data/pidgin-2.13.0/libpurple/protocols/oscar/oft.c:232: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(&(conn->xferdata), frame, sizeof(OftFrame)); data/pidgin-2.13.0/libpurple/protocols/oscar/oft.c:323: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(conn->xferdata.cookie, conn->cookie, 8); data/pidgin-2.13.0/libpurple/protocols/oscar/oft.c:334: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(conn->xferdata.cookie, conn->cookie, 8); data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:202: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 hex[3]; data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:922: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 m[17]; data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:935: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[256]; data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:1044: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[256]; data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:1124: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[256]; data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:1181: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(&(info->bosip[i+1])); data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:1322:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). port = atoi(separator + 1); data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:2678: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 *tos[2] = { to }; data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:2679: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 *urls[2] = { emailinfo->url }; data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:3097: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 msg[256]; data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:3245:49: [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 (id && (image = purple_imgstore_find_by_id(atoi(id)))) { data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:3657:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(tmp, "..."); data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:5639: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 buf[BUF_LEN]; data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:5705: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 prpl[11]; data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.h:1182: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[AIM_MODULENAME_MAXLEN+1]; data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.h:1281: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[128]; data/pidgin-2.13.0/libpurple/protocols/oscar/peer.c:125: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(conn->magic, "ODC2", 4); data/pidgin-2.13.0/libpurple/protocols/oscar/peer.c:127: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(conn->magic, "OFT2", 4); data/pidgin-2.13.0/libpurple/protocols/oscar/peer.c:1042: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(conn->cookie, args->cookie, 8); data/pidgin-2.13.0/libpurple/protocols/oscar/tlv.c:740: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(ret, tlv->value, tlv->length); data/pidgin-2.13.0/libpurple/protocols/oscar/userinfo.c:448: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 age[5]; data/pidgin-2.13.0/libpurple/protocols/sametime/sametime.c:3872:40: [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). img = purple_imgstore_find_by_id(atoi(id)); data/pidgin-2.13.0/libpurple/protocols/sametime/sametime.c:4942: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 buf[BUF_LEN]; data/pidgin-2.13.0/libpurple/protocols/sametime/sametime.c:5207: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[BUF_LEN]; data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:49: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/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:84: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[128]; data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:290: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[128], tmp2[128]; data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:410: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/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:538: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/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:678: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/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:727: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[512]; data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:750: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 filename[512], filename2[512], *fingerprint = NULL, *tmp; data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:1071: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[512]; data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:1157: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[512], tmp2[128]; data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:1536: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/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:1699: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[32]; data/pidgin-2.13.0/libpurple/protocols/silc/chat.c:73: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/pidgin-2.13.0/libpurple/protocols/silc/chat.c: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 tmp[256], *tmp2; data/pidgin-2.13.0/libpurple/protocols/silc/chat.c:231: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 mode[4]; data/pidgin-2.13.0/libpurple/protocols/silc/chat.c:302: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 mode[4]; data/pidgin-2.13.0/libpurple/protocols/silc/chat.c:408: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[1024], t[512]; data/pidgin-2.13.0/libpurple/protocols/silc/chat.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[512]; data/pidgin-2.13.0/libpurple/protocols/silc/chat.c:584: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[512]; data/pidgin-2.13.0/libpurple/protocols/silc/chat.c:730: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[32]; data/pidgin-2.13.0/libpurple/protocols/silc/chat.c:1051: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[512]; data/pidgin-2.13.0/libpurple/protocols/silc/ft.c:75: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/pidgin-2.13.0/libpurple/protocols/silc/ft.c:418: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/pidgin-2.13.0/libpurple/protocols/silc/ops.c:52: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/pidgin-2.13.0/libpurple/protocols/silc/ops.c:187: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[32]; data/pidgin-2.13.0/libpurple/protocols/silc/ops.c:454: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[512], buf2[512], *tmp, *name; data/pidgin-2.13.0/libpurple/protocols/silc/ops.c:958:37: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. if (argc == 3 && purple_strequal((char *)argv[2], "+C")) data/pidgin-2.13.0/libpurple/protocols/silc/ops.c:1101:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[256], *topic; data/pidgin-2.13.0/libpurple/protocols/silc/ops.c:1174: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[1024], *tmp2; data/pidgin-2.13.0/libpurple/protocols/silc/ops.c:1536:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[256]; data/pidgin-2.13.0/libpurple/protocols/silc/pk.c:95: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], tmp2[256]; data/pidgin-2.13.0/libpurple/protocols/silc/pk.c:126: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 file[256], filename[256], filename2[256], *ipf, *hostf = NULL; data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:77: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 mb[4]; data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:249: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 tz[16]; data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:462: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 pkd[256], prd[256]; data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:520: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 pkd[256], prd[256]; data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:564: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(params.nickname_format, "%n#a"); data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:923: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 status[1024], tz[16]; data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:1160: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). keylen = atoi(val); data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:1217: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], pkd[256], pkd2[256], prd[256], prd2[256]; data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:1288: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 prd[256]; data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:1362: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/pidgin-2.13.0/libpurple/protocols/silc/silc.c:1766: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 *silccmd, *silcargs, *msg, tmp[256]; data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:2181: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/pidgin-2.13.0/libpurple/protocols/silc/util.c:28: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 str[256], str2[256]; data/pidgin-2.13.0/libpurple/protocols/silc/util.c:52:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[3]; data/pidgin-2.13.0/libpurple/protocols/silc/util.c:56:8: [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). s = atoi(tmp); data/pidgin-2.13.0/libpurple/protocols/silc/util.c: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 filename[256], file_public_key[256], file_private_key[256]; data/pidgin-2.13.0/libpurple/protocols/silc/util.c:75: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 servfilename[256], clientfilename[256], friendsfilename[256]; data/pidgin-2.13.0/libpurple/protocols/silc/util.c: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 pkd[256], prd[256]; data/pidgin-2.13.0/libpurple/protocols/silc/util.c:371:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[away] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:373:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[indisposed] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:375:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[busy] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:377:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[wake me up] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:379:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[hyperactive] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:381:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[robot] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:383:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[anonymous] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:385:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[blocks private messages] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:387:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[detached] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:389:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[rejects watching] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:391:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[blocks invites] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:400:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[permanent] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:402:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[private] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:404:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[secret] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:406:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[private key] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:408:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[invite only] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:410:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[topic restricted] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:412:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[user count limit] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:414:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[passphrase auth] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:416:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[public key auth] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:418:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[users silenced] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:420:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[operators silenced] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:429:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[founder] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:431:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[operator] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:433:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[blocks messages] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:435:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[blocks user messages] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:437:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[blocks robot messages] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:439:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[quieted] "); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:454: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]; data/pidgin-2.13.0/libpurple/protocols/silc/util.c:638:49: [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 (id && (image = purple_imgstore_find_by_id(atoi(id)))) { data/pidgin-2.13.0/libpurple/protocols/silc/util.c:699: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 b[32]; data/pidgin-2.13.0/libpurple/protocols/silc/wb.c: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 tmp[256]; data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:48: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/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:88: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[128]; data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:290: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[128], tmp2[128]; data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.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[256]; data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:542: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/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:686: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/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:734: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[512]; data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:760: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 filename[512], filename2[512], *fingerprint = NULL, *tmp; data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:1080: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[512]; data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:1156: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[512], tmp2[128]; data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:1547: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/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:1712: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[32]; data/pidgin-2.13.0/libpurple/protocols/silc10/chat.c: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 tmp[256]; data/pidgin-2.13.0/libpurple/protocols/silc10/chat.c:95: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, tmp[256], *tmp2; data/pidgin-2.13.0/libpurple/protocols/silc10/chat.c:226: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 mode[4]; data/pidgin-2.13.0/libpurple/protocols/silc10/chat.c:285: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 mode[4]; data/pidgin-2.13.0/libpurple/protocols/silc10/chat.c:382: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[1024], t[512]; data/pidgin-2.13.0/libpurple/protocols/silc10/chat.c:508: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[512]; data/pidgin-2.13.0/libpurple/protocols/silc10/chat.c:562: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[512]; data/pidgin-2.13.0/libpurple/protocols/silc10/chat.c:668: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). ulimit = atoi(limit); data/pidgin-2.13.0/libpurple/protocols/silc10/chat.c:704: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[32]; data/pidgin-2.13.0/libpurple/protocols/silc10/chat.c:1003: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/pidgin-2.13.0/libpurple/protocols/silc10/chat.c:1100: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[512]; data/pidgin-2.13.0/libpurple/protocols/silc10/ft.c: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 tmp[256]; data/pidgin-2.13.0/libpurple/protocols/silc10/ft.c:334: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/pidgin-2.13.0/libpurple/protocols/silc10/ops.c:142: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[32]; data/pidgin-2.13.0/libpurple/protocols/silc10/ops.c:256: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[128], enc[128]; data/pidgin-2.13.0/libpurple/protocols/silc10/ops.c:359: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[128], enc[128]; data/pidgin-2.13.0/libpurple/protocols/silc10/ops.c:447: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[512], buf2[512], *tmp, *name; data/pidgin-2.13.0/libpurple/protocols/silc10/ops.c:1154: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[1024], *tmp2; data/pidgin-2.13.0/libpurple/protocols/silc10/ops.c:1516:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[256]; data/pidgin-2.13.0/libpurple/protocols/silc10/ops.c:1928: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[128]; data/pidgin-2.13.0/libpurple/protocols/silc10/pk.c:100: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], tmp2[256]; data/pidgin-2.13.0/libpurple/protocols/silc10/pk.c:132: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 file[256], filename[256], filename2[256], *ipf, *hostf = NULL; data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:67: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 mb[4]; data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c: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 pkd[256], prd[256]; data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:264: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(params.nickname_format, "%n@%h%a"); data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:619: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 status[1024]; data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:858: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). keylen = atoi(val); data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:913: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], pkd[256], pkd2[256], prd[256], prd2[256]; data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:984: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 prd[256]; data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:1058: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], *nickname = NULL; data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:1475: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 *silccmd, *silcargs, *msg, tmp[256]; data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:1895: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/pidgin-2.13.0/libpurple/protocols/silc10/util.c:27: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 str[256], str2[256]; data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:51: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[3]; data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:55:8: [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). s = atoi(tmp); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:73: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 filename[256], file_public_key[256], file_private_key[256]; data/pidgin-2.13.0/libpurple/protocols/silc10/util.c: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 servfilename[256], clientfilename[256], friendsfilename[256]; data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:75: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 pkd[256], prd[256]; data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:414:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[away] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:416:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[indisposed] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:418:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[busy] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:420:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[wake me up] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:422:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[hyperactive] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:424:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[robot] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:426:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[anonymous] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:428:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[blocks private messages] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:430:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[detached] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:432:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[rejects watching] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:434:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[blocks invites] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:443:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[permanent] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:445:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[private] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:447:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[secret] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:449:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[private key] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:451:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[invite only] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:453:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[topic restricted] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:455:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[user count limit] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:457:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[passphrase auth] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:459:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[public key auth] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:461:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[users silenced] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:463:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[operators silenced] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:472:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[founder] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:474:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[operator] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:476:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[blocks messages] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:478:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[blocks user messages] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:480:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[blocks robot messages] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:482:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buf, "[quieted] "); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:497: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]; data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:684:49: [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 (id && (image = purple_imgstore_find_by_id(atoi(id)))) { data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:745: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 b[32]; data/pidgin-2.13.0/libpurple/protocols/silc10/wb.c:260: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[128]; data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:280: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(noncecount, "%08d", auth->nc++); data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:301: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(noncecount, "%08d", auth->nc++); data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:1355:66: [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). static gchar* gen_pidf(struct simple_account_data *sip, gboolean open) { data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:1649: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(dummy, cur, msg->bodylen); data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:1674: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 buffer[65536]; data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:1817: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(&(sip->serveraddr), hosts->data, addr_size); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZCkIfNot.c:36:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(buffer, qptr->packet, qptr->packet_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtAuth.c:49:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(ptr, newnotice.z_message, newnotice.z_message_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtList.c:22: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 header[Z_MAXHEADERLEN]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtList.c:42:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(*buffer, header, hdrlen); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtList.c:48:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(ptr, *list, i); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtNotice.c:19: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 header[Z_MAXHEADERLEN]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtNotice.c:33:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(*buffer, header, hdrlen); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtNotice.c:34:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(*buffer+hdrlen, notice->z_message, notice->z_message_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtRaw.c:18: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 header[Z_MAXHEADERLEN]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtRaw.c:32:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(*buffer, header, hdrlen); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtRaw.c:33:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(*buffer+hdrlen, notice->z_message, notice->z_message_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtRawLst.c:20: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 header[Z_MAXHEADERLEN]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtRawLst.c:38:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(*buffer, header, hdrlen); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtRawLst.c:44:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(ptr, *list, i); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtSmRLst.c:42:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(ptr, *list, i); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtSmRaw.c:30:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(buffer+hdrlen, notice->z_message, notice->z_message_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetSender.c:21: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 pname[ANAME_SZ]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetSender.c:22: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 pinst[INST_SZ]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetSender.c:23: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 prealm[REALM_SZ]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetSender.c:24: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 sender[ANAME_SZ+INST_SZ+REALM_SZ+3] = ""; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetSender.c:27: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 sender[128] = ""; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetWGPort.c:15: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 *envptr, name[128]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetWGPort.c:20: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 tempdir[buffsize]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetWGPort.c:28: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. (void) sprintf(name, "/tmp/wg.%d", getuid()); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZGetWGPort.c:32:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!(fp = fopen(envptr, "r"))) data/pidgin-2.13.0/libpurple/protocols/zephyr/ZIfNotice.c:37:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(buffer, qptr->packet, qptr->packet_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZInit.c:36: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[4], hostname[MAXHOSTNAMELEN]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZInit.c:46: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 d1[ANAME_SZ], d2[INST_SZ]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZInit.c:66:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy((char *)&__HM_addr.sin_addr, addr, 4); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZInit.c:124: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(&sin.sin_addr, &servaddr, sizeof(servaddr)); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZLocations.c:40:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char host[MAXHOSTNAMELEN]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZLocations.c:53: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 *bptr[3]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZParseNot.c:103: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). maj = atoi(ptr); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZPeekIfNot.c:37:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(buffer, qptr->packet, qptr->packet_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZPeekPkt.c:31:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(*buffer, nextq->packet, *ret_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZReadAscii.c:60:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[4]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZReadAscii.c:80:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buf[2]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZRecvNot.c:38:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(buffer, nextq->packet, len); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZRecvPkt.c:30:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(buffer, nextq->packet, *ret_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZRetSubs.c: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 asciiport[50]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZSubs.c:69: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 header[Z_MAXHEADERLEN]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:55: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 *varfile, *varfilebackup, varbfr[512]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:64:19: [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 (!(fpout = fopen(varfilebackup, "w"))) { data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:69:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fpin = fopen(varfile, "r")) != NULL) { data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:103: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 *varfile, *varfilebackup, varbfr[512]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:110:19: [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 (!(fpout = fopen(varfilebackup, "w"))) { data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:115:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fpin = fopen(varfile, "r")) != NULL) { data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:170:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char varbfr[512]; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:173: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). fp = fopen(fn, "r"); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:57: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 __Zephyr_realm[REALM_SZ]; data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:312: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). part = atoi(notice.z_multinotice); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:313: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). partof = atoi(slash+1); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:365:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(qptr->header, packet, qptr->header_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:416:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(qptr->header, packet, qptr->header_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:434:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(qptr->msg, notice.z_message, notice.z_message_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:440:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(qptr->packet, qptr->header, qptr->header_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:442:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(qptr->packet+qptr->header_len, qptr->msg, data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:497:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(qptr->msg+part, notice->z_message, notice->z_message_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:582:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(qptr->packet, qptr->header, qptr->header_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:583:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(qptr->packet+qptr->header_len, qptr->msg, data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:598:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char version[BUFSIZ]; /* default init should be all \0 */ data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:623:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy(¬ice->z_uid.zuid_addr, &__My_addr, sizeof(__My_addr)); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:661: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 newrecip[BUFSIZ]; data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:869: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 multi[64]; data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:884: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. (void) sprintf(multi, "%d/%d", offset, notice->z_message_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:893:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. (void) memcpy((char *)&partnotice.z_uid.zuid_addr, &__My_addr, data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:903: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 + ret_len, partnotice.z_message, message_len); data/pidgin-2.13.0/libpurple/protocols/zephyr/error_message.c:19:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buf[COM_ERR_BUF_LEN]; data/pidgin-2.13.0/libpurple/protocols/zephyr/error_message.c:32: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 *cp, namebuf[6]; data/pidgin-2.13.0/libpurple/protocols/zephyr/error_message.c:47:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (buf, "Unknown code "); data/pidgin-2.13.0/libpurple/protocols/zephyr/et_name.c:44:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buf[6]; data/pidgin-2.13.0/libpurple/protocols/zephyr/sysdep.h:67:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. # define memcpy(d, s, n) bcopy ((s), (d), (n)) data/pidgin-2.13.0/libpurple/protocols/zephyr/sysdep.h:67:27: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. # define memcpy(d, s, n) bcopy ((s), (d), (n)) data/pidgin-2.13.0/libpurple/protocols/zephyr/sysdep.h:71:28: [2] (buffer) bcopy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. # define memmove(d, s, n) bcopy ((s), (d), (n)) data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.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 ourhost[HOST_NAME_MAX + 1]; data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:84: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 ourhostcanon[HOST_NAME_MAX + 1]; data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:139:11: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). gboolean open; data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:886: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). if (!zt2->open) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2236: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 buf[BUF_LEN]; data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2452:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!zt2->open) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr_internal.h:71: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. typedef char ZPacket_t[Z_MAXPKTLEN]; data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr_internal.h:77:15: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. extern ZCONST char *ZNoticeKinds[9]; data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr_internal.h:111: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 *z_other_fields[Z_MAXOTHERFIELDS]; data/pidgin-2.13.0/libpurple/proxy.c:362:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). info.port = atoi(tmp); data/pidgin-2.13.0/libpurple/proxy.c:412:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). info.port = atoi(tmp); data/pidgin-2.13.0/libpurple/proxy.c:1167: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 hostname[256]; data/pidgin-2.13.0/libpurple/proxy.c:1314: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 packet[9]; data/pidgin-2.13.0/libpurple/proxy.c:1339: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(packet + 4, &((struct sockaddr_in *)addr)->sin_addr.s_addr, 4); data/pidgin-2.13.0/libpurple/proxy.c:1392: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 packet[9]; data/pidgin-2.13.0/libpurple/proxy.c:1410: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(connect_data->write_buffer, packet, sizeof(packet)); data/pidgin-2.13.0/libpurple/proxy.c:1411: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(connect_data->write_buffer + sizeof(packet), connect_data->host, strlen(connect_data->host)); data/pidgin-2.13.0/libpurple/proxy.c:1592: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(connect_data->write_buffer + 5, connect_data->host, hlen); data/pidgin-2.13.0/libpurple/proxy.c:1663: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 Kxoripad[65]; data/pidgin-2.13.0/libpurple/proxy.c:1664: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 Kxoropad[65]; data/pidgin-2.13.0/libpurple/proxy.c:1679: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(Kxoripad, passwd, pwlen); data/pidgin-2.13.0/libpurple/proxy.c:1681: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(Kxoropad,Kxoripad,pwlen); data/pidgin-2.13.0/libpurple/proxy.c:1984: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(connect_data->write_buffer + 2, u, i); data/pidgin-2.13.0/libpurple/proxy.c:1987: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(connect_data->write_buffer + 2 + i + 1, p, j); data/pidgin-2.13.0/libpurple/proxy.c:2015: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(connect_data->write_buffer + 7, data/pidgin-2.13.0/libpurple/proxy.c:2040: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 buf[5]; data/pidgin-2.13.0/libpurple/proxy.c:2081: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(connect_data->write_buffer, buf, i); data/pidgin-2.13.0/libpurple/proxy.c:2143: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 ipaddr[INET6_ADDRSTRLEN]; data/pidgin-2.13.0/libpurple/proxy.c:2273: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). proxyport = atoi(tmp); data/pidgin-2.13.0/libpurple/savedstatuses.c:268:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[21]; data/pidgin-2.13.0/libpurple/savedstatuses.c:487:43: [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). set_creation_time(ret, (attrib != NULL ? atol(attrib) : 0)); data/pidgin-2.13.0/libpurple/savedstatuses.c:491:36: [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). ret->lastused = (attrib != NULL ? atol(attrib) : 0); data/pidgin-2.13.0/libpurple/savedstatuses.c:495:39: [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). ret->usage_count = (attrib != NULL ? atol(attrib) : 0); data/pidgin-2.13.0/libpurple/savedstatuses.c:1020: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 buf[64]; data/pidgin-2.13.0/libpurple/savedstatuses.c:1029: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(tmp, "..."); data/pidgin-2.13.0/libpurple/server.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 name[80]; data/pidgin-2.13.0/libpurple/stringref.c:52: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 value[1]; /**< The string contained in this ref. data/pidgin-2.13.0/libpurple/stun.c: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 value[4]; data/pidgin-2.13.0/libpurple/stun.c:172: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[65536]; data/pidgin-2.13.0/libpurple/stun.c:233: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(&in.s_addr, tmp + 4, 4); data/pidgin-2.13.0/libpurple/stun.c:308: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(&(sc->addr), hosts->data, sizeof(struct sockaddr_in)); data/pidgin-2.13.0/libpurple/stun.h: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 publicip[16]; data/pidgin-2.13.0/libpurple/upnp.c:123: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 publicip[16]; data/pidgin-2.13.0/libpurple/upnp.c:124: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 internalip[16]; data/pidgin-2.13.0/libpurple/upnp.c:690:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&(dd->server.sin_addr), hp->h_addr_list[0], hp->h_length); data/pidgin-2.13.0/libpurple/util.c:452: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 buf[7]; data/pidgin-2.13.0/libpurple/util.c: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 buf[128]; data/pidgin-2.13.0/libpurple/util.c:977: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 buf[7]; data/pidgin-2.13.0/libpurple/util.c:1746: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). sz = atoi(q); data/pidgin-2.13.0/libpurple/util.c:1841:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[7]; data/pidgin-2.13.0/libpurple/util.c:2663:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fd = open(filename_temp, O_RDWR)) < 0) { data/pidgin-2.13.0/libpurple/util.c:2972: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[INET6_ADDRSTRLEN]; data/pidgin-2.13.0/libpurple/util.c:3038: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 buf[BUF_LEN]; data/pidgin-2.13.0/libpurple/util.c:3078: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 buf[BUF_LEN]; data/pidgin-2.13.0/libpurple/util.c:3115: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(&dest[j], "<BR>"); data/pidgin-2.13.0/libpurple/util.c:3413: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[11]; data/pidgin-2.13.0/libpurple/util.c:3499: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_str[6]; data/pidgin-2.13.0/libpurple/util.c:3503: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[256], path[256], user[256], passwd[256]; data/pidgin-2.13.0/libpurple/util.c:3841: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[4096]; data/pidgin-2.13.0/libpurple/util.c:3877:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data_cursor, buf, len); data/pidgin-2.13.0/libpurple/util.c:3957: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(new_data, end_of_headers + 4, body_len); data/pidgin-2.13.0/libpurple/util.c:4055:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char hostname[256]; data/pidgin-2.13.0/libpurple/util.c:4062:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(hostname, "localhost"); data/pidgin-2.13.0/libpurple/util.c:4305: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 buf[BUF_LEN]; data/pidgin-2.13.0/libpurple/util.c:4308: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 hex[3]; data/pidgin-2.13.0/libpurple/util.c:4350: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 buf[BUF_LEN]; data/pidgin-2.13.0/libpurple/util.c:4351: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 utf_char[6]; data/pidgin-2.13.0/libpurple/util.c:4373:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf + j, "%%%02X", utf_char[i] & 0xff); data/pidgin-2.13.0/libpurple/util.c:4681:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(iter, str, next - str); data/pidgin-2.13.0/libpurple/util.c:4748: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(msg, "unknown error (%d)", errnum); data/pidgin-2.13.0/libpurple/util.c:5019: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 buf[BUF_LEN]; data/pidgin-2.13.0/libpurple/util.c:5020: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 utf_char[6]; data/pidgin-2.13.0/libpurple/util.c:5043:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf + j, "%%%02x", utf_char[i] & 0xff); data/pidgin-2.13.0/libpurple/win32/giowin32.c:285: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[8]; data/pidgin-2.13.0/libpurple/win32/libc_interface.c:61: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 errbuf[1024]; data/pidgin-2.13.0/libpurple/win32/libc_interface.c:338:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, &sa.sin.sin_addr, sizeof(sa.sin.sin_addr)); data/pidgin-2.13.0/libpurple/win32/libc_interface.c:341:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dst, &sa.sin6.sin6_addr, sizeof(sa.sin6.sin6_addr)); data/pidgin-2.13.0/libpurple/win32/libc_interface.c:530:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. return memcpy(resultp, tmptm, sizeof(struct tm)); data/pidgin-2.13.0/libpurple/win32/libc_interface.c:918: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 tzname[128]; data/pidgin-2.13.0/libpurple/win32/libc_interface.c:919: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 localtzname[256]; data/pidgin-2.13.0/libpurple/win32/libc_interface.c:989: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 keyname[256]; data/pidgin-2.13.0/libpurple/win32/libc_interface.c:990: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 zonename[256]; data/pidgin-2.13.0/libpurple/win32/libc_internal.h:74: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 ifrn_name[6]; /* Interface name, e.g. "en0". */ data/pidgin-2.13.0/libpurple/win32/win32dep.c:118: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 utf_16_dir[MAX_PATH + 1]; data/pidgin-2.13.0/libpurple/win32/win32dep.c:133: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 winstall_dir[MAXPATHLEN]; data/pidgin-2.13.0/libpurple/xmlnode.c:579:30: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 *key = (const char *)namespaces[j]; data/pidgin-2.13.0/libpurple/xmlnode.c:580:30: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 *val = (const char *)namespaces[j + 1]; data/pidgin-2.13.0/libpurple/xmlnode.c:587:30: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 *name = (const char *)attributes[i]; data/pidgin-2.13.0/libpurple/xmlnode.c:588:32: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char *prefix = (const char *)attributes[i+1]; data/pidgin-2.13.0/libpurple/xmlnode.c:591:36: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *attrib = g_strndup((const char *)attributes[i+3], attrib_len); data/pidgin-2.13.0/libpurple/xmlnode.c:636: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 errmsg[2048]; data/pidgin-2.13.0/pidgin/getopt.c:189:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define my_bcopy(src, dst, n) memcpy ((dst), (src), (n)) data/pidgin-2.13.0/pidgin/gtkaccount.c:783: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[1024]; data/pidgin-2.13.0/pidgin/gtkaccount.c:1147:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[11]; data/pidgin-2.13.0/pidgin/gtkaccount.c:1275: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 sep[2] = " "; data/pidgin-2.13.0/pidgin/gtkaccount.c:1413: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_value = atoi(gtk_entry_get_text(GTK_ENTRY(opt_entry->widget))); data/pidgin-2.13.0/pidgin/gtkaccount.c:1460: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). purple_proxy_info_set_port(proxy_info, atoi(value)); data/pidgin-2.13.0/pidgin/gtkblist-theme-loader.c:166:92: [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). layout.status_icon = (temp = xmlnode_get_attrib(sub_sub_node, "status_icon")) != NULL ? atoi(temp) : 0; data/pidgin-2.13.0/pidgin/gtkblist-theme-loader.c:167:78: [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). layout.text = (temp = xmlnode_get_attrib(sub_sub_node, "name")) != NULL ? atoi(temp) : 1; data/pidgin-2.13.0/pidgin/gtkblist-theme-loader.c:168:82: [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). layout.emblem = (temp = xmlnode_get_attrib(sub_sub_node, "emblem")) != NULL ? atoi(temp) : 2; data/pidgin-2.13.0/pidgin/gtkblist-theme-loader.c:169:96: [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). layout.protocol_icon = (temp = xmlnode_get_attrib(sub_sub_node, "protocol_icon")) != NULL ? atoi(temp) : 3; data/pidgin-2.13.0/pidgin/gtkblist-theme-loader.c:170:90: [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). layout.buddy_icon = (temp = xmlnode_get_attrib(sub_sub_node, "buddy_icon")) != NULL ? atoi(temp) : 4; data/pidgin-2.13.0/pidgin/gtkblist-theme-loader.c:171:92: [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). layout.show_status = (temp = xmlnode_get_attrib(sub_sub_node, "status_icon")) != NULL ? atoi(temp) != 0 : 1; data/pidgin-2.13.0/pidgin/gtkblist.c:6452: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 group_count[12] = ""; data/pidgin-2.13.0/pidgin/gtkconv.c:4102: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(nick_partial, name, entered_bytes); data/pidgin-2.13.0/pidgin/gtkconv.c:5730: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 pre_str[4]; data/pidgin-2.13.0/pidgin/gtkconv.c:5731: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 post_str[10]; data/pidgin-2.13.0/pidgin/gtkconv.c:5736: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(pre_str, "%c%c%c", data/pidgin-2.13.0/pidgin/gtkconv.c:5738: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(post_str, "%c%c%c%c%c%c%c%c%c", data/pidgin-2.13.0/pidgin/gtkconv.c:5745: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(pre_str, "%c%c%c", data/pidgin-2.13.0/pidgin/gtkconv.c:5747: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(post_str, "%c%c%c%c%c%c%c%c%c", data/pidgin-2.13.0/pidgin/gtkconv.c:5772: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 buf2[BUF_LONG]; data/pidgin-2.13.0/pidgin/gtkconv.c:6096: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(with_font_tag + pre_len, new_message, length); data/pidgin-2.13.0/pidgin/gtkconv.c:6179: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[BUF_LONG]; data/pidgin-2.13.0/pidgin/gtkconv.c:6267: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[BUF_LONG]; data/pidgin-2.13.0/pidgin/gtkdebug.c:708: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. const char *text[3]; data/pidgin-2.13.0/pidgin/gtkft.c:670: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[256]; data/pidgin-2.13.0/pidgin/gtkft.c:1161: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 *option_keys[2] = {NULL, NULL}; data/pidgin-2.13.0/pidgin/gtkft.c:1162: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 *option_values[2] = {NULL, NULL}; data/pidgin-2.13.0/pidgin/gtkimhtml.c:1019: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(&c, data, 2); data/pidgin-2.13.0/pidgin/gtkimhtml.c:1218: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(text, selection_data->data, selection_data->length); data/pidgin-2.13.0/pidgin/gtkimhtml.c:2643: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). rgbval[count] = atoi(v_start); data/pidgin-2.13.0/pidgin/gtkimhtml.c:3063:48: [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). gtk_imhtml_insert_image_at_iter(imhtml, atoi(id), iter); data/pidgin-2.13.0/pidgin/gtkimhtml.c:3177: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). if (font->face && (atoi(font->face) > 100)) { data/pidgin-2.13.0/pidgin/gtkimhtml.c:3262: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). int num = atoi(weight); data/pidgin-2.13.0/pidgin/gtkimhtml.c:5559: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 color[8]; data/pidgin-2.13.0/pidgin/gtklog.c:497: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 prev_top_month[30] = ""; data/pidgin-2.13.0/pidgin/gtkmain.c:156: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 errmsg[BUFSIZ]; data/pidgin-2.13.0/pidgin/gtkmain.c:490: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 errmsg[BUFSIZ]; data/pidgin-2.13.0/pidgin/gtknotify.c:497: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 label_text[2048]; data/pidgin-2.13.0/pidgin/gtknotify.c:838: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 label_text[2048]; data/pidgin-2.13.0/pidgin/gtknotify.c:1114: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[256]; data/pidgin-2.13.0/pidgin/gtkpounce.c:1497: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 *args[4]; data/pidgin-2.13.0/pidgin/gtkprefs.c:1648: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). purple_prefs_set_int("/purple/proxy/port", atoi(gtk_entry_get_text(entry))); data/pidgin-2.13.0/pidgin/gtkrequest.c:221:4: [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(gtk_entry_get_text(entry))); data/pidgin-2.13.0/pidgin/gtkrequest.c:917: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[32]; data/pidgin-2.13.0/pidgin/gtkstatusbox.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 *typing_stock_ids[7] = { data/pidgin-2.13.0/pidgin/gtkstatusbox.c:661: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 aa_color[8]; data/pidgin-2.13.0/pidgin/gtkstatusbox.c:2120: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 aa_color[8]; data/pidgin-2.13.0/pidgin/gtkthemes.c:226: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/pidgin-2.13.0/pidgin/gtkthemes.c:317: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 l[64]; data/pidgin-2.13.0/pidgin/gtkutils.c:769: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/pidgin-2.13.0/pidgin/gtkutils.c:1644:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char key[64]; data/pidgin-2.13.0/pidgin/gtkutils.c:2440:6: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(tmp_buf, "%u", quality); data/pidgin-2.13.0/pidgin/gtkutils.c:2857: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 dim_grey_string[8] = ""; data/pidgin-2.13.0/pidgin/gtkutils.c:3568: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 start[256]; data/pidgin-2.13.0/pidgin/plugins/convcolors.c:100: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[128], *t; data/pidgin-2.13.0/pidgin/plugins/convcolors.c:208: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 colorstr[8]; data/pidgin-2.13.0/pidgin/plugins/convcolors.c:209: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[128]; data/pidgin-2.13.0/pidgin/plugins/convcolors.c:229: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 title[128]; data/pidgin-2.13.0/pidgin/plugins/convcolors.c:230: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[128]; data/pidgin-2.13.0/pidgin/plugins/convcolors.c: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 tmp[128]; data/pidgin-2.13.0/pidgin/plugins/convcolors.c:270: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[128]; data/pidgin-2.13.0/pidgin/plugins/convcolors.c:324: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[128]; data/pidgin-2.13.0/pidgin/plugins/convcolors.c:325: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 tmp2[128]; data/pidgin-2.13.0/pidgin/plugins/gestures/stroke-draw.c:188: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 result[GSTROKE_MAX_SEQUENCE]; data/pidgin-2.13.0/pidgin/plugins/notify.c:532: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 newtitle[256]; data/pidgin-2.13.0/pidgin/plugins/relnot.c: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 response_code[4]; data/pidgin-2.13.0/pidgin/plugins/relnot.c:84: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(response_code, tmp, 3); data/pidgin-2.13.0/pidgin/plugins/spellchk.c:123: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[7]; data/pidgin-2.13.0/pidgin/plugins/spellchk.c:1777: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 bad[82] = ""; data/pidgin-2.13.0/pidgin/plugins/spellchk.c:1778: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 good[256] = ""; data/pidgin-2.13.0/pidgin/plugins/themeedit-icon.c:134: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 size[8]; data/pidgin-2.13.0/pidgin/plugins/themeedit.c:240: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 *props[12]; data/pidgin-2.13.0/pidgin/plugins/timestamp_format.c:17: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 hr[3]; data/pidgin-2.13.0/pidgin/plugins/unity.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 type[2] = "0"; data/pidgin-2.13.0/pidgin/plugins/vvconfig.c:253: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(pref + strlen(pref) - strlen("plugin"), "device"); data/pidgin-2.13.0/pidgin/win32/gtkwin32dep.c:81: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[1024]; data/pidgin-2.13.0/pidgin/win32/gtkwin32dep.c:116: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 tmpfile[_MAX_PATH]; data/pidgin-2.13.0/pidgin/win32/gtkwin32dep.c:116:7: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). char tmpfile[_MAX_PATH]; data/pidgin-2.13.0/pidgin/win32/gtkwin32dep.c:119:10: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). sprintf(tmpfile, "%s%s%s", g_get_tmp_dir(), G_DIR_SEPARATOR_S, _mktemp(template)); data/pidgin-2.13.0/pidgin/win32/gtkwin32dep.c:120:39: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). if(winpidgin_gz_decompress(filename, tmpfile)) { data/pidgin-2.13.0/pidgin/win32/gtkwin32dep.c:122:12: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). if(untar(tmpfile, destdir, UNTAR_FORCE | UNTAR_QUIET)) data/pidgin-2.13.0/pidgin/win32/gtkwin32dep.c:125:71: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). purple_debug_error("winpidgin_gz_untar", "Failure untarring %s\n", tmpfile); data/pidgin-2.13.0/pidgin/win32/gtkwin32dep.c:128:12: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). g_unlink(tmpfile); data/pidgin-2.13.0/pidgin/win32/untar.c:100: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 filename[100]; /* 0 name of next file */ data/pidgin-2.13.0/pidgin/win32/untar.c:101: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 mode[8]; /* 100 Permissions and type (octal digits) */ data/pidgin-2.13.0/pidgin/win32/untar.c:102: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 owner[8]; /* 108 Owner ID (ignored) */ data/pidgin-2.13.0/pidgin/win32/untar.c:103: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 group[8]; /* 116 Group ID (ignored) */ data/pidgin-2.13.0/pidgin/win32/untar.c:104:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char size[12]; /* 124 Bytes in file (octal digits) */ data/pidgin-2.13.0/pidgin/win32/untar.c:105: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 mtime[12]; /* 136 Modification time stamp (octal digits)*/ data/pidgin-2.13.0/pidgin/win32/untar.c:106: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 checksum[8]; /* 148 Header checksum (ignored) */ data/pidgin-2.13.0/pidgin/win32/untar.c:108:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char linkto[100]; /* 157 Linked-to name */ data/pidgin-2.13.0/pidgin/win32/untar.c: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 brand[8]; /* 257 Identifies tar version (ignored) */ data/pidgin-2.13.0/pidgin/win32/untar.c:110: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 ownername[32]; /* 265 Name of owner (ignored) */ data/pidgin-2.13.0/pidgin/win32/untar.c:111: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 groupname[32]; /* 297 Name of group (ignored) */ data/pidgin-2.13.0/pidgin/win32/untar.c:112: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 devmajor[8]; /* 329 Device major number (ignored) */ data/pidgin-2.13.0/pidgin/win32/untar.c:113: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 defminor[8]; /* 337 Device minor number (ignored) */ data/pidgin-2.13.0/pidgin/win32/untar.c:114: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 prefix[155]; /* 345 Prefix of name (optional) */ data/pidgin-2.13.0/pidgin/win32/untar.c:115: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 RESERVED[12]; /* 500 Pad header size to 512 bytes */ data/pidgin-2.13.0/pidgin/win32/untar.c:324: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 nbuf[4096];/* storage space for prefix+name, combined */ data/pidgin-2.13.0/pidgin/win32/untar.c:571: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 curdir[_MAX_PATH]; data/pidgin-2.13.0/pidgin/win32/winpidgin.c:51:9: [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. static wchar_t err_msg[512]; data/pidgin-2.13.0/pidgin/win32/winpidgin.c:83: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 szBuf[80]; data/pidgin-2.13.0/pidgin/win32/winpidgin.c:98: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 test_path[MAX_PATH + 1]; data/pidgin-2.13.0/pidgin/win32/winpidgin.c:186: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 path[MAX_PATH + 1]; data/pidgin-2.13.0/pidgin/win32/winpidgin.c:199: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 path[MAX_PATH + 1]; data/pidgin-2.13.0/pidgin/win32/winpidgin.c:200: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 path2[MAX_PATH + 12]; data/pidgin-2.13.0/pidgin/win32/winpidgin.c:233:3: [2] (buffer) wcscat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Risk is low because the source is a constant string. wcscat(path, L"\\GTK\\bin"); data/pidgin-2.13.0/pidgin/win32/winpidgin.c:388: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 data[10]; data/pidgin-2.13.0/pidgin/win32/winpidgin.c:397:41: [2] (integer) _wtoi: 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 ((locale = winpidgin_lcid_to_posix(_wtoi(data)))) data/pidgin-2.13.0/pidgin/win32/winpidgin.c:410: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 envstr[25]; data/pidgin-2.13.0/pidgin/win32/winpidgin.c:531: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 errbuf[512]; data/pidgin-2.13.0/pidgin/win32/winpidgin.c:532: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 pidgin_dir[MAX_PATH]; data/pidgin-2.13.0/pidgin/win32/winpidgin.c:534: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 exe_name[MAX_PATH]; data/pidgin-2.13.0/pidgin/win32/winpidgin.c:617:4: [2] (buffer) wcscat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Risk is low because the source is a constant string. wcscat(pidgin_dir, L"\\exchndl.dll"); data/pidgin-2.13.0/pidgin/win32/winpidgin.c:622: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 debug_dir[MAX_PATH]; data/pidgin-2.13.0/pidgin/win32/winpidgin.c:630:7: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(debug_dir, "pidgin.RPT"); data/pidgin-2.13.0/pidgin/win32/winpidgin.c:702:2: [2] (buffer) wcscat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Risk is low because the source is a constant string. wcscat(pidgin_dir, L"\\pidgin.dll"); data/pidgin-2.13.0/finch/getopt.c:463:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (s - nextchar == strlen (p->name)) data/pidgin-2.13.0/finch/getopt.c:487: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). nextchar += strlen (nextchar); data/pidgin-2.13.0/finch/getopt.c:517: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). nextchar += strlen (nextchar); data/pidgin-2.13.0/finch/getopt.c:530: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). nextchar += strlen (nextchar); data/pidgin-2.13.0/finch/getopt.c:534: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). nextchar += strlen (nextchar); data/pidgin-2.13.0/finch/gntblist.c:923:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(status, ascii ? ":" : "☎", sizeof(status) - 1); data/pidgin-2.13.0/finch/gntblist.c:931:6: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(status, ascii ? "x" : "⊗", sizeof(status) - 1); data/pidgin-2.13.0/finch/gntblist.c:934:6: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(status, ascii ? "o" : "â—¯", sizeof(status) - 1); data/pidgin-2.13.0/finch/gntblist.c:937:6: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(status, ascii ? "." : "⊖", sizeof(status) - 1); data/pidgin-2.13.0/finch/gntblist.c:948: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(status, "~", sizeof(status) - 1); data/pidgin-2.13.0/finch/gntdebug.c:55:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size = read(g_io_channel_unix_get_fd(source), message, sizeof(message) - 1); data/pidgin-2.13.0/finch/gntlog.c:138:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read && *read && purple_strcasestr(read, search_term)) { data/pidgin-2.13.0/finch/gntlog.c:138:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read && *read && purple_strcasestr(read, search_term)) { data/pidgin-2.13.0/finch/gntlog.c:138:42: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read && *read && purple_strcasestr(read, search_term)) { data/pidgin-2.13.0/finch/gntlog.c:146:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_free(read); data/pidgin-2.13.0/finch/gntlog.c:205:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). newline = purple_strdup_withhtml(read); data/pidgin-2.13.0/finch/gntlog.c:209:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). strip = purple_markup_strip_html(read); data/pidgin-2.13.0/finch/gntlog.c:217:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_free(read); data/pidgin-2.13.0/finch/gntsound.c:616: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 (!filename || !strlen(filename)) { data/pidgin-2.13.0/finch/libgnt/gntcombobox.c:196:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(text); data/pidgin-2.13.0/finch/libgnt/gntentry.c:79:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(text); data/pidgin-2.13.0/finch/libgnt/gntentry.c:204:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(suggest); /* Don't need to use the utf8-function here */ data/pidgin-2.13.0/finch/libgnt/gntentry.c:228: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). if (g_ascii_strncasecmp(suggest, text, len) == 0 && strlen(text) >= len) data/pidgin-2.13.0/finch/libgnt/gntentry.c:235:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). max = strlen(text) - len; data/pidgin-2.13.0/finch/libgnt/gntentry.c:1114:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(text); data/pidgin-2.13.0/finch/libgnt/gntfilesel.c:76: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). gint separator_len = strlen (separator); data/pidgin-2.13.0/finch/libgnt/gntfilesel.c:111: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). end = start + strlen (start); data/pidgin-2.13.0/finch/libgnt/gntmain.c:131: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(buffer) < 5) data/pidgin-2.13.0/finch/libgnt/gntmain.c:238:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rd = read(STDIN_FILENO, keys + HOLDING_ESCAPE, sizeof(keys) - 1 - HOLDING_ESCAPE); data/pidgin-2.13.0/finch/libgnt/gntprogressbar.c:80: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). pos = widget->priv.width / 2 - strlen (progress) / 2; data/pidgin-2.13.0/finch/libgnt/gntprogressbar.c:104: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). pos = widget->priv.height / 2 - strlen (progress) / 2; data/pidgin-2.13.0/finch/libgnt/gnttextview.c:730: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 int text_length = text ? strlen(text) : 0; data/pidgin-2.13.0/finch/libgnt/gntutils.c:88: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). end = start + strlen(start); data/pidgin-2.13.0/finch/libgnt/gntutils.c:165:14: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. GEqualFunc equal, GDestroyNotify key_d, GDestroyNotify value_d, data/pidgin-2.13.0/finch/libgnt/gntutils.c:168:49: [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. GHashTable *dest = g_hash_table_new_full(hash, equal, key_d, value_d); data/pidgin-2.13.0/finch/libgnt/gntutils.h:93:81: [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. GHashTable * g_hash_table_duplicate(GHashTable *src, GHashFunc hash, GEqualFunc equal, GDestroyNotify key_d, GDestroyNotify value_d, GDupFunc key_dup, GDupFunc value_dup); data/pidgin-2.13.0/finch/plugins/gntclipboard.c:79:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(string)); data/pidgin-2.13.0/finch/plugins/grouping.c:308:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(purple_group_get_name((PurpleGroup*)node)); data/pidgin-2.13.0/libpurple/cipher.c:704:60: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(context, (guchar *)username, strlen(username)); data/pidgin-2.13.0/libpurple/cipher.c:706:57: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(context, (guchar *)realm, strlen(realm)); data/pidgin-2.13.0/libpurple/cipher.c:708:60: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(context, (guchar *)password, strlen(password)); data/pidgin-2.13.0/libpurple/cipher.c:727: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). purple_cipher_context_append(context, (guchar *)nonce, strlen(nonce)); data/pidgin-2.13.0/libpurple/cipher.c:729: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). purple_cipher_context_append(context, (guchar *)client_nonce, strlen(client_nonce)); data/pidgin-2.13.0/libpurple/cipher.c:775: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). purple_cipher_context_append(context, (guchar *)method, strlen(method)); data/pidgin-2.13.0/libpurple/cipher.c:777:62: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(context, (guchar *)digest_uri, strlen(digest_uri)); data/pidgin-2.13.0/libpurple/cipher.c:792:60: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(context2, (guchar *)entity, strlen(entity)); data/pidgin-2.13.0/libpurple/cipher.c:797: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). purple_cipher_context_append(context, (guchar *)entity_hash, strlen(entity_hash)); data/pidgin-2.13.0/libpurple/cipher.c:804: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). purple_cipher_context_append(context, (guchar *)session_key, strlen(session_key)); data/pidgin-2.13.0/libpurple/cipher.c:806:57: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(context, (guchar *)nonce, strlen(nonce)); data/pidgin-2.13.0/libpurple/cipher.c:825: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). purple_cipher_context_append(context, (guchar *)nonce_count, strlen(nonce_count)); data/pidgin-2.13.0/libpurple/cipher.c:827: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). purple_cipher_context_append(context, (guchar *)client_nonce, strlen(client_nonce)); data/pidgin-2.13.0/libpurple/cipher.c:830: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). purple_cipher_context_append(context, (guchar *)qop, strlen(qop)); data/pidgin-2.13.0/libpurple/cipher.c:835:57: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(context, (guchar *)hash2, strlen(hash2)); data/pidgin-2.13.0/libpurple/ciphers/hmac.c:182:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). hmac_set_key_with_len(context, key, strlen((char *)key)); data/pidgin-2.13.0/libpurple/cmds.c:132: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). *args = g_new0(char *, strlen(cmd->args) + 1); data/pidgin-2.13.0/libpurple/cmds.c:143: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). end = cur + strlen(cur); data/pidgin-2.13.0/libpurple/cmds.c:153: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). end = cur + strlen(cur); data/pidgin-2.13.0/libpurple/cmds.c:163: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). cur = cur + strlen(cur); data/pidgin-2.13.0/libpurple/cmds.c:167: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). cur = cur + strlen(cur); data/pidgin-2.13.0/libpurple/cmds.c:188: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). guint len = strlen(markup); data/pidgin-2.13.0/libpurple/dbus-server.c:481:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). *ptr += strlen(text) + 1; data/pidgin-2.13.0/libpurple/dbus-server.c:668: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). char *g_name = g_new(char, strlen(purple_name) + 1); data/pidgin-2.13.0/libpurple/desktopitem.c:324:7: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc (df); data/pidgin-2.13.0/libpurple/desktopitem.c:348:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen (PURPLE_DESKTOP_ITEM_ENCODING)) == 0) { data/pidgin-2.13.0/libpurple/desktopitem.c:349: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). char *p = &buf[strlen (PURPLE_DESKTOP_ITEM_ENCODING)]; data/pidgin-2.13.0/libpurple/desktopitem.c:507:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (lang, locale, 2); data/pidgin-2.13.0/libpurple/desktopitem.c:515:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *p = g_malloc (strlen (s) + 1); data/pidgin-2.13.0/libpurple/desktopitem.c:652:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen (value); data/pidgin-2.13.0/libpurple/desktopitem.c:956:14: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = getc (df)) != EOF) { data/pidgin-2.13.0/libpurple/dnsquery.c:300:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rc = read(child_in, &dns_params, sizeof(dns_params_t)); data/pidgin-2.13.0/libpurple/dnsquery.c:545:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(dns_params.hostname, query_data->hostname, sizeof(dns_params.hostname) - 1); data/pidgin-2.13.0/libpurple/dnsquery.c:652:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rc = read(query_data->resolver->fd_out, &err, sizeof(err)); data/pidgin-2.13.0/libpurple/dnsquery.c:669:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rc = read(query_data->resolver->fd_out, &addrlen, sizeof(addrlen)); data/pidgin-2.13.0/libpurple/dnsquery.c:672:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). rc = read(query_data->resolver->fd_out, addr, addrlen); data/pidgin-2.13.0/libpurple/dnssrv.c:342:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). r = read(in, data, size); data/pidgin-2.13.0/libpurple/dnssrv.c:426: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(name) > sizeof(srvres->hostname) - 1) { data/pidgin-2.13.0/libpurple/dnssrv.c:428: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). name, strlen(name)); data/pidgin-2.13.0/libpurple/dnssrv.c:460: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). gsize l = strlen(response->content) + 1 /* null byte */; data/pidgin-2.13.0/libpurple/dnssrv.c:484:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(source, &type, sizeof(type)) == sizeof(type)) { data/pidgin-2.13.0/libpurple/dnssrv.c:485:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(source, &size, sizeof(size)) == sizeof(size)) { data/pidgin-2.13.0/libpurple/dnssrv.c:517:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). red = read(source, tmp++, sizeof(PurpleSrvResponse)); data/pidgin-2.13.0/libpurple/dnssrv.c:537:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). red = read(source, &len, sizeof(len)); data/pidgin-2.13.0/libpurple/dnssrv.c:559:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). red = read(source, res->content, len); data/pidgin-2.13.0/libpurple/dnssrv.c:680:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(srvres->hostname, srv_data->pNameTarget, 255); data/pidgin-2.13.0/libpurple/dnssrv.c:832:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(internal_query.query, query, 255); data/pidgin-2.13.0/libpurple/dnssrv.c:951:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(internal_query.query, query, 255); data/pidgin-2.13.0/libpurple/example/nullclient.c:305: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). name[strlen(name) - 1] = 0; /* strip the \n at the end */ data/pidgin-2.13.0/libpurple/ft.c:1066:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (xfer->ops.read != NULL) { data/pidgin-2.13.0/libpurple/ft.c:1067:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). r = (xfer->ops.read)(buffer, xfer); data/pidgin-2.13.0/libpurple/ft.c:1072:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). r = read(xfer->fd, *buffer, s); data/pidgin-2.13.0/libpurple/ft.c:1271:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read) { data/pidgin-2.13.0/libpurple/ft.h:180:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gssize (*read)(guchar **buffer, PurpleXfer *xfer); data/pidgin-2.13.0/libpurple/log.c:193:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (log->logger->read) { data/pidgin-2.13.0/libpurple/log.c:194:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). char *ret = (log->logger->read)(log, flags ? flags : &mflags); data/pidgin-2.13.0/libpurple/log.c:402:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). char*(*read)(PurpleLog*, PurpleLogReadFlags*), data/pidgin-2.13.0/libpurple/log.c:947: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(filename) >= (17 + strlen(ext))) data/pidgin-2.13.0/libpurple/log.c:947: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). strlen(filename) >= (17 + strlen(ext))) data/pidgin-2.13.0/libpurple/log.c:1014: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(filename) >= (17 + strlen(ext))) data/pidgin-2.13.0/libpurple/log.c:1014: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). strlen(filename) >= (17 + strlen(ext))) data/pidgin-2.13.0/libpurple/log.c:1124:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(name); data/pidgin-2.13.0/libpurple/log.c:1501:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). char *read; data/pidgin-2.13.0/libpurple/log.c:1506:39: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (g_file_get_contents(data->path, &read, NULL, NULL)) { data/pidgin-2.13.0/libpurple/log.c:1507:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). char *minus_header = strchr(read, '\n'); data/pidgin-2.13.0/libpurple/log.c:1510:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return read; data/pidgin-2.13.0/libpurple/log.c:1513:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_free(read); data/pidgin-2.13.0/libpurple/log.c:1634:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). char *read, *minus_header; data/pidgin-2.13.0/libpurple/log.c:1639:39: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (g_file_get_contents(data->path, &read, NULL, NULL)) { data/pidgin-2.13.0/libpurple/log.c:1640:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). minus_header = strchr(read, '\n'); data/pidgin-2.13.0/libpurple/log.c:1643:45: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return process_txt_log(minus_header + 1, read); data/pidgin-2.13.0/libpurple/log.c:1645:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return process_txt_log(read, NULL); data/pidgin-2.13.0/libpurple/log.c:1713: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). strcpy(pathstr + strlen(pathstr) - 3, "idx"); data/pidgin-2.13.0/libpurple/log.c:1798: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 (temp == NULL || strlen(temp) < 2) data/pidgin-2.13.0/libpurple/log.c:1846:8: [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. if (sscanf(convostart, "%*s %3s %d %d:%d:%d %d", month, data/pidgin-2.13.0/libpurple/log.c:1955:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). char *read; data/pidgin-2.13.0/libpurple/log.c:1963:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). result = fread(read, data->length, 1, file); data/pidgin-2.13.0/libpurple/log.c:1967:2: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read[data->length] = '\0'; data/pidgin-2.13.0/libpurple/log.c:1969:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (strstr(read, "<BR>")) data/pidgin-2.13.0/libpurple/log.c:1972:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return read; data/pidgin-2.13.0/libpurple/log.c:1975:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return process_txt_log(read, NULL); data/pidgin-2.13.0/libpurple/log.c:2006:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(name); data/pidgin-2.13.0/libpurple/log.h:86:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). char *(*read)(PurpleLog *log, PurpleLogReadFlags *flags); data/pidgin-2.13.0/libpurple/mime.c:405: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). bl = strlen(bnd); data/pidgin-2.13.0/libpurple/mime.c:460: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). boundary_end = boundary_begin + strlen(boundary_begin); data/pidgin-2.13.0/libpurple/mime.c:504: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). return purple_mime_document_parsen(buf, strlen(buf)); data/pidgin-2.13.0/libpurple/ntlm.c:120:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). hostnamelen = strlen(hostname); data/pidgin-2.13.0/libpurple/ntlm.c:121: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). domainlen = strlen(domain); data/pidgin-2.13.0/libpurple/ntlm.c:259: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). domainlen = strlen(domain) * 2; data/pidgin-2.13.0/libpurple/ntlm.c:260: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). usernamelen = strlen(username) * 2; data/pidgin-2.13.0/libpurple/ntlm.c:261: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). hostnamelen = strlen(hostname) * 2; data/pidgin-2.13.0/libpurple/ntlm.c:265: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). passwlen = strlen(passw); data/pidgin-2.13.0/libpurple/ntlm.c:348: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). lennt = strlen(passw); data/pidgin-2.13.0/libpurple/plugin.c:84:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). extlen = strlen(ext); data/pidgin-2.13.0/libpurple/plugin.c:85:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(filename) - extlen; data/pidgin-2.13.0/libpurple/plugin.c:264: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). error = error + strlen(filename); data/pidgin-2.13.0/libpurple/plugins/ciphertest.c:87: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). strlen(md5_tests[i].question)); data/pidgin-2.13.0/libpurple/plugins/ciphertest.c:147: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). strlen(sha1_tests[i].question)); data/pidgin-2.13.0/libpurple/plugins/filectl.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). if (buffer[strlen(buffer) - 1] == '\n') data/pidgin-2.13.0/libpurple/plugins/filectl.c:55:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). buffer[strlen(buffer) - 1] = 0; data/pidgin-2.13.0/libpurple/plugins/filectl.c:187: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). for (i = 0; i < strlen(line) && count < which; i++) { data/pidgin-2.13.0/libpurple/plugins/filectl.c:207: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). for (i = 0; i < strlen(arr) && isalnum(arr[i]); i++); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:110: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). date += strlen(sn) + 2; data/pidgin-2.13.0/libpurple/plugins/log_reader.c:172: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). date += strlen(sn) + 2; data/pidgin-2.13.0/libpurple/plugins/log_reader.c:254:40: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!g_file_get_contents(data->path, &read, NULL, &error)) { data/pidgin-2.13.0/libpurple/plugins/log_reader.c:263:40: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). char *escaped = g_markup_escape_text(read, -1); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:264:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_free(read); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:272:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (purple_str_has_prefix(read, "\xef\xbb\xbf")) data/pidgin-2.13.0/libpurple/plugins/log_reader.c:275:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). char *temp = g_strdup(&(read[3])); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:276:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_free(read); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:286:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return read; data/pidgin-2.13.0/libpurple/plugins/log_reader.c:309: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). size = strlen(text); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:723:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). c += strlen(username); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:777:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). c += strlen(username); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:979: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). int friendly_name_length = strlen(friendly_name); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:992: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). alias_length = strlen(alias); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1037: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). alias_length = strlen(alias); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1064:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(server_alias); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1165: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). size = strlen(text); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1404:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). char *read; data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1432:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_free(read); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1435:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). data->length = fread(read, 1, data->length, file); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1438:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read[data->length-1] == '\n') { data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1439:3: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read[data->length] = '\0'; data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1441:3: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read[data->length] = '\n'; data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1442:3: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read[data->length+1] = '\0'; data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1448:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). escaped = g_markup_escape_text(read, -1); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1449:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_free(read); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1453: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). formatted = g_string_sized_new(strlen(read)); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1453:40: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). formatted = g_string_sized_new(strlen(read)); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1454:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = read; data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1455:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). line = read; data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1501: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). temp = g_string_sized_new(strlen(line)); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1663: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). line += strlen(data->their_nickname) + 2; data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1699:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_free(read); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:1723: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). size = strlen(text); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:2107: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). size = strlen(text); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:2171: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. if (sscanf(c + strlen(AMSN_LOG_CONV_START), data/pidgin-2.13.0/libpurple/plugins/log_reader.c:2171: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 (sscanf(c + strlen(AMSN_LOG_CONV_START), data/pidgin-2.13.0/libpurple/plugins/log_reader.c:2197: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). + strlen(AMSN_LOG_CONV_END) data/pidgin-2.13.0/libpurple/plugins/log_reader.c:2198: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). + strlen(AMSN_LOG_CONV_EXTRA); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:2223: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). + strlen(AMSN_LOG_CONV_END) data/pidgin-2.13.0/libpurple/plugins/log_reader.c:2224: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). + strlen(AMSN_LOG_CONV_EXTRA); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:2389:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tag += strlen(AMSN_LOG_FORMAT_TAG); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:2397:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(colour, tag + 1, 6); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:2454: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). size = strlen(text); data/pidgin-2.13.0/libpurple/plugins/log_reader.c:2593: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). value[strlen(value) - (sizeof("trillian.exe") - 1)] = '\0'; data/pidgin-2.13.0/libpurple/plugins/newline.c:40: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 (g_ascii_strncasecmp(*message, "/me ", strlen("/me "))) { data/pidgin-2.13.0/libpurple/plugins/perl/perl-handlers.c:40: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). callback = hv_fetch(hv, action->label, strlen(action->label), 0); data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:332: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). strlen("perl_api_version")) || data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:333: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). !hv_exists(plugin_info, "name", strlen("name")) || data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:334: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). !hv_exists(plugin_info, "load", strlen("load"))) { data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:343: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). strlen("perl_api_version"), 0); data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:374: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). key = hv_fetch(plugin_info, "name", strlen("name"), 0); data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:381: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). strlen("GTK_UI"), 0))) data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:386: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). strlen("url"), 0))) data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:390: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). strlen("author"), 0))) data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:394: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). strlen("summary"), 0))) data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:398: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). strlen("description"), 0))) data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:402: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). strlen("version"), 0))) data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:406: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). key = hv_fetch(plugin_info, "load", strlen("load"), 0); data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:411: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). strlen("unload"), 0))) data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:417: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). strlen("id"), 0))) { data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:436: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). strlen("prefs_info"), 0))) { data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:447: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). strlen("gtk_prefs_info"), 0))) { data/pidgin-2.13.0/libpurple/plugins/perl/perl.c:458: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). strlen("plugin_action_sub"), 0))) { data/pidgin-2.13.0/libpurple/plugins/ssl/nss-prefs.c:373:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). offset = strlen(CIPHER_TMP_ROOT) + 1; data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_cmds.c:645: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). handler->nargs = strlen(handler->args); data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_ref.c:103: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). obj->length = strlen(bytes); data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_ref.c:122: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(bytes) < prefixlen data/pidgin-2.13.0/libpurple/plugins/tcl/tcl_signals.c:263: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 len = strlen(*strs[i]) + 1; data/pidgin-2.13.0/libpurple/prefs.c:845:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(cb_name); data/pidgin-2.13.0/libpurple/prefs.c:1632:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (name[strlen(name) - 1] != '/') data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:564: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(buddy_ip) <= strlen(host) || data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:564: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(strlen(buddy_ip) <= strlen(host) || data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:565: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). buddy_ip[strlen(host)] != '%') data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:568: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). return !strncmp(host, buddy_ip, strlen(host)); data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:828:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(source, xf->rx_buf + xf->rxlen, 3); data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:867:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(source, xf->rx_buf + xf->rxlen, 20); data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:883: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). xf->tx_buf[4] = strlen(xf->buddy_ip); data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:884: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(xf->tx_buf + 5, xf->buddy_ip, strlen(xf->buddy_ip)); data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:885: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). xf->tx_buf[5+strlen(xf->buddy_ip)] = 0x00; data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:886: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). xf->tx_buf[6+strlen(xf->buddy_ip)] = 0x00; data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:887: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). len = write(source, xf->tx_buf, 7 + strlen(xf->buddy_ip)); data/pidgin-2.13.0/libpurple/protocols/bonjour/bonjour_ft.c:1049: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). purple_cipher_digest_region("sha1", (guchar *)p, strlen(p), data/pidgin-2.13.0/libpurple/protocols/bonjour/jabber.c:321:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(message); data/pidgin-2.13.0/libpurple/protocols/bonjour/jabber.c:467:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(ss->msg); data/pidgin-2.13.0/libpurple/protocols/bonjour/jabber.c:536:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(stream_start); data/pidgin-2.13.0/libpurple/protocols/bonjour/jabber.c:1087: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). xmlnode_insert_data(node, message, strlen(message)); data/pidgin-2.13.0/libpurple/protocols/bonjour/jabber.c:1095: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). node2 = xmlnode_from_str(message, strlen(message)); data/pidgin-2.13.0/libpurple/protocols/bonjour/jabber.c:1171:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(STREAM_END); data/pidgin-2.13.0/libpurple/protocols/bonjour/jabber.c:1453:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len_remain = INET6_ADDRSTRLEN - strlen(ip); data/pidgin-2.13.0/libpurple/protocols/bonjour/jabber.c:1462: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). snprintf(ip + strlen(ip), len_remain, "%%%d", data/pidgin-2.13.0/libpurple/protocols/bonjour/mdns_common.c:60:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = MIN(strlen(value), MAX_TXT_CONSTITUENT_LEN - (strlen(key) + 2)); data/pidgin-2.13.0/libpurple/protocols/bonjour/mdns_common.c:60: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). int len = MIN(strlen(value), MAX_TXT_CONSTITUENT_LEN - (strlen(key) + 2)); data/pidgin-2.13.0/libpurple/protocols/bonjour/mdns_common.c:62:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buffer, value, len); data/pidgin-2.13.0/libpurple/protocols/bonjour/mdns_common.c:269:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). && *((tmp + 1) + strlen(hostname)) == '\0') data/pidgin-2.13.0/libpurple/protocols/bonjour/mdns_dns_sd.c:480: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). errorCode = TXTRecordSetValue(&dns_data, kvp->key, strlen(kvp->value), kvp->value); data/pidgin-2.13.0/libpurple/protocols/gg/buddylist.c:93: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(users_tbl[i]) == 0) data/pidgin-2.13.0/libpurple/protocols/gg/buddylist.c:138: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(show) ? show : NULL); data/pidgin-2.13.0/libpurple/protocols/gg/gg-utils.c:74: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). msg = g_convert_with_fallback(locstr, strlen(locstr), encdst, encsrc, data/pidgin-2.13.0/libpurple/protocols/gg/gg-utils.c:137: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(msg) > GG_STATUS_DESCR_MAXSIZE) { data/pidgin-2.13.0/libpurple/protocols/gg/gg.c:1102: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). increased_len += strlen(handlerid); data/pidgin-2.13.0/libpurple/protocols/gg/gg.c:1953: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). } else if (strlen(tmp) > GG_MSG_MAXSIZE) { data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:170:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). *ptr += strlen(*ptr); data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:176:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(res); data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:327:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(line); data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:414: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). for (j = 0; j < strlen(format); j++) { data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:458: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). unsigned int i = 0, j = 0, k = 0, len = strlen(buf); data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:523: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). save = res = calloc(1, (strlen(buf) / 4 + 1) * 3 + 2); data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:528: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). end = buf + strlen(buf); data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:580: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). tmp_size = strlen(gg_proxy_username) + strlen(gg_proxy_password) + 2; data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:580: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). tmp_size = strlen(gg_proxy_username) + strlen(gg_proxy_password) + 2; data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:595: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). out = malloc(strlen(enc) + 40); data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:601: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). snprintf(out, strlen(enc) + 40, "Proxy-Authorization: Basic %s\r\n", enc); data/pidgin-2.13.0/libpurple/protocols/gg/lib/common.c:717:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(str); data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc.c:180: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). ext = name + strlen(name); data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc.c:190: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(ext) > 0) { data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc.c:219:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy((char*) d->file_info.filename, name, sizeof(d->file_info.filename) - 1); data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc.c:1197:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size = read(h->file_fd, buf, utmp); data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc7.c:438:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy((char*) dcc->filename, filename1250, GG_DCC7_FILENAME_LEN); data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc7.c:960:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy((char*) dcc->filename, (char*) p->filename, GG_DCC7_FILENAME_LEN); data/pidgin-2.13.0/libpurple/protocols/gg/lib/dcc7.c:1337:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((res = read(dcc->file_fd, buf, chunk)) < 1) { data/pidgin-2.13.0/libpurple/protocols/gg/lib/deflate.c:64: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). strm.avail_in = strlen(in); data/pidgin-2.13.0/libpurple/protocols/gg/lib/encoding.c:243: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). src_length = strlen(src); data/pidgin-2.13.0/libpurple/protocols/gg/lib/encoding.c:258:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(result, src, len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:667:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len += strlen(inet_ntoa(addrs[i])); data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:924: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). req_len = strlen(req); data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:1051:8: [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. res = sscanf(body, "%d %*d %128s", &reply, host); data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:1135: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). host_len = strlen(sess->connect_host); data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:1141: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). white_len = strlen(white); data/pidgin-2.13.0/libpurple/protocols/gg/lib/events.c:1214: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). req_len = strlen(req); data/pidgin-2.13.0/libpurple/protocols/gg/lib/fileio.h:41:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # undef read data/pidgin-2.13.0/libpurple/protocols/gg/lib/fileio.h:42:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define read _read data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:287: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). memset(gs->password, 0, strlen(gs->password)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:322: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). client_name_len = strlen(GG8_VERSION); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:326: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). version_len = gg_fix32(client_name_len + strlen(version)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:329: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). descr_len = (gs->initial_descr != NULL) ? gg_fix32(strlen(gs->initial_descr)) : 0; data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:336:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). version, strlen(version), data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:338:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). descr, strlen(descr), data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:632:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). unsigned int reply_len = (gs->userlist_reply != NULL) ? strlen(gs->userlist_reply) : 0; data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:807:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len -= strlen(p) + 1; data/pidgin-2.13.0/libpurple/protocols/gg/lib/handlers.c:808:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(p) + 1; data/pidgin-2.13.0/libpurple/protocols/gg/lib/http.c:268: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). res = send(h->fd, h->query, strlen(h->query), 0); data/pidgin-2.13.0/libpurple/protocols/gg/lib/http.c:273:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(h->query), res, errno); data/pidgin-2.13.0/libpurple/protocols/gg/lib/http.c:284:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ((size_t) res < strlen(h->query)) { data/pidgin-2.13.0/libpurple/protocols/gg/lib/http.c:287:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(h->query), res); data/pidgin-2.13.0/libpurple/protocols/gg/lib/http.c:289:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). memmove(h->query, h->query + res, strlen(h->query) - res + 1); data/pidgin-2.13.0/libpurple/protocols/gg/lib/http.c:295: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). GG_SIZE_FMT ")\n", strlen(h->query)); data/pidgin-2.13.0/libpurple/protocols/gg/lib/http.c:370: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(h->header) < 16 || strncmp(h->header + 9, "200", 3)) { data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:1018: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(sess->initial_descr) > GG_STATUS_DESCR_MAXSIZE) data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:1352: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). descr_len = strlen(descr); data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:1736: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). s80.offset_plain = gg_fix32(sizeof(s80) + strlen(utf_html_msg) + 1); data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:1737: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). s80.offset_attr = gg_fix32(sizeof(s80) + strlen(utf_html_msg) + 1 + strlen(cp_msg) + 1); data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:1737: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). s80.offset_attr = gg_fix32(sizeof(s80) + strlen(utf_html_msg) + 1 + strlen(cp_msg) + 1); data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:1766:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(utf_html_msg) + 1, cp_msg, data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:1767:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(cp_msg) + 1, &r, sizeof(r), recps, data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:1780: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). utf_html_msg, strlen(utf_html_msg) + 1, cp_msg, data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:1781:4: [1] (buffer) strlen: Does not handle 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(cp_msg) + 1, format, formatlen, NULL) == -1) data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:2152: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(filename) < 1 || strlen(filename) > 1024) { data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:2152: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). if (strlen(filename) < 1 || strlen(filename) > 1024) { data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:2178: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). buflen += strlen(filename) + 1; data/pidgin-2.13.0/libpurple/protocols/gg/lib/libgadu.c:2550:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(request); data/pidgin-2.13.0/libpurple/protocols/gg/lib/message.c:951: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). text_len = strlen(text); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:449:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = str ? strlen(str) : 0; data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:565:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(((char **) array)[i]); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:885:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(str); data/pidgin-2.13.0/libpurple/protocols/gg/lib/protobuf-c.c:1420: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 sublen = str ? strlen(str) : 0; data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir.c:102: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). (int) strlen(form), form); data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir.c:236: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). (int) strlen(form), form); data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir.c:381: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). (int) strlen(form), form); data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir.c:513: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). (int) strlen(form), form); data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir.c:762: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). results_len = h->body ? strlen(h->body) : 0; data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir50.c:226: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 += strlen(req->entries[i].field) + 1; data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir50.c:227: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 += strlen(req->entries[i].value) + 1; data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir50.c:237: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 += strlen(tmp) + 1; data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir50.c:247: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 += strlen(tmp) + 1; data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir50.c:273: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). p += strlen(p) + 1; data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir50.c:276: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). p += strlen(p) + 1; data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir50.c:289: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). p += strlen(tmp) + 1; data/pidgin-2.13.0/libpurple/protocols/gg/lib/pubdir50.c:302: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). p += strlen(tmp) + 1; data/pidgin-2.13.0/libpurple/protocols/gg/lib/resolver.c:1128:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return read(fd, buf, len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/sha1.c:258: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). if (!SHA1_Update(&ctx, (const unsigned char*) password, strlen(password))) data/pidgin-2.13.0/libpurple/protocols/gg/lib/sha1.c:303:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). res = read(fd, buf, chunk_len); data/pidgin-2.13.0/libpurple/protocols/gg/lib/tvbuilder.c:405: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). length = strlen(buffer); data/pidgin-2.13.0/libpurple/protocols/irc/cmds.c:138: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). action = g_malloc(strlen(&msg[4]) + 10); data/pidgin-2.13.0/libpurple/protocols/irc/cmds.c:185:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (action[strlen(action) - 1] == '\n') data/pidgin-2.13.0/libpurple/protocols/irc/cmds.c:186:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). action[strlen(action) - 1] = '\0'; data/pidgin-2.13.0/libpurple/protocols/irc/cmds.c:435: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). max_privmsg_arg_len = IRC_MAX_MSG_SIZE - strlen(args[0]) - 64; data/pidgin-2.13.0/libpurple/protocols/irc/cmds.c:442: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). end = cur + strlen(cur); data/pidgin-2.13.0/libpurple/protocols/irc/dcc_send.c:96: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). g_string_append_len(filename, token[i], strlen(token[i]) - 1); data/pidgin-2.13.0/libpurple/protocols/irc/dcc_send.c:100: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). g_string_append_len(filename, &(token[0][1]), strlen(&(token[0][1])) - 1); data/pidgin-2.13.0/libpurple/protocols/irc/dcc_send.c:185:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(source, buffer, sizeof(buffer)); data/pidgin-2.13.0/libpurple/protocols/irc/irc.c:105:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(buf); data/pidgin-2.13.0/libpurple/protocols/irc/irc.c:151: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). return irc_send_len(irc, buf, strlen(buf)); data/pidgin-2.13.0/libpurple/protocols/irc/irc.c:165: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). buflen = strlen(tosend); data/pidgin-2.13.0/libpurple/protocols/irc/irc.c:232: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 (string->len + strlen(ib->name) + 1 > 450) data/pidgin-2.13.0/libpurple/protocols/irc/irc.c:449: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). strlen(realname) ? realname : IRC_DEFAULT_ALIAS); data/pidgin-2.13.0/libpurple/protocols/irc/irc.c:745:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(irc->fd, irc->inbuf + irc->inbufused, irc->inbuflen - irc->inbufused - 1); data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:425:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmp = g_markup_escape_text(irc->whois.away, strlen(irc->whois.away)); data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:705: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). end = cur + strlen(cur); data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:1080: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). end = cur + strlen(cur); data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:1182: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(args[1]) < strlen(irc->reqnick) || irc->nickused) data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:1182:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(args[1]) < strlen(irc->reqnick) || irc->nickused) data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:1186: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). end = newnick + strlen(newnick) - 1; data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:1429:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(pw); data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:1468: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 (len) *len = strlen((char *)*res); data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:1552: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). g_string_erase(irc->sasl_mechs, index, strlen(irc->current_mech)); data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:1649: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). g_string_erase(irc->sasl_mechs, index, strlen("EXTERNAL")); data/pidgin-2.13.0/libpurple/protocols/irc/msgs.c:1751: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). g_string_erase(irc->sasl_mechs, index, strlen(irc->current_mech)); data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:258: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). utf8 = g_convert(string, strlen(string), encodings[0], "UTF-8", NULL, NULL, &err); data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:360: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). length = strlen(text); data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:388: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). decoded = g_string_sized_new(strlen(string)); data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:394: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). decoded = g_string_append_len(decoded, cur, (end ? (gssize)(end - cur) : (gssize)strlen(cur))); data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:395: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). cur = end ? end : cur + strlen(cur); data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:559: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 (msg[0] != '\001' || msg[1] == '\0' || msg[strlen(msg) - 1] != '\001') data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:565: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). buf[strlen(buf) - 1] = '\0'; data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:595: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). ctcp[strlen(ctcp) - 1] = '\0'; data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:723: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). end = cur + strlen(cur); data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:738: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). args = g_new0(char *, strlen(msgent->format)); data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:743:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!(end = strchr(cur, ' '))) end = cur + strlen(cur); data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:757:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!(end = strchr(cur, ' '))) end = cur + strlen(cur); data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:766: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). cur = cur + strlen(cur); data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:772: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). cur = cur + strlen(cur); data/pidgin-2.13.0/libpurple/protocols/irc/parse.c:793: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). for (i = 0; i < strlen(msgent->format); i++) { data/pidgin-2.13.0/libpurple/protocols/jabber/auth.c:267: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). hash = jabber_calculate_data_hash(s, strlen(s), "sha1"); data/pidgin-2.13.0/libpurple/protocols/jabber/auth.c:286:60: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(hmac, (guchar *)challenge, strlen(challenge)); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_cyrus.c:87: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 (len) *len = strlen((char *)*res); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_cyrus.c:104:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(pw); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_cyrus.c:184:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(js->current_mech); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_cyrus.c:190: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). } else if (strlen(pos) > len && *(pos + len) == ' ') { data/pidgin-2.13.0/libpurple/protocols/jabber/auth_digest_md5.c:129:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(context, (const guchar *)x, strlen(x)); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_digest_md5.c:133: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). a1len = strlen(a1); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_digest_md5.c:143:60: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(context, (const guchar *)a2, strlen(a2)); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_digest_md5.c:151:60: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(context, (const guchar *)kd, strlen(kd)); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_digest_md5.c:187:4: [1] (buffer) strlen: Does not handle 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(dec_in), data/pidgin-2.13.0/libpurple/protocols/jabber/auth_scram.c:144: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). purple_cipher_context_append(context, (guchar *)str, strlen(str)); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_scram.c:237: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 (0 != strncmp(data->cnonce, token + 2, strlen(data->cnonce))) data/pidgin-2.13.0/libpurple/protocols/jabber/auth_scram.c:437: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). enc_out = purple_base64_encode((guchar *)dec_out, strlen(dec_out)); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_scram.c:469: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 (!dec_in || len != strlen(dec_in)) { data/pidgin-2.13.0/libpurple/protocols/jabber/auth_scram.c:495: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). enc_out = purple_base64_encode((guchar *)dec_out, strlen(dec_out)); data/pidgin-2.13.0/libpurple/protocols/jabber/auth_scram.c:543: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 (!dec_in || len != strlen(dec_in)) { data/pidgin-2.13.0/libpurple/protocols/jabber/auth_scram.c:574: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). memset(data->password, 0, strlen(data->password)); data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.c:344: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). purple_circ_buffer_append(conn->pending, data, strlen(data)); data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.c:757: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). len = atoi(content_length + strlen("\r\nContent-Length:")); data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.c:770:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmp = connection + strlen("\r\nConnection:"); data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.c:774: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 (!g_ascii_strncasecmp(tmp, "close", strlen("close"))) { data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.c:849:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). cnt = read(conn->fd, buffer, sizeof(buffer)); data/pidgin-2.13.0/libpurple/protocols/jabber/bosh.c:1040:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(data); data/pidgin-2.13.0/libpurple/protocols/jabber/caps.c:813:62: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(context, (const guchar *)tmp, strlen(tmp)); data/pidgin-2.13.0/libpurple/protocols/jabber/caps.c:853:62: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(context, (const guchar *)tmp, strlen(tmp)); data/pidgin-2.13.0/libpurple/protocols/jabber/google/google_presence.c:31: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). PURPLE_TUNE_TITLE, jbr->status + strlen("♫ "), NULL); data/pidgin-2.13.0/libpurple/protocols/jabber/jabber.c:520:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(data); data/pidgin-2.13.0/libpurple/protocols/jabber/jabber.c:583: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). return (len < 0 ? (int)strlen(buf) : len); data/pidgin-2.13.0/libpurple/protocols/jabber/jabber.c:690:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if((len = read(js->fd, buf, sizeof(buf) - 1)) > 0) { data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:101:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(idn_buffer, node, node_len); data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:114:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(idn_buffer, domain, domain_len); data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:152:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(idn_buffer, resource, resource_len); data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:180: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(str) > 1023) data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:184:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(idn_buffer, str, sizeof(idn_buffer) - 1); data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:211:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(str); data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:259: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(str) > 1023) data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:263:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(idn_buffer, str, sizeof(idn_buffer) - 1); data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:287: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). g_return_val_if_fail(strlen(in) <= sizeof(idn_buffer) - 1, NULL); data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:289:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(idn_buffer, in, sizeof(idn_buffer) - 1); data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:657:11: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. gboolean equal; data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:672:9: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return equal; data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:679:11: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. gboolean equal; data/pidgin-2.13.0/libpurple/protocols/jabber/jutil.c:695:9: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return equal; data/pidgin-2.13.0/libpurple/protocols/jabber/message.c:415:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(markup); data/pidgin-2.13.0/libpurple/protocols/jabber/message.c:851: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). const gssize len = strlen(shortcut); data/pidgin-2.13.0/libpurple/protocols/jabber/message.c:872:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int length = strlen(xhtml); data/pidgin-2.13.0/libpurple/protocols/jabber/message.c:882: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). const gssize len = strlen(shortcut); data/pidgin-2.13.0/libpurple/protocols/jabber/message.c:896: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). pos += strlen(escaped); data/pidgin-2.13.0/libpurple/protocols/jabber/oob.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). size_t total_len = strlen(jox->write_buffer); data/pidgin-2.13.0/libpurple/protocols/jabber/oob.c:135:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if((len = read(xfer->fd, test, sizeof(test))) > 0) { data/pidgin-2.13.0/libpurple/protocols/jabber/oob.c:155:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return strlen(tmp); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:295: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). hash = jabber_calculate_data_hash(dstaddr, strlen(dstaddr), "sha1"); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:425:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(source, buffer, 5 - jsx->rxlen); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:454:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(source, buffer, to_read); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:481: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). hash = jabber_calculate_data_hash(dstaddr, strlen(dstaddr), "sha1"); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:506: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). jsx->rxmaxlen = 5 + strlen(host) + 2; data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:514: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). jsx->rxqueue[4] = strlen(host); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:515: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). memcpy(jsx->rxqueue + 5, host, strlen(host)); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:516: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). jsx->rxqueue[5+strlen(host)] = 0x00; data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:517: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). jsx->rxqueue[6+strlen(host)] = 0x00; data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:583:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(source, buffer, 2 - jsx->rxlen); data/pidgin-2.13.0/libpurple/protocols/jabber/si.c:602:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(source, buffer, to_read); data/pidgin-2.13.0/libpurple/protocols/novell/nmconn.c:223:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return (read(conn->fd, buff, len)); data/pidgin-2.13.0/libpurple/protocols/novell/nmconn.c:224:45: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). else if (conn->ssl_conn && conn->ssl_conn->read) data/pidgin-2.13.0/libpurple/protocols/novell/nmconn.c:225:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return ((conn->ssl_conn->read)(conn->ssl_conn->data, buff, len)); data/pidgin-2.13.0/libpurple/protocols/novell/nmconn.c:257:5: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1000); data/pidgin-2.13.0/libpurple/protocols/novell/nmconn.c:467: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). ret = nm_tcp_write(conn, "\r\n", strlen("\r\n")); data/pidgin-2.13.0/libpurple/protocols/novell/nmconn.h:72:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). nm_ssl_read_cb read; data/pidgin-2.13.0/libpurple/protocols/novell/nmfield.c:243: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). src->size = strlen((char *) src->ptr_value) + 1; data/pidgin-2.13.0/libpurple/protocols/novell/nmuser.c:474: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(text) > NM_MAX_MESSAGE_SIZE) data/pidgin-2.13.0/libpurple/protocols/novell/nmuser.c:1009:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strncmp((char *) &val, "HTTP", strlen("HTTP")) == 0) data/pidgin-2.13.0/libpurple/protocols/novell/nmuser.c:1818: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). dotted = g_new0(char, strlen(typed)); data/pidgin-2.13.0/libpurple/protocols/novell/nmuser.c:2069: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). gstr = g_string_sized_new(strlen(text)*2); data/pidgin-2.13.0/libpurple/protocols/null/nullprpl.c:237: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 (message && strlen(message) > 0) data/pidgin-2.13.0/libpurple/protocols/null/nullprpl.c:778: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 (!to_username || strlen(to_username) == 0) { data/pidgin-2.13.0/libpurple/protocols/null/nullprpl.c:781: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). } else if (!message || strlen(message) == 0) { data/pidgin-2.13.0/libpurple/protocols/null/nullprpl.c:930: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 (topic && strlen(topic) > 0) data/pidgin-2.13.0/libpurple/protocols/oscar/bstream.c:233:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return byte_stream_putraw(bs, (guint8 *)str, strlen(str)); data/pidgin-2.13.0/libpurple/protocols/oscar/bstream.c:276:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = datastr != NULL ? strlen(datastr) : 0; data/pidgin-2.13.0/libpurple/protocols/oscar/clientlogin.c:129:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(context, (guchar *)message, strlen(message)); data/pidgin-2.13.0/libpurple/protocols/oscar/clientlogin.c:576: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). password_len = strlen(purple_connection_get_password(gc)); data/pidgin-2.13.0/libpurple/protocols/oscar/clientlogin.c:618: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). password_len = strlen(tmp); data/pidgin-2.13.0/libpurple/protocols/oscar/encoding.c:246:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(str, data, datalen); data/pidgin-2.13.0/libpurple/protocols/oscar/family_admin.c:122: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). byte_stream_new(&bs, 2+2+strlen(newnick)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_admin.c:145: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). byte_stream_new(&bs, 4+strlen(curpw)+4+strlen(newpw)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_admin.c:145: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). byte_stream_new(&bs, 4+strlen(curpw)+4+strlen(newpw)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_admin.c:172: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). byte_stream_new(&bs, 2+2+strlen(newemail)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_admin.c:242: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(mod->name, "admin", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_alert.c:233: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(mod->name, "alert", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_auth.c:66: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). for (i = 0; i < strlen(password); i++) data/pidgin-2.13.0/libpurple/protocols/oscar/family_auth.c:80:61: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(context, (const guchar *)key, strlen(key)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_auth.c:82: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). purple_cipher_context_append(context, (const guchar *)AIM_MD5_STRING, strlen(AIM_MD5_STRING)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_auth.c:104:61: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(context, (const guchar *)key, strlen(key)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_auth.c:106: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). purple_cipher_context_append(context, (const guchar *)AIM_MD5_STRING, strlen(AIM_MD5_STRING)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_auth.c:127: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). passwdlen = strlen(password); data/pidgin-2.13.0/libpurple/protocols/oscar/family_auth.c:235: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). password_len = strlen(password); data/pidgin-2.13.0/libpurple/protocols/oscar/family_auth.c:476: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). frame = flap_frame_new(od, 0x02, 10+2+2+strlen(sn)+8); data/pidgin-2.13.0/libpurple/protocols/oscar/family_auth.c:571:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(securid); data/pidgin-2.13.0/libpurple/protocols/oscar/family_auth.c:625: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(mod->name, "auth", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_bart.c:103: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). if (!od || !(conn = flap_connection_findbygroup(od, SNAC_FAMILY_BART)) || !bn || !strlen(bn) || !iconcsum || !iconcsumlen) data/pidgin-2.13.0/libpurple/protocols/oscar/family_bart.c:106: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). byte_stream_new(&bs, 1+strlen(bn) + 4 + 1+iconcsumlen); data/pidgin-2.13.0/libpurple/protocols/oscar/family_bart.c:109: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). byte_stream_put8(&bs, strlen(bn)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_bart.c:180: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(mod->name, "bart", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_bos.c:88: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(mod->name, "bos", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_buddy.c:149: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(mod->name, "buddy", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_chat.c:394: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(mod->name, "chat", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_chatnav.c:118: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). byte_stream_put8(&bs, strlen(ck)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_chatnav.c:441: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(mod->name, "chatnav", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_feedbag.c:965:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ((alias != NULL) && (strlen(alias) > 0)) data/pidgin-2.13.0/libpurple/protocols/oscar/family_feedbag.c:995: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 ((comment != NULL) && (strlen(comment) > 0)) data/pidgin-2.13.0/libpurple/protocols/oscar/family_feedbag.c:1326: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). bslen += strlen(cur->item->name); data/pidgin-2.13.0/libpurple/protocols/oscar/family_feedbag.c:1334: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). byte_stream_put16(&bs, cur->item->name ? strlen(cur->item->name) : 0); data/pidgin-2.13.0/libpurple/protocols/oscar/family_feedbag.c:1712: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). byte_stream_new(&bs, 1+strlen(bn) + 2+(msg ? strlen(msg)+1 : 0) + 2); data/pidgin-2.13.0/libpurple/protocols/oscar/family_feedbag.c:1712:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). byte_stream_new(&bs, 1+strlen(bn) + 2+(msg ? strlen(msg)+1 : 0) + 2); data/pidgin-2.13.0/libpurple/protocols/oscar/family_feedbag.c:1715: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). byte_stream_put8(&bs, strlen(bn)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_feedbag.c:1719: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). byte_stream_put16(&bs, msg ? strlen(msg) : 0); data/pidgin-2.13.0/libpurple/protocols/oscar/family_feedbag.c:1806: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). byte_stream_new(&bs, 1+strlen(bn) + 1 + 2+(msg ? (strlen(msg)+1) : 0) + 2); data/pidgin-2.13.0/libpurple/protocols/oscar/family_feedbag.c:1806: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). byte_stream_new(&bs, 1+strlen(bn) + 1 + 2+(msg ? (strlen(msg)+1) : 0) + 2); data/pidgin-2.13.0/libpurple/protocols/oscar/family_feedbag.c:1809: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). byte_stream_put8(&bs, strlen(bn)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_feedbag.c:1816: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). byte_stream_put16(&bs, msg ? (strlen(msg)+1) : 0); data/pidgin-2.13.0/libpurple/protocols/oscar/family_feedbag.c:1976: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(mod->name, "feedbag", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:91: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). byte_stream_put8(bs, strlen(bn)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:93: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). return 8+2+1+strlen(bn); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:392:77: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). snacid = aim_cachesnac(od, SNAC_FAMILY_ICBM, 0x0006, 0x0000, args->destbn, strlen(args->destbn)+1); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:425: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). byte_stream_new(&bs, 1142+strlen(bn)+strlen(roomname)+strlen(msg)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:425: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). byte_stream_new(&bs, 1142+strlen(bn)+strlen(roomname)+strlen(msg)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:425: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). byte_stream_new(&bs, 1142+strlen(bn)+strlen(roomname)+strlen(msg)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:427: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). snacid = aim_cachesnac(od, SNAC_FAMILY_ICBM, 0x0006, 0x0000, bn, strlen(bn)+1); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:454: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). byte_stream_new(&hdrbs, 2+8+16+6+4+4+strlen(msg)+4+2+1+strlen(roomname)+2); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:454:57: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). byte_stream_new(&hdrbs, 2+8+16+6+4+4+strlen(msg)+4+2+1+strlen(roomname)+2); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:502: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). byte_stream_new(&bs, 8+2+1+strlen(bn)+2+2+2+8+16+2+2+2+2+2+2+2+4+4+4+iconlen+strlen(AIM_ICONIDENT)+2+2); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:502:79: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). byte_stream_new(&bs, 8+2+1+strlen(bn)+2+2+2+8+16+2+2+2+2+2+2+2+4+4+4+iconlen+strlen(AIM_ICONIDENT)+2+2); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:515: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). byte_stream_put16(&bs, 2+8+16+6+4+4+iconlen+4+4+4+strlen(AIM_ICONIDENT)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:532: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). byte_stream_put16(&bs, 4+4+4+iconlen+strlen(AIM_ICONIDENT)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:570: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). byte_stream_new(&bs, 118+strlen(peer_conn->bn)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:619: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). byte_stream_new(&bs, 11+strlen(peer_conn->bn) + 4+2+8+16); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:657: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). byte_stream_new(&bs, 246+strlen(bn)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:710: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). byte_stream_new(&bs, 246+strlen(bn)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:802: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). byte_stream_new(&inner_bs, 2+2+4+strlen(filename)+1); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:883: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). byte_stream_new(&filename_bs, 2+2+4+strlen(filename)+1); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:1355: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(proxyip)) data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:1357: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(clientip)) data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:1359: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(verifiedip)) data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:1584: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). byte_stream_new(&bs, 8+2+1+strlen(bn)+6); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:1591: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). byte_stream_put8(&bs, strlen(bn)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:1620: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). header_size = 8 + 2 + 1 + strlen(bn) + 2; data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:1875: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). byte_stream_new(&bs, 11 + strlen(bn) + 2); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:1891: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). byte_stream_put8(&bs, strlen(bn)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:1950:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). xmllen = strlen(statxml); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:1954: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). byte_stream_new(&bs, 10 + 8 + 2 + 1 + strlen(sn) + 2 data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:2060:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(statxml); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:2064: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). byte_stream_new(&bs, 10 + 8 + 2 + 1 + strlen(sn) + 2 + sizeof(plugindata) + len); /* 16 extra */ data/pidgin-2.13.0/libpurple/protocols/oscar/family_icbm.c:2139: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(mod->name, "messaging", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c:189: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). passwdlen = strlen(passwd); data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c:359: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). xmllen = 209 + strlen(name) + strlen(stripped) + strlen(username) + strlen(alias) + strlen(timestr) + 1; data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c:359: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). xmllen = 209 + strlen(name) + strlen(stripped) + strlen(username) + strlen(alias) + strlen(timestr) + 1; data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c:359: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). xmllen = 209 + strlen(name) + strlen(stripped) + strlen(username) + strlen(alias) + strlen(timestr) + 1; data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c:359: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). xmllen = 209 + strlen(name) + strlen(stripped) + strlen(username) + strlen(alias) + strlen(timestr) + 1; data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c:359:86: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). xmllen = 209 + strlen(name) + strlen(stripped) + strlen(username) + strlen(alias) + strlen(timestr) + 1; data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c:647: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). bslen = 13 + strlen(uin) + 30 + 6 + 4 + 55 + 85 + 4; data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c:656: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). byte_stream_put8(&bs, strlen(uin)); /* uin */ data/pidgin-2.13.0/libpurple/protocols/oscar/family_icq.c:788: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(mod->name, "icq", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1302: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). encoding = g_malloc(strlen(defencoding) + strlen(profile_encoding)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1302: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). encoding = g_malloc(strlen(defencoding) + strlen(profile_encoding)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1303: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). snprintf(encoding, strlen(defencoding) + strlen(profile_encoding), defencoding, profile_encoding); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1303: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). snprintf(encoding, strlen(defencoding) + strlen(profile_encoding), defencoding, profile_encoding); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1319: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). encoding = g_malloc(strlen(defencoding) + strlen(awaymsg_encoding)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1319: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). encoding = g_malloc(strlen(defencoding) + strlen(awaymsg_encoding)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1320: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). snprintf(encoding, strlen(defencoding) + strlen(awaymsg_encoding), defencoding, awaymsg_encoding); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1320: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). snprintf(encoding, strlen(defencoding) + strlen(awaymsg_encoding), defencoding, awaymsg_encoding); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1459: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). byte_stream_new(&bs, 4 + 1 + strlen(bn)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1461: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). byte_stream_put8(&bs, strlen(bn)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1464:69: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). snacid = aim_cachesnac(od, SNAC_FAMILY_LOCATE, 0x0015, 0x0000, bn, strlen(bn)+1); data/pidgin-2.13.0/libpurple/protocols/oscar/family_locate.c:1506: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(mod->name, "locate", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_oservice.c:823: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). statusmsglen = (statusmsg != NULL) ? strlen(statusmsg) : 0; data/pidgin-2.13.0/libpurple/protocols/oscar/family_oservice.c:824: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). itmsurllen = (itmsurl != NULL) ? strlen(itmsurl) : 0; data/pidgin-2.13.0/libpurple/protocols/oscar/family_oservice.c:1138: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(mod->name, "oservice", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_popup.c:80: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(mod->name, "popup", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_stats.c:60: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(mod->name, "stats", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_userlookup.c:73: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). byte_stream_new(&bs, strlen(address)); data/pidgin-2.13.0/libpurple/protocols/oscar/family_userlookup.c:77: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). snacid = aim_cachesnac(od, SNAC_FAMILY_USERLOOKUP, 0x0002, 0x0000, address, strlen(address)+1); data/pidgin-2.13.0/libpurple/protocols/oscar/family_userlookup.c:112:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&buf[j * (MAXSNLEN+1)], cur, MAXSNLEN); data/pidgin-2.13.0/libpurple/protocols/oscar/family_userlookup.c:153: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(mod->name, "userlookup", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/flap_connection.c:887:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gssize read; data/pidgin-2.13.0/libpurple/protocols/oscar/flap_connection.c:913:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read < 0) data/pidgin-2.13.0/libpurple/protocols/oscar/flap_connection.c:927:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). conn->header_received += read; data/pidgin-2.13.0/libpurple/protocols/oscar/flap_connection.c:965:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read < 0) data/pidgin-2.13.0/libpurple/protocols/oscar/flap_connection.c:977:41: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). conn->buffer_incoming.data.offset += read; data/pidgin-2.13.0/libpurple/protocols/oscar/kerberos.c:124: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). for (i = 0; i < strlen(password) && i < MAXAIMPASSLEN; i++) data/pidgin-2.13.0/libpurple/protocols/oscar/kerberos.c:282:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i = 0; i < strlen(bosip); i++) { data/pidgin-2.13.0/libpurple/protocols/oscar/kerberos.c:383:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len_be = GUINT16_TO_BE(strlen(imapp_key)); data/pidgin-2.13.0/libpurple/protocols/oscar/kerberos.c:387:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len_be = GUINT16_TO_BE(strlen(username)); data/pidgin-2.13.0/libpurple/protocols/oscar/kerberos.c:393:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len_be = GUINT16_TO_BE(strlen(password) + 0x10); data/pidgin-2.13.0/libpurple/protocols/oscar/kerberos.c:396:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len_be = GUINT16_TO_BE(strlen(password) + 4); data/pidgin-2.13.0/libpurple/protocols/oscar/kerberos.c:398:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len_be = GUINT16_TO_BE(strlen(password)); data/pidgin-2.13.0/libpurple/protocols/oscar/kerberos.c:400:44: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). g_string_append_len(body, password_xored, strlen(password)); data/pidgin-2.13.0/libpurple/protocols/oscar/kerberos.c:403:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len_be = GUINT16_TO_BE(strlen(client_key)); data/pidgin-2.13.0/libpurple/protocols/oscar/misc.c:129: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(mod->name, "misc", sizeof(mod->name)); data/pidgin-2.13.0/libpurple/protocols/oscar/odc.c:98: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). memcpy(frame->bn, username, strlen(username)); data/pidgin-2.13.0/libpurple/protocols/oscar/odc.c:430:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gssize read; data/pidgin-2.13.0/libpurple/protocols/oscar/odc.c:449:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read < 0) data/pidgin-2.13.0/libpurple/protocols/oscar/odc.c:460:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bs->offset += read; data/pidgin-2.13.0/libpurple/protocols/oscar/oft.c:689: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((gchar *)conn->xferdata.idstring, "Cool FileXfer", 31); data/pidgin-2.13.0/libpurple/protocols/oscar/oft.c:693: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). conn->xferdata.name_length = MAX(64, strlen(xfer->filename) + 1); data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:207:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(hex, x + ++i, 2); data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:925:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read(pos->fd, &in, 1) == 1) { data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:947:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(pos->fd, m, 16) != 16) data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:991: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). result = send(pos->fd, buf, strlen(buf), 0); data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:995:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(buf), g_strerror(errno)); data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:996: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). else if ((gsize)result != strlen(buf)) data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:1000:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(buf), result); data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:1179: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). for (i = 0; i < strlen(info->bosip); i++) { data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:1846:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(args->info.rtfmsg.msg); data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:1932: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). msg2[i] = oscar_decode_im(account, uin, AIM_CHARSET_ASCII, msg1[i], strlen(msg1[i])); data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:1989: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). reason = oscar_decode_im(account, bn, AIM_CHARSET_LATIN_1, msg2[5], strlen(msg2[5])); data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:3654: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(status_text) > MAXAVAILMSGLEN) data/pidgin-2.13.0/libpurple/protocols/oscar/oscar.c:5658: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(tmp2) > sizeof(buf) - 1) { data/pidgin-2.13.0/libpurple/protocols/oscar/peer.c:294:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gssize read; data/pidgin-2.13.0/libpurple/protocols/oscar/peer.c:313:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read < 0) data/pidgin-2.13.0/libpurple/protocols/oscar/peer.c:327:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). conn->header_received += read; data/pidgin-2.13.0/libpurple/protocols/oscar/peer.c:363:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read < 0) data/pidgin-2.13.0/libpurple/protocols/oscar/peer.c:375:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). conn->buffer_incoming.offset += read; data/pidgin-2.13.0/libpurple/protocols/oscar/peer_proxy.c:75: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). bn_length = strlen(bn); data/pidgin-2.13.0/libpurple/protocols/oscar/peer_proxy.c:113: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). bn_length = strlen(bn); data/pidgin-2.13.0/libpurple/protocols/oscar/peer_proxy.c:209:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gssize read; data/pidgin-2.13.0/libpurple/protocols/oscar/peer_proxy.c:231:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read < 0) data/pidgin-2.13.0/libpurple/protocols/oscar/peer_proxy.c:245:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). conn->proxy_header_received += read; data/pidgin-2.13.0/libpurple/protocols/oscar/peer_proxy.c:293:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read < 0) data/pidgin-2.13.0/libpurple/protocols/oscar/peer_proxy.c:307:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). frame->payload.offset += read; data/pidgin-2.13.0/libpurple/protocols/oscar/tlv.c:371: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). return aim_tlvlist_add_raw(list, type, strlen(value), (guint8 *)value); data/pidgin-2.13.0/libpurple/protocols/oscar/tlv.c:442: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). byte_stream_new(&bs, 2 + 1 + strlen(roomname) + 2); data/pidgin-2.13.0/libpurple/protocols/oscar/tlv.c:445: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). byte_stream_put8(&bs, strlen(roomname)); data/pidgin-2.13.0/libpurple/protocols/oscar/tlv.c:557: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). return aim_tlvlist_replace_raw(list, type, strlen(str), (const guchar *)str); data/pidgin-2.13.0/libpurple/protocols/oscar/userinfo.c:357: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). char *tmp2 = g_markup_escape_text(tmp, strlen(tmp)); data/pidgin-2.13.0/libpurple/protocols/sametime/sametime.c:864: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). g_return_val_if_fail(strlen(id) > 0, NULL); data/pidgin-2.13.0/libpurple/protocols/sametime/sametime.c:1728:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(sock, buf, BUF_LEN); data/pidgin-2.13.0/libpurple/protocols/sametime/sametime.c:2707: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). n = strlen(cid); data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:399:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(passphrase)); data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:682: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(who) > 1 && who[0] == '@') data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:684: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(who) > 1 && who[0] == '*') data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:686: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(who) > 2 && who[0] == '*' && who[1] == '@') data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:770:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i = 0; i < strlen(fingerprint); i++) data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:919: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). for (i = 0; i < strlen(fingerprint); i++) data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:929:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmp = fingerprint + strlen(fingerprint) - 9; data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:1261: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(name))) { data/pidgin-2.13.0/libpurple/protocols/silc/buddy.c:1550: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). tmp, sizeof(tmp) - strlen(tmp)); data/pidgin-2.13.0/libpurple/protocols/silc/chat.c:1065:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(passphrase), &key)) data/pidgin-2.13.0/libpurple/protocols/silc/chat.c:1250: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). } else if (strlen(msg) > 1 && msg[0] == '/') { data/pidgin-2.13.0/libpurple/protocols/silc/chat.c:1331: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). strlen(msg2)); data/pidgin-2.13.0/libpurple/protocols/silc/ops.c:699: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). sg->motd = silc_memdup(tmp, strlen(tmp)); data/pidgin-2.13.0/libpurple/protocols/silc/ops.c:859: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 = 0; i < strlen(fingerprint); i++) data/pidgin-2.13.0/libpurple/protocols/silc/ops.c:1217: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). tmp, sizeof(tmp) - strlen(tmp)); data/pidgin-2.13.0/libpurple/protocols/silc/ops.c:1273: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). silc_strncat(tmp, sizeof(tmp) - 1, m, strlen(m)); data/pidgin-2.13.0/libpurple/protocols/silc/ops.c:1752: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). completion(SILC_AUTH_PASSWORD, (unsigned char *)password, strlen(password), context); data/pidgin-2.13.0/libpurple/protocols/silc/ops.c:1808:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(passphrase), internal->context); data/pidgin-2.13.0/libpurple/protocols/silc/pk.c:197:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i = 0; i < strlen(fingerprint); i++) data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:302: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). (void *)tz, strlen(tz)); data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:853: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). (void *)val, strlen(val)); data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:901: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). (void *)val, strlen(val)); data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:1460: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). } else if (strlen(msg) > 1 && msg[0] == '/') { data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:1483: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). im->message_len = strlen(im->message); data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:1521: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). strlen(msg)); data/pidgin-2.13.0/libpurple/protocols/silc/silc.c:1601:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (args && args[0] && (strlen(args[0]) > 255)) { data/pidgin-2.13.0/libpurple/protocols/silc/util.c:51: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). } else if (!strncmp(ip, "172.", 4) && strlen(ip) > 6) { data/pidgin-2.13.0/libpurple/protocols/silc/util.c:55:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(tmp, ip + 4, 2); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:494: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(s->str)) { data/pidgin-2.13.0/libpurple/protocols/silc/util.c:523: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(s->str)) { data/pidgin-2.13.0/libpurple/protocols/silc/util.c:552: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(s->str)) data/pidgin-2.13.0/libpurple/protocols/silc/util.c:629: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). silc_mime_add_data(p, (const unsigned char *)text, strlen(text)); data/pidgin-2.13.0/libpurple/protocols/silc/util.c:682: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). silc_mime_add_data(p, (const unsigned char *)tmp, strlen(tmp)); data/pidgin-2.13.0/libpurple/protocols/silc/wb.c:55: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). #define SILCPURPLE_WB_HEADER strlen(SILCPURPLE_WB_MIME) + 11 data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:401:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(passphrase), FALSE, data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:690: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(who) > 1 && who[0] == '@') data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:692: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(who) > 1 && who[0] == '*') data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:694: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(who) > 2 && who[0] == '*' && who[1] == '@') data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:776:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i = 0; i < strlen(fingerprint); i++) data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:919: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). for (i = 0; i < strlen(fingerprint); i++) data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:930:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmp = fingerprint + strlen(fingerprint) - 9; data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:1253: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(b->name))) { data/pidgin-2.13.0/libpurple/protocols/silc10/buddy.c:1564: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). tmp, sizeof(tmp) - strlen(tmp)); data/pidgin-2.13.0/libpurple/protocols/silc10/chat.c:1114:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(passphrase), &key)) data/pidgin-2.13.0/libpurple/protocols/silc10/chat.c:1297: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). } else if (strlen(msg) > 1 && msg[0] == '/') { data/pidgin-2.13.0/libpurple/protocols/silc10/chat.c:1352: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). strlen(msg2), TRUE); data/pidgin-2.13.0/libpurple/protocols/silc10/ops.c:695: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). sg->motd = silc_memdup(tmp, strlen(tmp)); data/pidgin-2.13.0/libpurple/protocols/silc10/ops.c:867: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 = 0; i < strlen(fingerprint); i++) data/pidgin-2.13.0/libpurple/protocols/silc10/ops.c:1201: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). tmp, sizeof(tmp) - strlen(tmp)); data/pidgin-2.13.0/libpurple/protocols/silc10/ops.c:1265: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). silc_strncat(tmp, sizeof(tmp) - 1, m, strlen(m)); data/pidgin-2.13.0/libpurple/protocols/silc10/ops.c:1829: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). completion(TRUE, SILC_AUTH_PASSWORD, (unsigned char *)password, strlen(password), context); data/pidgin-2.13.0/libpurple/protocols/silc10/ops.c:1887:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(passphrase), internal->context); data/pidgin-2.13.0/libpurple/protocols/silc10/pk.c:189:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i = 0; i < strlen(fingerprint); i++) data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:234: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). (void *)tmp, strlen(tmp)); data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:549: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). (void *)val, strlen(val)); data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:597: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). (void *)val, strlen(val)); data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:1160: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). } else if (strlen(msg) > 1 && msg[0] == '/') { data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:1189: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). im->message_len = strlen(im->message); data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:1228: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). strlen(msg), TRUE); data/pidgin-2.13.0/libpurple/protocols/silc10/silc.c:1310:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (args && args[0] && (strlen(args[0]) > 255)) { data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:50: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). } else if (!strncmp(ip, "172.", 4) && strlen(ip) > 6) { data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:54:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(tmp, ip + 4, 2); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:537: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(s->str)) { data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:567: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(s->str)) { data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:597: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(s->str)) { data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:675: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). silc_mime_add_data(p, (unsigned char *)text, strlen(text)); data/pidgin-2.13.0/libpurple/protocols/silc10/util.c:728:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). silc_mime_add_data(p, (unsigned char *)tmp, strlen(tmp)); data/pidgin-2.13.0/libpurple/protocols/silc10/wb.c:54: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). #define SILCPURPLE_WB_HEADER strlen(SILCPURPLE_WB_MIME) + 11 data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:275: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(!authuser || strlen(authuser) < 1) { data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:315:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(attrname); data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:325: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). tmp2 = g_strstr_len(tmp, strlen(tmp), "\""); data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:343: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(!authuser || strlen(authuser) < 1) { data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:495: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). purple_circ_buffer_append(sip->txbuf, buf, strlen(buf)); data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:501:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int writelen = strlen(buf); data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:581: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). sprintf(len, "%" G_GSIZE_FORMAT , strlen(body)); data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:697:4: [1] (buffer) strlen: Does not handle 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(body), data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:1467:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). while(tmp && tmp < acceptheader + strlen(acceptheader)) { data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:1627: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). conn->inbufused = strlen(conn->inbuf); data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:1654: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). conn->inbufused = strlen(conn->inbuf); data/pidgin-2.13.0/libpurple/protocols/simple/simple.c:1702:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(source, conn->inbuf + conn->inbufused, SIMPLE_BUF_INC - 1); data/pidgin-2.13.0/libpurple/protocols/simple/sipmsg.c:90: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). for(i=1; lines[i] && strlen(lines[i])>2; i++) { data/pidgin-2.13.0/libpurple/protocols/zephyr/ZAsyncLocate.c:42: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). userlen = strlen(user) + 1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZAsyncLocate.c:43: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). versionlen = strlen(notice.z_version) + 1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZAsyncLocate.c:112: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). len = strlen (ptr) + 1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZAsyncLocate.c:119: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). len = strlen (ptr) + 1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZAsyncLocate.c:126:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen (ptr) + 1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZAsyncLocate.c:139:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(zald->user) + 1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZAsyncLocate.c:144:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(notice->z_class_inst) + 1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZCkAuth.c:46: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(notice->z_default_format)+1- data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtList.c:34: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). size += strlen(list[i])+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtList.c:47: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). i = strlen(*list)+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtRawLst.c:31: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). size += strlen(list[i])+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtRawLst.c:43: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). i = strlen(*list)+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtSmRLst.c:31: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). size += strlen(list[i])+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZFmtSmRLst.c:41: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). i = strlen(*list)+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZLocations.c:87:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). (void) strncpy(host, hent->h_name, sizeof(host)); data/pidgin-2.13.0/libpurple/protocols/zephyr/ZLocations.c:115: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). bptr[1][strlen(bptr[1])-1] = '\0'; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZParseNot.c:14: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). #define next_field(ptr) ptr += strlen (ptr) + 1 data/pidgin-2.13.0/libpurple/protocols/zephyr/ZRetSubs.c:39:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). notice.z_message_len = strlen(asciiport)+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZRetSubs.c:148:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(ptr) + 1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZRetSubs.c:157:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(ptr) + 1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZRetSubs.c:169:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(ptr2) + 1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZRetSubs.c:177:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ptr += strlen(ptr)+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZSubs.c:136:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ((j = strlen(list[i*3]) data/pidgin-2.13.0/libpurple/protocols/zephyr/ZSubs.c:137:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). + strlen(list[i*3+1]) data/pidgin-2.13.0/libpurple/protocols/zephyr/ZSubs.c:138:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). + strlen(list[i*3+2]) + 3) <= size) { data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:71: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 (varbfr[strlen(varbfr)-1] < ' ') data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:72:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). varbfr[strlen(varbfr)-1] = '\0'; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:117: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 (varbfr[strlen(varbfr)-1] < ' ') data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:118: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). varbfr[strlen(varbfr)-1] = '\0'; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:178: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 (varbfr[strlen(varbfr)-1] < ' ') data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:179: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). varbfr[strlen(varbfr)-1] = '\0'; data/pidgin-2.13.0/libpurple/protocols/zephyr/ZVariables.c:209: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 (g_ascii_strncasecmp(bfr, var, max(strlen(var), (gsize)(cp - bfr)))) data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:147:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fd_set read; data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:150:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). FD_ZERO(&read); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:151:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). FD_SET(ZGetFD(), &read); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:152:35: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return (select(ZGetFD() + 1, &read, NULL, NULL, &tv)); data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:683:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (buffer_len < strlen(notice->z_version)+1) data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:687:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ptr += strlen(ptr)+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:692:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ptr += strlen(ptr)+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:696:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ptr += strlen(ptr)+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:701:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ptr += strlen(ptr)+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:705:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ptr += strlen(ptr)+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:709:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ptr += strlen(ptr)+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:713:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ptr += strlen(ptr)+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:730: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(notice->z_recipient) + strlen(__Zephyr_realm) + 2 > data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:730:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(notice->z_recipient) + strlen(__Zephyr_realm) + 2 > data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:745:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ptr += strlen(ptr)+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:755:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ptr += strlen(ptr)+1; data/pidgin-2.13.0/libpurple/protocols/zephyr/Zinternal.c:771: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). len = field ? strlen (field) + 1 : 1; data/pidgin-2.13.0/libpurple/protocols/zephyr/error_message.c:50:2: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat (buf, " "); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:164:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(zsubstr); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:396: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 (frames->closing && !g_ascii_strncasecmp(message, frames->closing, strlen(frames->closing))) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:398: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). message += strlen(frames->closing); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:415:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int text_len = strlen(popped->text->str), href_len = strlen(popped->href->str); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:415:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int text_len = strlen(popped->text->str), href_len = strlen(popped->href->str); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:695: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). } else if (frames->closer && !g_ascii_strncasecmp(message, frames->closer, strlen(frames->closer))) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:699: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). message += strlen(frames->closer); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:834: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 *ptr = (char *) notice.z_message + (strlen(notice.z_message) + 1); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:837: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). int signature_length = strlen(notice.z_message); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:988: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). while(p < strlen(source)) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:1000: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). while(source[p] != '\n' && p < strlen(source)) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:1012: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). while(!(source[end] == ')' && nesting == 0 && !in_quote) && end < strlen(source)) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:1046: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). while(source[end] != end_char && end < strlen(source)) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:1053:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(newstr,source+p,end-p); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:1088:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(zephyr->fromtzc[ZEPHYR_FD_READ], bufcur, 1) != 1) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:1128:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t bufsize = strlen(msg) + 3; data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:1130: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). g_snprintf(buf,1+strlen(msg)+2," %c%s",'\0',msg); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:1140: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). notice.z_message_len = strlen(msg) + 3; data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:1172: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). if (!locval || !g_ascii_strcasecmp(locval," ") || (strlen(locval) == 0)) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:1346:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(zlocstr); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:1694:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(zephyr->fromtzc[ZEPHYR_FD_READ], bufcur, 1) != 1) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2096: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 (message && (strlen(message) > 0)) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2097: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). newmsg = g_new0(char,1+strlen(message)*2); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2098: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). while(pos < strlen(message)) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2127: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 (message && (strlen(message) > 0)) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2128: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). newmsg = g_new0(char,strlen(message)+1); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2129: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). while(pos < strlen(message)) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2172:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(zsendstr); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2194: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). notice.z_message_len = strlen(html_buf2) + strlen(sig) + 2; data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2194: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). notice.z_message_len = strlen(html_buf2) + strlen(sig) + 2; data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2246: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(tmp) >= sizeof(buf)) { data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2275:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(zlocstr); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2304:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(zexpstr); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2318:10: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(zexpstr); data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2435: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 (!instname || !strlen(instname)) data/pidgin-2.13.0/libpurple/protocols/zephyr/zephyr.c:2605: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(recipient) < 1) data/pidgin-2.13.0/libpurple/proxy.c:277: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). param_len = strlen(param); data/pidgin-2.13.0/libpurple/proxy.c:495: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). specific += strlen("http="); data/pidgin-2.13.0/libpurple/proxy.c:515: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). specific += strlen("socks="); data/pidgin-2.13.0/libpurple/proxy.c:922:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(connect_data->fd, p, max_read); data/pidgin-2.13.0/libpurple/proxy.c:981:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen("Content-Length: "); data/pidgin-2.13.0/libpurple/proxy.c:1006:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(connect_data->fd, &tmpc, 1) < 0 && errno != EAGAIN) data/pidgin-2.13.0/libpurple/proxy.c:1029: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). const char *header_end = header + strlen("Proxy-Authenticate: NTLM"); data/pidgin-2.13.0/libpurple/proxy.c:1093: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). t2 = purple_base64_encode((guchar *)t1, strlen(t1)); data/pidgin-2.13.0/libpurple/proxy.c:1117: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). connect_data->write_buf_len = strlen(request); data/pidgin-2.13.0/libpurple/proxy.c:1180: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). t2 = purple_base64_encode((const guchar *)t1, strlen(t1)); data/pidgin-2.13.0/libpurple/proxy.c:1296:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(connect_data->fd, buf, max_read); data/pidgin-2.13.0/libpurple/proxy.c:1407: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). len = sizeof(packet) + strlen(connect_data->host) + 1; data/pidgin-2.13.0/libpurple/proxy.c:1411: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). memcpy(connect_data->write_buffer + sizeof(packet), connect_data->host, strlen(connect_data->host)); data/pidgin-2.13.0/libpurple/proxy.c:1503:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(connect_data->fd, dest, (connect_data->read_buf_len - connect_data->read_len)); data/pidgin-2.13.0/libpurple/proxy.c:1582: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 hlen = strlen(connect_data->host); data/pidgin-2.13.0/libpurple/proxy.c:1616:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(connect_data->fd, connect_data->read_buffer + connect_data->read_len, data/pidgin-2.13.0/libpurple/proxy.c:1673: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). pwlen=strlen(passwd); data/pidgin-2.13.0/libpurple/proxy.c:1675:61: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). purple_cipher_context_append(ctx, (const guchar *)passwd, strlen(passwd)); data/pidgin-2.13.0/libpurple/proxy.c:1858:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(connect_data->fd, connect_data->read_buffer + connect_data->read_len, data/pidgin-2.13.0/libpurple/proxy.c:1932:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = read(connect_data->fd, connect_data->read_buffer + connect_data->read_len, data/pidgin-2.13.0/libpurple/proxy.c:1974: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). i = (u == NULL) ? 0 : strlen(u); data/pidgin-2.13.0/libpurple/proxy.c:1975: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). j = (p == NULL) ? 0 : strlen(p); data/pidgin-2.13.0/libpurple/proxy.c:2002: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). userlen = strlen(purple_proxy_info_get_username(connect_data->gpi)); data/pidgin-2.13.0/libpurple/savedstatuses.c:1023:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf, stripped, sizeof(buf)); data/pidgin-2.13.0/libpurple/savedstatuses.c:1025: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(stripped) + 1) > sizeof(buf)) data/pidgin-2.13.0/libpurple/sslconn.c:272:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return (ops->read)(gsc, data, len); data/pidgin-2.13.0/libpurple/sslconn.h:117:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size_t (*read)(PurpleSslConnection *gsc, void *data, size_t len); data/pidgin-2.13.0/libpurple/stringref.c:73:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(value); data/pidgin-2.13.0/libpurple/stringref.c:91: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). newref = g_malloc(sizeof(PurpleStringref) + strlen(value)); data/pidgin-2.13.0/libpurple/stringref.c:150: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(purple_stringref_value(stringref)); data/pidgin-2.13.0/libpurple/stun.c:401: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 (servername && strlen(servername) > 1 data/pidgin-2.13.0/libpurple/stun.c:420: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(!servername || (strlen(servername) < 2)) { data/pidgin-2.13.0/libpurple/tests/test_cipher.c:23: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). purple_cipher_context_append(context, (guchar *)(data), strlen((data))); \ data/pidgin-2.13.0/libpurple/tests/test_cipher.c:86: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). purple_cipher_context_append(context, (guchar *)(data), strlen((data))); \ data/pidgin-2.13.0/libpurple/tests/test_cipher.c:151: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). purple_cipher_context_append(context, (guchar *)input, strlen(input)); \ data/pidgin-2.13.0/libpurple/tests/test_cipher.c:212: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). purple_cipher_context_append(context, (guchar *)input, strlen(input)); \ data/pidgin-2.13.0/libpurple/upnp.c:375: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). length = path ? (gsize)(path - baseURL) : strlen(baseURL); data/pidgin-2.13.0/libpurple/upnp.c:611: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). totalSize = strlen(sendMessage); data/pidgin-2.13.0/libpurple/upnp.c:732:3: [1] (buffer) strlen: Does not handle 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(soapMessage), soapMessage); data/pidgin-2.13.0/libpurple/upnp.c:749: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(control_info.publicip) > 0) data/pidgin-2.13.0/libpurple/upnp.c:807: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(control_info.internalip) > 0) data/pidgin-2.13.0/libpurple/upnp.c:901: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(action_name, "AddPortMapping", data/pidgin-2.13.0/libpurple/upnp.c:908: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(action_name, "DeletePortMapping", sizeof(action_name)); data/pidgin-2.13.0/libpurple/util.c:155:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(str); data/pidgin-2.13.0/libpurple/util.c:157: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). g_return_val_if_fail(strlen(str) > 0, 0); data/pidgin-2.13.0/libpurple/util.c:252: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). n = new = g_malloc(strlen (str) + 1); data/pidgin-2.13.0/libpurple/util.c:253: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). end = str + strlen(str); data/pidgin-2.13.0/libpurple/util.c:482:4: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy(buf, "Z"); data/pidgin-2.13.0/libpurple/util.c:940: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). length = strlen(text); data/pidgin-2.13.0/libpurple/util.c:1031: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 (g_ascii_strncasecmp(css_str, opt, strlen(opt))) data/pidgin-2.13.0/libpurple/util.c:1045: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). css_str += strlen(opt); data/pidgin-2.13.0/libpurple/util.c:1122: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). needlelen = strlen(needle); data/pidgin-2.13.0/libpurple/util.c:1278:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p += strlen(start_token) + skip; data/pidgin-2.13.0/libpurple/util.c:1304: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). strlen(no_value_token))))) data/pidgin-2.13.0/libpurple/util.c:1364: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). #define ALLOW_TAG_ALT(x, y) if(!g_ascii_strncasecmp(c, "<" x " ", strlen("<" x " "))) { \ data/pidgin-2.13.0/libpurple/util.c:1365: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). const char *o = c + strlen("<" x); \ data/pidgin-2.13.0/libpurple/util.c:1420:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(!g_ascii_strncasecmp(c, "<" x, strlen("<" x)) && \ data/pidgin-2.13.0/libpurple/util.c:1421: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). (*(c+strlen("<" x)) == '>' || \ data/pidgin-2.13.0/libpurple/util.c:1422: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). !g_ascii_strncasecmp(c+strlen("<" x), "/>", 2))) { \ data/pidgin-2.13.0/libpurple/util.c:1425: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). c += strlen("<" x); \ data/pidgin-2.13.0/libpurple/util.c:1474: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(!g_ascii_strncasecmp((c+2), pt->src_tag, strlen(pt->src_tag)) && *(c+strlen(pt->src_tag)+2) == '>') { data/pidgin-2.13.0/libpurple/util.c:1474: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). if(!g_ascii_strncasecmp((c+2), pt->src_tag, strlen(pt->src_tag)) && *(c+strlen(pt->src_tag)+2) == '>') { data/pidgin-2.13.0/libpurple/util.c:1475: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). c += strlen(pt->src_tag) + 3; data/pidgin-2.13.0/libpurple/util.c:1563:79: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(!g_ascii_strncasecmp(c, "<b>", 3) || !g_ascii_strncasecmp(c, "<bold>", strlen("<bold>")) || !g_ascii_strncasecmp(c, "<strong>", strlen("<strong>"))) { data/pidgin-2.13.0/libpurple/util.c:1563:136: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(!g_ascii_strncasecmp(c, "<b>", 3) || !g_ascii_strncasecmp(c, "<bold>", strlen("<bold>")) || !g_ascii_strncasecmp(c, "<strong>", strlen("<strong>"))) { data/pidgin-2.13.0/libpurple/util.c:1578: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). if(!g_ascii_strncasecmp(c, "<u>", 3) || !g_ascii_strncasecmp(c, "<underline>", strlen("<underline>"))) { data/pidgin-2.13.0/libpurple/util.c:1588:81: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(!g_ascii_strncasecmp(c, "<s>", 3) || !g_ascii_strncasecmp(c, "<strike>", strlen("<strike>"))) { data/pidgin-2.13.0/libpurple/util.c:1824:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(!g_ascii_strncasecmp(c, "<!--", strlen("<!--"))) { data/pidgin-2.13.0/libpurple/util.c:1825: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). char *p = strstr(c + strlen("<!--"), "-->"); data/pidgin-2.13.0/libpurple/util.c:1829: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). c += strlen("<!--"); data/pidgin-2.13.0/libpurple/util.c:1919: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(cdata_close_tag)) == 0) data/pidgin-2.13.0/libpurple/util.c:1921:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i += strlen(cdata_close_tag) - 1; data/pidgin-2.13.0/libpurple/util.c:2002: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 hrlen = strlen(href); data/pidgin-2.13.0/libpurple/util.c:2287: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). if (strlen(url_buf) > 0) { data/pidgin-2.13.0/libpurple/util.c:2288: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). for (d = url_buf + strlen(url_buf) - 1; *d == '.'; d--, t--) data/pidgin-2.13.0/libpurple/util.c:2414: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). z += strlen("[Image]"); data/pidgin-2.13.0/libpurple/util.c:2418: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). z += strlen("\n---\n"); data/pidgin-2.13.0/libpurple/util.c:2620: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). real_size = (size == -1) ? strlen(data) : (size_t) size; data/pidgin-2.13.0/libpurple/util.c:3149: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). for (i = 1; i < strlen(text); i++) data/pidgin-2.13.0/libpurple/util.c:3156: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). ret = g_malloc0(strlen(text) + count + 1); data/pidgin-2.13.0/libpurple/util.c:3162:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (; i < strlen(text); i++) { data/pidgin-2.13.0/libpurple/util.c:3230: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). length_del = strlen(delimiter); data/pidgin-2.13.0/libpurple/util.c:3231: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). length_rep = strlen(replacement); data/pidgin-2.13.0/libpurple/util.c:3252:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&ret[j], replacement, length_rep); data/pidgin-2.13.0/libpurple/util.c:3277: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). hlen = strlen(haystack); data/pidgin-2.13.0/libpurple/util.c:3279: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). nlen = strlen(needle); data/pidgin-2.13.0/libpurple/util.c:3426:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(proto, uri, len); data/pidgin-2.13.0/libpurple/util.c:3624: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). s += strlen("Location: "); data/pidgin-2.13.0/libpurple/util.c:3637:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(new_url, s, len); data/pidgin-2.13.0/libpurple/util.c:3725: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). gsize header_len = strlen(header); data/pidgin-2.13.0/libpurple/util.c:3857:43: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). (!gfud->is_ssl && source >= 0 && (len = read(source, buf, sizeof(buf))) > 0)) data/pidgin-2.13.0/libpurple/util.c:4069: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). t2 = purple_base64_encode((const guchar *)t1, strlen(t1)); data/pidgin-2.13.0/libpurple/util.c:4086: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). gfud->request_len = strlen(gfud->request); data/pidgin-2.13.0/libpurple/util.c:4202: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). user_agent, http11, request, request ? strlen (request) : 0, include_headers, max_len, callback, data/pidgin-2.13.0/libpurple/util.c:4316: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) >= BUF_LEN) data/pidgin-2.13.0/libpurple/util.c:4319: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). for (i = 0; i < strlen(str); i++) { data/pidgin-2.13.0/libpurple/util.c:4324:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(hex, str + ++i, 2); data/pidgin-2.13.0/libpurple/util.c:4542:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (retval, p, q - p + 1); data/pidgin-2.13.0/libpurple/util.c:4617:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ((utf8 != NULL) && (converted == strlen(str))) data/pidgin-2.13.0/libpurple/util.c:4635: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). workstr = g_string_sized_new(strlen(str)); data/pidgin-2.13.0/libpurple/util.c:4669: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). workstr = iter = g_new(gchar, strlen(str) + 1); data/pidgin-2.13.0/libpurple/util.c:4866: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). n = strlen(pin); data/pidgin-2.13.0/libpurple/util.c:4924:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(message); data/pidgin-2.13.0/libpurple/util.c:4955: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). out = g_malloc(strlen(in)+1); data/pidgin-2.13.0/libpurple/win32/libc_interface.h:112:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #define read( fd, buf, buflen ) \ data/pidgin-2.13.0/libpurple/win32/win32dep.c:61: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). ret = g_malloc0(strlen(filename) + sepcount + 1); data/pidgin-2.13.0/libpurple/win32/win32dep.c:228:15: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = (wcslen(wc_value) * sizeof(wchar_t)) + 1; data/pidgin-2.13.0/libpurple/xmlnode.c:112: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). real_size = size == -1 ? strlen(data) : (gsize)size; data/pidgin-2.13.0/libpurple/xmlnode.c:714: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). real_size = size < 0 ? strlen(str) : (gsize)size; data/pidgin-2.13.0/pidgin/getopt.c:463:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (s - nextchar == strlen (p->name)) data/pidgin-2.13.0/pidgin/getopt.c:487: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). nextchar += strlen (nextchar); data/pidgin-2.13.0/pidgin/getopt.c:517: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). nextchar += strlen (nextchar); data/pidgin-2.13.0/pidgin/getopt.c:530: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). nextchar += strlen (nextchar); data/pidgin-2.13.0/pidgin/getopt.c:534: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). nextchar += strlen (nextchar); data/pidgin-2.13.0/pidgin/gtkblist-theme.c:134:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(copy->color, pair->color, sizeof(copy->color) - 1); data/pidgin-2.13.0/pidgin/gtkblist.c:2149:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). while (*s != '\0' && strncmp(s, "END:vCard", strlen("END:vCard"))) data/pidgin-2.13.0/pidgin/gtkblist.c:2333: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). strlen(str->str) + 1); data/pidgin-2.13.0/pidgin/gtkblist.c:4234: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). nametext = g_markup_escape_text(name, strlen(name)); data/pidgin-2.13.0/pidgin/gtkconv.c:464:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (cmd && (strncmp(cmd, prefix, strlen(prefix)) == 0) data/pidgin-2.13.0/pidgin/gtkconv.c:474: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). cmdline = cmd + strlen(prefix); data/pidgin-2.13.0/pidgin/gtkconv.c:578: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(clean) == 0) { data/pidgin-2.13.0/pidgin/gtkconv.c:4113: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). *most_matched = strlen(name); data/pidgin-2.13.0/pidgin/gtkconv.c:4121: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 (*most_matched < (goffset)strlen(tmp)) data/pidgin-2.13.0/pidgin/gtkconv.c:4165: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). start = strlen(text) - 1; data/pidgin-2.13.0/pidgin/gtkconv.c:4184:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). (strlen(text) >= strlen(prefix)) && !strncmp(text, prefix, strlen(prefix))) { data/pidgin-2.13.0/pidgin/gtkconv.c:4184: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). (strlen(text) >= strlen(prefix)) && !strncmp(text, prefix, strlen(prefix))) { data/pidgin-2.13.0/pidgin/gtkconv.c:4184: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). (strlen(text) >= strlen(prefix)) && !strncmp(text, prefix, strlen(prefix))) { data/pidgin-2.13.0/pidgin/gtkconv.c:4186: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). gtk_text_iter_forward_chars(&word_start, strlen(prefix)); data/pidgin-2.13.0/pidgin/gtkconv.c:4193: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). entered_bytes = strlen(entered); data/pidgin-2.13.0/pidgin/gtkconv.c:5625:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). && (strlen(tag->name) > 6), FALSE); data/pidgin-2.13.0/pidgin/gtkconv.c:5839:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen(displaying) + 1; data/pidgin-2.13.0/pidgin/gtkconv.c:5926: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). length = strlen(displaying) + 1; data/pidgin-2.13.0/pidgin/gtkconv.c:5982:62: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *alias_escaped = (alias ? g_markup_escape_text(alias, strlen(alias)) : g_strdup("")); data/pidgin-2.13.0/pidgin/gtkconv.c:6017: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). tag_start_offset += strlen(AUTO_RESPONSE) - 6 + 4; data/pidgin-2.13.0/pidgin/gtkconv.c:6030: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). tag_start_offset += strlen(AUTO_RESPONSE) - 6 + 1; data/pidgin-2.13.0/pidgin/gtkconv.c:6090:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int pre_len = strlen(pre); data/pidgin-2.13.0/pidgin/gtkconv.c:6091:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int post_len = strlen(post); data/pidgin-2.13.0/pidgin/gtkdialogs.c:440: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). pango_layout_set_markup(layout, markup, strlen(markup)); data/pidgin-2.13.0/pidgin/gtkdialogs.c:978: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(gtk_label_get_label(GTK_LABEL(label))) <= 0) data/pidgin-2.13.0/pidgin/gtkimhtml.c:213: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). clipboard_length = strlen(clipboard); data/pidgin-2.13.0/pidgin/gtkimhtml.c:256:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). length = strlen(html); data/pidgin-2.13.0/pidgin/gtkimhtml.c:880:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&tmp[1], color, 7); data/pidgin-2.13.0/pidgin/gtkimhtml.c:1072:111: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). gtk_selection_data_set(selection_data, gdk_atom_intern("HTML Format", FALSE), 8, (const guchar *)selection, strlen(selection)); data/pidgin-2.13.0/pidgin/gtkimhtml.c:1080: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). gtk_selection_data_set_text(selection_data, text, strlen(text)); data/pidgin-2.13.0/pidgin/gtkimhtml.c:1477:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int length = reverse ? strlen(url) : 0; data/pidgin-2.13.0/pidgin/gtkimhtml.c:2264:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!g_ascii_strncasecmp (string, x ">", strlen (x ">"))) { \ data/pidgin-2.13.0/pidgin/gtkimhtml.c:2265:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (tag) *tag = g_strndup (string, strlen (x)); \ data/pidgin-2.13.0/pidgin/gtkimhtml.c:2266: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 (len) *len = strlen (x) + 1; \ data/pidgin-2.13.0/pidgin/gtkimhtml.c:2273: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 (!g_ascii_strncasecmp (string, x " ", strlen (x " "))) { \ data/pidgin-2.13.0/pidgin/gtkimhtml.c:2274:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const gchar *c = string + strlen (x " "); \ data/pidgin-2.13.0/pidgin/gtkimhtml.c:2377:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!g_ascii_strncasecmp(string, "!--", strlen ("!--"))) { data/pidgin-2.13.0/pidgin/gtkimhtml.c:2378: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). gchar *e = strstr (string + strlen("!--"), "-->"); data/pidgin-2.13.0/pidgin/gtkimhtml.c:2381:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). *len = e - string + strlen ("-->"); data/pidgin-2.13.0/pidgin/gtkimhtml.c:2383: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). *tag = g_strndup (string + strlen ("!--"), *len - strlen ("!---->")); data/pidgin-2.13.0/pidgin/gtkimhtml.c:2383: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). *tag = g_strndup (string + strlen ("!--"), *len - strlen ("!---->")); data/pidgin-2.13.0/pidgin/gtkimhtml.c:2409:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). while (g_ascii_strncasecmp (t, opt, strlen (opt))) { data/pidgin-2.13.0/pidgin/gtkimhtml.c:2420:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!g_ascii_strncasecmp (t, opt, strlen (opt))) { data/pidgin-2.13.0/pidgin/gtkimhtml.c:2421: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). t += strlen (opt); data/pidgin-2.13.0/pidgin/gtkimhtml.c:2718:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(text); data/pidgin-2.13.0/pidgin/gtkimhtml.c:3765: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). const gchar* file_ext = filename + strlen(filename) - strlen(fmt_ext); data/pidgin-2.13.0/pidgin/gtkimhtml.c:3765:59: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const gchar* file_ext = filename + strlen(filename) - strlen(fmt_ext); data/pidgin-2.13.0/pidgin/gtkimhtml.c:4145:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&tmp[1], color, 7); data/pidgin-2.13.0/pidgin/gtkimhtml.c:4169:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(&tmp[1], color, 7); data/pidgin-2.13.0/pidgin/gtkimhtml.c:5397: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). strlen(tag_to_html_end(tag)) > 0 && data/pidgin-2.13.0/pidgin/gtkimhtml.c:5398: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). strlen(tag_to_html_start(tag)) > 0) { data/pidgin-2.13.0/pidgin/gtkimhtml.c:5605:4: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy(color, ""); data/pidgin-2.13.0/pidgin/gtkimhtml.c:5619:4: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy(color, ""); data/pidgin-2.13.0/pidgin/gtkimhtml.c:5814: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). proto->length = strlen(name); data/pidgin-2.13.0/pidgin/gtklog.c:155:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read && *read && purple_strcasestr(read, search_term)) { data/pidgin-2.13.0/pidgin/gtklog.c:155:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read && *read && purple_strcasestr(read, search_term)) { data/pidgin-2.13.0/pidgin/gtklog.c:155:42: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read && *read && purple_strcasestr(read, search_term)) { data/pidgin-2.13.0/pidgin/gtklog.c:164:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_free(read); data/pidgin-2.13.0/pidgin/gtklog.c:470:53: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gtk_imhtml_append_text(GTK_IMHTML(viewer->imhtml), read, data/pidgin-2.13.0/pidgin/gtklog.c:473:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_free(read); data/pidgin-2.13.0/pidgin/gtkprefs.c:621:15: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while((chr = fgetc(src)) != EOF) { data/pidgin-2.13.0/pidgin/gtkrequest.c:1416:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (field_label[strlen(field_label) - 1] != ':') data/pidgin-2.13.0/pidgin/gtkroomlist.c:677: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). result = (g_strstr_len(fold, strlen(fold), fkey) == NULL); data/pidgin-2.13.0/pidgin/gtksession.c:243: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). val.length = strlen (value)+1; data/pidgin-2.13.0/pidgin/gtksession.c:275: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). vals[i].length = strlen (*ptr); data/pidgin-2.13.0/pidgin/gtksmiley.c:367: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). s->entry_len += strlen(new_text); data/pidgin-2.13.0/pidgin/gtksmiley.c:465: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). s->entry_len = strlen(shortcut); data/pidgin-2.13.0/pidgin/gtksound.c:613: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 (!filename || !strlen(filename)) { /* Use Default sounds */ data/pidgin-2.13.0/pidgin/gtksourceiter.c:99: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). needle_len = strlen (needle); data/pidgin-2.13.0/pidgin/gtksourceiter.c:155: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). needle_len = strlen (needle); data/pidgin-2.13.0/pidgin/gtksourceiter.c:203:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len_s1 = strlen (normalized_s1); data/pidgin-2.13.0/pidgin/gtksourceiter.c:204:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len_s2 = strlen (normalized_s2); data/pidgin-2.13.0/pidgin/gtksourceiter.c:326: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 (g_utf8_caselessnmatch (line_text, *lines, strlen (line_text), data/pidgin-2.13.0/pidgin/gtksourceiter.c:327:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen (*lines))) data/pidgin-2.13.0/pidgin/gtksourceiter.c:424: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 (g_utf8_caselessnmatch (line_text, *lines, strlen (line_text), data/pidgin-2.13.0/pidgin/gtksourceiter.c:425:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen (*lines))) data/pidgin-2.13.0/pidgin/gtksourceiter.c:486: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). guint delimiter_len = strlen (delimiter); data/pidgin-2.13.0/pidgin/gtksourceiter.c:494:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (new_string, string, len); data/pidgin-2.13.0/pidgin/gtksourceundomanager.c:500: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). strlen (undo_action->action.delete.text)); data/pidgin-2.13.0/pidgin/gtkthemes.c:269:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(buf); data/pidgin-2.13.0/pidgin/gtkthemes.c:296:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). } else if (!g_ascii_strncasecmp(i, "Name=", strlen("Name="))) { data/pidgin-2.13.0/pidgin/gtkthemes.c:298: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). theme->name = g_strdup(i + strlen("Name=")); data/pidgin-2.13.0/pidgin/gtkthemes.c:299: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). } else if (!g_ascii_strncasecmp(i, "Description=", strlen("Description="))) { data/pidgin-2.13.0/pidgin/gtkthemes.c:301: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). theme->desc = g_strdup(i + strlen("Description=")); data/pidgin-2.13.0/pidgin/gtkthemes.c:302:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). } else if (!g_ascii_strncasecmp(i, "Icon=", strlen("Icon="))) { data/pidgin-2.13.0/pidgin/gtkthemes.c:304: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). theme->icon = g_build_filename(dirname, i + strlen("Icon="), NULL); data/pidgin-2.13.0/pidgin/gtkthemes.c:305: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). } else if (!g_ascii_strncasecmp(i, "Author=", strlen("Author="))) { data/pidgin-2.13.0/pidgin/gtkthemes.c:307: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). theme->author = g_strdup(i + strlen("Author=")); data/pidgin-2.13.0/pidgin/gtkutils.c:914: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 (path[strlen(path) - 1] != G_DIR_SEPARATOR) { data/pidgin-2.13.0/pidgin/gtkutils.c:2736: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). pango_get_log_attrs(normalized, strlen(normalized), -1, NULL, log_attrs, len + 1); data/pidgin-2.13.0/pidgin/gtkutils.c:3241: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). g_return_val_if_fail(text && strlen(text) > MAILTOSIZE, FALSE); data/pidgin-2.13.0/pidgin/gtkutils.c:3469:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!url || strlen(url) < sizeof("open://")) data/pidgin-2.13.0/pidgin/plugins/gevolution/add_buddy_dialog.c:370: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). g_ascii_strncasecmp(name, text, strlen(text))) data/pidgin-2.13.0/pidgin/plugins/gevolution/assoc-buddy.c:77: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). g_ascii_strncasecmp(name, text, strlen(text))) data/pidgin-2.13.0/pidgin/plugins/musicmessaging/musicmessaging.c:317: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). if (0 == strncmp(*message, MUSICMESSAGING_PREFIX, strlen(MUSICMESSAGING_PREFIX))) data/pidgin-2.13.0/pidgin/plugins/musicmessaging/musicmessaging.c:322:60: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if (0 == strncmp(*message, MUSICMESSAGING_START_MSG, strlen(MUSICMESSAGING_START_MSG))) data/pidgin-2.13.0/pidgin/plugins/musicmessaging/musicmessaging.c:327:62: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if (0 == strncmp(*message, MUSICMESSAGING_CONFIRM_MSG, strlen(MUSICMESSAGING_CONFIRM_MSG))) data/pidgin-2.13.0/pidgin/plugins/musicmessaging/musicmessaging.c:332: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). else if (0 == strncmp(*message, "test1", strlen("test1"))) data/pidgin-2.13.0/pidgin/plugins/musicmessaging/musicmessaging.c:338: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). else if (0 == strncmp(*message, "test2", strlen("test2"))) data/pidgin-2.13.0/pidgin/plugins/pidgininc.c:35: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). l = strlen(*message); data/pidgin-2.13.0/pidgin/plugins/raw.c:77: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). unsigned short len = htons(strlen(txt) + 1); data/pidgin-2.13.0/pidgin/plugins/raw.c:85:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). write(*(int *)gc->proto_data, txt, strlen(txt)); data/pidgin-2.13.0/pidgin/plugins/spellchk.c:458: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). for (c = tmp + strlen(tmp) - 1 ; c != tmp ; c--) { data/pidgin-2.13.0/pidgin/plugins/spellchk.c:1787: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). size = strlen(defaultconf); data/pidgin-2.13.0/pidgin/plugins/spellchk.c:1798:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(bad, buf + 4, 81); data/pidgin-2.13.0/pidgin/plugins/spellchk.c:1810:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(good, buf + 5, 255); data/pidgin-2.13.0/pidgin/plugins/timestamp.c:72:3: [1] (buffer) strlen: Does not handle 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(mdate), tag, NULL); data/pidgin-2.13.0/pidgin/plugins/vvconfig.c:253: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). strcpy(pref + strlen(pref) - strlen("plugin"), "device"); data/pidgin-2.13.0/pidgin/plugins/vvconfig.c:253: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). strcpy(pref + strlen(pref) - strlen("plugin"), "device"); data/pidgin-2.13.0/pidgin/plugins/xmppconsole.c:202: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). prpl_info->send_raw(gc, text, strlen(text)); data/pidgin-2.13.0/pidgin/win32/gtkdocklet-win32.c:161:2: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). wcsncpy(_nicon_data.szTip, w, sizeof(_nicon_data.szTip) / sizeof(wchar_t)); data/pidgin-2.13.0/pidgin/win32/gtkdocklet-win32.c:563:2: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). wcsncpy(_nicon_data.szTip, w, sizeof(_nicon_data.szTip) / sizeof(wchar_t)); data/pidgin-2.13.0/pidgin/win32/untar.c:241:14: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = getc(fpsrc)) != EOF) data/pidgin-2.13.0/pidgin/win32/untar.c:412: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). memmove(nbuf, lastcolon, strlen(lastcolon) + 1); data/pidgin-2.13.0/pidgin/win32/untar.c:458: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 (*nbuf && nbuf[strlen(nbuf) - 1] == '/') data/pidgin-2.13.0/pidgin/win32/winpidgin.c:212:3: [1] (buffer) wcsncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). wcsncpy(path, pidgin_dir, cnt); data/pidgin-2.13.0/pidgin/win32/winpidgin.c:463:15: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tmp1 = cmd + wcslen(PROTO_HANDLER_SWITCH); data/pidgin-2.13.0/pidgin/win32/winpidgin.c:469:10: [1] (buffer) wcslen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). wlen = wcslen(tmp1); data/pidgin-2.13.0/pidgin/win32/winpidgin.c:546: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(__argv[i]) > 1 && __argv[i][0] == '-') { ANALYSIS SUMMARY: Hits = 2168 Lines analyzed = 417482 in approximately 9.58 seconds (43591 lines/second) Physical Source Lines of Code (SLOC) = 285400 Hits@level = [0] 375 [1] 1001 [2] 1010 [3] 87 [4] 67 [5] 3 Hits@level+ = [0+] 2543 [1+] 2168 [2+] 1167 [3+] 157 [4+] 70 [5+] 3 Hits/KSLOC@level+ = [0+] 8.9103 [1+] 7.59636 [2+] 4.089 [3+] 0.550105 [4+] 0.24527 [5+] 0.0105116 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.