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/freeciv-2.6.2/dependencies/tolua-5.2/include/tolua.h
Examining data/freeciv-2.6.2/dependencies/tolua-5.2/src/bin/tolua.c
Examining data/freeciv-2.6.2/dependencies/tolua-5.2/src/bin/toluabind.c
Examining data/freeciv-2.6.2/dependencies/tolua-5.2/src/lib/tolua_to.c
Examining data/freeciv-2.6.2/dependencies/tolua-5.2/src/lib/tolua_is.c
Examining data/freeciv-2.6.2/dependencies/tolua-5.2/src/lib/tolua_event.c
Examining data/freeciv-2.6.2/dependencies/tolua-5.2/src/lib/tolua_event.h
Examining data/freeciv-2.6.2/dependencies/tolua-5.2/src/lib/tolua_push.c
Examining data/freeciv-2.6.2/dependencies/tolua-5.2/src/lib/tolua_map.c
Examining data/freeciv-2.6.2/dependencies/luasql/src/ls_sqlite3.c
Examining data/freeciv-2.6.2/dependencies/luasql/src/ls_sqlite3.h
Examining data/freeciv-2.6.2/dependencies/luasql/src/ls_mysql.c
Examining data/freeciv-2.6.2/dependencies/luasql/src/luasql.c
Examining data/freeciv-2.6.2/dependencies/luasql/src/luasql.h
Examining data/freeciv-2.6.2/dependencies/luasql/src/ls_postgres.h
Examining data/freeciv-2.6.2/dependencies/luasql/src/ls_mysql.h
Examining data/freeciv-2.6.2/dependencies/luasql/src/ls_postgres.c
Examining data/freeciv-2.6.2/dependencies/cvercmp/cvercmp.c
Examining data/freeciv-2.6.2/dependencies/cvercmp/cvercmp.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lstrlib.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lparser.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lundump.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/llex.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lzio.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/ldebug.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/ldo.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lvm.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lstring.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/ldebug.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/ltable.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lmem.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/loslib.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lzio.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/ltablib.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lcode.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lbitlib.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lcorolib.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/ldump.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lctype.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lfunc.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/linit.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lbaselib.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/llimits.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/llex.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lgc.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/ltm.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lstring.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/liolib.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/ltm.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lapi.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lstate.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lprefix.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lmem.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lvm.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/ltable.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lcode.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/loadlib.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/ldo.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lctype.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lopcodes.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/ldblib.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lparser.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/luaconf.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lundump.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/localluaconf.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lstate.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lgc.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lualib.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lapi.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lopcodes.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lmathlib.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lfunc.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lua.h
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lutf8lib.c
Examining data/freeciv-2.6.2/dependencies/lua-5.3/src/lua.hpp
Examining data/freeciv-2.6.2/client/client_main.h
Examining data/freeciv-2.6.2/client/dummycxx.cpp
Examining data/freeciv-2.6.2/client/gui-xaw/messagewin.c
Examining data/freeciv-2.6.2/client/gui-xaw/messagedlg.h
Examining data/freeciv-2.6.2/client/gui-xaw/citydlg.h
Examining data/freeciv-2.6.2/client/gui-xaw/graphics.h
Examining data/freeciv-2.6.2/client/gui-xaw/gui_stuff.h
Examining data/freeciv-2.6.2/client/gui-xaw/Freeciv.h
Examining data/freeciv-2.6.2/client/gui-xaw/gui_main.h
Examining data/freeciv-2.6.2/client/gui-xaw/cma_fe.h
Examining data/freeciv-2.6.2/client/gui-xaw/ratesdlg.c
Examining data/freeciv-2.6.2/client/gui-xaw/connectdlg.h
Examining data/freeciv-2.6.2/client/gui-xaw/canvasp.h
Examining data/freeciv-2.6.2/client/gui-xaw/dialogs.c
Examining data/freeciv-2.6.2/client/gui-xaw/inteldlg.h
Examining data/freeciv-2.6.2/client/gui-xaw/pixcommp.h
Examining data/freeciv-2.6.2/client/gui-xaw/colors.h
Examining data/freeciv-2.6.2/client/gui-xaw/inteldlg.c
Examining data/freeciv-2.6.2/client/gui-xaw/cma_fe.c
Examining data/freeciv-2.6.2/client/gui-xaw/citydlg.c
Examining data/freeciv-2.6.2/client/gui-xaw/colors.c
Examining data/freeciv-2.6.2/client/gui-xaw/pixcomm.h
Examining data/freeciv-2.6.2/client/gui-xaw/xaw_actions.h
Examining data/freeciv-2.6.2/client/gui-xaw/helpdlg.c
Examining data/freeciv-2.6.2/client/gui-xaw/mapview.h
Examining data/freeciv-2.6.2/client/gui-xaw/messagewin.h
Examining data/freeciv-2.6.2/client/gui-xaw/finddlg.c
Examining data/freeciv-2.6.2/client/gui-xaw/repodlgs.h
Examining data/freeciv-2.6.2/client/gui-xaw/ratesdlg.h
Examining data/freeciv-2.6.2/client/gui-xaw/chatline.c
Examining data/freeciv-2.6.2/client/gui-xaw/optiondlg.c
Examining data/freeciv-2.6.2/client/gui-xaw/inputdlg.c
Examining data/freeciv-2.6.2/client/gui-xaw/plrdlg.h
Examining data/freeciv-2.6.2/client/gui-xaw/mapctrl.c
Examining data/freeciv-2.6.2/client/gui-xaw/plrdlg.c
Examining data/freeciv-2.6.2/client/gui-xaw/voteinfo_bar.c
Examining data/freeciv-2.6.2/client/gui-xaw/luaconsole.h
Examining data/freeciv-2.6.2/client/gui-xaw/diplodlg.h
Examining data/freeciv-2.6.2/client/gui-xaw/pages.c
Examining data/freeciv-2.6.2/client/gui-xaw/wldlg.c
Examining data/freeciv-2.6.2/client/gui-xaw/finddlg.h
Examining data/freeciv-2.6.2/client/gui-xaw/xaw_actions.c
Examining data/freeciv-2.6.2/client/gui-xaw/helpdlg.h
Examining data/freeciv-2.6.2/client/gui-xaw/wldlg.h
Examining data/freeciv-2.6.2/client/gui-xaw/inputdlg.h
Examining data/freeciv-2.6.2/client/gui-xaw/cityrep.h
Examining data/freeciv-2.6.2/client/gui-xaw/graphics.c
Examining data/freeciv-2.6.2/client/gui-xaw/messagedlg.c
Examining data/freeciv-2.6.2/client/gui-xaw/canvas.h
Examining data/freeciv-2.6.2/client/gui-xaw/voteinfo_bar.h
Examining data/freeciv-2.6.2/client/gui-xaw/themes.c
Examining data/freeciv-2.6.2/client/gui-xaw/gui_main.c
Examining data/freeciv-2.6.2/client/gui-xaw/spaceshipdlg.c
Examining data/freeciv-2.6.2/client/gui-xaw/pixcomm.c
Examining data/freeciv-2.6.2/client/gui-xaw/resources.h
Examining data/freeciv-2.6.2/client/gui-xaw/spaceshipdlg.h
Examining data/freeciv-2.6.2/client/gui-xaw/menu.h
Examining data/freeciv-2.6.2/client/gui-xaw/pages.h
Examining data/freeciv-2.6.2/client/gui-xaw/cityrep.c
Examining data/freeciv-2.6.2/client/gui-xaw/chatline.h
Examining data/freeciv-2.6.2/client/gui-xaw/resources.c
Examining data/freeciv-2.6.2/client/gui-xaw/action_dialog.c
Examining data/freeciv-2.6.2/client/gui-xaw/menu.c
Examining data/freeciv-2.6.2/client/gui-xaw/connectdlg.c
Examining data/freeciv-2.6.2/client/gui-xaw/gui_stuff.c
Examining data/freeciv-2.6.2/client/gui-xaw/gotodlg.c
Examining data/freeciv-2.6.2/client/gui-xaw/dialogs.h
Examining data/freeciv-2.6.2/client/gui-xaw/luaconsole.c
Examining data/freeciv-2.6.2/client/gui-xaw/diplodlg.c
Examining data/freeciv-2.6.2/client/gui-xaw/repodlgs.c
Examining data/freeciv-2.6.2/client/gui-xaw/optiondlg.h
Examining data/freeciv-2.6.2/client/gui-xaw/canvas.c
Examining data/freeciv-2.6.2/client/gui-xaw/gotodlg.h
Examining data/freeciv-2.6.2/client/gui-xaw/mapctrl.h
Examining data/freeciv-2.6.2/client/gui-xaw/mapview.c
Examining data/freeciv-2.6.2/client/plrdlg_common.c
Examining data/freeciv-2.6.2/client/gui_interface.h
Examining data/freeciv-2.6.2/client/global_worklist.h
Examining data/freeciv-2.6.2/client/mapctrl_common.c
Examining data/freeciv-2.6.2/client/mapview_common.h
Examining data/freeciv-2.6.2/client/themes_common.h
Examining data/freeciv-2.6.2/client/goto.c
Examining data/freeciv-2.6.2/client/update_queue.h
Examining data/freeciv-2.6.2/client/audio.h
Examining data/freeciv-2.6.2/client/unitselect_common.c
Examining data/freeciv-2.6.2/client/cityrepdata.c
Examining data/freeciv-2.6.2/client/clinet.h
Examining data/freeciv-2.6.2/client/editor.h
Examining data/freeciv-2.6.2/client/tilespec.c
Examining data/freeciv-2.6.2/client/audio.c
Examining data/freeciv-2.6.2/client/zoom.h
Examining data/freeciv-2.6.2/client/helpdata.c
Examining data/freeciv-2.6.2/client/overview_common.c
Examining data/freeciv-2.6.2/client/colors_common.c
Examining data/freeciv-2.6.2/client/audio_none.c
Examining data/freeciv-2.6.2/client/repodlgs_common.c
Examining data/freeciv-2.6.2/client/colors_common.h
Examining data/freeciv-2.6.2/client/update_queue.c
Examining data/freeciv-2.6.2/client/global_worklist.c
Examining data/freeciv-2.6.2/client/attribute.h
Examining data/freeciv-2.6.2/client/clinet.c
Examining data/freeciv-2.6.2/client/audio_sdl.h
Examining data/freeciv-2.6.2/client/gui-sdl2/messagewin.c
Examining data/freeciv-2.6.2/client/gui-sdl2/messagedlg.h
Examining data/freeciv-2.6.2/client/gui-sdl2/themespec.h
Examining data/freeciv-2.6.2/client/gui-sdl2/utf8string.c
Examining data/freeciv-2.6.2/client/gui-sdl2/citydlg.h
Examining data/freeciv-2.6.2/client/gui-sdl2/graphics.h
Examining data/freeciv-2.6.2/client/gui-sdl2/gui_main.h
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_scrollbar.h
Examining data/freeciv-2.6.2/client/gui-sdl2/cma_fe.h
Examining data/freeciv-2.6.2/client/gui-sdl2/connectdlg.h
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_edit.c
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_edit.h
Examining data/freeciv-2.6.2/client/gui-sdl2/dialogs.c
Examining data/freeciv-2.6.2/client/gui-sdl2/inteldlg.h
Examining data/freeciv-2.6.2/client/gui-sdl2/colors.h
Examining data/freeciv-2.6.2/client/gui-sdl2/inteldlg.c
Examining data/freeciv-2.6.2/client/gui-sdl2/cma_fe.c
Examining data/freeciv-2.6.2/client/gui-sdl2/citydlg.c
Examining data/freeciv-2.6.2/client/gui-sdl2/sprite.c
Examining data/freeciv-2.6.2/client/gui-sdl2/colors.c
Examining data/freeciv-2.6.2/client/gui-sdl2/gui_mouse.c
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_label.c
Examining data/freeciv-2.6.2/client/gui-sdl2/helpdlg.c
Examining data/freeciv-2.6.2/client/gui-sdl2/mapview.h
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_combo.h
Examining data/freeciv-2.6.2/client/gui-sdl2/gui_id.h
Examining data/freeciv-2.6.2/client/gui-sdl2/messagewin.h
Examining data/freeciv-2.6.2/client/gui-sdl2/finddlg.c
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_combo.c
Examining data/freeciv-2.6.2/client/gui-sdl2/repodlgs.h
Examining data/freeciv-2.6.2/client/gui-sdl2/ratesdlg.h
Examining data/freeciv-2.6.2/client/gui-sdl2/chatline.c
Examining data/freeciv-2.6.2/client/gui-sdl2/gui_tilespec.c
Examining data/freeciv-2.6.2/client/gui-sdl2/optiondlg.c
Examining data/freeciv-2.6.2/client/gui-sdl2/plrdlg.h
Examining data/freeciv-2.6.2/client/gui-sdl2/mapctrl.c
Examining data/freeciv-2.6.2/client/gui-sdl2/themecolors.h
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_button.c
Examining data/freeciv-2.6.2/client/gui-sdl2/gui_string.c
Examining data/freeciv-2.6.2/client/gui-sdl2/plrdlg.c
Examining data/freeciv-2.6.2/client/gui-sdl2/voteinfo_bar.c
Examining data/freeciv-2.6.2/client/gui-sdl2/luaconsole.h
Examining data/freeciv-2.6.2/client/gui-sdl2/gui_string.h
Examining data/freeciv-2.6.2/client/gui-sdl2/diplodlg.h
Examining data/freeciv-2.6.2/client/gui-sdl2/pages.c
Examining data/freeciv-2.6.2/client/gui-sdl2/wldlg.c
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_p.h
Examining data/freeciv-2.6.2/client/gui-sdl2/gui_mouse.h
Examining data/freeciv-2.6.2/client/gui-sdl2/themebackgrounds.h
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_icon.h
Examining data/freeciv-2.6.2/client/gui-sdl2/finddlg.h
Examining data/freeciv-2.6.2/client/gui-sdl2/helpdlg.h
Examining data/freeciv-2.6.2/client/gui-sdl2/wldlg.h
Examining data/freeciv-2.6.2/client/gui-sdl2/cityrep.h
Examining data/freeciv-2.6.2/client/gui-sdl2/themebackgrounds.c
Examining data/freeciv-2.6.2/client/gui-sdl2/graphics.c
Examining data/freeciv-2.6.2/client/gui-sdl2/gui_iconv.c
Examining data/freeciv-2.6.2/client/gui-sdl2/gui_tilespec.h
Examining data/freeciv-2.6.2/client/gui-sdl2/messagedlg.c
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_scrollbar.c
Examining data/freeciv-2.6.2/client/gui-sdl2/utf8string.h
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_window.c
Examining data/freeciv-2.6.2/client/gui-sdl2/canvas.h
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_icon.c
Examining data/freeciv-2.6.2/client/gui-sdl2/widget.h
Examining data/freeciv-2.6.2/client/gui-sdl2/voteinfo_bar.h
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_button.h
Examining data/freeciv-2.6.2/client/gui-sdl2/gui_iconv.h
Examining data/freeciv-2.6.2/client/gui-sdl2/themes.c
Examining data/freeciv-2.6.2/client/gui-sdl2/gui_main.c
Examining data/freeciv-2.6.2/client/gui-sdl2/spaceshipdlg.c
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_checkbox.h
Examining data/freeciv-2.6.2/client/gui-sdl2/spaceshipdlg.h
Examining data/freeciv-2.6.2/client/gui-sdl2/menu.h
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_label.h
Examining data/freeciv-2.6.2/client/gui-sdl2/pages.h
Examining data/freeciv-2.6.2/client/gui-sdl2/cityrep.c
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_checkbox.c
Examining data/freeciv-2.6.2/client/gui-sdl2/chatline.h
Examining data/freeciv-2.6.2/client/gui-sdl2/action_dialog.c
Examining data/freeciv-2.6.2/client/gui-sdl2/widget.c
Examining data/freeciv-2.6.2/client/gui-sdl2/themecolors.c
Examining data/freeciv-2.6.2/client/gui-sdl2/menu.c
Examining data/freeciv-2.6.2/client/gui-sdl2/connectdlg.c
Examining data/freeciv-2.6.2/client/gui-sdl2/unistring.h
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_core.c
Examining data/freeciv-2.6.2/client/gui-sdl2/unistring.c
Examining data/freeciv-2.6.2/client/gui-sdl2/gotodlg.c
Examining data/freeciv-2.6.2/client/gui-sdl2/dialogs.h
Examining data/freeciv-2.6.2/client/gui-sdl2/luaconsole.c
Examining data/freeciv-2.6.2/client/gui-sdl2/diplodlg.c
Examining data/freeciv-2.6.2/client/gui-sdl2/sprite.h
Examining data/freeciv-2.6.2/client/gui-sdl2/repodlgs.c
Examining data/freeciv-2.6.2/client/gui-sdl2/optiondlg.h
Examining data/freeciv-2.6.2/client/gui-sdl2/canvas.c
Examining data/freeciv-2.6.2/client/gui-sdl2/widget_window.h
Examining data/freeciv-2.6.2/client/gui-sdl2/gotodlg.h
Examining data/freeciv-2.6.2/client/gui-sdl2/mapctrl.h
Examining data/freeciv-2.6.2/client/gui-sdl2/themespec.c
Examining data/freeciv-2.6.2/client/gui-sdl2/mapview.c
Examining data/freeciv-2.6.2/client/connectdlg_common.h
Examining data/freeciv-2.6.2/client/servers.c
Examining data/freeciv-2.6.2/client/agents/agents.h
Examining data/freeciv-2.6.2/client/agents/cma_core.c
Examining data/freeciv-2.6.2/client/agents/cma_fec.c
Examining data/freeciv-2.6.2/client/agents/agents.c
Examining data/freeciv-2.6.2/client/agents/cma_fec.h
Examining data/freeciv-2.6.2/client/agents/cma_core.h
Examining data/freeciv-2.6.2/client/agents/sha.c
Examining data/freeciv-2.6.2/client/agents/sha.h
Examining data/freeciv-2.6.2/client/reqtree.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/messagewin.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/messagedlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/gtkpixcomm.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/citydlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/graphics.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/gui_stuff.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/Freeciv.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/editgui.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/gui_main.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/cma_fe.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/connectdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/dialogs.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/inteldlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/citizensinfo.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/colors.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/inteldlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/cma_fe.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/citydlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/sprite.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/colors.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/happiness.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/gtkpixcomm.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/tileset_dlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/mapview.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/messagewin.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/finddlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/repodlgs.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/ratesdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/chatline.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/optiondlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/inputdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/plrdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/mapctrl.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/citizensinfo.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/plrdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/voteinfo_bar.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/luaconsole.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/diplodlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/pages.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/wldlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/gamedlgs.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/unitselect.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/editprop.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/unitselect.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/finddlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/wldlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/inputdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/cityrep.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/graphics.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/messagedlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/choice_dialog.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/theme_dlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/canvas.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/happiness.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/voteinfo_bar.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/gamedlgs.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/themes.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/gui_main.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/spaceshipdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/soundset_dlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/resources.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/spaceshipdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/menu.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/pages.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/editgui.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/cityrep.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/editprop.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/chatline.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/resources.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/action_dialog.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/choice_dialog.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/menu.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/connectdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/gui_stuff.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/gotodlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/dialogs.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/luaconsole.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/diplodlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/sprite.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/repodlgs.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/optiondlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/canvas.c
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/gotodlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/mapctrl.h
Examining data/freeciv-2.6.2/client/gui-gtk-2.0/mapview.c
Examining data/freeciv-2.6.2/client/gui_cbsetter.h
Examining data/freeciv-2.6.2/client/gui-stub/messagewin.c
Examining data/freeciv-2.6.2/client/gui-stub/messagedlg.h
Examining data/freeciv-2.6.2/client/gui-stub/citydlg.h
Examining data/freeciv-2.6.2/client/gui-stub/graphics.h
Examining data/freeciv-2.6.2/client/gui-stub/gui_main.h
Examining data/freeciv-2.6.2/client/gui-stub/ratesdlg.c
Examining data/freeciv-2.6.2/client/gui-stub/connectdlg.h
Examining data/freeciv-2.6.2/client/gui-stub/dialogs.c
Examining data/freeciv-2.6.2/client/gui-stub/inteldlg.h
Examining data/freeciv-2.6.2/client/gui-stub/colors.h
Examining data/freeciv-2.6.2/client/gui-stub/inteldlg.c
Examining data/freeciv-2.6.2/client/gui-stub/gui_stub.h
Examining data/freeciv-2.6.2/client/gui-stub/citydlg.c
Examining data/freeciv-2.6.2/client/gui-stub/sprite.c
Examining data/freeciv-2.6.2/client/gui-stub/colors.c
Examining data/freeciv-2.6.2/client/gui-stub/helpdlg.c
Examining data/freeciv-2.6.2/client/gui-stub/mapview.h
Examining data/freeciv-2.6.2/client/gui-stub/messagewin.h
Examining data/freeciv-2.6.2/client/gui-stub/finddlg.c
Examining data/freeciv-2.6.2/client/gui-stub/repodlgs.h
Examining data/freeciv-2.6.2/client/gui-stub/ratesdlg.h
Examining data/freeciv-2.6.2/client/gui-stub/chatline.c
Examining data/freeciv-2.6.2/client/gui-stub/optiondlg.c
Examining data/freeciv-2.6.2/client/gui-stub/plrdlg.h
Examining data/freeciv-2.6.2/client/gui-stub/mapctrl.c
Examining data/freeciv-2.6.2/client/gui-stub/plrdlg.c
Examining data/freeciv-2.6.2/client/gui-stub/voteinfo_bar.c
Examining data/freeciv-2.6.2/client/gui-stub/luaconsole.h
Examining data/freeciv-2.6.2/client/gui-stub/diplodlg.h
Examining data/freeciv-2.6.2/client/gui-stub/pages.c
Examining data/freeciv-2.6.2/client/gui-stub/wldlg.c
Examining data/freeciv-2.6.2/client/gui-stub/finddlg.h
Examining data/freeciv-2.6.2/client/gui-stub/helpdlg.h
Examining data/freeciv-2.6.2/client/gui-stub/wldlg.h
Examining data/freeciv-2.6.2/client/gui-stub/cityrep.h
Examining data/freeciv-2.6.2/client/gui-stub/graphics.c
Examining data/freeciv-2.6.2/client/gui-stub/messagedlg.c
Examining data/freeciv-2.6.2/client/gui-stub/canvas.h
Examining data/freeciv-2.6.2/client/gui-stub/voteinfo_bar.h
Examining data/freeciv-2.6.2/client/gui-stub/themes.c
Examining data/freeciv-2.6.2/client/gui-stub/gui_main.c
Examining data/freeciv-2.6.2/client/gui-stub/spaceshipdlg.c
Examining data/freeciv-2.6.2/client/gui-stub/spaceshipdlg.h
Examining data/freeciv-2.6.2/client/gui-stub/menu.h
Examining data/freeciv-2.6.2/client/gui-stub/pages.h
Examining data/freeciv-2.6.2/client/gui-stub/cityrep.c
Examining data/freeciv-2.6.2/client/gui-stub/chatline.h
Examining data/freeciv-2.6.2/client/gui-stub/menu.c
Examining data/freeciv-2.6.2/client/gui-stub/connectdlg.c
Examining data/freeciv-2.6.2/client/gui-stub/gotodlg.c
Examining data/freeciv-2.6.2/client/gui-stub/dialogs.h
Examining data/freeciv-2.6.2/client/gui-stub/luaconsole.c
Examining data/freeciv-2.6.2/client/gui-stub/diplodlg.c
Examining data/freeciv-2.6.2/client/gui-stub/sprite.h
Examining data/freeciv-2.6.2/client/gui-stub/repodlgs.c
Examining data/freeciv-2.6.2/client/gui-stub/optiondlg.h
Examining data/freeciv-2.6.2/client/gui-stub/canvas.c
Examining data/freeciv-2.6.2/client/gui-stub/gotodlg.h
Examining data/freeciv-2.6.2/client/gui-stub/mapctrl.h
Examining data/freeciv-2.6.2/client/gui-stub/mapview.c
Examining data/freeciv-2.6.2/client/connectdlg_common.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/messagewin.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/messagedlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/unitselunitdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/citydlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/graphics.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/gui_stuff.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/editgui.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/gui_main.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/cma_fe.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/connectdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/dialogs.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/inteldlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/citizensinfo.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/colors.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/inteldlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/cma_fe.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/citydlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/sprite.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/colors.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/happiness.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/tileset_dlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/mapview.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/messagewin.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/finddlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/repodlgs.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/ratesdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/chatline.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/optiondlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/inputdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/plrdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/mapctrl.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/unitselunitdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/citizensinfo.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/plrdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/voteinfo_bar.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/luaconsole.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/diplodlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/pages.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/wldlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/gamedlgs.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/unitselect.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/editprop.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/unitselect.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/unitselextradlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/finddlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/wldlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/inputdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/cityrep.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/graphics.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/transportdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/messagedlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/choice_dialog.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/theme_dlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/unitselextradlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/canvas.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/happiness.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/voteinfo_bar.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/gamedlgs.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/themes.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/gui_main.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/spaceshipdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/soundset_dlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/spaceshipdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/menu.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/pages.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/editgui.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/cityrep.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/editprop.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/chatline.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/action_dialog.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/choice_dialog.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/transportdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/menu.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/connectdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/gui_stuff.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/gotodlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/dialogs.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/luaconsole.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/diplodlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/sprite.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/repodlgs.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/optiondlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/canvas.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/gotodlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/mapctrl.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.22/mapview.c
Examining data/freeciv-2.6.2/client/luascript/script_client.h
Examining data/freeciv-2.6.2/client/luascript/api_client_base.h
Examining data/freeciv-2.6.2/client/luascript/tolua_client_gen.c
Examining data/freeciv-2.6.2/client/luascript/script_client.c
Examining data/freeciv-2.6.2/client/luascript/api_client_base.c
Examining data/freeciv-2.6.2/client/luascript/tolua_client_gen.h
Examining data/freeciv-2.6.2/client/packhand_gen.c
Examining data/freeciv-2.6.2/client/unitselect_common.h
Examining data/freeciv-2.6.2/client/chatline_common.h
Examining data/freeciv-2.6.2/client/climisc.c
Examining data/freeciv-2.6.2/client/messagewin_common.h
Examining data/freeciv-2.6.2/client/text.c
Examining data/freeciv-2.6.2/client/cityrepdata.h
Examining data/freeciv-2.6.2/client/chatline_common.c
Examining data/freeciv-2.6.2/client/luaconsole_common.h
Examining data/freeciv-2.6.2/client/climap.c
Examining data/freeciv-2.6.2/client/control.c
Examining data/freeciv-2.6.2/client/tilespec.h
Examining data/freeciv-2.6.2/client/climisc.h
Examining data/freeciv-2.6.2/client/audio_none.h
Examining data/freeciv-2.6.2/client/packhand.h
Examining data/freeciv-2.6.2/client/control.h
Examining data/freeciv-2.6.2/client/gui_interface.c
Examining data/freeciv-2.6.2/client/options.c
Examining data/freeciv-2.6.2/client/music.h
Examining data/freeciv-2.6.2/client/include/messagedlg_g.h
Examining data/freeciv-2.6.2/client/include/inteldlg_g.h
Examining data/freeciv-2.6.2/client/include/gotodlg_g.h
Examining data/freeciv-2.6.2/client/include/dialogs_g.h
Examining data/freeciv-2.6.2/client/include/themes_g.h
Examining data/freeciv-2.6.2/client/include/mapview_g.h
Examining data/freeciv-2.6.2/client/include/diplodlg_g.h
Examining data/freeciv-2.6.2/client/include/canvas_g.h
Examining data/freeciv-2.6.2/client/include/gui_proto_constructor.h
Examining data/freeciv-2.6.2/client/include/spaceshipdlg_g.h
Examining data/freeciv-2.6.2/client/include/editgui_g.h
Examining data/freeciv-2.6.2/client/include/cityrep_g.h
Examining data/freeciv-2.6.2/client/include/luaconsole_g.h
Examining data/freeciv-2.6.2/client/include/pages_g.h
Examining data/freeciv-2.6.2/client/include/chatline_g.h
Examining data/freeciv-2.6.2/client/include/repodlgs_g.h
Examining data/freeciv-2.6.2/client/include/gui_main_g.h
Examining data/freeciv-2.6.2/client/include/graphics_g.h
Examining data/freeciv-2.6.2/client/include/optiondlg_g.h
Examining data/freeciv-2.6.2/client/include/mapctrl_g.h
Examining data/freeciv-2.6.2/client/include/citydlg_g.h
Examining data/freeciv-2.6.2/client/include/voteinfo_bar_g.h
Examining data/freeciv-2.6.2/client/include/menu_g.h
Examining data/freeciv-2.6.2/client/include/wldlg_g.h
Examining data/freeciv-2.6.2/client/include/connectdlg_g.h
Examining data/freeciv-2.6.2/client/include/sprite_g.h
Examining data/freeciv-2.6.2/client/include/helpdlg_g.h
Examining data/freeciv-2.6.2/client/include/ratesdlg_g.h
Examining data/freeciv-2.6.2/client/include/plrdlg_g.h
Examining data/freeciv-2.6.2/client/include/colors_g.h
Examining data/freeciv-2.6.2/client/include/finddlg_g.h
Examining data/freeciv-2.6.2/client/include/messagewin_g.h
Examining data/freeciv-2.6.2/client/packhand.c
Examining data/freeciv-2.6.2/client/attribute.c
Examining data/freeciv-2.6.2/client/voteinfo.c
Examining data/freeciv-2.6.2/client/goto.h
Examining data/freeciv-2.6.2/client/music.c
Examining data/freeciv-2.6.2/client/gui-qt/mapview.cpp
Examining data/freeciv-2.6.2/client/gui-qt/messagedlg.h
Examining data/freeciv-2.6.2/client/gui-qt/citydlg.h
Examining data/freeciv-2.6.2/client/gui-qt/graphics.h
Examining data/freeciv-2.6.2/client/gui-qt/sidebar.cpp
Examining data/freeciv-2.6.2/client/gui-qt/gui_main.cpp
Examining data/freeciv-2.6.2/client/gui-qt/shortcuts.cpp
Examining data/freeciv-2.6.2/client/gui-qt/gui_main.h
Examining data/freeciv-2.6.2/client/gui-qt/mapctrl.cpp
Examining data/freeciv-2.6.2/client/gui-qt/spaceshipdlg.cpp
Examining data/freeciv-2.6.2/client/gui-qt/optiondlg.cpp
Examining data/freeciv-2.6.2/client/gui-qt/chatline.cpp
Examining data/freeciv-2.6.2/client/gui-qt/connectdlg.cpp
Examining data/freeciv-2.6.2/client/gui-qt/connectdlg.h
Examining data/freeciv-2.6.2/client/gui-qt/qtg_cxxside.h
Examining data/freeciv-2.6.2/client/gui-qt/inteldlg.h
Examining data/freeciv-2.6.2/client/gui-qt/colors.h
Examining data/freeciv-2.6.2/client/gui-qt/qtg_cxxside.cpp
Examining data/freeciv-2.6.2/client/gui-qt/sidebar.h
Examining data/freeciv-2.6.2/client/gui-qt/repodlgs.cpp
Examining data/freeciv-2.6.2/client/gui-qt/hudwidget.cpp
Examining data/freeciv-2.6.2/client/gui-qt/mapview.h
Examining data/freeciv-2.6.2/client/gui-qt/voteinfo_bar.cpp
Examining data/freeciv-2.6.2/client/gui-qt/messagewin.h
Examining data/freeciv-2.6.2/client/gui-qt/menu.cpp
Examining data/freeciv-2.6.2/client/gui-qt/repodlgs.h
Examining data/freeciv-2.6.2/client/gui-qt/ratesdlg.h
Examining data/freeciv-2.6.2/client/gui-qt/fc_client.h
Examining data/freeciv-2.6.2/client/gui-qt/plrdlg.h
Examining data/freeciv-2.6.2/client/gui-qt/inteldlg.cpp
Examining data/freeciv-2.6.2/client/gui-qt/luaconsole.h
Examining data/freeciv-2.6.2/client/gui-qt/diplodlg.h
Examining data/freeciv-2.6.2/client/gui-qt/helpdlg.cpp
Examining data/freeciv-2.6.2/client/gui-qt/finddlg.h
Examining data/freeciv-2.6.2/client/gui-qt/helpdlg.h
Examining data/freeciv-2.6.2/client/gui-qt/wldlg.h
Examining data/freeciv-2.6.2/client/gui-qt/cityrep.h
Examining data/freeciv-2.6.2/client/gui-qt/hudwidget.h
Examining data/freeciv-2.6.2/client/gui-qt/diplodlg.cpp
Examining data/freeciv-2.6.2/client/gui-qt/fc_client.cpp
Examining data/freeciv-2.6.2/client/gui-qt/fonts.cpp
Examining data/freeciv-2.6.2/client/gui-qt/messagedlg.cpp
Examining data/freeciv-2.6.2/client/gui-qt/fonts.h
Examining data/freeciv-2.6.2/client/gui-qt/pages.cpp
Examining data/freeciv-2.6.2/client/gui-qt/canvas.h
Examining data/freeciv-2.6.2/client/gui-qt/gotodlg.cpp
Examining data/freeciv-2.6.2/client/gui-qt/voteinfo_bar.h
Examining data/freeciv-2.6.2/client/gui-qt/luaconsole.cpp
Examining data/freeciv-2.6.2/client/gui-qt/dialogs.cpp
Examining data/freeciv-2.6.2/client/gui-qt/finddlg.cpp
Examining data/freeciv-2.6.2/client/gui-qt/listener.h
Examining data/freeciv-2.6.2/client/gui-qt/shortcuts.h
Examining data/freeciv-2.6.2/client/gui-qt/spaceshipdlg.h
Examining data/freeciv-2.6.2/client/gui-qt/menu.h
Examining data/freeciv-2.6.2/client/gui-qt/messagewin.cpp
Examining data/freeciv-2.6.2/client/gui-qt/pages.h
Examining data/freeciv-2.6.2/client/gui-qt/graphics.cpp
Examining data/freeciv-2.6.2/client/gui-qt/chatline.h
Examining data/freeciv-2.6.2/client/gui-qt/wldlg.cpp
Examining data/freeciv-2.6.2/client/gui-qt/themes.cpp
Examining data/freeciv-2.6.2/client/gui-qt/ratesdlg.cpp
Examining data/freeciv-2.6.2/client/gui-qt/sprite.cpp
Examining data/freeciv-2.6.2/client/gui-qt/colors.cpp
Examining data/freeciv-2.6.2/client/gui-qt/plrdlg.cpp
Examining data/freeciv-2.6.2/client/gui-qt/citydlg.cpp
Examining data/freeciv-2.6.2/client/gui-qt/dialogs.h
Examining data/freeciv-2.6.2/client/gui-qt/canvas.cpp
Examining data/freeciv-2.6.2/client/gui-qt/sprite.h
Examining data/freeciv-2.6.2/client/gui-qt/optiondlg.h
Examining data/freeciv-2.6.2/client/gui-qt/gotodlg.h
Examining data/freeciv-2.6.2/client/gui-qt/cityrep.cpp
Examining data/freeciv-2.6.2/client/gui-qt/mapctrl.h
Examining data/freeciv-2.6.2/client/options.h
Examining data/freeciv-2.6.2/client/luaconsole_common.c
Examining data/freeciv-2.6.2/client/gui_cbsetter.c
Examining data/freeciv-2.6.2/client/climap.h
Examining data/freeciv-2.6.2/client/voteinfo.h
Examining data/freeciv-2.6.2/client/dummy.c
Examining data/freeciv-2.6.2/client/audio_sdl.c
Examining data/freeciv-2.6.2/client/citydlg_common.h
Examining data/freeciv-2.6.2/client/messagewin_common.c
Examining data/freeciv-2.6.2/client/citydlg_common.c
Examining data/freeciv-2.6.2/client/plrdlg_common.h
Examining data/freeciv-2.6.2/client/client_main.c
Examining data/freeciv-2.6.2/client/themes_common.c
Examining data/freeciv-2.6.2/client/packhand_gen.h
Examining data/freeciv-2.6.2/client/servers.h
Examining data/freeciv-2.6.2/client/repodlgs_common.h
Examining data/freeciv-2.6.2/client/zoom.c
Examining data/freeciv-2.6.2/client/reqtree.c
Examining data/freeciv-2.6.2/client/helpdata.h
Examining data/freeciv-2.6.2/client/gui-sdl/messagewin.c
Examining data/freeciv-2.6.2/client/gui-sdl/messagedlg.h
Examining data/freeciv-2.6.2/client/gui-sdl/themespec.h
Examining data/freeciv-2.6.2/client/gui-sdl/citydlg.h
Examining data/freeciv-2.6.2/client/gui-sdl/graphics.h
Examining data/freeciv-2.6.2/client/gui-sdl/gui_main.h
Examining data/freeciv-2.6.2/client/gui-sdl/widget_scrollbar.h
Examining data/freeciv-2.6.2/client/gui-sdl/cma_fe.h
Examining data/freeciv-2.6.2/client/gui-sdl/connectdlg.h
Examining data/freeciv-2.6.2/client/gui-sdl/widget_edit.c
Examining data/freeciv-2.6.2/client/gui-sdl/widget_edit.h
Examining data/freeciv-2.6.2/client/gui-sdl/dialogs.c
Examining data/freeciv-2.6.2/client/gui-sdl/inteldlg.h
Examining data/freeciv-2.6.2/client/gui-sdl/colors.h
Examining data/freeciv-2.6.2/client/gui-sdl/inteldlg.c
Examining data/freeciv-2.6.2/client/gui-sdl/cma_fe.c
Examining data/freeciv-2.6.2/client/gui-sdl/citydlg.c
Examining data/freeciv-2.6.2/client/gui-sdl/sprite.c
Examining data/freeciv-2.6.2/client/gui-sdl/colors.c
Examining data/freeciv-2.6.2/client/gui-sdl/gui_mouse.c
Examining data/freeciv-2.6.2/client/gui-sdl/widget_label.c
Examining data/freeciv-2.6.2/client/gui-sdl/helpdlg.c
Examining data/freeciv-2.6.2/client/gui-sdl/mapview.h
Examining data/freeciv-2.6.2/client/gui-sdl/widget_combo.h
Examining data/freeciv-2.6.2/client/gui-sdl/gui_id.h
Examining data/freeciv-2.6.2/client/gui-sdl/messagewin.h
Examining data/freeciv-2.6.2/client/gui-sdl/finddlg.c
Examining data/freeciv-2.6.2/client/gui-sdl/widget_combo.c
Examining data/freeciv-2.6.2/client/gui-sdl/repodlgs.h
Examining data/freeciv-2.6.2/client/gui-sdl/ratesdlg.h
Examining data/freeciv-2.6.2/client/gui-sdl/chatline.c
Examining data/freeciv-2.6.2/client/gui-sdl/gui_tilespec.c
Examining data/freeciv-2.6.2/client/gui-sdl/optiondlg.c
Examining data/freeciv-2.6.2/client/gui-sdl/plrdlg.h
Examining data/freeciv-2.6.2/client/gui-sdl/mapctrl.c
Examining data/freeciv-2.6.2/client/gui-sdl/themecolors.h
Examining data/freeciv-2.6.2/client/gui-sdl/widget_button.c
Examining data/freeciv-2.6.2/client/gui-sdl/alphablit.c
Examining data/freeciv-2.6.2/client/gui-sdl/gui_string.c
Examining data/freeciv-2.6.2/client/gui-sdl/plrdlg.c
Examining data/freeciv-2.6.2/client/gui-sdl/voteinfo_bar.c
Examining data/freeciv-2.6.2/client/gui-sdl/luaconsole.h
Examining data/freeciv-2.6.2/client/gui-sdl/gui_string.h
Examining data/freeciv-2.6.2/client/gui-sdl/diplodlg.h
Examining data/freeciv-2.6.2/client/gui-sdl/pages.c
Examining data/freeciv-2.6.2/client/gui-sdl/wldlg.c
Examining data/freeciv-2.6.2/client/gui-sdl/widget_p.h
Examining data/freeciv-2.6.2/client/gui-sdl/gui_mouse.h
Examining data/freeciv-2.6.2/client/gui-sdl/mmx.h
Examining data/freeciv-2.6.2/client/gui-sdl/themebackgrounds.h
Examining data/freeciv-2.6.2/client/gui-sdl/widget_icon.h
Examining data/freeciv-2.6.2/client/gui-sdl/finddlg.h
Examining data/freeciv-2.6.2/client/gui-sdl/helpdlg.h
Examining data/freeciv-2.6.2/client/gui-sdl/wldlg.h
Examining data/freeciv-2.6.2/client/gui-sdl/cityrep.h
Examining data/freeciv-2.6.2/client/gui-sdl/themebackgrounds.c
Examining data/freeciv-2.6.2/client/gui-sdl/graphics.c
Examining data/freeciv-2.6.2/client/gui-sdl/gui_iconv.c
Examining data/freeciv-2.6.2/client/gui-sdl/gui_tilespec.h
Examining data/freeciv-2.6.2/client/gui-sdl/messagedlg.c
Examining data/freeciv-2.6.2/client/gui-sdl/widget_scrollbar.c
Examining data/freeciv-2.6.2/client/gui-sdl/widget_window.c
Examining data/freeciv-2.6.2/client/gui-sdl/canvas.h
Examining data/freeciv-2.6.2/client/gui-sdl/widget_icon.c
Examining data/freeciv-2.6.2/client/gui-sdl/widget.h
Examining data/freeciv-2.6.2/client/gui-sdl/voteinfo_bar.h
Examining data/freeciv-2.6.2/client/gui-sdl/widget_button.h
Examining data/freeciv-2.6.2/client/gui-sdl/gui_iconv.h
Examining data/freeciv-2.6.2/client/gui-sdl/themes.c
Examining data/freeciv-2.6.2/client/gui-sdl/gui_main.c
Examining data/freeciv-2.6.2/client/gui-sdl/spaceshipdlg.c
Examining data/freeciv-2.6.2/client/gui-sdl/widget_checkbox.h
Examining data/freeciv-2.6.2/client/gui-sdl/spaceshipdlg.h
Examining data/freeciv-2.6.2/client/gui-sdl/menu.h
Examining data/freeciv-2.6.2/client/gui-sdl/widget_label.h
Examining data/freeciv-2.6.2/client/gui-sdl/pages.h
Examining data/freeciv-2.6.2/client/gui-sdl/cityrep.c
Examining data/freeciv-2.6.2/client/gui-sdl/widget_checkbox.c
Examining data/freeciv-2.6.2/client/gui-sdl/chatline.h
Examining data/freeciv-2.6.2/client/gui-sdl/action_dialog.c
Examining data/freeciv-2.6.2/client/gui-sdl/widget.c
Examining data/freeciv-2.6.2/client/gui-sdl/themecolors.c
Examining data/freeciv-2.6.2/client/gui-sdl/menu.c
Examining data/freeciv-2.6.2/client/gui-sdl/connectdlg.c
Examining data/freeciv-2.6.2/client/gui-sdl/unistring.h
Examining data/freeciv-2.6.2/client/gui-sdl/widget_core.c
Examining data/freeciv-2.6.2/client/gui-sdl/unistring.c
Examining data/freeciv-2.6.2/client/gui-sdl/gotodlg.c
Examining data/freeciv-2.6.2/client/gui-sdl/dialogs.h
Examining data/freeciv-2.6.2/client/gui-sdl/luaconsole.c
Examining data/freeciv-2.6.2/client/gui-sdl/diplodlg.c
Examining data/freeciv-2.6.2/client/gui-sdl/sprite.h
Examining data/freeciv-2.6.2/client/gui-sdl/repodlgs.c
Examining data/freeciv-2.6.2/client/gui-sdl/optiondlg.h
Examining data/freeciv-2.6.2/client/gui-sdl/canvas.c
Examining data/freeciv-2.6.2/client/gui-sdl/widget_window.h
Examining data/freeciv-2.6.2/client/gui-sdl/gotodlg.h
Examining data/freeciv-2.6.2/client/gui-sdl/mapctrl.h
Examining data/freeciv-2.6.2/client/gui-sdl/themespec.c
Examining data/freeciv-2.6.2/client/gui-sdl/mapview.c
Examining data/freeciv-2.6.2/client/mapctrl_common.h
Examining data/freeciv-2.6.2/client/text.h
Examining data/freeciv-2.6.2/client/overview_common.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/messagewin.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/messagedlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/gtkpixcomm.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/unitselunitdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/citydlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/graphics.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/gui_stuff.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/editgui.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/gui_main.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/cma_fe.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/connectdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/dialogs.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/inteldlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/citizensinfo.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/colors.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/inteldlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/cma_fe.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/citydlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/sprite.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/colors.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/happiness.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/gtkpixcomm.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/tileset_dlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/mapview.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/messagewin.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/finddlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/repodlgs.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/ratesdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/chatline.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/optiondlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/inputdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/plrdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/mapctrl.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/unitselunitdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/citizensinfo.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/plrdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/voteinfo_bar.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/luaconsole.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/diplodlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/pages.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/wldlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/gamedlgs.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/unitselect.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/editprop.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/unitselect.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/unitselextradlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/finddlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/wldlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/inputdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/cityrep.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/graphics.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/transportdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/messagedlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/choice_dialog.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/theme_dlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/unitselextradlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/canvas.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/happiness.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/voteinfo_bar.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/gamedlgs.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/themes.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/gui_main.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/spaceshipdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/soundset_dlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/spaceshipdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/menu.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/pages.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/editgui.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/cityrep.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/editprop.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/chatline.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/action_dialog.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/choice_dialog.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/transportdlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/menu.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/connectdlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/gui_stuff.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/gotodlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/dialogs.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/luaconsole.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/diplodlg.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/sprite.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/repodlgs.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/optiondlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/canvas.c
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/gotodlg.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/mapctrl.h
Examining data/freeciv-2.6.2/client/gui-gtk-3.0/mapview.c
Examining data/freeciv-2.6.2/client/mapview_common.c
Examining data/freeciv-2.6.2/client/editor.c
Examining data/freeciv-2.6.2/server/stdinhand.h
Examining data/freeciv-2.6.2/server/savecompat.h
Examining data/freeciv-2.6.2/server/savegame2.c
Examining data/freeciv-2.6.2/server/cityturn.h
Examining data/freeciv-2.6.2/server/animals.c
Examining data/freeciv-2.6.2/server/meta.h
Examining data/freeciv-2.6.2/server/maphand.c
Examining data/freeciv-2.6.2/server/srv_main.h
Examining data/freeciv-2.6.2/server/commands.c
Examining data/freeciv-2.6.2/server/unittools.h
Examining data/freeciv-2.6.2/server/maphand.h
Examining data/freeciv-2.6.2/server/citizenshand.c
Examining data/freeciv-2.6.2/server/savegame2.h
Examining data/freeciv-2.6.2/server/barbarian.c
Examining data/freeciv-2.6.2/server/rssanity.h
Examining data/freeciv-2.6.2/server/settings.c
Examining data/freeciv-2.6.2/server/citytools.h
Examining data/freeciv-2.6.2/server/sernet.h
Examining data/freeciv-2.6.2/server/unithand.h
Examining data/freeciv-2.6.2/server/voting.c
Examining data/freeciv-2.6.2/server/civserver.c
Examining data/freeciv-2.6.2/server/connecthand.h
Examining data/freeciv-2.6.2/server/report.h
Examining data/freeciv-2.6.2/server/plrhand.h
Examining data/freeciv-2.6.2/server/mood.h
Examining data/freeciv-2.6.2/server/srv_log.h
Examining data/freeciv-2.6.2/server/meta.c
Examining data/freeciv-2.6.2/server/spacerace.c
Examining data/freeciv-2.6.2/server/diplhand.h
Examining data/freeciv-2.6.2/server/mood.c
Examining data/freeciv-2.6.2/server/ruleset.h
Examining data/freeciv-2.6.2/server/notify.c
Examining data/freeciv-2.6.2/server/srv_log.c
Examining data/freeciv-2.6.2/server/handchat.h
Examining data/freeciv-2.6.2/server/spacerace.h
Examining data/freeciv-2.6.2/server/savecompat.c
Examining data/freeciv-2.6.2/server/auth.c
Examining data/freeciv-2.6.2/server/score.h
Examining data/freeciv-2.6.2/server/connecthand.c
Examining data/freeciv-2.6.2/server/actiontools.h
Examining data/freeciv-2.6.2/server/savegame.h
Examining data/freeciv-2.6.2/server/unittools.c
Examining data/freeciv-2.6.2/server/commands.h
Examining data/freeciv-2.6.2/server/plrhand.c
Examining data/freeciv-2.6.2/server/gamehand.c
Examining data/freeciv-2.6.2/server/savegame.c
Examining data/freeciv-2.6.2/server/console.h
Examining data/freeciv-2.6.2/server/ruleset.c
Examining data/freeciv-2.6.2/server/diplhand.c
Examining data/freeciv-2.6.2/server/animals.h
Examining data/freeciv-2.6.2/server/generator/startpos.h
Examining data/freeciv-2.6.2/server/generator/utilities.h
Examining data/freeciv-2.6.2/server/generator/startpos.c
Examining data/freeciv-2.6.2/server/generator/height_map.c
Examining data/freeciv-2.6.2/server/generator/mapgen_topology.h
Examining data/freeciv-2.6.2/server/generator/mapgen.h
Examining data/freeciv-2.6.2/server/generator/utilities.c
Examining data/freeciv-2.6.2/server/generator/temperature_map.h
Examining data/freeciv-2.6.2/server/generator/mapgen_topology.c
Examining data/freeciv-2.6.2/server/generator/mapgen.c
Examining data/freeciv-2.6.2/server/generator/temperature_map.c
Examining data/freeciv-2.6.2/server/generator/height_map.h
Examining data/freeciv-2.6.2/server/edithand.h
Examining data/freeciv-2.6.2/server/techtools.c
Examining data/freeciv-2.6.2/server/techtools.h
Examining data/freeciv-2.6.2/server/gamehand.h
Examining data/freeciv-2.6.2/server/unithand.c
Examining data/freeciv-2.6.2/server/score.c
Examining data/freeciv-2.6.2/server/scripting/api_server_game_methods.h
Examining data/freeciv-2.6.2/server/scripting/tolua_server_gen.h
Examining data/freeciv-2.6.2/server/scripting/api_server_notify.c
Examining data/freeciv-2.6.2/server/scripting/api_server_notify.h
Examining data/freeciv-2.6.2/server/scripting/tolua_server_gen.c
Examining data/freeciv-2.6.2/server/scripting/api_server_base.h
Examining data/freeciv-2.6.2/server/scripting/api_server_edit.h
Examining data/freeciv-2.6.2/server/scripting/tolua_fcdb_gen.h
Examining data/freeciv-2.6.2/server/scripting/api_server_game_methods.c
Examining data/freeciv-2.6.2/server/scripting/script_fcdb.c
Examining data/freeciv-2.6.2/server/scripting/script_server.c
Examining data/freeciv-2.6.2/server/scripting/tolua_fcdb_gen.c
Examining data/freeciv-2.6.2/server/scripting/api_fcdb_base.c
Examining data/freeciv-2.6.2/server/scripting/api_fcdb_auth.h
Examining data/freeciv-2.6.2/server/scripting/script_fcdb.h
Examining data/freeciv-2.6.2/server/scripting/script_server.h
Examining data/freeciv-2.6.2/server/scripting/api_server_edit.c
Examining data/freeciv-2.6.2/server/scripting/api_server_base.c
Examining data/freeciv-2.6.2/server/scripting/api_fcdb_base.h
Examining data/freeciv-2.6.2/server/scripting/api_fcdb_auth.c
Examining data/freeciv-2.6.2/server/aiiface.c
Examining data/freeciv-2.6.2/server/fcdb.h
Examining data/freeciv-2.6.2/server/sanitycheck.c
Examining data/freeciv-2.6.2/server/diplomats.c
Examining data/freeciv-2.6.2/server/cityturn.c
Examining data/freeciv-2.6.2/server/cityhand.c
Examining data/freeciv-2.6.2/server/citytools.c
Examining data/freeciv-2.6.2/server/advisors/autoexplorer.h
Examining data/freeciv-2.6.2/server/advisors/advdata.c
Examining data/freeciv-2.6.2/server/advisors/advcity.c
Examining data/freeciv-2.6.2/server/advisors/advgoto.c
Examining data/freeciv-2.6.2/server/advisors/advspace.h
Examining data/freeciv-2.6.2/server/advisors/advspace.c
Examining data/freeciv-2.6.2/server/advisors/autosettlers.c
Examining data/freeciv-2.6.2/server/advisors/advchoice.h
Examining data/freeciv-2.6.2/server/advisors/advdata.h
Examining data/freeciv-2.6.2/server/advisors/infracache.c
Examining data/freeciv-2.6.2/server/advisors/infracache.h
Examining data/freeciv-2.6.2/server/advisors/advruleset.c
Examining data/freeciv-2.6.2/server/advisors/advbuilding.h
Examining data/freeciv-2.6.2/server/advisors/autosettlers.h
Examining data/freeciv-2.6.2/server/advisors/advgoto.h
Examining data/freeciv-2.6.2/server/advisors/advcity.h
Examining data/freeciv-2.6.2/server/advisors/autoexplorer.c
Examining data/freeciv-2.6.2/server/advisors/advchoice.c
Examining data/freeciv-2.6.2/server/advisors/advruleset.h
Examining data/freeciv-2.6.2/server/advisors/advtools.c
Examining data/freeciv-2.6.2/server/advisors/advbuilding.c
Examining data/freeciv-2.6.2/server/advisors/advtools.h
Examining data/freeciv-2.6.2/server/settings.h
Examining data/freeciv-2.6.2/server/auth.h
Examining data/freeciv-2.6.2/server/barbarian.h
Examining data/freeciv-2.6.2/server/edithand.c
Examining data/freeciv-2.6.2/server/actiontools.c
Examining data/freeciv-2.6.2/server/sanitycheck.h
Examining data/freeciv-2.6.2/server/aiiface.h
Examining data/freeciv-2.6.2/server/stdinhand.c
Examining data/freeciv-2.6.2/server/hand_gen.c
Examining data/freeciv-2.6.2/server/sernet.c
Examining data/freeciv-2.6.2/server/diplomats.h
Examining data/freeciv-2.6.2/server/cityhand.h
Examining data/freeciv-2.6.2/server/srv_main.c
Examining data/freeciv-2.6.2/server/hand_gen.h
Examining data/freeciv-2.6.2/server/fcdb.c
Examining data/freeciv-2.6.2/server/report.c
Examining data/freeciv-2.6.2/server/handchat.c
Examining data/freeciv-2.6.2/server/notify.h
Examining data/freeciv-2.6.2/server/rssanity.c
Examining data/freeciv-2.6.2/server/console.c
Examining data/freeciv-2.6.2/server/citizenshand.h
Examining data/freeciv-2.6.2/server/voting.h
Examining data/freeciv-2.6.2/common/rgbcolor.h
Examining data/freeciv-2.6.2/common/vision.h
Examining data/freeciv-2.6.2/common/style.c
Examining data/freeciv-2.6.2/common/capstr.h
Examining data/freeciv-2.6.2/common/improvement.c
Examining data/freeciv-2.6.2/common/aicore/path_finding.c
Examining data/freeciv-2.6.2/common/aicore/pf_tools.c
Examining data/freeciv-2.6.2/common/aicore/aisupport.h
Examining data/freeciv-2.6.2/common/aicore/pf_tools.h
Examining data/freeciv-2.6.2/common/aicore/cm.c
Examining data/freeciv-2.6.2/common/aicore/path_finding.h
Examining data/freeciv-2.6.2/common/aicore/cm.h
Examining data/freeciv-2.6.2/common/aicore/caravan.h
Examining data/freeciv-2.6.2/common/aicore/aisupport.c
Examining data/freeciv-2.6.2/common/aicore/citymap.c
Examining data/freeciv-2.6.2/common/aicore/citymap.h
Examining data/freeciv-2.6.2/common/aicore/caravan.c
Examining data/freeciv-2.6.2/common/metaknowledge.c
Examining data/freeciv-2.6.2/common/chat.h
Examining data/freeciv-2.6.2/common/specialist.h
Examining data/freeciv-2.6.2/common/featured_text.c
Examining data/freeciv-2.6.2/common/name_translation.h
Examining data/freeciv-2.6.2/common/victory.c
Examining data/freeciv-2.6.2/common/achievements.c
Examining data/freeciv-2.6.2/common/map_types.h
Examining data/freeciv-2.6.2/common/version.c
Examining data/freeciv-2.6.2/common/workertask.c
Examining data/freeciv-2.6.2/common/borders.c
Examining data/freeciv-2.6.2/common/achievements.h
Examining data/freeciv-2.6.2/common/city.c
Examining data/freeciv-2.6.2/common/research.c
Examining data/freeciv-2.6.2/common/base.h
Examining data/freeciv-2.6.2/common/diptreaty.c
Examining data/freeciv-2.6.2/common/team.c
Examining data/freeciv-2.6.2/common/disaster.h
Examining data/freeciv-2.6.2/common/unit.h
Examining data/freeciv-2.6.2/common/dataio.c
Examining data/freeciv-2.6.2/common/worklist.h
Examining data/freeciv-2.6.2/common/actions.c
Examining data/freeciv-2.6.2/common/player.c
Examining data/freeciv-2.6.2/common/game.c
Examining data/freeciv-2.6.2/common/citizens.c
Examining data/freeciv-2.6.2/common/fc_cmdhelp.c
Examining data/freeciv-2.6.2/common/multipliers.c
Examining data/freeciv-2.6.2/common/version.h
Examining data/freeciv-2.6.2/common/extras.h
Examining data/freeciv-2.6.2/common/tile.c
Examining data/freeciv-2.6.2/common/fc_cmdhelp.h
Examining data/freeciv-2.6.2/common/vision.c
Examining data/freeciv-2.6.2/common/movement.c
Examining data/freeciv-2.6.2/common/movement.h
Examining data/freeciv-2.6.2/common/diptreaty.h
Examining data/freeciv-2.6.2/common/improvement.h
Examining data/freeciv-2.6.2/common/capstr.c
Examining data/freeciv-2.6.2/common/effects.c
Examining data/freeciv-2.6.2/common/player.h
Examining data/freeciv-2.6.2/common/borders.h
Examining data/freeciv-2.6.2/common/unittype.c
Examining data/freeciv-2.6.2/common/fc_types.h
Examining data/freeciv-2.6.2/common/tech.c
Examining data/freeciv-2.6.2/common/terrain.h
Examining data/freeciv-2.6.2/common/tile.h
Examining data/freeciv-2.6.2/common/dataio.h
Examining data/freeciv-2.6.2/common/road.h
Examining data/freeciv-2.6.2/common/combat.h
Examining data/freeciv-2.6.2/common/events.h
Examining data/freeciv-2.6.2/common/packets.h
Examining data/freeciv-2.6.2/common/unitlist.c
Examining data/freeciv-2.6.2/common/traderoutes.h
Examining data/freeciv-2.6.2/common/events.c
Examining data/freeciv-2.6.2/common/nation.h
Examining data/freeciv-2.6.2/common/government.h
Examining data/freeciv-2.6.2/common/fc_interface.h
Examining data/freeciv-2.6.2/common/victory.h
Examining data/freeciv-2.6.2/common/spaceship.h
Examining data/freeciv-2.6.2/common/actions.h
Examining data/freeciv-2.6.2/common/packets_gen.h
Examining data/freeciv-2.6.2/common/mapimg.c
Examining data/freeciv-2.6.2/common/research.h
Examining data/freeciv-2.6.2/common/clientutils.c
Examining data/freeciv-2.6.2/common/traits.h
Examining data/freeciv-2.6.2/common/connection.h
Examining data/freeciv-2.6.2/common/ai.h
Examining data/freeciv-2.6.2/common/extras.c
Examining data/freeciv-2.6.2/common/idex.h
Examining data/freeciv-2.6.2/common/city.h
Examining data/freeciv-2.6.2/common/spaceship.c
Examining data/freeciv-2.6.2/common/featured_text.h
Examining data/freeciv-2.6.2/common/unitlist.h
Examining data/freeciv-2.6.2/common/game.h
Examining data/freeciv-2.6.2/common/fc_interface.c
Examining data/freeciv-2.6.2/common/workertask.h
Examining data/freeciv-2.6.2/common/disaster.c
Examining data/freeciv-2.6.2/common/ai.c
Examining data/freeciv-2.6.2/common/terrain.c
Examining data/freeciv-2.6.2/common/road.c
Examining data/freeciv-2.6.2/common/calendar.h
Examining data/freeciv-2.6.2/common/idex.c
Examining data/freeciv-2.6.2/common/nation.c
Examining data/freeciv-2.6.2/common/mapimg.h
Examining data/freeciv-2.6.2/common/citizens.h
Examining data/freeciv-2.6.2/common/packets.c
Examining data/freeciv-2.6.2/common/metaknowledge.h
Examining data/freeciv-2.6.2/common/map.c
Examining data/freeciv-2.6.2/common/clientutils.h
Examining data/freeciv-2.6.2/common/combat.c
Examining data/freeciv-2.6.2/common/calendar.c
Examining data/freeciv-2.6.2/common/effects.h
Examining data/freeciv-2.6.2/common/tech.h
Examining data/freeciv-2.6.2/common/connection.c
Examining data/freeciv-2.6.2/common/multipliers.h
Examining data/freeciv-2.6.2/common/style.h
Examining data/freeciv-2.6.2/common/government.c
Examining data/freeciv-2.6.2/common/requirements.c
Examining data/freeciv-2.6.2/common/culture.h
Examining data/freeciv-2.6.2/common/team.h
Examining data/freeciv-2.6.2/common/scriptcore/luascript_signal.c
Examining data/freeciv-2.6.2/common/scriptcore/api_common_utilities.h
Examining data/freeciv-2.6.2/common/scriptcore/tolua_common_z_gen.c
Examining data/freeciv-2.6.2/common/scriptcore/luascript_signal.h
Examining data/freeciv-2.6.2/common/scriptcore/luascript_func.c
Examining data/freeciv-2.6.2/common/scriptcore/tolua_game_gen.h
Examining data/freeciv-2.6.2/common/scriptcore/api_signal_base.h
Examining data/freeciv-2.6.2/common/scriptcore/tolua_signal_gen.c
Examining data/freeciv-2.6.2/common/scriptcore/tolua_common_a_gen.h
Examining data/freeciv-2.6.2/common/scriptcore/luascript_func.h
Examining data/freeciv-2.6.2/common/scriptcore/api_game_find.c
Examining data/freeciv-2.6.2/common/scriptcore/luascript.c
Examining data/freeciv-2.6.2/common/scriptcore/api_signal_base.c
Examining data/freeciv-2.6.2/common/scriptcore/api_common_intl.c
Examining data/freeciv-2.6.2/common/scriptcore/tolua_signal_gen.h
Examining data/freeciv-2.6.2/common/scriptcore/api_game_methods.c
Examining data/freeciv-2.6.2/common/scriptcore/api_game_methods.h
Examining data/freeciv-2.6.2/common/scriptcore/luascript_types.h
Examining data/freeciv-2.6.2/common/scriptcore/tolua_game_gen.c
Examining data/freeciv-2.6.2/common/scriptcore/api_game_specenum.h
Examining data/freeciv-2.6.2/common/scriptcore/api_game_specenum.c
Examining data/freeciv-2.6.2/common/scriptcore/tolua_common_z_gen.h
Examining data/freeciv-2.6.2/common/scriptcore/api_common_intl.h
Examining data/freeciv-2.6.2/common/scriptcore/api_game_find.h
Examining data/freeciv-2.6.2/common/scriptcore/luascript.h
Examining data/freeciv-2.6.2/common/scriptcore/api_game_effects.c
Examining data/freeciv-2.6.2/common/scriptcore/api_common_utilities.c
Examining data/freeciv-2.6.2/common/scriptcore/api_game_effects.h
Examining data/freeciv-2.6.2/common/scriptcore/tolua_common_a_gen.c
Examining data/freeciv-2.6.2/common/requirements.h
Examining data/freeciv-2.6.2/common/unittype.h
Examining data/freeciv-2.6.2/common/unit.c
Examining data/freeciv-2.6.2/common/traderoutes.c
Examining data/freeciv-2.6.2/common/map.h
Examining data/freeciv-2.6.2/common/packets_gen.c
Examining data/freeciv-2.6.2/common/rgbcolor.c
Examining data/freeciv-2.6.2/common/base.c
Examining data/freeciv-2.6.2/common/specialist.c
Examining data/freeciv-2.6.2/common/srvdefs.h
Examining data/freeciv-2.6.2/common/culture.c
Examining data/freeciv-2.6.2/common/worklist.c
Examining data/freeciv-2.6.2/ai/difficulty.c
Examining data/freeciv-2.6.2/ai/handicaps.c
Examining data/freeciv-2.6.2/ai/threaded/threadedai.c
Examining data/freeciv-2.6.2/ai/threaded/taimsg.c
Examining data/freeciv-2.6.2/ai/threaded/taicity.h
Examining data/freeciv-2.6.2/ai/threaded/taiplayer.c
Examining data/freeciv-2.6.2/ai/threaded/taiplayer.h
Examining data/freeciv-2.6.2/ai/threaded/taicity.c
Examining data/freeciv-2.6.2/ai/threaded/taimsg.h
Examining data/freeciv-2.6.2/ai/handicaps.h
Examining data/freeciv-2.6.2/ai/aitraits.h
Examining data/freeciv-2.6.2/ai/aitraits.c
Examining data/freeciv-2.6.2/ai/default/aihand.c
Examining data/freeciv-2.6.2/ai/default/daidiplomacy.h
Examining data/freeciv-2.6.2/ai/default/aiparatrooper.c
Examining data/freeciv-2.6.2/ai/default/aiguard.c
Examining data/freeciv-2.6.2/ai/default/aiparatrooper.h
Examining data/freeciv-2.6.2/ai/default/aitools.h
Examining data/freeciv-2.6.2/ai/default/aitech.h
Examining data/freeciv-2.6.2/ai/default/aiair.c
Examining data/freeciv-2.6.2/ai/default/daimilitary.c
Examining data/freeciv-2.6.2/ai/default/aidata.c
Examining data/freeciv-2.6.2/ai/default/aiferry.h
Examining data/freeciv-2.6.2/ai/default/aicity.h
Examining data/freeciv-2.6.2/ai/default/aihunt.c
Examining data/freeciv-2.6.2/ai/default/daieffects.h
Examining data/freeciv-2.6.2/ai/default/aisettler.c
Examining data/freeciv-2.6.2/ai/default/aidata.h
Examining data/freeciv-2.6.2/ai/default/aisettler.h
Examining data/freeciv-2.6.2/ai/default/aicity.c
Examining data/freeciv-2.6.2/ai/default/daieffects.c
Examining data/freeciv-2.6.2/ai/default/daidiplomacy.c
Examining data/freeciv-2.6.2/ai/default/ailog.h
Examining data/freeciv-2.6.2/ai/default/aitools.c
Examining data/freeciv-2.6.2/ai/default/aitech.c
Examining data/freeciv-2.6.2/ai/default/aiair.h
Examining data/freeciv-2.6.2/ai/default/aiferry.c
Examining data/freeciv-2.6.2/ai/default/aiplayer.h
Examining data/freeciv-2.6.2/ai/default/daidomestic.h
Examining data/freeciv-2.6.2/ai/default/aiguard.h
Examining data/freeciv-2.6.2/ai/default/ailog.c
Examining data/freeciv-2.6.2/ai/default/daimilitary.h
Examining data/freeciv-2.6.2/ai/default/aiunit.c
Examining data/freeciv-2.6.2/ai/default/aiplayer.c
Examining data/freeciv-2.6.2/ai/default/daidomestic.c
Examining data/freeciv-2.6.2/ai/default/aidiplomat.c
Examining data/freeciv-2.6.2/ai/default/aidiplomat.h
Examining data/freeciv-2.6.2/ai/default/aihand.h
Examining data/freeciv-2.6.2/ai/default/aihunt.h
Examining data/freeciv-2.6.2/ai/default/aiunit.h
Examining data/freeciv-2.6.2/ai/difficulty.h
Examining data/freeciv-2.6.2/ai/stub/stubai.c
Examining data/freeciv-2.6.2/ai/classic/classicai.h
Examining data/freeciv-2.6.2/ai/classic/classicai.c
Examining data/freeciv-2.6.2/utility/fciconv.h
Examining data/freeciv-2.6.2/utility/rand.c
Examining data/freeciv-2.6.2/utility/section_file.h
Examining data/freeciv-2.6.2/utility/registry_ini.h
Examining data/freeciv-2.6.2/utility/netfile.h
Examining data/freeciv-2.6.2/utility/genhash.c
Examining data/freeciv-2.6.2/utility/support.h
Examining data/freeciv-2.6.2/utility/mem.h
Examining data/freeciv-2.6.2/utility/genlist.c
Examining data/freeciv-2.6.2/utility/genhash.h
Examining data/freeciv-2.6.2/utility/netintf.h
Examining data/freeciv-2.6.2/utility/log.c
Examining data/freeciv-2.6.2/utility/netintf.c
Examining data/freeciv-2.6.2/utility/distribute.c
Examining data/freeciv-2.6.2/utility/bitvector.c
Examining data/freeciv-2.6.2/utility/string_vector.h
Examining data/freeciv-2.6.2/utility/deprecations.h
Examining data/freeciv-2.6.2/utility/fc_utf8.h
Examining data/freeciv-2.6.2/utility/ioz.c
Examining data/freeciv-2.6.2/utility/md5.h
Examining data/freeciv-2.6.2/utility/astring.h
Examining data/freeciv-2.6.2/utility/support.c
Examining data/freeciv-2.6.2/utility/iterator.h
Examining data/freeciv-2.6.2/utility/capability.h
Examining data/freeciv-2.6.2/utility/capability.c
Examining data/freeciv-2.6.2/utility/fc_cmdline.h
Examining data/freeciv-2.6.2/utility/iterator.c
Examining data/freeciv-2.6.2/utility/specenum_gen.h
Examining data/freeciv-2.6.2/utility/net_types.h
Examining data/freeciv-2.6.2/utility/fcintl.h
Examining data/freeciv-2.6.2/utility/shared.h
Examining data/freeciv-2.6.2/utility/registry_ini.c
Examining data/freeciv-2.6.2/utility/inputfile.c
Examining data/freeciv-2.6.2/utility/string_vector.c
Examining data/freeciv-2.6.2/utility/rand.h
Examining data/freeciv-2.6.2/utility/deprecations.c
Examining data/freeciv-2.6.2/utility/ioz.h
Examining data/freeciv-2.6.2/utility/registry_xml.c
Examining data/freeciv-2.6.2/utility/specvec.h
Examining data/freeciv-2.6.2/utility/fcintl.c
Examining data/freeciv-2.6.2/utility/log.h
Examining data/freeciv-2.6.2/utility/astring.c
Examining data/freeciv-2.6.2/utility/fciconv.c
Examining data/freeciv-2.6.2/utility/mem.c
Examining data/freeciv-2.6.2/utility/md5.c
Examining data/freeciv-2.6.2/utility/timing.h
Examining data/freeciv-2.6.2/utility/fc_cmdline.c
Examining data/freeciv-2.6.2/utility/fc_utf8.c
Examining data/freeciv-2.6.2/utility/fcbacktrace.c
Examining data/freeciv-2.6.2/utility/fcthread.h
Examining data/freeciv-2.6.2/utility/inputfile.h
Examining data/freeciv-2.6.2/utility/fc_prehdrs.h
Examining data/freeciv-2.6.2/utility/distribute.h
Examining data/freeciv-2.6.2/utility/shared.c
Examining data/freeciv-2.6.2/utility/spechash.h
Examining data/freeciv-2.6.2/utility/genlist.h
Examining data/freeciv-2.6.2/utility/section_file.c
Examining data/freeciv-2.6.2/utility/registry.h
Examining data/freeciv-2.6.2/utility/netfile.c
Examining data/freeciv-2.6.2/utility/timing.c
Examining data/freeciv-2.6.2/utility/registry.c
Examining data/freeciv-2.6.2/utility/specpq.h
Examining data/freeciv-2.6.2/utility/registry_xml.h
Examining data/freeciv-2.6.2/utility/speclist.h
Examining data/freeciv-2.6.2/utility/fcbacktrace.h
Examining data/freeciv-2.6.2/utility/bitvector.h
Examining data/freeciv-2.6.2/utility/fcthread.c
Examining data/freeciv-2.6.2/tools/mpcmdline.c
Examining data/freeciv-2.6.2/tools/download.h
Examining data/freeciv-2.6.2/tools/mpdb.h
Examining data/freeciv-2.6.2/tools/ruledit/ruledit_qt.h
Examining data/freeciv-2.6.2/tools/ruledit/tab_misc.cpp
Examining data/freeciv-2.6.2/tools/ruledit/ruledit.h
Examining data/freeciv-2.6.2/tools/ruledit/requirers_dlg.h
Examining data/freeciv-2.6.2/tools/ruledit/tab_misc.h
Examining data/freeciv-2.6.2/tools/ruledit/ruledit_qt.cpp
Examining data/freeciv-2.6.2/tools/ruledit/ruledit.cpp
Examining data/freeciv-2.6.2/tools/ruledit/rulesave.c
Examining data/freeciv-2.6.2/tools/ruledit/validity.h
Examining data/freeciv-2.6.2/tools/ruledit/tab_unit.cpp
Examining data/freeciv-2.6.2/tools/ruledit/tab_tech.h
Examining data/freeciv-2.6.2/tools/ruledit/tab_nation.cpp
Examining data/freeciv-2.6.2/tools/ruledit/tab_nation.h
Examining data/freeciv-2.6.2/tools/ruledit/requirers_dlg.cpp
Examining data/freeciv-2.6.2/tools/ruledit/rulesave.h
Examining data/freeciv-2.6.2/tools/ruledit/validity.c
Examining data/freeciv-2.6.2/tools/ruledit/tab_tech.cpp
Examining data/freeciv-2.6.2/tools/ruledit/tab_building.h
Examining data/freeciv-2.6.2/tools/ruledit/tab_building.cpp
Examining data/freeciv-2.6.2/tools/ruledit/tab_unit.h
Examining data/freeciv-2.6.2/tools/mpgui_qt_worker.h
Examining data/freeciv-2.6.2/tools/mpgui_gtk3.c
Examining data/freeciv-2.6.2/tools/modinst.c
Examining data/freeciv-2.6.2/tools/mpgui_gtk2.c
Examining data/freeciv-2.6.2/tools/mpgui_qt.h
Examining data/freeciv-2.6.2/tools/civmanual.c
Examining data/freeciv-2.6.2/tools/mpgui_qt_worker.cpp
Examining data/freeciv-2.6.2/tools/mpcmdline.h
Examining data/freeciv-2.6.2/tools/mpgui_qt.cpp
Examining data/freeciv-2.6.2/tools/mpcli.c
Examining data/freeciv-2.6.2/tools/download.c
Examining data/freeciv-2.6.2/tools/mpdb.c
Examining data/freeciv-2.6.2/tools/modinst.h

FINAL RESULTS:

data/freeciv-2.6.2/client/audio.c:205:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(fname, "%s%s", audioset_name, suffix);
data/freeciv-2.6.2/client/connectdlg_common.c:374:7:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      execvp("./fcser", argv);
data/freeciv-2.6.2/client/connectdlg_common.c:375:7:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      execvp("./server/freeciv-server", argv);
data/freeciv-2.6.2/client/connectdlg_common.c:377:7:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      execvp(BINDIR "/freeciv-server", argv);
data/freeciv-2.6.2/client/connectdlg_common.c:378:7:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      execvp("freeciv-server", argv);
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:847:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s", move_points_text(utype->move_rate, TRUE));
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1176:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (buf + strlen (buf), " %s (%d/%d/%d),",
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1265:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1289:9:  [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, extra_name_translation(pextra2));
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1336:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1356:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1374:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:879:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s", move_points_text(utype->move_rate, TRUE));
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1206:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (buf + strlen (buf), " %s (%d/%d/%d),",
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1295:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1319:9:  [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, extra_name_translation(pextra2));
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1366:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1386:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1404:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:885:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s", move_points_text(utype->move_rate, TRUE));
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1203:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (buf + strlen (buf), " %s (%d/%d/%d),",
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1292:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1316:9:  [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, extra_name_translation(pextra2));
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1363:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1383:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1401:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-qt/themes.cpp:182:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(data, theme_list[i].toLocal8Bit().data());
data/freeciv-2.6.2/client/gui-sdl/helpdlg.c:378:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer, "%s %d", _("Cost:"), impr_build_shield_cost(pImpr_type));
data/freeciv-2.6.2/client/gui-sdl/helpdlg.c:386:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buffer, "%s %d", _("Upkeep:"), pImpr_type->upkeep);
data/freeciv-2.6.2/client/gui-sdl/mmx.h:246:3:  [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.
		printf(#op "_i2r(" #imm "=0x%08x%08x, ", \
data/freeciv-2.6.2/client/gui-sdl/mmx.h:251:3:  [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.
		printf(#reg "=0x%08x%08x) => ", \
data/freeciv-2.6.2/client/gui-sdl/mmx.h:259:3:  [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.
		printf(#reg "=0x%08x%08x\n", \
data/freeciv-2.6.2/client/gui-sdl/mmx.h:267:3:  [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.
		printf(#op "_m2r(" #mem "=0x%08x%08x, ", \
data/freeciv-2.6.2/client/gui-sdl/mmx.h:272:3:  [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.
		printf(#reg "=0x%08x%08x) => ", \
data/freeciv-2.6.2/client/gui-sdl/mmx.h:280:3:  [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.
		printf(#reg "=0x%08x%08x\n", \
data/freeciv-2.6.2/client/gui-sdl/mmx.h:290:3:  [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.
		printf(#op "_r2m(" #reg "=0x%08x%08x, ", \
data/freeciv-2.6.2/client/gui-sdl/mmx.h:293:3:  [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.
		printf(#mem "=0x%08x%08x) => ", \
data/freeciv-2.6.2/client/gui-sdl/mmx.h:299:3:  [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.
		printf(#mem "=0x%08x%08x\n", \
data/freeciv-2.6.2/client/gui-sdl/mmx.h:309:3:  [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.
		printf(#op "_r2r(" #regs "=0x%08x%08x, ", \
data/freeciv-2.6.2/client/gui-sdl/mmx.h:314:3:  [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.
		printf(#regd "=0x%08x%08x) => ", \
data/freeciv-2.6.2/client/gui-sdl/mmx.h:320:3:  [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.
		printf(#regd "=0x%08x%08x\n", \
data/freeciv-2.6.2/client/gui-sdl/mmx.h:328:3:  [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.
		printf(#op "_m2m(" #mems "=0x%08x%08x, ", \
data/freeciv-2.6.2/client/gui-sdl/mmx.h:331:3:  [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.
		printf(#memd "=0x%08x%08x) => ", \
data/freeciv-2.6.2/client/gui-sdl/mmx.h:339:3:  [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.
		printf(#memd "=0x%08x%08x\n", \
data/freeciv-2.6.2/client/gui-sdl/themespec.c:454:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(full_name, "%s.%s", gfx_filename, gfx_fileext);
data/freeciv-2.6.2/client/gui-sdl/themespec.c:679:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(full_name, "%s.%s", gfx_filename, gfx_current_fileext);
data/freeciv-2.6.2/client/gui-sdl2/helpdlg.c:381:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer, "%s %d", _("Cost:"), impr_build_shield_cost(pImpr_type));
data/freeciv-2.6.2/client/gui-sdl2/helpdlg.c:389:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buffer, "%s %d", _("Upkeep:"), pImpr_type->upkeep);
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:462:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(full_name, "%s.%s", gfx_filename, gfx_fileext);
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:687:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(full_name, "%s.%s", gfx_filename, gfx_current_fileext);
data/freeciv-2.6.2/client/gui-xaw/chatline.c:92:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(newout, "%s\n%s", theoutput, astring2);
data/freeciv-2.6.2/client/gui-xaw/connectdlg.c:778:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  sscanf(ret->string, "%s %s\n", name, port);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:863:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s ", move_points_text(punittype->move_rate, TRUE));
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:936:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf(buf+strlen(buf), _("Allows %s.\n"),
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:943:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(buf+strlen(buf), _("Obsoletes %s.\n"),
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:953:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buf + strlen(buf), _("Allows %s.\n"),
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:960:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf(buf+strlen(buf), _("Allows %s.\n"), 
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:963:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf(buf+strlen(buf), _("Allows %s (with %s).\n"), 
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:968:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buf+strlen(buf), _("Allows %s (with %s).\n"), 
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:982:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(buf, pitem->text);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1022:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf + strlen (buf), " %s (%d/%d/%d),",
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1050:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buf, "%s / %d",
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1064:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buf, "%s / %d",
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1071:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buf, "%s / %d",
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1092:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1109:9:  [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, sep);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1110:9:  [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, extra_name_translation(pextra2));
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1134:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf + strlen(buf), _("Bonus (F/P/T): %s\n"),
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1159:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1179:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1197:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(buf, pitem->text);
data/freeciv-2.6.2/client/gui-xaw/wldlg.c:591:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s (%d)",
data/freeciv-2.6.2/client/gui-xaw/wldlg.c:595:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s (%d)",
data/freeciv-2.6.2/client/gui-xaw/wldlg.c:599:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s (%d)",
data/freeciv-2.6.2/client/gui-xaw/wldlg.c:742:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(pdialog->worklist_names[n], global_worklist_name(pgwl));
data/freeciv-2.6.2/client/gui-xaw/wldlg.c:842:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(pdialog->worklist_names[i], pdialog->worklist_names[i-1]);
data/freeciv-2.6.2/client/gui-xaw/wldlg.c:980:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(pdialog->worklist_names[j], pdialog->worklist_names[j+1]);
data/freeciv-2.6.2/client/messagewin_common.c:95:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(s, message);
data/freeciv-2.6.2/client/tilespec.c:1478:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(full_name, "%s.%s", gfx_filename, gfx_fileext);
data/freeciv-2.6.2/client/tilespec.c:1705:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(full_name, "%s.%s", gfx_filename, gfx_current_fileext);
data/freeciv-2.6.2/common/scriptcore/luascript_signal.c:238:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(sn, signal_name);
data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.h:234:10:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        (fprintf(stderr, (s), (p)), fflush(stderr))
data/freeciv-2.6.2/dependencies/lua-5.3/src/liolib.c:59:40:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#define l_popen(L,c,m)		(fflush(NULL), popen(c,m))
data/freeciv-2.6.2/dependencies/lua-5.3/src/liolib.c:627:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ? fprintf(f, LUA_INTEGER_FMT,
data/freeciv-2.6.2/dependencies/lua-5.3/src/liolib.c:629:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                : fprintf(f, LUA_NUMBER_FMT,
data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.c:286:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(buff, s);  /* copy string to buffer */
data/freeciv-2.6.2/dependencies/lua-5.3/src/loslib.c:122: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(b, LUA_TMPNAMTEMPLATE); \
data/freeciv-2.6.2/dependencies/lua-5.3/src/loslib.c:143:14:  [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.
  int stat = system(cmd);
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstrlib.c:1010:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(form + l - 1, lenmod);
data/freeciv-2.6.2/dependencies/lua-5.3/src/luaconf.h:605:29:  [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 l_sprintf(s,sz,f,i)	snprintf(s,sz,f,i)
data/freeciv-2.6.2/dependencies/lua-5.3/src/luaconf.h:607:42:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
#define l_sprintf(s,sz,f,i)	((void)(sz), sprintf(s,f,i))
data/freeciv-2.6.2/dependencies/tolua-5.2/src/bin/tolua.c:118:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(path,argv[0]);
data/freeciv-2.6.2/dependencies/tolua-5.2/src/bin/tolua.c:122:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(p,"%s","../src/bin/lua/");
data/freeciv-2.6.2/server/report.c:1186:16:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
      if (3 != sscanf(line + strlen("addplayer "), "%d %d %s",
data/freeciv-2.6.2/server/ruleset.c:840:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(copy, sval);
data/freeciv-2.6.2/server/ruleset.c:3673: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(pl->translation_domain, domain);
data/freeciv-2.6.2/server/savegame.c:2749:7:  [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(quoted, current);
data/freeciv-2.6.2/server/savegame2.c:3390:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(line, token);
data/freeciv-2.6.2/server/savegame2.c:3411:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(line, token);
data/freeciv-2.6.2/server/savegame2.c:3433:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(line, token);
data/freeciv-2.6.2/server/savegame2.c:3516:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(line, token);
data/freeciv-2.6.2/server/savegame2.c:6443:7:  [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(quoted, current);
data/freeciv-2.6.2/server/savegame2.c:6896:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(line, token);
data/freeciv-2.6.2/server/savegame2.c:6920:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(line, token);
data/freeciv-2.6.2/server/score.c:104:7:  [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.
      printf(type, map_char_expr);                 \
data/freeciv-2.6.2/server/sernet.c:523:15:  [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(history_file, fc_dir);
data/freeciv-2.6.2/server/sernet.c:525:15:  [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(history_file, HISTORY_FILENAME);
data/freeciv-2.6.2/tools/civmanual.c:238:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(doc, HEADER);
data/freeciv-2.6.2/tools/civmanual.c:249:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(doc, SEPARATOR);
data/freeciv-2.6.2/tools/civmanual.c:330:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(doc, SEPARATOR);
data/freeciv-2.6.2/tools/civmanual.c:550:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(doc,
data/freeciv-2.6.2/tools/civmanual.c:579:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(doc, TAIL);
data/freeciv-2.6.2/tools/mpgui_gtk2.c:301:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(URLbuf, URL);
data/freeciv-2.6.2/tools/mpgui_gtk3.c:299:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(URLbuf, URL);
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1347:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(city_str[set_count], nation_city_name(pncity));
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1383:9:  [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(city_str[set_count], pref);
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1384:9:  [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(city_str[set_count], terrain_rule_name(pterr));
data/freeciv-2.6.2/utility/ioz.c:854:11:  [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.
    num = vfprintf(fp->u.plain, format, ap);
data/freeciv-2.6.2/utility/mem.c:152:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(dest, str);
data/freeciv-2.6.2/utility/registry_xml.c:97:15:  [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, content);
data/freeciv-2.6.2/utility/shared.c:199:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(rn, cp0);
data/freeciv-2.6.2/utility/support.c:774:7:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  r = vsnprintf(str, n, format, ap);
data/freeciv-2.6.2/utility/support.c:801:5:  [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, n, format, ap);
data/freeciv-2.6.2/utility/support.c:803:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf(buf, format, ap);
data/freeciv-2.6.2/client/client_main.c:334:7:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  if (LoadLibrary("exchndl.dll") == NULL) {
data/freeciv-2.6.2/client/connectdlg_common.c:465:8:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
      !CreateProcess(NULL, cmdline1, NULL, NULL, TRUE,
data/freeciv-2.6.2/client/connectdlg_common.c:465:8:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
      !CreateProcess(NULL, cmdline1, NULL, NULL, TRUE,
data/freeciv-2.6.2/client/connectdlg_common.c:468:11:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
      && !CreateProcess(NULL, cmdline2, NULL, NULL, TRUE,
data/freeciv-2.6.2/client/connectdlg_common.c:468:11:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
      && !CreateProcess(NULL, cmdline2, NULL, NULL, TRUE,
data/freeciv-2.6.2/client/connectdlg_common.c:473:8:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
      !CreateProcess(NULL, cmdline3, NULL, NULL, TRUE,
data/freeciv-2.6.2/client/connectdlg_common.c:473:8:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
      !CreateProcess(NULL, cmdline3, NULL, NULL, TRUE,
data/freeciv-2.6.2/client/connectdlg_common.c:476:11:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
      && !CreateProcess(NULL, cmdline4, NULL, NULL, TRUE,
data/freeciv-2.6.2/client/connectdlg_common.c:476:11:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
      && !CreateProcess(NULL, cmdline4, NULL, NULL, TRUE,
data/freeciv-2.6.2/client/gui-gtk-2.0/gui_main.c:1550:10:  [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.
  home = g_get_home_dir();
data/freeciv-2.6.2/client/gui-gtk-2.0/menu.c:1838:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if ((name = getenv("FREECIV_MENUS"))
data/freeciv-2.6.2/client/gui-gtk-3.0/menu.c:1830:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if ((name = getenv("FREECIV_MENUS"))
data/freeciv-2.6.2/client/gui-gtk-3.22/menu.c:1863:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if ((name = getenv("FREECIV_MENUS"))
data/freeciv-2.6.2/client/options.c:5143: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.
  name = getenv("FREECIV_OPT");
data/freeciv-2.6.2/client/options.c:5186: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.
  name = getenv("FREECIV_OPT");
data/freeciv-2.6.2/common/capstr.c:88: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.
  s = getenv("FREECIV_CAPS");
data/freeciv-2.6.2/common/packets.c:101:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char *s = getenv("FREECIV_COMPRESSION_LEVEL");
data/freeciv-2.6.2/dependencies/lua-5.3/src/lmathlib.c:28:18:  [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 l_rand()	random()
data/freeciv-2.6.2/dependencies/lua-5.3/src/lmathlib.c:29:20:  [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 l_srand(x)	srandom(x)
data/freeciv-2.6.2/dependencies/lua-5.3/src/lmathlib.c:33:20:  [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 l_srand(x)	srand(x)
data/freeciv-2.6.2/dependencies/lua-5.3/src/loadlib.c:294:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *path = getenv(nver);  /* use versioned name */
data/freeciv-2.6.2/dependencies/lua-5.3/src/loadlib.c:296: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.
    path = getenv(envname);  /* try unversioned name */
data/freeciv-2.6.2/dependencies/lua-5.3/src/loslib.c:131:33:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
#define lua_tmpnam(b,e)		{ e = (tmpnam(b) == NULL); }
data/freeciv-2.6.2/dependencies/lua-5.3/src/loslib.c:178: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.
  lua_pushstring(L, getenv(luaL_checkstring(L, 1)));  /* if NULL push nil */
data/freeciv-2.6.2/server/civserver.c:146:7:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  if (LoadLibrary("exchndl.dll") == NULL) {
data/freeciv-2.6.2/tools/ruledit/ruledit.cpp:63:7:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  if (LoadLibrary("exchndl.dll") == NULL) {
data/freeciv-2.6.2/utility/fciconv.c:72:19:  [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.
  data_encoding = getenv("FREECIV_DATA_ENCODING");
data/freeciv-2.6.2/utility/fciconv.c:79:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  local_encoding = getenv("FREECIV_LOCAL_ENCODING");
data/freeciv-2.6.2/utility/fciconv.c:109:23:  [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.
  internal_encoding = getenv("FREECIV_INTERNAL_ENCODING");
data/freeciv-2.6.2/utility/shared.c:733:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      char *env = getenv("HOME");
data/freeciv-2.6.2/utility/shared.c:777:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *env = getenv("USER");
data/freeciv-2.6.2/utility/shared.c:930:17:  [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 ((path = getenv(FREECIV_DATA_PATH)) && '\0' == path[0]) {
data/freeciv-2.6.2/utility/shared.c:936:33:  [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 (NULL == path && (path = getenv(FREECIV_PATH))) {
data/freeciv-2.6.2/utility/shared.c:980:17:  [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 ((path = getenv(FREECIV_SAVE_PATH)) && '\0' == path[0]) {
data/freeciv-2.6.2/utility/shared.c:986:33:  [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 (NULL == path && (path = getenv(FREECIV_PATH))) {
data/freeciv-2.6.2/utility/shared.c:1043:17:  [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 ((path = getenv(FREECIV_SCENARIO_PATH)) && '\0' == path[0]) {
data/freeciv-2.6.2/utility/shared.c:1049:33:  [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 (NULL == path && (path = getenv(FREECIV_PATH))) {
data/freeciv-2.6.2/utility/shared.c:1367: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.
  langname = getenv("LANG");
data/freeciv-2.6.2/utility/shared.c:1546:18:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *lang = getenv("LANG");
data/freeciv-2.6.2/utility/shared.c:1713:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *env = getenv("FREECIV_MULTICAST_GROUP");
data/freeciv-2.6.2/ai/default/aicity.c:1253: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(prod, acity->citizen_base, O_LAST * sizeof(*prod));
data/freeciv-2.6.2/ai/default/ailog.c:70: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[500];
data/freeciv-2.6.2/ai/default/ailog.c:71: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 buffer2[500];
data/freeciv-2.6.2/ai/default/ailog.c:109: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[500];
data/freeciv-2.6.2/ai/default/ailog.c:110: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 buffer2[500];
data/freeciv-2.6.2/ai/default/ailog.c:147: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[500];
data/freeciv-2.6.2/ai/default/ailog.c:148: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 buffer2[500];
data/freeciv-2.6.2/ai/default/aiplayer.c:80: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/freeciv-2.6.2/ai/default/aiplayer.c:123: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/freeciv-2.6.2/client/agents/agents.c:385:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&priv_agent->agent, agent, sizeof(struct agent));
data/freeciv-2.6.2/client/agents/agents.h: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 name[MAX_AGENT_NAME_LEN];
data/freeciv-2.6.2/client/agents/cma_core.c:484:3:  [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(self.name, "CMA");
data/freeciv-2.6.2/client/agents/cma_core.c:546: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(parameter, &my_parameter, sizeof(struct cm_parameter));
data/freeciv-2.6.2/client/agents/cma_core.c:562: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[SAVED_PARAMETER_SIZE];
data/freeciv-2.6.2/client/agents/cma_core.c:602: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[SAVED_PARAMETER_SIZE];
data/freeciv-2.6.2/client/agents/cma_fec.c:85:3:  [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(self.name, "CMA");
data/freeciv-2.6.2/client/agents/cma_fec.c:254: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 buffer[50];
data/freeciv-2.6.2/client/agents/cma_fec.c:288: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 buffer[50];
data/freeciv-2.6.2/client/agents/cma_fec.c:328: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[RESULT_COLUMNS][BUFFER_SIZE];
data/freeciv-2.6.2/client/agents/cma_fec.c:329: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 citizen_types[BUFFER_SIZE];
data/freeciv-2.6.2/client/agents/cma_fec.c:330: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 buffer[600];
data/freeciv-2.6.2/client/audio.c:135: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(&plugins[num_plugins_used], p, sizeof(struct audio_plugin));
data/freeciv-2.6.2/client/audio.c:418:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *files[MAX_ALT_AUDIO_FILES];
data/freeciv-2.6.2/client/audio.c:622: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 buffer[100];
data/freeciv-2.6.2/client/audio.h:30:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_AUDIO_NAME_LEN];
data/freeciv-2.6.2/client/audio.h:31: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 descr[MAX_AUDIO_DESCR_LEN];
data/freeciv-2.6.2/client/chatline_common.c:107: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 plain_text[MAX_LEN_MSG];
data/freeciv-2.6.2/client/chatline_common.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 featured_text[MAX_LEN_MSG];
data/freeciv-2.6.2/client/chatline_common.c:199:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/citydlg_common.c:226: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 cost_str[50];
data/freeciv-2.6.2/client/citydlg_common.c:263: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 time_str[50], *cost_str;
data/freeciv-2.6.2/client/citydlg_common.c:789:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[512];
data/freeciv-2.6.2/client/citydlg_common.c:910: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 buf2[512];
data/freeciv-2.6.2/client/citydlg_common.c:994: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 buf2[512];
data/freeciv-2.6.2/client/cityrepdata.c:77: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:91: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[4];
data/freeciv-2.6.2/client/cityrepdata.c:106: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[32];
data/freeciv-2.6.2/client/cityrepdata.c:123: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[32];
data/freeciv-2.6.2/client/cityrepdata.c:141: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:153: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:164: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[20];
data/freeciv-2.6.2/client/cityrepdata.c:181: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:201: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:215: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:229: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:254: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:270: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[32];
data/freeciv-2.6.2/client/cityrepdata.c:307: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[32];
data/freeciv-2.6.2/client/cityrepdata.c:345: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:361: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:377: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[32];
data/freeciv-2.6.2/client/cityrepdata.c:393: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:406: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:419: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:432: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[32];
data/freeciv-2.6.2/client/cityrepdata.c:448: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:466: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:479: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:493: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/freeciv-2.6.2/client/cityrepdata.c:494: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[32];
data/freeciv-2.6.2/client/cityrepdata.c:517: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:530: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[16];
data/freeciv-2.6.2/client/cityrepdata.c:556: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:569: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[192];
data/freeciv-2.6.2/client/cityrepdata.c:597: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 bufone[8];
data/freeciv-2.6.2/client/cityrepdata.c:598: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 buftwo[8];
data/freeciv-2.6.2/client/cityrepdata.c:599: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[32];
data/freeciv-2.6.2/client/cityrepdata.c:632: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:645: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:658: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:674: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[8];
data/freeciv-2.6.2/client/cityrepdata.c:825: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 sp_explanation[SP_MAX][128];
data/freeciv-2.6.2/client/cityrepdata.c:826: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 sp_explanations[SP_MAX*128];
data/freeciv-2.6.2/client/cityrepdata.c:861: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 sp_summary[128];
data/freeciv-2.6.2/client/cityrepdata.c:877:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, base_city_report_specs,
data/freeciv-2.6.2/client/cityrepdata.c:931: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(dat->val.string_value, left, len);
data/freeciv-2.6.2/client/client_main.c:135: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 forced_tileset_name[512] = "\0";
data/freeciv-2.6.2/client/client_main.c:136: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 sound_plugin_name[512] = "\0";
data/freeciv-2.6.2/client/client_main.c:137: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 sound_set_name[512] = "\0";
data/freeciv-2.6.2/client/client_main.c:138: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 music_set_name[512] = "\0";
data/freeciv-2.6.2/client/client_main.c:139: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 server_host[512] = "\0";
data/freeciv-2.6.2/client/client_main.c:140: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 user_name[512] = "\0";
data/freeciv-2.6.2/client/client_main.c:141: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 password[MAX_LEN_PASSWORD] = "\0";
data/freeciv-2.6.2/client/client_main.c:142: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 metaserver[512] = "\0";
data/freeciv-2.6.2/client/client_main.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(dst, out, len);
data/freeciv-2.6.2/client/client_main.c:583: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[sizeof(gui_options.default_user_name)];
data/freeciv-2.6.2/client/client_main.h:72: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.
extern char sound_plugin_name[512];
data/freeciv-2.6.2/client/client_main.h:73: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.
extern char sound_set_name[512];
data/freeciv-2.6.2/client/client_main.h:74: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.
extern char music_set_name[512];
data/freeciv-2.6.2/client/client_main.h:75: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.
extern char server_host[512];
data/freeciv-2.6.2/client/client_main.h:76: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.
extern char user_name[512];
data/freeciv-2.6.2/client/client_main.h:77: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.
extern char password[MAX_LEN_PASSWORD];
data/freeciv-2.6.2/client/client_main.h:78: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.
extern char metaserver[512];
data/freeciv-2.6.2/client/climisc.c:945: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 plain_text[MAX_LEN_MSG];
data/freeciv-2.6.2/client/climisc.c:1071: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[MAX_LEN_MSG];
data/freeciv-2.6.2/client/climisc.c:1078: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 colored_text[MAX_LEN_MSG];
data/freeciv-2.6.2/client/climisc.c:1145: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[MAX_LEN_MSG];
data/freeciv-2.6.2/client/climisc.c:1486: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 str[MAX_LEN_MAPDEF];
data/freeciv-2.6.2/client/climisc.c:1487: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 mi_map[MAPIMG_LAYER_COUNT + 1];
data/freeciv-2.6.2/client/climisc.c:1544: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 mapimgfile[512];
data/freeciv-2.6.2/client/climisc.h:82: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 descr[MAX_LEN_NAME + 40];
data/freeciv-2.6.2/client/clinet.c:101: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.
extern char forced_tileset_name[512];
data/freeciv-2.6.2/client/clinet.c:125: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 reason[256];
data/freeciv-2.6.2/client/clinet.c:490: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 errbuf[512];
data/freeciv-2.6.2/client/clinet.c:543:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/connectdlg_common.c:84: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 challenge_fullname[MAX_LEN_PATH];
data/freeciv-2.6.2/client/connectdlg_common.c:223:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/connectdlg_common.c:231: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 savesdir[MAX_LEN_PATH];
data/freeciv-2.6.2/client/connectdlg_common.c:232: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 scensdir[MAX_LEN_PATH];
data/freeciv-2.6.2/client/connectdlg_common.c:233: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 options[512];
data/freeciv-2.6.2/client/connectdlg_common.c:236: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 cmdline1[512];
data/freeciv-2.6.2/client/connectdlg_common.c:237: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 cmdline2[512];
data/freeciv-2.6.2/client/connectdlg_common.c:239: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 cmdline3[512];
data/freeciv-2.6.2/client/connectdlg_common.c:240: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 cmdline4[512];
data/freeciv-2.6.2/client/connectdlg_common.c:241:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char logcmdline[512];
data/freeciv-2.6.2/client/connectdlg_common.c:242: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 scriptcmdline[512];
data/freeciv-2.6.2/client/connectdlg_common.c:243:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char savefilecmdline[512];
data/freeciv-2.6.2/client/connectdlg_common.c:244: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 savescmdline[512];
data/freeciv-2.6.2/client/connectdlg_common.c:245: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 scenscmdline[512];
data/freeciv-2.6.2/client/connectdlg_common.c:279: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 *argv[max_nargs + 1];
data/freeciv-2.6.2/client/connectdlg_common.c:280: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 port_buf[32];
data/freeciv-2.6.2/client/connectdlg_common.c:281: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 dbg_lvl_buf[32]; /* Do not move this inside the block where it gets filled,
data/freeciv-2.6.2/client/connectdlg_common.c:350: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).
        fd = open(logfile, O_WRONLY | O_CREAT | O_APPEND, 0644);
data/freeciv-2.6.2/client/connectdlg_common.c:364: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).
      fd = open("/dev/null", O_RDONLY);
data/freeciv-2.6.2/client/connectdlg_common.c:552: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 topobuf[16];
data/freeciv-2.6.2/client/connectdlg_common.c:669: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 *rulesets[packet->ruleset_count];
data/freeciv-2.6.2/client/connectdlg_common.c:696: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[4096];
data/freeciv-2.6.2/client/editor.c:1567:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char name[MAX_LEN_NAME];
data/freeciv-2.6.2/client/global_worklist.c:51:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/client/global_worklist.c:339: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 path_str[1024];
data/freeciv-2.6.2/client/global_worklist.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 path_str[1024];
data/freeciv-2.6.2/client/gui-gtk-2.0/action_dialog.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 buf[1024];
data/freeciv-2.6.2/client/gui-gtk-2.0/action_dialog.c:890: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/freeciv-2.6.2/client/gui-gtk-2.0/chatline.c:150:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[MAX_LEN_MSG];
data/freeciv-2.6.2/client/gui-gtk-2.0/chatline.c:289: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 *name[MAX_MATCHES];
data/freeciv-2.6.2/client/gui-gtk-2.0/chatline.c:290: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[MAX_LEN_NAME * MAX_MATCHES];
data/freeciv-2.6.2/client/gui-gtk-2.0/chatline.c:419: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[MAX_LEN_MSG];
data/freeciv-2.6.2/client/gui-gtk-2.0/chatline.c:433: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 fg_color_text[32], bg_color_text[32];
data/freeciv-2.6.2/client/gui-gtk-2.0/chatline.c:471: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[MAX_LEN_MSG];
data/freeciv-2.6.2/client/gui-gtk-2.0/chatline.c:916: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 timebuf[64];
data/freeciv-2.6.2/client/gui-gtk-2.0/choice_dialog.c:47: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 button_name[512];
data/freeciv-2.6.2/client/gui-gtk-2.0/choice_dialog.c:158:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[512];
data/freeciv-2.6.2/client/gui-gtk-2.0/citizensinfo.c:113: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[8];
data/freeciv-2.6.2/client/gui-gtk-2.0/citydlg.c:613: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[1024];
data/freeciv-2.6.2/client/gui-gtk-2.0/citydlg.c:684: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.
  static const char *output_label[NUM_INFO_FIELDS] = { N_("Food:"),
data/freeciv-2.6.2/client/gui-gtk-2.0/citydlg.c:1155: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.
  static const char *misc_whichtab_label[NUM_PAGES] = {
data/freeciv-2.6.2/client/gui-gtk-2.0/citydlg.c:1538: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[NUM_INFO_FIELDS][512];
data/freeciv-2.6.2/client/gui-gtk-2.0/citydlg.c:1678: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], buf2[200];
data/freeciv-2.6.2/client/gui-gtk-2.0/citydlg.c:2630: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/freeciv-2.6.2/client/gui-gtk-2.0/cityrep.c:211:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/freeciv-2.6.2/client/gui-gtk-2.0/cityrep.c:335: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 *row[4];
data/freeciv-2.6.2/client/gui-gtk-2.0/cityrep.c:336: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[4][64];
data/freeciv-2.6.2/client/gui-gtk-2.0/cityrep.c:339: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 *markup[3] = {
data/freeciv-2.6.2/client/gui-gtk-2.0/cityrep.c:398: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 txt[256];
data/freeciv-2.6.2/client/gui-gtk-2.0/cityrep.c:1129: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)[128];
data/freeciv-2.6.2/client/gui-gtk-2.0/cma_fe.c:485: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[BUFFER_SIZE];
data/freeciv-2.6.2/client/gui-gtk-2.0/dialogs.c:557:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[4096];
data/freeciv-2.6.2/client/gui-gtk-2.0/dialogs.c:1417:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-gtk-2.0/dialogs.c:1455:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-gtk-2.0/diplodlg.c:635: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 plr_buf[4 * MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-gtk-2.0/diplodlg.c:915: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[128];
data/freeciv-2.6.2/client/gui-gtk-2.0/editgui.c:1180: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[128];
data/freeciv-2.6.2/client/gui-gtk-2.0/editgui.c:1517: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/freeciv-2.6.2/client/gui-gtk-2.0/editgui.c:1549: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 status[256];
data/freeciv-2.6.2/client/gui-gtk-2.0/editprop.c:1066: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(pv_copy->data.v_pointer, pv->data.v_pointer, size);
data/freeciv-2.6.2/client/gui-gtk-2.0/editprop.c:1720: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(pv->data.v_built, pcity->built, sizeof(pcity->built));
data/freeciv-2.6.2/client/gui-gtk-2.0/editprop.c:3059: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/freeciv-2.6.2/client/gui-gtk-2.0/editprop.c:3142:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char agebuf[16];
data/freeciv-2.6.2/client/gui-gtk-2.0/editprop.c:3267:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char namebuf[128];
data/freeciv-2.6.2/client/gui-gtk-2.0/editprop.c:5157: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[128], *p;
data/freeciv-2.6.2/client/gui-gtk-2.0/editprop.c:6287: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 *or_clauses[PF_MAX_CLAUSES], *and_clauses[PF_MAX_CLAUSES];
data/freeciv-2.6.2/client/gui-gtk-2.0/gamedlgs.c:77: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[64];
data/freeciv-2.6.2/client/gui-gtk-2.0/gotodlg.c:337: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 *descriptions[max_cities+1];
data/freeciv-2.6.2/client/gui-gtk-2.0/gui_main.c:1024: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/freeciv-2.6.2/client/gui-gtk-2.0/gui_stuff.c:1026: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 str[512];
data/freeciv-2.6.2/client/gui-gtk-2.0/gui_stuff.c:1048: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[64];
data/freeciv-2.6.2/client/gui-gtk-2.0/happiness.c:124: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[1024];
data/freeciv-2.6.2/client/gui-gtk-2.0/happiness.c:198: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.
  static const char *happiness_label_str[NUM_HAPPINESS_MODIFIERS] = {
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:97:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *help_ilabel_name[6] =
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:100:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *help_wlabel_name[6] =
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:103:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *help_ulabel_name[5][5] =
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:112:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *help_tlabel_name[2][5] =
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:118:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *help_elabel_name[6] =
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:729: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[8192];
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:736: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 req_buf[512];
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:738: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, "%d", impr_build_shield_cost(imp));
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:740: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, "%d", imp->upkeep);
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:777: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[8192];
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:784: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 req_buf[512];
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:786: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, "%d", impr_build_shield_cost(imp));
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:835: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[8192];
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:841: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, "%d", utype_build_shield_cost(utype));
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:843: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, "%d", utype->attack_strength);
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:845: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, "%d", utype->defense_strength);
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:849: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, "%d", utype->firepower);
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:851: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, "%d", utype->hp);
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:855: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, "%d", (int)sqrt((double)utype->vision_radius_sq));
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:933: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[8192];
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1144: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[8192];
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1159:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(buf, "%d/%d.%d",
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1164: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, "%d/%d/%d",
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1185:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (buf + strlen (buf), _("(none)"));
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1258: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[8192];
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1273:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, _("%d MP"), pextra->build_time);
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1276:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, _("Terrain specific"));
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1332: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[8192];
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1352: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[8192];
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1371: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[4096];
data/freeciv-2.6.2/client/gui-gtk-2.0/inteldlg.c:380:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char tbuf[256];
data/freeciv-2.6.2/client/gui-gtk-2.0/luaconsole.c:466: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 timebuf[64];
data/freeciv-2.6.2/client/gui-gtk-2.0/menu.c:1835: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 filename[256];
data/freeciv-2.6.2/client/gui-gtk-2.0/menu.c:2073: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 acttext[128], irrtext[128], mintext[128], transtext[128];
data/freeciv-2.6.2/client/gui-gtk-2.0/menu.c:2121: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 road_buf[500];
data/freeciv-2.6.2/client/gui-gtk-2.0/menu.c:2330: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 road_item[500];
data/freeciv-2.6.2/client/gui-gtk-2.0/menu.c:2533: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/freeciv-2.6.2/client/gui-gtk-2.0/optiondlg.c:942:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char fg_color_text[32], bg_color_text[32];
data/freeciv-2.6.2/client/gui-gtk-2.0/pages.c:167: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 msgbuf[128];
data/freeciv-2.6.2/client/gui-gtk-2.0/pages.c:644: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(portstr);
data/freeciv-2.6.2/client/gui-gtk-2.0/pages.c:647: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[20];
data/freeciv-2.6.2/client/gui-gtk-2.0/pages.c:943: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 errbuf [512];
data/freeciv-2.6.2/client/gui-gtk-2.0/pages.c:950: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).
    server_port = atoi(gtk_entry_get_text(GTK_ENTRY(network_port)));
data/freeciv-2.6.2/client/gui-gtk-2.0/pages.c:1043: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 portstr[32];
data/freeciv-2.6.2/client/gui-gtk-2.0/pages.c:1084: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/freeciv-2.6.2/client/gui-gtk-2.0/pages.c:1677: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[4096] = "";
data/freeciv-2.6.2/client/gui-gtk-2.0/pages.c:2110: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[2 * MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-gtk-2.0/pages.c:2269: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 name[MAX_LEN_NAME + 8];
data/freeciv-2.6.2/client/gui-gtk-2.0/pages.c:2898: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 vername[50];
data/freeciv-2.6.2/client/gui-gtk-2.0/pages.c:3395: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 msg[512];
data/freeciv-2.6.2/client/gui-gtk-2.0/repodlgs.c:795: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/freeciv-2.6.2/client/gui-gtk-2.0/repodlgs.c:884: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/freeciv-2.6.2/client/gui-gtk-2.0/repodlgs.c:1527: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[1024];
data/freeciv-2.6.2/client/gui-gtk-2.0/soundset_dlg.c:53: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/freeciv-2.6.2/client/gui-gtk-2.0/soundset_dlg.c:106: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/freeciv-2.6.2/client/gui-gtk-2.0/sprite.c:233: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.
  static const char *ext[MAX_FILE_EXTENSIONS + 2] =
data/freeciv-2.6.2/client/gui-gtk-2.0/theme_dlg.c:48: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/freeciv-2.6.2/client/gui-gtk-2.0/themes.c:78: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[strlen(directory) + strlen(theme_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-2.0/themes.c:155: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[strlen(dir_name) + strlen("/themes/gui-gtk-2.0") + 1];
data/freeciv-2.6.2/client/gui-gtk-2.0/themes.c:170: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[strlen(home_dir) + 16];
data/freeciv-2.6.2/client/gui-gtk-2.0/themes.c:204:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[strlen(directory) + strlen(entry->d_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-2.0/tileset_dlg.c:31: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.
extern char forced_tileset_name[512];
data/freeciv-2.6.2/client/gui-gtk-2.0/tileset_dlg.c:56: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/freeciv-2.6.2/client/gui-gtk-2.0/unitselect.c:94:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *usdlg_col_titles[USDLG_COLUMNS_ALL] = {
data/freeciv-2.6.2/client/gui-gtk-2.0/unitselect.c:683: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[128];
data/freeciv-2.6.2/client/gui-gtk-2.0/unitselect.c:735: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[128] = "";
data/freeciv-2.6.2/client/gui-gtk-2.0/unitselect.c:771: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[248] = "", buf2[248] = "";
data/freeciv-2.6.2/client/gui-gtk-2.0/voteinfo_bar.c:229: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], status[1024], ordstr[128], color[32];
data/freeciv-2.6.2/client/gui-gtk-2.0/wldlg.c:968: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 *row[4];
data/freeciv-2.6.2/client/gui-gtk-2.0/wldlg.c:969: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[4][64];
data/freeciv-2.6.2/client/gui-gtk-3.0/action_dialog.c:293: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/freeciv-2.6.2/client/gui-gtk-3.0/action_dialog.c:910: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/freeciv-2.6.2/client/gui-gtk-3.0/chatline.c:150:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[MAX_LEN_MSG];
data/freeciv-2.6.2/client/gui-gtk-3.0/chatline.c:289: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 *name[MAX_MATCHES];
data/freeciv-2.6.2/client/gui-gtk-3.0/chatline.c:290: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[MAX_LEN_NAME * MAX_MATCHES];
data/freeciv-2.6.2/client/gui-gtk-3.0/chatline.c:419: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[MAX_LEN_MSG];
data/freeciv-2.6.2/client/gui-gtk-3.0/chatline.c:477: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[MAX_LEN_MSG];
data/freeciv-2.6.2/client/gui-gtk-3.0/chatline.c:899: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 timebuf[64];
data/freeciv-2.6.2/client/gui-gtk-3.0/choice_dialog.c:49: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 button_name[512];
data/freeciv-2.6.2/client/gui-gtk-3.0/choice_dialog.c:163:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[512];
data/freeciv-2.6.2/client/gui-gtk-3.0/citizensinfo.c:113: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[8];
data/freeciv-2.6.2/client/gui-gtk-3.0/citydlg.c:654: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[1024];
data/freeciv-2.6.2/client/gui-gtk-3.0/citydlg.c:731: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.
  static const char *output_label[NUM_INFO_FIELDS] = { N_("Food:"),
data/freeciv-2.6.2/client/gui-gtk-3.0/citydlg.c:1358: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.
  static const char *misc_whichtab_label[NUM_PAGES] = {
data/freeciv-2.6.2/client/gui-gtk-3.0/citydlg.c:1750: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[NUM_INFO_FIELDS][512];
data/freeciv-2.6.2/client/gui-gtk-3.0/citydlg.c:1876: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], buf2[200];
data/freeciv-2.6.2/client/gui-gtk-3.0/citydlg.c:3005: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/freeciv-2.6.2/client/gui-gtk-3.0/cityrep.c:211:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/freeciv-2.6.2/client/gui-gtk-3.0/cityrep.c:335: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 *row[4];
data/freeciv-2.6.2/client/gui-gtk-3.0/cityrep.c:336: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[4][64];
data/freeciv-2.6.2/client/gui-gtk-3.0/cityrep.c:339: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 *markup[3] = {
data/freeciv-2.6.2/client/gui-gtk-3.0/cityrep.c:398: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 txt[256];
data/freeciv-2.6.2/client/gui-gtk-3.0/cityrep.c:1139: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)[128];
data/freeciv-2.6.2/client/gui-gtk-3.0/cma_fe.c:518: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[BUFFER_SIZE];
data/freeciv-2.6.2/client/gui-gtk-3.0/dialogs.c:566:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[4096];
data/freeciv-2.6.2/client/gui-gtk-3.0/dialogs.c:1428:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-gtk-3.0/dialogs.c:1466:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-gtk-3.0/diplodlg.c:636: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 plr_buf[4 * MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-gtk-3.0/diplodlg.c:926: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[128];
data/freeciv-2.6.2/client/gui-gtk-3.0/editgui.c:1181: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[128];
data/freeciv-2.6.2/client/gui-gtk-3.0/editgui.c:1539: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/freeciv-2.6.2/client/gui-gtk-3.0/editgui.c:1571: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 status[256];
data/freeciv-2.6.2/client/gui-gtk-3.0/editprop.c:1070: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(pv_copy->data.v_pointer, pv->data.v_pointer, size);
data/freeciv-2.6.2/client/gui-gtk-3.0/editprop.c:1724: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(pv->data.v_built, pcity->built, sizeof(pcity->built));
data/freeciv-2.6.2/client/gui-gtk-3.0/editprop.c:3093: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/freeciv-2.6.2/client/gui-gtk-3.0/editprop.c:3176:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char agebuf[16];
data/freeciv-2.6.2/client/gui-gtk-3.0/editprop.c:3301:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char namebuf[128];
data/freeciv-2.6.2/client/gui-gtk-3.0/editprop.c:5251: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[128], *p;
data/freeciv-2.6.2/client/gui-gtk-3.0/editprop.c:6384: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 *or_clauses[PF_MAX_CLAUSES], *and_clauses[PF_MAX_CLAUSES];
data/freeciv-2.6.2/client/gui-gtk-3.0/gamedlgs.c:75: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[64];
data/freeciv-2.6.2/client/gui-gtk-3.0/gotodlg.c:341: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 *descriptions[max_cities+1];
data/freeciv-2.6.2/client/gui-gtk-3.0/gui_main.c:1093: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/freeciv-2.6.2/client/gui-gtk-3.0/happiness.c:125: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[1024];
data/freeciv-2.6.2/client/gui-gtk-3.0/happiness.c:205: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[700];
data/freeciv-2.6.2/client/gui-gtk-3.0/happiness.c:207: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.
  static const char *happiness_label_str[NUM_HAPPINESS_MODIFIERS] = {
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:99:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *help_ilabel_name[6] =
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:102:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *help_wlabel_name[6] =
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:105:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *help_ulabel_name[5][5] =
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:114:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *help_tlabel_name[2][5] =
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:120:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *help_elabel_name[6] =
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.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 buf[8192];
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:752: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 req_buf[512];
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:754: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, "%d", impr_build_shield_cost(imp));
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:756: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, "%d", imp->upkeep);
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:800: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[8192];
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:807: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 req_buf[512];
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:809: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, "%d", impr_build_shield_cost(imp));
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:865: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[8192];
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:873: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, "%d", utype_build_shield_cost(utype));
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:875: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, "%d", utype->attack_strength);
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:877: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, "%d", utype->defense_strength);
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:881: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, "%d", utype->firepower);
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:883: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, "%d", utype->hp);
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:887: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, "%d", (int)sqrt((double)utype->vision_radius_sq));
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:960: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[8192];
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1174: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[8192];
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1189:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(buf, "%d/%d.%d",
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1194: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, "%d/%d/%d",
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1215:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (buf + strlen (buf), _("(none)"));
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1288: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[8192];
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1303:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, _("%d MP"), pextra->build_time);
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1306:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, _("Terrain specific"));
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1362: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[8192];
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1382: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[8192];
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1401: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[4096];
data/freeciv-2.6.2/client/gui-gtk-3.0/inteldlg.c:374:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char tbuf[256];
data/freeciv-2.6.2/client/gui-gtk-3.0/luaconsole.c:475: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 timebuf[64];
data/freeciv-2.6.2/client/gui-gtk-3.0/menu.c:1827: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 filename[256];
data/freeciv-2.6.2/client/gui-gtk-3.0/menu.c:2061: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 acttext[128], irrtext[128], mintext[128], transtext[128];
data/freeciv-2.6.2/client/gui-gtk-3.0/menu.c:2109: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 road_buf[500];
data/freeciv-2.6.2/client/gui-gtk-3.0/menu.c:2318: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 road_item[500];
data/freeciv-2.6.2/client/gui-gtk-3.0/menu.c:2521: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/freeciv-2.6.2/client/gui-gtk-3.0/pages.c:173: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 msgbuf[128];
data/freeciv-2.6.2/client/gui-gtk-3.0/pages.c:719: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(portstr);
data/freeciv-2.6.2/client/gui-gtk-3.0/pages.c:722: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[20];
data/freeciv-2.6.2/client/gui-gtk-3.0/pages.c:1025:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char errbuf [512];
data/freeciv-2.6.2/client/gui-gtk-3.0/pages.c:1032: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).
    server_port = atoi(gtk_entry_get_text(GTK_ENTRY(network_port)));
data/freeciv-2.6.2/client/gui-gtk-3.0/pages.c:1125: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 portstr[32];
data/freeciv-2.6.2/client/gui-gtk-3.0/pages.c:1166: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/freeciv-2.6.2/client/gui-gtk-3.0/pages.c:1748: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[4096] = "";
data/freeciv-2.6.2/client/gui-gtk-3.0/pages.c:2181: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[2 * MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-gtk-3.0/pages.c:2340: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 name[MAX_LEN_NAME + 8];
data/freeciv-2.6.2/client/gui-gtk-3.0/pages.c:2974: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 vername[50];
data/freeciv-2.6.2/client/gui-gtk-3.0/pages.c:3529: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 msg[512];
data/freeciv-2.6.2/client/gui-gtk-3.0/repodlgs.c:826: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/freeciv-2.6.2/client/gui-gtk-3.0/repodlgs.c:919: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/freeciv-2.6.2/client/gui-gtk-3.0/repodlgs.c:1563: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[1024];
data/freeciv-2.6.2/client/gui-gtk-3.0/soundset_dlg.c:58: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/freeciv-2.6.2/client/gui-gtk-3.0/soundset_dlg.c:112: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/freeciv-2.6.2/client/gui-gtk-3.0/sprite.c:118: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.
  static const char *ext[MAX_FILE_EXTENSIONS + 2] =
data/freeciv-2.6.2/client/gui-gtk-3.0/theme_dlg.c:48: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/freeciv-2.6.2/client/gui-gtk-3.0/themes.c:44: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[strlen(directory) + strlen(theme_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-3.0/themes.c:118: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[strlen(dir_name) + strlen("/themes/gui-gtk-3.0") + 1];
data/freeciv-2.6.2/client/gui-gtk-3.0/themes.c:136: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[strlen(home_dir) + 16];
data/freeciv-2.6.2/client/gui-gtk-3.0/themes.c:170: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[strlen(directory) + strlen(entry->d_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-3.0/tileset_dlg.c:35: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.
extern char forced_tileset_name[512];
data/freeciv-2.6.2/client/gui-gtk-3.0/tileset_dlg.c:60:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/freeciv-2.6.2/client/gui-gtk-3.0/unitselect.c:94:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *usdlg_col_titles[USDLG_COLUMNS_ALL] = {
data/freeciv-2.6.2/client/gui-gtk-3.0/unitselect.c:684: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[128];
data/freeciv-2.6.2/client/gui-gtk-3.0/unitselect.c:734: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[128] = "";
data/freeciv-2.6.2/client/gui-gtk-3.0/unitselect.c:788: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[248] = "";
data/freeciv-2.6.2/client/gui-gtk-3.0/unitselect.c:789: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 buf2[248] = "";
data/freeciv-2.6.2/client/gui-gtk-3.0/unitselextradlg.c:52: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[248] = "";
data/freeciv-2.6.2/client/gui-gtk-3.0/unitselextradlg.c:53: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 buf2[248] = "";
data/freeciv-2.6.2/client/gui-gtk-3.0/voteinfo_bar.c:219: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], status[1024], ordstr[128], color[32];
data/freeciv-2.6.2/client/gui-gtk-3.0/wldlg.c:971: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 *row[4];
data/freeciv-2.6.2/client/gui-gtk-3.0/wldlg.c:972: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[4][64];
data/freeciv-2.6.2/client/gui-gtk-3.22/action_dialog.c:293: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/freeciv-2.6.2/client/gui-gtk-3.22/action_dialog.c:904: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/freeciv-2.6.2/client/gui-gtk-3.22/chatline.c:150:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[MAX_LEN_MSG];
data/freeciv-2.6.2/client/gui-gtk-3.22/chatline.c:289: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 *name[MAX_MATCHES];
data/freeciv-2.6.2/client/gui-gtk-3.22/chatline.c:290: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[MAX_LEN_NAME * MAX_MATCHES];
data/freeciv-2.6.2/client/gui-gtk-3.22/chatline.c:419: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[MAX_LEN_MSG];
data/freeciv-2.6.2/client/gui-gtk-3.22/chatline.c:477: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[MAX_LEN_MSG];
data/freeciv-2.6.2/client/gui-gtk-3.22/chatline.c:899: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 timebuf[64];
data/freeciv-2.6.2/client/gui-gtk-3.22/choice_dialog.c:49: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 button_name[512];
data/freeciv-2.6.2/client/gui-gtk-3.22/choice_dialog.c:163:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[512];
data/freeciv-2.6.2/client/gui-gtk-3.22/citizensinfo.c:113: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[8];
data/freeciv-2.6.2/client/gui-gtk-3.22/citydlg.c:656: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[1024];
data/freeciv-2.6.2/client/gui-gtk-3.22/citydlg.c:733: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.
  static const char *output_label[NUM_INFO_FIELDS] = { N_("Food:"),
data/freeciv-2.6.2/client/gui-gtk-3.22/citydlg.c:1397: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.
  static const char *misc_whichtab_label[NUM_PAGES] = {
data/freeciv-2.6.2/client/gui-gtk-3.22/citydlg.c:1802: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[NUM_INFO_FIELDS][512];
data/freeciv-2.6.2/client/gui-gtk-3.22/citydlg.c:1938: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], buf2[200];
data/freeciv-2.6.2/client/gui-gtk-3.22/citydlg.c:3037: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/freeciv-2.6.2/client/gui-gtk-3.22/cityrep.c:211:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[64];
data/freeciv-2.6.2/client/gui-gtk-3.22/cityrep.c:335: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 *row[4];
data/freeciv-2.6.2/client/gui-gtk-3.22/cityrep.c:336: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[4][64];
data/freeciv-2.6.2/client/gui-gtk-3.22/cityrep.c:339: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 *markup[3] = {
data/freeciv-2.6.2/client/gui-gtk-3.22/cityrep.c:398: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 txt[256];
data/freeciv-2.6.2/client/gui-gtk-3.22/cityrep.c:1139: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)[128];
data/freeciv-2.6.2/client/gui-gtk-3.22/cma_fe.c:510: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[BUFFER_SIZE];
data/freeciv-2.6.2/client/gui-gtk-3.22/dialogs.c:560:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[4096];
data/freeciv-2.6.2/client/gui-gtk-3.22/dialogs.c:1422:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-gtk-3.22/dialogs.c:1460:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-gtk-3.22/diplodlg.c:637: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 plr_buf[4 * MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-gtk-3.22/diplodlg.c:925: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[128];
data/freeciv-2.6.2/client/gui-gtk-3.22/editgui.c:1180: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[128];
data/freeciv-2.6.2/client/gui-gtk-3.22/editgui.c:1538: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/freeciv-2.6.2/client/gui-gtk-3.22/editgui.c:1570: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 status[256];
data/freeciv-2.6.2/client/gui-gtk-3.22/editprop.c:1070: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(pv_copy->data.v_pointer, pv->data.v_pointer, size);
data/freeciv-2.6.2/client/gui-gtk-3.22/editprop.c:1724: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(pv->data.v_built, pcity->built, sizeof(pcity->built));
data/freeciv-2.6.2/client/gui-gtk-3.22/editprop.c:3093: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/freeciv-2.6.2/client/gui-gtk-3.22/editprop.c:3176:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char agebuf[16];
data/freeciv-2.6.2/client/gui-gtk-3.22/editprop.c:3301:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char namebuf[128];
data/freeciv-2.6.2/client/gui-gtk-3.22/editprop.c:5249: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[128], *p;
data/freeciv-2.6.2/client/gui-gtk-3.22/editprop.c:6382: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 *or_clauses[PF_MAX_CLAUSES], *and_clauses[PF_MAX_CLAUSES];
data/freeciv-2.6.2/client/gui-gtk-3.22/gamedlgs.c:75: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[64];
data/freeciv-2.6.2/client/gui-gtk-3.22/gotodlg.c:341: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 *descriptions[max_cities+1];
data/freeciv-2.6.2/client/gui-gtk-3.22/gui_main.c:1111: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/freeciv-2.6.2/client/gui-gtk-3.22/happiness.c:126: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[1024];
data/freeciv-2.6.2/client/gui-gtk-3.22/happiness.c:206: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[700];
data/freeciv-2.6.2/client/gui-gtk-3.22/happiness.c:208: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.
  static const char *happiness_label_str[NUM_HAPPINESS_MODIFIERS] = {
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:98:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *help_ilabel_name[6] =
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:101:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *help_wlabel_name[6] =
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:104:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *help_ulabel_name[5][5] =
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:113:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *help_tlabel_name[2][5] =
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:119:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *help_elabel_name[6] =
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:762: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[8192];
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:769: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 req_buf[512];
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:771: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, "%d", impr_build_shield_cost(imp));
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:773: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, "%d", imp->upkeep);
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:812: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[8192];
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:819: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 req_buf[512];
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:821: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, "%d", impr_build_shield_cost(imp));
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:873: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[8192];
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:879: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, "%d", utype_build_shield_cost(utype));
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:881: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, "%d", utype->attack_strength);
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:883: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, "%d", utype->defense_strength);
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:887: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, "%d", utype->firepower);
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:889: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, "%d", utype->hp);
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:893: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, "%d", (int)sqrt((double)utype->vision_radius_sq));
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:962: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[8192];
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1171: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[8192];
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1186:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(buf, "%d/%d.%d",
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1191: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, "%d/%d/%d",
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1212:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (buf + strlen (buf), _("(none)"));
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1285: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[8192];
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1300:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, _("%d MP"), pextra->build_time);
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1303:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, _("Terrain specific"));
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1359: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[8192];
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1379: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[8192];
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1398: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[4096];
data/freeciv-2.6.2/client/gui-gtk-3.22/inteldlg.c:373:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char tbuf[256];
data/freeciv-2.6.2/client/gui-gtk-3.22/luaconsole.c:476: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 timebuf[64];
data/freeciv-2.6.2/client/gui-gtk-3.22/menu.c:1835:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[512];
data/freeciv-2.6.2/client/gui-gtk-3.22/menu.c:1860: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 filename[256];
data/freeciv-2.6.2/client/gui-gtk-3.22/menu.c:2083: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 acttext[128], irrtext[128], mintext[128], transtext[128];
data/freeciv-2.6.2/client/gui-gtk-3.22/menu.c:2125: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 road_buf[500];
data/freeciv-2.6.2/client/gui-gtk-3.22/menu.c:2334: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 road_item[500];
data/freeciv-2.6.2/client/gui-gtk-3.22/menu.c:2523: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/freeciv-2.6.2/client/gui-gtk-3.22/pages.c:173: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 msgbuf[128];
data/freeciv-2.6.2/client/gui-gtk-3.22/pages.c:720: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(portstr);
data/freeciv-2.6.2/client/gui-gtk-3.22/pages.c:723: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[20];
data/freeciv-2.6.2/client/gui-gtk-3.22/pages.c:1026: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 errbuf [512];
data/freeciv-2.6.2/client/gui-gtk-3.22/pages.c:1033: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).
    server_port = atoi(gtk_entry_get_text(GTK_ENTRY(network_port)));
data/freeciv-2.6.2/client/gui-gtk-3.22/pages.c:1126: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 portstr[32];
data/freeciv-2.6.2/client/gui-gtk-3.22/pages.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 buf[256];
data/freeciv-2.6.2/client/gui-gtk-3.22/pages.c:1749: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[4096] = "";
data/freeciv-2.6.2/client/gui-gtk-3.22/pages.c:2181: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[2 * MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-gtk-3.22/pages.c:2340: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 name[MAX_LEN_NAME + 8];
data/freeciv-2.6.2/client/gui-gtk-3.22/pages.c:2973: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 vername[50];
data/freeciv-2.6.2/client/gui-gtk-3.22/pages.c:3527: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 msg[512];
data/freeciv-2.6.2/client/gui-gtk-3.22/repodlgs.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 buf[256];
data/freeciv-2.6.2/client/gui-gtk-3.22/repodlgs.c:918: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/freeciv-2.6.2/client/gui-gtk-3.22/repodlgs.c:1563: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[1024];
data/freeciv-2.6.2/client/gui-gtk-3.22/soundset_dlg.c:58: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/freeciv-2.6.2/client/gui-gtk-3.22/soundset_dlg.c:112: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/freeciv-2.6.2/client/gui-gtk-3.22/sprite.c:118: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.
  static const char *ext[MAX_FILE_EXTENSIONS + 2] =
data/freeciv-2.6.2/client/gui-gtk-3.22/theme_dlg.c:49: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/freeciv-2.6.2/client/gui-gtk-3.22/themes.c:44: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[strlen(directory) + strlen(theme_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-3.22/themes.c:116: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[strlen(dir_name) + strlen("/themes/gui-gtk-3.22") + 1];
data/freeciv-2.6.2/client/gui-gtk-3.22/themes.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[strlen(home_dir) + 16];
data/freeciv-2.6.2/client/gui-gtk-3.22/themes.c:168: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[strlen(directory) + strlen(entry->d_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-3.22/tileset_dlg.c:36: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.
extern char forced_tileset_name[512];
data/freeciv-2.6.2/client/gui-gtk-3.22/tileset_dlg.c:61: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/freeciv-2.6.2/client/gui-gtk-3.22/unitselect.c:94:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *usdlg_col_titles[USDLG_COLUMNS_ALL] = {
data/freeciv-2.6.2/client/gui-gtk-3.22/unitselect.c:684: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[128];
data/freeciv-2.6.2/client/gui-gtk-3.22/unitselect.c:734: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[128] = "";
data/freeciv-2.6.2/client/gui-gtk-3.22/unitselect.c:788: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[248] = "";
data/freeciv-2.6.2/client/gui-gtk-3.22/unitselect.c:789: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 buf2[248] = "";
data/freeciv-2.6.2/client/gui-gtk-3.22/unitselextradlg.c:52: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[248] = "";
data/freeciv-2.6.2/client/gui-gtk-3.22/unitselextradlg.c:53: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 buf2[248] = "";
data/freeciv-2.6.2/client/gui-gtk-3.22/voteinfo_bar.c:219: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], status[1024], ordstr[128], color[32];
data/freeciv-2.6.2/client/gui-gtk-3.22/wldlg.c:971: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 *row[4];
data/freeciv-2.6.2/client/gui-gtk-3.22/wldlg.c:972: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[4][64];
data/freeciv-2.6.2/client/gui-qt/canvas.cpp:409: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(row, p.scanLine(y), ow * sizeof(QRgb));
data/freeciv-2.6.2/client/gui-qt/chatline.cpp:531: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[MAX_LEN_MSG];
data/freeciv-2.6.2/client/gui-qt/citydlg.cpp:593: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/freeciv-2.6.2/client/gui-qt/citydlg.cpp:2879: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[8];
data/freeciv-2.6.2/client/gui-qt/citydlg.cpp:2950:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[512];
data/freeciv-2.6.2/client/gui-qt/citydlg.cpp:2951: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[2 * NUM_INFO_FIELDS][512];
data/freeciv-2.6.2/client/gui-qt/citydlg.cpp:3094: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/freeciv-2.6.2/client/gui-qt/citydlg.cpp:3231: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/freeciv-2.6.2/client/gui-qt/citydlg.cpp:3262: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], buf2[1024];
data/freeciv-2.6.2/client/gui-qt/citydlg.cpp:3800: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 buffer[8192];
data/freeciv-2.6.2/client/gui-qt/citydlg.cpp:3866: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 buffer[8192];
data/freeciv-2.6.2/client/gui-qt/citydlg.cpp:3867: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 buf2[1];
data/freeciv-2.6.2/client/gui-qt/citydlg.cpp:3887: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[8192];
data/freeciv-2.6.2/client/gui-qt/citydlg.cpp:3888: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 buf2[1];
data/freeciv-2.6.2/client/gui-qt/cityrep.cpp:147: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[64];
data/freeciv-2.6.2/client/gui-qt/cityrep.cpp:222: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[64];
data/freeciv-2.6.2/client/gui-qt/cityrep.cpp:470: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[200];
data/freeciv-2.6.2/client/gui-qt/cityrep.cpp:1019: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 *row[4];
data/freeciv-2.6.2/client/gui-qt/cityrep.cpp:1020: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[4][64];
data/freeciv-2.6.2/client/gui-qt/cityrep.cpp:1053: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 txt[256];
data/freeciv-2.6.2/client/gui-qt/dialogs.cpp:118: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.
extern char forced_tileset_name[512];
data/freeciv-2.6.2/client/gui-qt/dialogs.cpp:570:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[4096];
data/freeciv-2.6.2/client/gui-qt/dialogs.cpp:2212: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/freeciv-2.6.2/client/gui-qt/dialogs.cpp:2213: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 buf2[1024];
data/freeciv-2.6.2/client/gui-qt/dialogs.cpp:2275: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/freeciv-2.6.2/client/gui-qt/dialogs.cpp:2276: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 buf2[1024];
data/freeciv-2.6.2/client/gui-qt/dialogs.cpp:2833: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/freeciv-2.6.2/client/gui-qt/dialogs.cpp:2854:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-qt/diplodlg.cpp:72: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 plr_buf[4 * MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-qt/diplodlg.cpp:671: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[128];
data/freeciv-2.6.2/client/gui-qt/fc_client.cpp: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 buf[256];
data/freeciv-2.6.2/client/gui-qt/helpdlg.cpp:859: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[MAX_HELP_TEXT_SIZE];
data/freeciv-2.6.2/client/gui-qt/helpdlg.cpp:983: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[MAX_HELP_TEXT_SIZE];
data/freeciv-2.6.2/client/gui-qt/helpdlg.cpp:987: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 req_buf[512];
data/freeciv-2.6.2/client/gui-qt/helpdlg.cpp:1074: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[MAX_HELP_TEXT_SIZE];
data/freeciv-2.6.2/client/gui-qt/helpdlg.cpp:1269: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[MAX_HELP_TEXT_SIZE];
data/freeciv-2.6.2/client/gui-qt/helpdlg.cpp:1321:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[1024];
data/freeciv-2.6.2/client/gui-qt/helpdlg.cpp:1346:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[1024];
data/freeciv-2.6.2/client/gui-qt/helpdlg.cpp:1370:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[1024];
data/freeciv-2.6.2/client/gui-qt/helpdlg.cpp:1456: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[MAX_HELP_TEXT_SIZE];
data/freeciv-2.6.2/client/gui-qt/helpdlg.cpp:1473: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[MAX_HELP_TEXT_SIZE];
data/freeciv-2.6.2/client/gui-qt/helpdlg.cpp:1490: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[MAX_HELP_TEXT_SIZE];
data/freeciv-2.6.2/client/gui-qt/helpdlg.cpp:1507: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[MAX_HELP_TEXT_SIZE];
data/freeciv-2.6.2/client/gui-qt/mapctrl.cpp:237: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 text[1024];
data/freeciv-2.6.2/client/gui-qt/mapctrl.cpp:264: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 text[1024];
data/freeciv-2.6.2/client/gui-qt/menu.cpp:349:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char text[1024];
data/freeciv-2.6.2/client/gui-qt/pages.cpp:146: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 msgbuf[128];
data/freeciv-2.6.2/client/gui-qt/pages.cpp:893: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[20];
data/freeciv-2.6.2/client/gui-qt/pages.cpp:1544: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 errbuf [512];
data/freeciv-2.6.2/client/gui-qt/pages.cpp:2070: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/freeciv-2.6.2/client/gui-qt/plrdlg.cpp:409: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 tbuf[256];
data/freeciv-2.6.2/client/gui-qt/repodlgs.cpp:204: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/freeciv-2.6.2/client/gui-qt/repodlgs.cpp:205: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 buf2[2048];
data/freeciv-2.6.2/client/gui-qt/repodlgs.cpp:765: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[8192];
data/freeciv-2.6.2/client/gui-qt/repodlgs.cpp:766: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 buf2[1];
data/freeciv-2.6.2/client/gui-qt/repodlgs.cpp:1275: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/freeciv-2.6.2/client/gui-qt/repodlgs.cpp:1443: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/freeciv-2.6.2/client/gui-qt/repodlgs.cpp:1482: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/freeciv-2.6.2/client/gui-qt/repodlgs.cpp:1522: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/freeciv-2.6.2/client/gui-qt/sprite.cpp:47: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.
  gfx_array_extensions = new const char *[gfx_ext.count() + 1];
data/freeciv-2.6.2/client/gui-qt/themes.cpp:66:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!f.open(QIODevice::ReadOnly | QIODevice::Text)) {
data/freeciv-2.6.2/client/gui-qt/themes.cpp:130: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[strlen(data_dir) + strlen("/themes/gui-qt") + 1];
data/freeciv-2.6.2/client/gui-qt/themes.cpp:176: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.
  array = new char *[theme_list.count()];
data/freeciv-2.6.2/client/gui-qt/voteinfo_bar.cpp:112: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], status[1024], color[32];
data/freeciv-2.6.2/client/gui-sdl/action_dialog.c:1522: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 tBuf[255], cBuf[255];
data/freeciv-2.6.2/client/gui-sdl/action_dialog.c:1785: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 tBuf[255], cBuf[255];
data/freeciv-2.6.2/client/gui-sdl/chatline.c:509:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char theinput[256];
data/freeciv-2.6.2/client/gui-sdl/chatline.c:741: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 cBuf[256];   
data/freeciv-2.6.2/client/gui-sdl/citydlg.c:379: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 cBuf[80];
data/freeciv-2.6.2/client/gui-sdl/citydlg.c:684: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 cBuf[256];
data/freeciv-2.6.2/client/gui-sdl/citydlg.c:941: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 cBuf[80];
data/freeciv-2.6.2/client/gui-sdl/citydlg.c:1131: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 tBuf[512], cBuf[512];
data/freeciv-2.6.2/client/gui-sdl/citydlg.c:1384: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 cBuf[80];
data/freeciv-2.6.2/client/gui-sdl/citydlg.c:1725: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 name[MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-sdl/citydlg.c:1745: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 cBuf[60];
data/freeciv-2.6.2/client/gui-sdl/citydlg.c:1780: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 cBuf[60];
data/freeciv-2.6.2/client/gui-sdl/citydlg.c:1837: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 cBuf[60];
data/freeciv-2.6.2/client/gui-sdl/citydlg.c:1895: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 cBuf[30];
data/freeciv-2.6.2/client/gui-sdl/citydlg.c:2064: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 cBuf[30];
data/freeciv-2.6.2/client/gui-sdl/citydlg.c:2506: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 cBuf[40];
data/freeciv-2.6.2/client/gui-sdl/citydlg.c:3582: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 cBuf[512];
data/freeciv-2.6.2/client/gui-sdl/cityrep.c:176: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/cityrep.c:941: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 cBuf[64];
data/freeciv-2.6.2/client/gui-sdl/cma_fe.c:101: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 cBuf[4];
data/freeciv-2.6.2/client/gui-sdl/cma_fe.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 cBuf[4];
data/freeciv-2.6.2/client/gui-sdl/cma_fe.c:878: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/connectdlg.c:96: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 errbuf[512];
data/freeciv-2.6.2/client/gui-sdl/connectdlg.c:225: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 cBuf[512];
data/freeciv-2.6.2/client/gui-sdl/connectdlg.c:515: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 pCharPort[6];
data/freeciv-2.6.2/client/gui-sdl/connectdlg.c:550: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 pCharPort[6];
data/freeciv-2.6.2/client/gui-sdl/dialogs.c:658: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/dialogs.c:847: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/dialogs.c:1061: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 cBuf[255];  
data/freeciv-2.6.2/client/gui-sdl/dialogs.c:1266: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 buffer[64];
data/freeciv-2.6.2/client/gui-sdl/dialogs.c:1289: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 cBuf[256];  
data/freeciv-2.6.2/client/gui-sdl/dialogs.c:1630: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 cBuf[255]; 
data/freeciv-2.6.2/client/gui-sdl/dialogs.c:2864:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char info[4096];
data/freeciv-2.6.2/client/gui-sdl/diplodlg.c:383:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cBuf[16];
data/freeciv-2.6.2/client/gui-sdl/diplodlg.c:457: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/diplodlg.c:843: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/diplodlg.c:1063: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/diplodlg.c:1353: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/diplodlg.c:1487: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/finddlg.c:117: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/gotodlg.c:129: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/gui_main.c:527: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 schot[32];
data/freeciv-2.6.2/client/gui-sdl/gui_main.c:751: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 device[20];
data/freeciv-2.6.2/client/gui-sdl/helpdlg.c:224:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[64000];
data/freeciv-2.6.2/client/gui-sdl/helpdlg.c:637: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[bufsz];
data/freeciv-2.6.2/client/gui-sdl/helpdlg.c:791: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[2048];
data/freeciv-2.6.2/client/gui-sdl/helpdlg.c:1109: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[bufsz];
data/freeciv-2.6.2/client/gui-sdl/inteldlg.c:216: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 cBuf[256], plr_buf[4 * MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-sdl/mapctrl.c:586:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cBuf[4];
data/freeciv-2.6.2/client/gui-sdl/mapctrl.c:606:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cBuf[4];
data/freeciv-2.6.2/client/gui-sdl/mapctrl.c:626:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cBuf[4];
data/freeciv-2.6.2/client/gui-sdl/mapctrl.c:646:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cBuf[4];
data/freeciv-2.6.2/client/gui-sdl/mapctrl.c:667:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cBuf[4];
data/freeciv-2.6.2/client/gui-sdl/mapctrl.c:1369: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/freeciv-2.6.2/client/gui-sdl/mapctrl.c:1548: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/freeciv-2.6.2/client/gui-sdl/mapview.c:298: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/mapview.c:396:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[512];
data/freeciv-2.6.2/client/gui-sdl/mapview.c:528:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[512];
data/freeciv-2.6.2/client/gui-sdl/mapview.c:580: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.
	    const char *diplo_nation_plural_adjectives[DS_LAST] =
data/freeciv-2.6.2/client/gui-sdl/mapview.c:620: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.
	    const char *diplo_city_adjectives[DS_LAST] =
data/freeciv-2.6.2/client/gui-sdl/mapview.c:921:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[256];
data/freeciv-2.6.2/client/gui-sdl/menu.c:398: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/menu.c:1014: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/mmx.h: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			b[8];	/* 8 Byte (8-bit) values */
data/freeciv-2.6.2/client/gui-sdl/mmx.h:54: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		ub[8];	/* 8 Unsigned Byte */
data/freeciv-2.6.2/client/gui-sdl/optiondlg.c:447: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[64];
data/freeciv-2.6.2/client/gui-sdl/optiondlg.c:515:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[64];
data/freeciv-2.6.2/client/gui-sdl/optiondlg.c:563:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[64];
data/freeciv-2.6.2/client/gui-sdl/optiondlg.c:630:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[64];
data/freeciv-2.6.2/client/gui-sdl/optiondlg.c:648:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[64];
data/freeciv-2.6.2/client/gui-sdl/optiondlg.c:1327: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/freeciv-2.6.2/client/gui-sdl/pages.c:140: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 verbuf[200];
data/freeciv-2.6.2/client/gui-sdl/pages.c:329: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 buffer[512];
data/freeciv-2.6.2/client/gui-sdl/plrdlg.c:610: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 cBuf[128], *state;
data/freeciv-2.6.2/client/gui-sdl/repodlgs.c:166: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 tBuf[128], cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/repodlgs.c:339: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 cBuf[64];
data/freeciv-2.6.2/client/gui-sdl/repodlgs.c:870: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 cBuf[32];
data/freeciv-2.6.2/client/gui-sdl/repodlgs.c:1156: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 cBuf[8];
data/freeciv-2.6.2/client/gui-sdl/repodlgs.c:1518: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/repodlgs.c:1676: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/repodlgs.c:1760: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/repodlgs.c:2540: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/repodlgs.c:3044: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/repodlgs.c:3403: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 eg_buffer[150 * MAX_NUM_PLAYERS];
data/freeciv-2.6.2/client/gui-sdl/spaceshipdlg.c:140: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl/themebackgrounds.c:29: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 *backgrounds[BACKGROUND_LAST];
data/freeciv-2.6.2/client/gui-sdl/themes.c:37: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[strlen(directory) + strlen(DIR_SEPARATOR) + strlen(theme_name)
data/freeciv-2.6.2/client/gui-sdl/themes.c:83: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[strlen(data_dir) + strlen("/themes/gui-sdl") + 1];
data/freeciv-2.6.2/client/gui-sdl/themes.c:117: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[strlen(directory) + strlen(entry->d_name) + 32];
data/freeciv-2.6.2/client/gui-sdl/themespec.c:133:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[512];
data/freeciv-2.6.2/client/gui-sdl/themespec.c:232: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 fname[strlen(theme_name) + strlen(THEMESPEC_SUFFIX) + 1], *dname;
data/freeciv-2.6.2/client/gui-sdl/themespec.c:369: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 theme_name[strlen(name) + 1], old_name[strlen(theme->name) + 1];
data/freeciv-2.6.2/client/gui-sdl/themespec.c:451: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 full_name[strlen(gfx_filename) + strlen(".")
data/freeciv-2.6.2/client/gui-sdl/unistring.c:61: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(pToUniString, pFromUniString, size);
data/freeciv-2.6.2/client/gui-sdl/unistring.c:73: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((Uint8 *) pToUniString + dst_size,
data/freeciv-2.6.2/client/gui-sdl/unistring.c:84: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(pNewUniString, pUniString, size);
data/freeciv-2.6.2/client/gui-sdl/unistring.c:100: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(pBuf[count], pFromUnistring, len * sizeof(Uint16));
data/freeciv-2.6.2/client/gui-sdl/unistring.c:116: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(pBuf[count], pFromUnistring, len * sizeof(Uint16));
data/freeciv-2.6.2/client/gui-sdl/wldlg.c: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 worklist_name[MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-sdl/wldlg.c:915: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 cBuf[64];
data/freeciv-2.6.2/client/gui-sdl/wldlg.c:981: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 cBuf[64];
data/freeciv-2.6.2/client/gui-sdl/wldlg.c:1037: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/action_dialog.c:1521: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 tBuf[255], cBuf[255];
data/freeciv-2.6.2/client/gui-sdl2/action_dialog.c:1782: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 tBuf[255], cBuf[255];
data/freeciv-2.6.2/client/gui-sdl2/chatline.c:745: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 cbuf[256];
data/freeciv-2.6.2/client/gui-sdl2/citydlg.c:381:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cBuf[80];
data/freeciv-2.6.2/client/gui-sdl2/citydlg.c:688: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 cBuf[256];
data/freeciv-2.6.2/client/gui-sdl2/citydlg.c:945: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 cBuf[80];
data/freeciv-2.6.2/client/gui-sdl2/citydlg.c:1132: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 tBuf[512], cBuf[512];
data/freeciv-2.6.2/client/gui-sdl2/citydlg.c:1381: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 cBuf[80];
data/freeciv-2.6.2/client/gui-sdl2/citydlg.c:1718: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 name[MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-sdl2/citydlg.c:1737: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 cBuf[60];
data/freeciv-2.6.2/client/gui-sdl2/citydlg.c:1772: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 cBuf[60];
data/freeciv-2.6.2/client/gui-sdl2/citydlg.c:1829: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 cBuf[60];
data/freeciv-2.6.2/client/gui-sdl2/citydlg.c:1886: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 cBuf[30];
data/freeciv-2.6.2/client/gui-sdl2/citydlg.c:2054: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 cBuf[30];
data/freeciv-2.6.2/client/gui-sdl2/citydlg.c:2485: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 cBuf[40];
data/freeciv-2.6.2/client/gui-sdl2/citydlg.c:3555: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 cbuf[512];
data/freeciv-2.6.2/client/gui-sdl2/cityrep.c:188: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 cbuf[128];
data/freeciv-2.6.2/client/gui-sdl2/cityrep.c:956: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 cbuf[64];
data/freeciv-2.6.2/client/gui-sdl2/cma_fe.c:108: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 cbuf[4];
data/freeciv-2.6.2/client/gui-sdl2/cma_fe.c:684: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 cbuf[4];
data/freeciv-2.6.2/client/gui-sdl2/cma_fe.c:890: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/connectdlg.c:100: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 errbuf[512];
data/freeciv-2.6.2/client/gui-sdl2/connectdlg.c:230: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 cBuf[512];
data/freeciv-2.6.2/client/gui-sdl2/connectdlg.c:513: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 pCharPort[6];
data/freeciv-2.6.2/client/gui-sdl2/connectdlg.c:548: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 pCharPort[6];
data/freeciv-2.6.2/client/gui-sdl2/dialogs.c:661: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/dialogs.c:851: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/dialogs.c:1066: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 cBuf[255];
data/freeciv-2.6.2/client/gui-sdl2/dialogs.c:1270: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 buffer[64];
data/freeciv-2.6.2/client/gui-sdl2/dialogs.c:1293: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 cBuf[256];  
data/freeciv-2.6.2/client/gui-sdl2/dialogs.c:1638: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 cBuf[255];
data/freeciv-2.6.2/client/gui-sdl2/dialogs.c:2850:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char info[4096];
data/freeciv-2.6.2/client/gui-sdl2/diplodlg.c:467: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/diplodlg.c:853: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/diplodlg.c:1071: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/diplodlg.c:1364: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/diplodlg.c:1499: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/finddlg.c:125: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/gotodlg.c:139: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/gui_string.c:410:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char utf8char[9];
data/freeciv-2.6.2/client/gui-sdl2/helpdlg.c:226: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[64000];
data/freeciv-2.6.2/client/gui-sdl2/helpdlg.c:639: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[bufsz];
data/freeciv-2.6.2/client/gui-sdl2/helpdlg.c:794: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[2048];
data/freeciv-2.6.2/client/gui-sdl2/helpdlg.c:1114: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[bufsz];
data/freeciv-2.6.2/client/gui-sdl2/inteldlg.c:234: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 cBuf[256], plr_buf[4 * MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-sdl2/mapctrl.c:630:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cBuf[4];
data/freeciv-2.6.2/client/gui-sdl2/mapctrl.c:655:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cBuf[4];
data/freeciv-2.6.2/client/gui-sdl2/mapctrl.c:680:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cBuf[4];
data/freeciv-2.6.2/client/gui-sdl2/mapctrl.c:704:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cBuf[4];
data/freeciv-2.6.2/client/gui-sdl2/mapctrl.c:729: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 cBuf[4];
data/freeciv-2.6.2/client/gui-sdl2/mapctrl.c:1469: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/freeciv-2.6.2/client/gui-sdl2/mapctrl.c:1664: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/freeciv-2.6.2/client/gui-sdl2/mapview.c:313: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/mapview.c:409:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[512];
data/freeciv-2.6.2/client/gui-sdl2/mapview.c:546:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[512];
data/freeciv-2.6.2/client/gui-sdl2/mapview.c:597:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *diplo_nation_plural_adjectives[DS_LAST] =
data/freeciv-2.6.2/client/gui-sdl2/mapview.c:642: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.
	    const char *diplo_city_adjectives[DS_LAST] =
data/freeciv-2.6.2/client/gui-sdl2/mapview.c:940:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[256];
data/freeciv-2.6.2/client/gui-sdl2/menu.c:394: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/menu.c:991: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/optiondlg.c:467:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[64];
data/freeciv-2.6.2/client/gui-sdl2/optiondlg.c:534:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[64];
data/freeciv-2.6.2/client/gui-sdl2/optiondlg.c:582:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[64];
data/freeciv-2.6.2/client/gui-sdl2/optiondlg.c:651:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[64];
data/freeciv-2.6.2/client/gui-sdl2/optiondlg.c:669:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[64];
data/freeciv-2.6.2/client/gui-sdl2/optiondlg.c:1355: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/freeciv-2.6.2/client/gui-sdl2/pages.c:147: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 verbuf[200];
data/freeciv-2.6.2/client/gui-sdl2/pages.c:341: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 buffer[512];
data/freeciv-2.6.2/client/gui-sdl2/plrdlg.c:674: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 cBuf[128], *state;
data/freeciv-2.6.2/client/gui-sdl2/repodlgs.c:188: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 tBuf[128], cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/repodlgs.c:362: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 cbuf[64];
data/freeciv-2.6.2/client/gui-sdl2/repodlgs.c:892: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 cbuf[32];
data/freeciv-2.6.2/client/gui-sdl2/repodlgs.c:1188: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 cbuf[8];
data/freeciv-2.6.2/client/gui-sdl2/repodlgs.c:1574: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/repodlgs.c:1730: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 cbuf[128];
data/freeciv-2.6.2/client/gui-sdl2/repodlgs.c:1812: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 cbuf[128];
data/freeciv-2.6.2/client/gui-sdl2/repodlgs.c:2595: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/repodlgs.c:3100: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 cBuf[128];
data/freeciv-2.6.2/client/gui-sdl2/repodlgs.c:3469: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 eg_buffer[150 * MAX_NUM_PLAYERS];
data/freeciv-2.6.2/client/gui-sdl2/spaceshipdlg.c:152: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 cbuf[128];
data/freeciv-2.6.2/client/gui-sdl2/themebackgrounds.c:29: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 *backgrounds[BACKGROUND_LAST];
data/freeciv-2.6.2/client/gui-sdl2/themes.c:37: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[strlen(directory) + strlen(DIR_SEPARATOR) + strlen(theme_name)
data/freeciv-2.6.2/client/gui-sdl2/themes.c:83: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[strlen(data_dir) + strlen("/themes/gui-sdl2") + 1];
data/freeciv-2.6.2/client/gui-sdl2/themes.c:116: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[strlen(directory) + strlen(entry->d_name) + 32];
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:134:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[512];
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:236: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 fname[strlen(theme_name) + strlen(THEMESPEC_SUFFIX) + 1], *dname;
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:377: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 theme_name[strlen(name) + 1], old_name[strlen(theme->name) + 1];
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:459: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 full_name[strlen(gfx_filename) + strlen(".")
data/freeciv-2.6.2/client/gui-sdl2/unistring.c:69: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(pToUniString, pFromUniString, size);
data/freeciv-2.6.2/client/gui-sdl2/unistring.c:83: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((Uint8 *) pToUniString + dst_size,
data/freeciv-2.6.2/client/gui-sdl2/unistring.c:95: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(pNewUniString, pUniString, size);
data/freeciv-2.6.2/client/gui-sdl2/unistring.c:111: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(pBuf[count], pFromUnistring, len * sizeof(Uint16));
data/freeciv-2.6.2/client/gui-sdl2/unistring.c:127: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(pBuf[count], pFromUnistring, len * sizeof(Uint16));
data/freeciv-2.6.2/client/gui-sdl2/utf8string.c:57: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[512];
data/freeciv-2.6.2/client/gui-sdl2/utf8string.c:65:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buf[count], start, len);
data/freeciv-2.6.2/client/gui-sdl2/utf8string.c:82:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buf[count], start, len);
data/freeciv-2.6.2/client/gui-sdl2/widget_edit.c:42: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 chr[7];
data/freeciv-2.6.2/client/gui-sdl2/widget_edit.c:629:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char passwd_chr[2] = {'*', '\0'};
data/freeciv-2.6.2/client/gui-sdl2/widget_edit.c:739: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.
        const char passwd_chr[2] = {'*', '\0'};
data/freeciv-2.6.2/client/gui-sdl2/wldlg.c:78: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 worklist_name[MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-sdl2/wldlg.c:937: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 cBuf[64];
data/freeciv-2.6.2/client/gui-sdl2/wldlg.c:1003: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 cBuf[64];
data/freeciv-2.6.2/client/gui-sdl2/wldlg.c:1056: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 cbuf[128];
data/freeciv-2.6.2/client/gui-stub/mapview.c:45:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[512];
data/freeciv-2.6.2/client/gui-xaw/action_dialog.c:179: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 tbuf[128], buf[128];
data/freeciv-2.6.2/client/gui-xaw/action_dialog.c:466: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.
  static const char *advances_can_steal[A_LAST+1];
data/freeciv-2.6.2/client/gui-xaw/action_dialog.c:560: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.
  static const char *improvements_can_sabotage[B_LAST+1]; 
data/freeciv-2.6.2/client/gui-xaw/action_dialog.c:766: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 tbuf[128], buf[128];
data/freeciv-2.6.2/client/gui-xaw/citydlg.c:132:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char improvlist_names[B_LAST+1][64];
data/freeciv-2.6.2/client/gui-xaw/citydlg.c:133:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *improvlist_names_ptrs[B_LAST+1];
data/freeciv-2.6.2/client/gui-xaw/citydlg.c:135:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *change_list_names_ptrs[B_LAST+1+U_LAST+1+1];
data/freeciv-2.6.2/client/gui-xaw/citydlg.c:136: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 change_list_names[B_LAST+1+U_LAST+1][200];
data/freeciv-2.6.2/client/gui-xaw/citydlg.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 buf[512];
data/freeciv-2.6.2/client/gui-xaw/citydlg.c:242:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-xaw/citydlg.c:530: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 lblbuf[512];
data/freeciv-2.6.2/client/gui-xaw/citydlg.c:1462:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512], *bptr=buf;
data/freeciv-2.6.2/client/gui-xaw/citydlg.c:1507:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-xaw/citydlg.c:1518:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-xaw/citydlg.c:1529: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/freeciv-2.6.2/client/gui-xaw/citydlg.c:1554:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-xaw/citydlg.c:1565:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-xaw/citydlg.c:1837:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-xaw/citydlg.c:1944: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 tbuf[512], buf[512];
data/freeciv-2.6.2/client/gui-xaw/citydlg.c:2018:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-xaw/citydlg.c:2342:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[512];
data/freeciv-2.6.2/client/gui-xaw/cityrep.c:141: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 text[400];
data/freeciv-2.6.2/client/gui-xaw/cityrep.c:606:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char new_city_line[MAX_LEN_CITY_TEXT];
data/freeciv-2.6.2/client/gui-xaw/cityrep.c:692: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[64];
data/freeciv-2.6.2/client/gui-xaw/cityrep.c:786: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 *fr_list[U_LAST + B_LAST];
data/freeciv-2.6.2/client/gui-xaw/cityrep.c:790: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 *to_list[U_LAST + B_LAST];
data/freeciv-2.6.2/client/gui-xaw/cma_fe.c:382: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 *preset_lines[256];
data/freeciv-2.6.2/client/gui-xaw/cma_fe.c:383: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 preset_text[256][256];
data/freeciv-2.6.2/client/gui-xaw/cma_fe.c:451: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/freeciv-2.6.2/client/gui-xaw/cma_fe.c:714: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/freeciv-2.6.2/client/gui-xaw/connectdlg.c:119: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 *servers_list[64]={NULL};
data/freeciv-2.6.2/client/gui-xaw/connectdlg.c:229: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[64];
data/freeciv-2.6.2/client/gui-xaw/connectdlg.c:407: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 errbuf[512];
data/freeciv-2.6.2/client/gui-xaw/connectdlg.c:611: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 errbuf[128];
data/freeciv-2.6.2/client/gui-xaw/connectdlg.c:776:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[64], port[16];
data/freeciv-2.6.2/client/gui-xaw/connectdlg.c:789: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 line[256];
data/freeciv-2.6.2/client/gui-xaw/dialogs.c:557:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-xaw/dialogs.c:586: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 button_name[512];
data/freeciv-2.6.2/client/gui-xaw/dialogs.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 buffer[512];
data/freeciv-2.6.2/client/gui-xaw/dialogs.c:881: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 maxracename[MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-xaw/dialogs.c:882: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 namebuf[64];
data/freeciv-2.6.2/client/gui-xaw/diplodlg.c:102: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 clauselist_strings[MAX_NUM_CLAUSES+1][128];
data/freeciv-2.6.2/client/gui-xaw/diplodlg.c:103: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 *clauselist_strings_ptrs[MAX_NUM_CLAUSES+1];
data/freeciv-2.6.2/client/gui-xaw/diplodlg.c:339: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 plr0_buf[4 * MAX_LEN_NAME], plr1_buf[4 * MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-xaw/diplodlg.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 buf[512], *pheadlinem;
data/freeciv-2.6.2/client/gui-xaw/gotodlg.c:200: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 name[MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-xaw/gotodlg.c:239:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char name[MAX_LEN_NAME+3];
data/freeciv-2.6.2/client/gui-xaw/graphics.c:83: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 s[64];
data/freeciv-2.6.2/client/gui-xaw/gui_main.c:536: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 buffer[512];
data/freeciv-2.6.2/client/gui-xaw/gui_main.c:712: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 unit_below_name[32];
data/freeciv-2.6.2/client/gui-xaw/gui_stuff.c:189: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(pdst_data, psrc_data, (src_w<dst_w) ? src_w : dst_w);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:116: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 *topic_list[1024];
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:259: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 label[MAX_LEN_NAME+3];
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:732: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[64000];
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:738: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 req_buf[512];
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:741: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, "%d ", impr_build_shield_cost(imp));
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:743: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, "%d ", imp->upkeep);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:788: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[64000];
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:794: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 req_buf[512];
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:798: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, "%d ", impr_build_shield_cost(imp));
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:851: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[64000];
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:857: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, "%d ", utype_build_shield_cost(punittype));
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:859: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, "%d ", punittype->attack_strength);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:861: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, "%d ", punittype->defense_strength);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:865: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, "%d ", punittype->firepower);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:867: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, "%d ", punittype->hp);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:869: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, "%d ", (int)sqrt((double)punittype->vision_radius_sq));
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:914:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[4096];
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:994: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[4096];
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1004: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, "%d/%d.%d",
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1010: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, "%d/%d/%d",
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1031:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (buf + strlen (buf), _("(none)"));
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1035: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, "%d%%/%d%%/%d%% / %d",
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1042: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, _("n/a"));
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1045: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(buf, _("+%d Food / %d"),
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1056: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, _("n/a"));
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1059: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(buf, _("+%d Res. / %d"),
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1075:7:  [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, _("n/a"));
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1087: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[4096];
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1102:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(buf, _("Build: %d MP\n"), pextra->build_time);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1106: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 + strlen(buf), _("Conflicts with: "));
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1116: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(buf, _("(none)"));
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1155: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[4096];
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1175: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[4096];
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1194: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[4096];
data/freeciv-2.6.2/client/gui-xaw/inteldlg.c:177: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[4 * MAX_LEN_NAME], plr_buf[4 * MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-xaw/inteldlg.c:181: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 *tech_list_names_ptrs[A_LAST+1];
data/freeciv-2.6.2/client/gui-xaw/inteldlg.c:182: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 tech_list_names[A_LAST+1][200];
data/freeciv-2.6.2/client/gui-xaw/inteldlg.c:427: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[4 * MAX_LEN_NAME], plr_buf[4 * MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-xaw/inteldlg.c:495: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 *namelist_ptrs[MAX_NUM_PLAYERS];
data/freeciv-2.6.2/client/gui-xaw/inteldlg.c:496: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 namelist_text[MAX_NUM_PLAYERS][72];
data/freeciv-2.6.2/client/gui-xaw/mapview.c:229:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[512];
data/freeciv-2.6.2/client/gui-xaw/menu.c:98: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 *text[MAX_VARIANTS+1];
data/freeciv-2.6.2/client/gui-xaw/menu.c:1225: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 retbuf[256];
data/freeciv-2.6.2/client/gui-xaw/menu.c:1226:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmp[256];
data/freeciv-2.6.2/client/gui-xaw/optiondlg.c:359:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char valstr[64];
data/freeciv-2.6.2/client/gui-xaw/pages.c:237: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 name[MAX_LEN_NAME + 8];
data/freeciv-2.6.2/client/gui-xaw/pages.c:238: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 *namelist_ptrs[MAX_NUM_PLAYERS];
data/freeciv-2.6.2/client/gui-xaw/pages.c:239: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 namelist_text[MAX_NUM_PLAYERS][256];
data/freeciv-2.6.2/client/gui-xaw/plrdlg.c:215: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 *namelist_ptrs[MAX_NUM_PLAYERS];
data/freeciv-2.6.2/client/gui-xaw/plrdlg.c:216: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 namelist_text[MAX_NUM_PLAYERS][256];
data/freeciv-2.6.2/client/gui-xaw/plrdlg.c:220:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char idlebuf[32], statebuf[32], namebuf[32], dsbuf[32];
data/freeciv-2.6.2/client/gui-xaw/ratesdlg.c:82: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[64];
data/freeciv-2.6.2/client/gui-xaw/ratesdlg.c:258: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[64];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:137:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:192: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.
  static const char *tech_list_names_ptrs[A_LAST + 1];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:194: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 rate_text[128];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:195: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 current_text[512];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:196: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 goal_text[512];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:469: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 text[512];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:470: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 const char *tech_list_names_ptrs[A_LAST + 1];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:756: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 str[1024];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:776: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 *economy_list_names_ptrs[B_LAST+1];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:777: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 economy_list_names[B_LAST][200];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:779: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 economy_total[48];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:999:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:1006: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 tbuf[512];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:1078: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 *activeunits_list_names_ptrs[U_LAST+1];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:1079: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 activeunits_list_names[U_LAST][200];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:1083: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 activeunits_total[100];
data/freeciv-2.6.2/client/gui-xaw/repodlgs.c:1170: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 eg_buffer[150 * MAX_NUM_PLAYERS];
data/freeciv-2.6.2/client/gui-xaw/wldlg.c:68: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 worklist_names[MAX_NUM_WORKLISTS][MAX_LEN_NAME];
data/freeciv-2.6.2/client/gui-xaw/wldlg.c:69: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 *worklist_names_ptrs[MAX_NUM_WORKLISTS+1];
data/freeciv-2.6.2/client/gui-xaw/wldlg.c:93: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 *worklist_names_ptrs[MAX_LEN_WORKLIST+1];
data/freeciv-2.6.2/client/gui-xaw/wldlg.c:94: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 worklist_names[MAX_LEN_WORKLIST][200];
data/freeciv-2.6.2/client/gui-xaw/wldlg.c:96:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *worklist_avail_names_ptrs[B_LAST+1+U_LAST+1+MAX_NUM_WORKLISTS+1+1];
data/freeciv-2.6.2/client/gui-xaw/wldlg.c:97: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 worklist_avail_names[B_LAST+1+U_LAST+1+MAX_NUM_WORKLISTS+1][200];
data/freeciv-2.6.2/client/gui-xaw/wldlg.c:1008:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[200];
data/freeciv-2.6.2/client/helpdata.c:220:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char irrigation_time[4], mining_time[4], transform_time[4];
data/freeciv-2.6.2/client/helpdata.c:1850:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *classes[uclass_count()];
data/freeciv-2.6.2/client/helpdata.c:2960: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 text[256];
data/freeciv-2.6.2/client/helpdata.c:2989: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 buf2[bufsz];
data/freeciv-2.6.2/client/helpdata.c:3157: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 long_buffer[64000]; /* HACK: this may be overrun. */
data/freeciv-2.6.2/client/helpdata.c:3189:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char help_text_buffer[MAX_LEN_PACKET];
data/freeciv-2.6.2/client/helpdata.c:3227:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char name[2048];
data/freeciv-2.6.2/client/helpdata.c:3621: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 vtopic[128];
data/freeciv-2.6.2/client/helpdata.c:3622: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 vtext[256];
data/freeciv-2.6.2/client/helpdata.c:3996: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.
    const char *against[utype_count()];
data/freeciv-2.6.2/client/helpdata.c:4098: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.
    const char *types[utype_count()];
data/freeciv-2.6.2/client/helpdata.c:4153: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.
    const char *classes[uclass_count()];
data/freeciv-2.6.2/client/helpdata.c:4266:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *eclasses[uclass_count()];
data/freeciv-2.6.2/client/helpdata.c:4295:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *dclasses[uclass_count()];
data/freeciv-2.6.2/client/helpdata.c:4565: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.
    const char *types[utype_count()];
data/freeciv-2.6.2/client/helpdata.c:4795:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf2[MAX_LEN_MSG];
data/freeciv-2.6.2/client/helpdata.c:4907:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *root_techs[A_LAST];
data/freeciv-2.6.2/client/helpdata.c:5025: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.
    const char *classes[uclass_count()];
data/freeciv-2.6.2/client/helpdata.c:5096: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 str[64];
data/freeciv-2.6.2/client/helpdata.c:5225: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 buffer[256];
data/freeciv-2.6.2/client/helpdata.c:5352: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 reqsbuf[8192] = "";
data/freeciv-2.6.2/client/helpdata.c:5471: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.
    const char *classes[uclass_count()];
data/freeciv-2.6.2/client/helpdata.c:6350: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[128];
data/freeciv-2.6.2/client/helpdata.c:6418: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.
    const char *tech_names[MAX_NUM_TECH_LIST];
data/freeciv-2.6.2/client/helpdata.c:6482: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.
        const char *utype_name_strs[MAX_NUM_UNIT_LIST];
data/freeciv-2.6.2/client/helpdata.c:6503: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.
    const char *impr_names[MAX_NUM_BUILDING_LIST];
data/freeciv-2.6.2/client/luaconsole_common.c:43: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 plain_text[MAX_LEN_MSG];
data/freeciv-2.6.2/client/luaconsole_common.c:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char featured_text[MAX_LEN_MSG];
data/freeciv-2.6.2/client/luascript/script_client.c:240:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[1024];
data/freeciv-2.6.2/client/mapctrl_common.c:382: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[256];
data/freeciv-2.6.2/client/mapview_common.c:1832: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 name[512], growth[32], prod[512], size[32], trade_routes[32];
data/freeciv-2.6.2/client/mapview_common.c:2138: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 name[512], growth[32], prod[512], trade_routes[32];
data/freeciv-2.6.2/client/options.c:4858:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_MSG];
data/freeciv-2.6.2/client/options.c:5140: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 name_buffer[256];
data/freeciv-2.6.2/client/options.c:5175: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 name_buffer[256];
data/freeciv-2.6.2/client/options.c:5293: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[64];
data/freeciv-2.6.2/client/options.c:5387: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 val_buf[1024], def_buf[1024];
data/freeciv-2.6.2/client/options.c:5546:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char desired_buf[256];
data/freeciv-2.6.2/client/options.c:5564:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char desired_buf[256], value_buf[256];
data/freeciv-2.6.2/client/options.c:5656: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[64];
data/freeciv-2.6.2/client/options.c:5684: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[64];
data/freeciv-2.6.2/client/options.c:5877: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 dir_name[2048];
data/freeciv-2.6.2/client/options.h:93: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 default_user_name[512];
data/freeciv-2.6.2/client/options.h:94: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 default_server_host[512];
data/freeciv-2.6.2/client/options.h:98: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 default_metaserver[512];
data/freeciv-2.6.2/client/options.h:99: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 default_tileset_overhead_name[512];
data/freeciv-2.6.2/client/options.h:100: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 default_tileset_iso_name[512];
data/freeciv-2.6.2/client/options.h:101: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 default_tileset_hex_name[512];
data/freeciv-2.6.2/client/options.h:102: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 default_tileset_isohex_name[512];
data/freeciv-2.6.2/client/options.h:103: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 default_sound_set_name[512];
data/freeciv-2.6.2/client/options.h:104: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 default_music_set_name[512];
data/freeciv-2.6.2/client/options.h: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 default_sound_plugin_name[512];
data/freeciv-2.6.2/client/options.h:106: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 default_chat_logfile[512];
data/freeciv-2.6.2/client/options.h:113: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 default_tileset_name[512]; /* pre-2.6 had just this one tileset name */
data/freeciv-2.6.2/client/options.h:195: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 mapimg_format[64];
data/freeciv-2.6.2/client/options.h:198: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 mapimg_filename[512];
data/freeciv-2.6.2/client/options.h:205: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 gui_gtk2_default_theme_name[512];
data/freeciv-2.6.2/client/options.h:224:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char gui_gtk2_font_city_label[512];
data/freeciv-2.6.2/client/options.h:225: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 gui_gtk2_font_notify_label[512];
data/freeciv-2.6.2/client/options.h:226: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 gui_gtk2_font_spaceship_label[512];
data/freeciv-2.6.2/client/options.h:227: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 gui_gtk2_font_help_label[512];
data/freeciv-2.6.2/client/options.h: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 gui_gtk2_font_help_link[512];
data/freeciv-2.6.2/client/options.h:229: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 gui_gtk2_font_help_text[512];
data/freeciv-2.6.2/client/options.h:230: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 gui_gtk2_font_chatline[512];
data/freeciv-2.6.2/client/options.h:231: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 gui_gtk2_font_beta_label[512];
data/freeciv-2.6.2/client/options.h:232: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 gui_gtk2_font_small[512];
data/freeciv-2.6.2/client/options.h:233: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 gui_gtk2_font_comment_label[512];
data/freeciv-2.6.2/client/options.h:234: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 gui_gtk2_font_city_names[512];
data/freeciv-2.6.2/client/options.h:235: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 gui_gtk2_font_city_productions[512];
data/freeciv-2.6.2/client/options.h:236: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 gui_gtk2_font_reqtree_text[512];
data/freeciv-2.6.2/client/options.h:240: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 gui_gtk3_default_theme_name[512];
data/freeciv-2.6.2/client/options.h:260: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 gui_gtk3_font_city_label[512];
data/freeciv-2.6.2/client/options.h:261: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 gui_gtk3_font_notify_label[512];
data/freeciv-2.6.2/client/options.h:262: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 gui_gtk3_font_spaceship_label[512];
data/freeciv-2.6.2/client/options.h:263: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 gui_gtk3_font_help_label[512];
data/freeciv-2.6.2/client/options.h:264:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char gui_gtk3_font_help_link[512];
data/freeciv-2.6.2/client/options.h:265:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char gui_gtk3_font_help_text[512];
data/freeciv-2.6.2/client/options.h:266: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 gui_gtk3_font_chatline[512];
data/freeciv-2.6.2/client/options.h:267: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 gui_gtk3_font_beta_label[512];
data/freeciv-2.6.2/client/options.h: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 gui_gtk3_font_small[512];
data/freeciv-2.6.2/client/options.h:269: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 gui_gtk3_font_comment_label[512];
data/freeciv-2.6.2/client/options.h:270: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 gui_gtk3_font_city_names[512];
data/freeciv-2.6.2/client/options.h:271: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 gui_gtk3_font_city_productions[512];
data/freeciv-2.6.2/client/options.h:272: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 gui_gtk3_font_reqtree_text[512];
data/freeciv-2.6.2/client/options.h:276: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 gui_gtk3_22_default_theme_name[512];
data/freeciv-2.6.2/client/options.h:296: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 gui_gtk3_22_font_city_label[512];
data/freeciv-2.6.2/client/options.h:297: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 gui_gtk3_22_font_notify_label[512];
data/freeciv-2.6.2/client/options.h:298: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 gui_gtk3_22_font_spaceship_label[512];
data/freeciv-2.6.2/client/options.h:299: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 gui_gtk3_22_font_help_label[512];
data/freeciv-2.6.2/client/options.h:300: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 gui_gtk3_22_font_help_link[512];
data/freeciv-2.6.2/client/options.h:301: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 gui_gtk3_22_font_help_text[512];
data/freeciv-2.6.2/client/options.h:302: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 gui_gtk3_22_font_chatline[512];
data/freeciv-2.6.2/client/options.h:303: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 gui_gtk3_22_font_beta_label[512];
data/freeciv-2.6.2/client/options.h:304: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 gui_gtk3_22_font_small[512];
data/freeciv-2.6.2/client/options.h:305: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 gui_gtk3_22_font_comment_label[512];
data/freeciv-2.6.2/client/options.h:306: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 gui_gtk3_22_font_city_names[512];
data/freeciv-2.6.2/client/options.h:307: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 gui_gtk3_22_font_city_productions[512];
data/freeciv-2.6.2/client/options.h: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 gui_gtk3_22_font_reqtree_text[512];
data/freeciv-2.6.2/client/options.h:312: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 gui_sdl_default_theme_name[512];
data/freeciv-2.6.2/client/options.h:320: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 gui_sdl2_default_theme_name[512];
data/freeciv-2.6.2/client/options.h:333: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 gui_qt_default_theme_name[512];
data/freeciv-2.6.2/client/options.h:334: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 gui_qt_font_city_label[512];
data/freeciv-2.6.2/client/options.h:335: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 gui_qt_font_default[512];
data/freeciv-2.6.2/client/options.h:336: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 gui_qt_font_notify_label[512];
data/freeciv-2.6.2/client/options.h:337: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 gui_qt_font_spaceship_label[512];
data/freeciv-2.6.2/client/options.h:338: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 gui_qt_font_help_label[512];
data/freeciv-2.6.2/client/options.h:339: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 gui_qt_font_help_link[512];
data/freeciv-2.6.2/client/options.h: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 gui_qt_font_help_text[512];
data/freeciv-2.6.2/client/options.h: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 gui_qt_font_help_title[512];
data/freeciv-2.6.2/client/options.h:342: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 gui_qt_font_chatline[512];
data/freeciv-2.6.2/client/options.h:343: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 gui_qt_font_beta_label[512];
data/freeciv-2.6.2/client/options.h:344: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 gui_qt_font_small[512];
data/freeciv-2.6.2/client/options.h:345: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 gui_qt_font_comment_label[512];
data/freeciv-2.6.2/client/options.h:346: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 gui_qt_font_city_names[512];
data/freeciv-2.6.2/client/options.h:347: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 gui_qt_font_city_productions[512];
data/freeciv-2.6.2/client/options.h:348: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 gui_qt_font_reqtree_text[512];
data/freeciv-2.6.2/client/options.h:350: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 gui_qt_wakeup_text[512];
data/freeciv-2.6.2/client/packhand.c:2830:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char named[MAX_LEN_NAME];
data/freeciv-2.6.2/client/plrdlg_common.c:105: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[100];
data/freeciv-2.6.2/client/plrdlg_common.c:281: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[100];
data/freeciv-2.6.2/client/servers.c:129: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 vertext[2048];
data/freeciv-2.6.2/client/servers.c:169: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).
    pserver->port = atoi(port);
data/freeciv-2.6.2/client/servers.c:181: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).
    n = atoi(nplayers);
data/freeciv-2.6.2/client/servers.c:185: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).
    n = atoi(nhumans);
data/freeciv-2.6.2/client/servers.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 str[4096];
data/freeciv-2.6.2/client/servers.c:359: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 buffer[MAX_LEN_PACKET];
data/freeciv-2.6.2/client/servers.c:361: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[MAX_LEN_PACKET];
data/freeciv-2.6.2/client/servers.c:399: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 errstr[2048];
data/freeciv-2.6.2/client/servers.c:439: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 errstr[2048];
data/freeciv-2.6.2/client/servers.c:463:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char errstr[2048];
data/freeciv-2.6.2/client/servers.c:482:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char errstr[2048];
data/freeciv-2.6.2/client/servers.c:578: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 msgbuf[128];
data/freeciv-2.6.2/client/servers.c:581: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 servername[512];
data/freeciv-2.6.2/client/servers.c:582: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 portstr[256];
data/freeciv-2.6.2/client/servers.c:584: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[256];
data/freeciv-2.6.2/client/servers.c:585: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 status[256];
data/freeciv-2.6.2/client/servers.c:586: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 players[256];
data/freeciv-2.6.2/client/servers.c:587: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 humans[256];
data/freeciv-2.6.2/client/servers.c:588: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/freeciv-2.6.2/client/servers.c:611: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(portstr);
data/freeciv-2.6.2/client/servers.c:621:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char dst[INET6_ADDRSTRLEN];
data/freeciv-2.6.2/client/servers.c:622:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char host[NI_MAXHOST], service[NI_MAXSERV];
data/freeciv-2.6.2/client/servers.c:683: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).
    pserver->nplayers = atoi(players);
data/freeciv-2.6.2/client/servers.c:684: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).
    pserver->humans = atoi(humans);
data/freeciv-2.6.2/client/text.c:62: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 output_text[O_LAST][16];
data/freeciv-2.6.2/client/text.c:145: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 *diplo_nation_plural_adjectives[DS_LAST] =
data/freeciv-2.6.2/client/text.c:150: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 *diplo_city_adjectives[DS_LAST] =
data/freeciv-2.6.2/client/text.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 username[MAX_LEN_NAME + 32];
data/freeciv-2.6.2/client/text.c:157:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char nation[2 * MAX_LEN_NAME + 32];
data/freeciv-2.6.2/client/text.c:239: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.
    const char *improvements[improvement_count()];
data/freeciv-2.6.2/client/text.c:1288:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char tbuf[MAX_LEN_MSG], ubuf[MAX_LEN_MSG];
data/freeciv-2.6.2/client/text.c:1652: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[4 * MAX_LEN_NAME];
data/freeciv-2.6.2/client/tilespec.c:140:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char direction4letters[4] = "udrl";
data/freeciv-2.6.2/client/tilespec.c:142:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char edge_name[EDGE_COUNT][3] = {"ns", "we", "ud", "lr"};
data/freeciv-2.6.2/client/tilespec.c:459:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[512];
data/freeciv-2.6.2/client/tilespec.c:460: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 given_name[MAX_LEN_NAME];
data/freeciv-2.6.2/client/tilespec.c:461: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[MAX_LEN_NAME];
data/freeciv-2.6.2/client/tilespec.c:576: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[2048];
data/freeciv-2.6.2/client/tilespec.c:1062: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 fname[strlen(tileset_name) + strlen(TILESPEC_SUFFIX) + 1];
data/freeciv-2.6.2/client/tilespec.c:1281: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 tileset_name[strlen(name) + 1], old_name[strlen(tileset->name) + 1];
data/freeciv-2.6.2/client/tilespec.c:1475: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 full_name[strlen(gfx_filename) + strlen(".")
data/freeciv-2.6.2/client/tilespec.c:2415: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 c[64];
data/freeciv-2.6.2/client/tilespec.c:2435: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 c[64];
data/freeciv-2.6.2/client/tilespec.c:2623:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[512];
data/freeciv-2.6.2/client/tilespec.c:2664:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[512];
data/freeciv-2.6.2/client/tilespec.c:2730: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[128];
data/freeciv-2.6.2/client/tilespec.c:2817:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[512], buffer2[512];
data/freeciv-2.6.2/client/tilespec.c:2857: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.
    const char *names[SPACESHIP_COUNT]
data/freeciv-2.6.2/client/tilespec.c:2867:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *names[CURSOR_LAST] =
data/freeciv-2.6.2/client/tilespec.c:2883: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.
    const char *names[ICON_COUNT] = {"freeciv", "citydlg"};
data/freeciv-2.6.2/client/tilespec.c:3196:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[512] = "t.fog";
data/freeciv-2.6.2/client/tilespec.c:3224:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[512];
data/freeciv-2.6.2/client/tilespec.c:3326: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[2048];
data/freeciv-2.6.2/client/tilespec.c:3497:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[512];
data/freeciv-2.6.2/client/tilespec.c:3579: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 full_tag_name[MAX_LEN_NAME + strlen("_isolated")];
data/freeciv-2.6.2/client/tilespec.c:3580: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 full_alt_name[MAX_LEN_NAME + strlen("_isolated")];
data/freeciv-2.6.2/client/tilespec.c:3621:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char c[64] = "", d[64] = "";
data/freeciv-2.6.2/client/tilespec.c:3702: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 full_tag_name[MAX_LEN_NAME + strlen("_fg")];
data/freeciv-2.6.2/client/tilespec.c:3708: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(full_tag_name, "_bg");
data/freeciv-2.6.2/client/tilespec.c:3713: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(full_tag_name, "_mg");
data/freeciv-2.6.2/client/tilespec.c:3718: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(full_tag_name, "_fg");
data/freeciv-2.6.2/client/tilespec.c:3732: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(full_tag_name, "_bg");
data/freeciv-2.6.2/client/tilespec.c:3737: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(full_tag_name, "_mg");
data/freeciv-2.6.2/client/tilespec.c:3742: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(full_tag_name, "_fg");
data/freeciv-2.6.2/client/tilespec.c:3765: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[MAX_LEN_NAME + 20];
data/freeciv-2.6.2/client/tilespec.c:4046: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/freeciv-2.6.2/client/tilespec.c:5276:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char last_reported[256] = "";
data/freeciv-2.6.2/client/tilespec.c:5812: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.
        static char last_reported[256] = "";
data/freeciv-2.6.2/client/tilespec.c:5946:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[256];
data/freeciv-2.6.2/client/voteinfo.h:32:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char user[MAX_LEN_NAME];
data/freeciv-2.6.2/client/voteinfo.h:33: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 desc[512];
data/freeciv-2.6.2/common/actions.h:98: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 ui_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/ai.h:53:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/aicore/cm.c:395: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(newtype, oldtype, sizeof(*oldtype));
data/freeciv-2.6.2/common/aicore/cm.c:657: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->worker_counts, src->worker_counts,
data/freeciv-2.6.2/common/aicore/cm.c:659: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->prereqs_filled, src->prereqs_filled,
data/freeciv-2.6.2/common/aicore/cm.c:1562: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(production, soln->production, sizeof(soln->production));
data/freeciv-2.6.2/common/aicore/cm.c:1608: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(production, pcity->prod, sizeof(pcity->prod));
data/freeciv-2.6.2/common/aicore/cm.c:1989: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(state->pcity, &backup, sizeof(backup));
data/freeciv-2.6.2/common/aicore/cm.c:2049: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(dest, src, sizeof(struct cm_parameter));
data/freeciv-2.6.2/common/aicore/cm.c:2197: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 prodstr[256];
data/freeciv-2.6.2/common/aicore/cm.c:2232: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/freeciv-2.6.2/common/aicore/path_finding.c:3399: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_path->positions, src_path->positions,
data/freeciv-2.6.2/common/aicore/path_finding.c:3422: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(dest_path->positions + dest_end, src_path->positions,
data/freeciv-2.6.2/common/aicore/path_finding.c:3448: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_positions, path->positions + i,
data/freeciv-2.6.2/common/calendar.c:104: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 y[32];
data/freeciv-2.6.2/common/calendar.c:126: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 buffer[128];
data/freeciv-2.6.2/common/capstr.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 our_capability_internal[MAX_LEN_CAPSTR];
data/freeciv-2.6.2/common/city.c:354: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 citylog[128], tmp[8];
data/freeciv-2.6.2/common/city.c:396: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 line[128], tmp[8];
data/freeciv-2.6.2/common/city.c:646: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 buffer[256];
data/freeciv-2.6.2/common/city.c:682: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 buffer[256];
data/freeciv-2.6.2/common/city.h:305:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/city.h:454: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 graphic[MAX_LEN_NAME];
data/freeciv-2.6.2/common/city.h:455: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/city.h:456: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 citizens_graphic[MAX_LEN_NAME];
data/freeciv-2.6.2/common/city.h:457: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 citizens_graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/connection.c:275:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buf->data + buf->ndata, data, len);
data/freeciv-2.6.2/common/connection.c:465: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 buffer[MAX_LEN_NAME*2 + MAX_LEN_ADDR + 128];
data/freeciv-2.6.2/common/connection.c:870: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 pattern_type[pattern_type_len];
data/freeciv-2.6.2/common/connection.h:168:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char username[MAX_LEN_NAME];
data/freeciv-2.6.2/common/connection.h:169:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char addr[MAX_LEN_ADDR];
data/freeciv-2.6.2/common/connection.h:175: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 capability[MAX_LEN_CAPSTR];
data/freeciv-2.6.2/common/connection.h:220:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char password[MAX_LEN_PASSWORD];
data/freeciv-2.6.2/common/connection.h:223:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char ipaddr[MAX_LEN_ADDR];
data/freeciv-2.6.2/common/dataio.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(dst, src, len);
data/freeciv-2.6.2/common/dataio.c:263: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(ADD_TO_POINTER(dout->dest, dout->current), &x, 1);
data/freeciv-2.6.2/common/dataio.c:282: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(ADD_TO_POINTER(dout->dest, dout->current), &x, 2);
data/freeciv-2.6.2/common/dataio.c:301: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(ADD_TO_POINTER(dout->dest, dout->current), &x, 4);
data/freeciv-2.6.2/common/dataio.c:478: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(ADD_TO_POINTER(dout->dest, dout->current), value, size);
data/freeciv-2.6.2/common/dataio.c:581: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(&x, ADD_TO_POINTER(din->src, din->current), 1);
data/freeciv-2.6.2/common/dataio.c:602: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(&x, ADD_TO_POINTER(din->src, din->current), 2);
data/freeciv-2.6.2/common/dataio.c:623: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(&x, ADD_TO_POINTER(din->src, din->current), 4);
data/freeciv-2.6.2/common/dataio.c:794: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(dest, ADD_TO_POINTER(din->src, din->current), dest_size);
data/freeciv-2.6.2/common/effects.c:1036: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 req_text[512];
data/freeciv-2.6.2/common/extras.h:72: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 graphic_str[MAX_LEN_NAME];
data/freeciv-2.6.2/common/extras.h:73: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/extras.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 activity_gfx[MAX_LEN_NAME];
data/freeciv-2.6.2/common/extras.h:75: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 act_gfx_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/extras.h:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char act_gfx_alt2[MAX_LEN_NAME];
data/freeciv-2.6.2/common/extras.h:77: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 rmact_gfx[MAX_LEN_NAME];
data/freeciv-2.6.2/common/extras.h:78: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 rmact_gfx_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/fc_cmdhelp.c:93:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/common/fc_cmdhelp.c:125: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[128];
data/freeciv-2.6.2/common/featured_text.c:54:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char foreground[MAX_LEN_STR];     /* foreground color name. */
data/freeciv-2.6.2/common/featured_text.c:55:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char background[MAX_LEN_STR];     /* background color name. */
data/freeciv-2.6.2/common/featured_text.c:60:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char name[MAX_LEN_STR];           /* A string to indentify the link. */
data/freeciv-2.6.2/common/featured_text.c:255:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[64];
data/freeciv-2.6.2/common/featured_text.c:878:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[text_out_len];
data/freeciv-2.6.2/common/featured_text.c:1064: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[MAX_LEN_LINK];
data/freeciv-2.6.2/common/featured_text.c:1081: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[MAX_LEN_LINK];
data/freeciv-2.6.2/common/featured_text.c:1098: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[MAX_LEN_LINK];
data/freeciv-2.6.2/common/featured_text.c:1114: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[MAX_LEN_LINK];
data/freeciv-2.6.2/common/featured_text.c:1131: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[MAX_LEN_LINK];
data/freeciv-2.6.2/common/game.c:735: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[MAX_LEN_NAME];
data/freeciv-2.6.2/common/game.c:737: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 safe_year_suffix[MAX_LEN_NAME];
data/freeciv-2.6.2/common/game.c:797: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 savename[512];
data/freeciv-2.6.2/common/game.h:153:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char nationset[MAX_LEN_NAME];
data/freeciv-2.6.2/common/game.h:181:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char start_units[MAX_LEN_STARTUNIT];
data/freeciv-2.6.2/common/game.h:210:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char connectmsg[MAX_LEN_MSG];
data/freeciv-2.6.2/common/game.h:211:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char save_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/game.h:214:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char scorefile[MAX_LEN_NAME];
data/freeciv-2.6.2/common/game.h:226:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char rulesetdir[MAX_LEN_NAME];
data/freeciv-2.6.2/common/game.h:227:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char demography[MAX_LEN_DEMOGRAPHY];
data/freeciv-2.6.2/common/game.h:228:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char allow_take[MAX_LEN_ALLOW_TAKE];
data/freeciv-2.6.2/common/game.h:251:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char user_message[256];
data/freeciv-2.6.2/common/game.h:252:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char type[20];
data/freeciv-2.6.2/common/government.h:55:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char graphic_str[MAX_LEN_NAME];
data/freeciv-2.6.2/common/government.h:56: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/improvement.h:81: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 graphic_str[MAX_LEN_NAME];	/* city icon of improv. */
data/freeciv-2.6.2/common/improvement.h:82: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 graphic_alt[MAX_LEN_NAME];	/* city icon of improv. */
data/freeciv-2.6.2/common/improvement.h:91: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 soundtag[MAX_LEN_NAME];
data/freeciv-2.6.2/common/improvement.h:92: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 soundtag_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/mapimg.c:318: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 maparg[MAX_LEN_MAPARG];
data/freeciv-2.6.2/common/mapimg.c:319: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 error[MAX_LEN_MAPDEF];
data/freeciv-2.6.2/common/mapimg.c:329:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char name[MAX_LEN_NAME]; /* used by SHOW_PLRNAME */
data/freeciv-2.6.2/common/mapimg.c:367: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 title[MAX_LEN_MAPDEF];
data/freeciv-2.6.2/common/mapimg.c:463: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 error_buffer[MAX_LEN_ERRORBUF] = "\0";
data/freeciv-2.6.2/common/mapimg.c:646:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char name[10];
data/freeciv-2.6.2/common/mapimg.c:764: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 *mapargs[NUM_MAX_MAPARGS], *mapopts[NUM_MAX_MAPOPTS];
data/freeciv-2.6.2/common/mapimg.c:899:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char *formatargs[NUM_MAX_FORMATARGS];
data/freeciv-2.6.2/common/mapimg.c:1166:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char str_format[64];
data/freeciv-2.6.2/common/mapimg.c:1183: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 default_format[64];
data/freeciv-2.6.2/common/mapimg.c:1284: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_def[MAX_LEN_MAPDEF];
data/freeciv-2.6.2/common/mapimg.c:1327: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 mapimgfile[MAX_LEN_PATH];
data/freeciv-2.6.2/common/mapimg.c:1432: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 mapimgfile[MAX_LEN_PATH];
data/freeciv-2.6.2/common/mapimg.c:1506:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[128];
data/freeciv-2.6.2/common/mapimg.c:1566: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[MAPIMG_LAYER_COUNT + 1];
data/freeciv-2.6.2/common/mapimg.c:1720: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 mapstr[256];
data/freeciv-2.6.2/common/mapimg.c:1721: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 str_show[MAX_NUM_PLAYER_SLOTS + 1];
data/freeciv-2.6.2/common/mapimg.c:2032: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 tmpname[600];
data/freeciv-2.6.2/common/mapimg.c:2090: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 imagefile[MAX_LEN_PATH];
data/freeciv-2.6.2/common/mapimg.c:2091: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 str_color[32], comment[2048] = "", title[258];
data/freeciv-2.6.2/common/mapimg.c:2294: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 ppmname[MAX_LEN_PATH];
data/freeciv-2.6.2/common/mapimg.c:2310:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(ppmname, "w");
data/freeciv-2.6.2/common/mapimg.c:2384: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[512];
data/freeciv-2.6.2/common/mapimg.c:3223: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[MAX_NUM_PLAYER_SLOTS + 1];
data/freeciv-2.6.2/common/movement.c:748: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 denomstr[10];
data/freeciv-2.6.2/common/name_translation.h:37: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 vernacular[MAX_LEN_NAME];        /* Original string,
data/freeciv-2.6.2/common/name_translation.h:39: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 rulename[MAX_LEN_NAME];          /* Name used in savefiles etc.
data/freeciv-2.6.2/common/nation.c:42: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 description[MAX_LEN_MSG];
data/freeciv-2.6.2/common/nation.h:102: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 flag_graphic_str[MAX_LEN_NAME];
data/freeciv-2.6.2/common/nation.h:103: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 flag_graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets.c:147: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 header[2];
data/freeciv-2.6.2/common/packets.c:158: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 header[6];
data/freeciv-2.6.2/common/packets.c:258: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(pc->compression.queue.p + old_size, data, len);
data/freeciv-2.6.2/common/packets.c:488:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buffer->data, decompressed, decompressed_size);
data/freeciv-2.6.2/common/packets.c:720: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 *) (pplayer->attribute_block_buffer.data) + chunk->offset,
data/freeciv-2.6.2/common/packets.c:765: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(packet.data,
data/freeciv-2.6.2/common/packets.c:837: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 functional_capability[MAX_LEN_CAPSTR] = "";
data/freeciv-2.6.2/common/packets.c:838: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 *tokens[MAX_LEN_CAPSTR / 2];
data/freeciv-2.6.2/common/packets.c:867: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(phandlers, packet_handlers_initial(), sizeof(*phandlers));
data/freeciv-2.6.2/common/packets.h:123: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 buffer[MAX_LEN_PACKET]; \
data/freeciv-2.6.2/common/packets_gen.c:50: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.
  static const char *const names[PACKET_LAST] = {
data/freeciv-2.6.2/common/packets_gen.h:27:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char username[48];
data/freeciv-2.6.2/common/packets_gen.h:28: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 capability[512];
data/freeciv-2.6.2/common/packets_gen.h:29: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_label[48];
data/freeciv-2.6.2/common/packets_gen.h:37: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[1536];
data/freeciv-2.6.2/common/packets_gen.h:38: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 capability[512];
data/freeciv-2.6.2/common/packets_gen.h:39: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 challenge_file[4095];
data/freeciv-2.6.2/common/packets_gen.h:45: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[MAX_LEN_MSG];
data/freeciv-2.6.2/common/packets_gen.h:49: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 password[MAX_LEN_PASSWORD];
data/freeciv-2.6.2/common/packets_gen.h:60:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:71: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 category_name[32][MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:93: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 spec_sprite[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:94: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 label[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:157:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char negative_year_label[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:169: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 positive_year_label[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h: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 calendar_fragment_name[MAX_CALENDAR_FRAGMENTS][MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:224:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char team_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:234: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[MAX_LEN_MSG];
data/freeciv-2.6.2/common/packets_gen.h:243:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char message[MAX_LEN_MSG];
data/freeciv-2.6.2/common/packets_gen.h:252: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[MAX_LEN_MSG];
data/freeciv-2.6.2/common/packets_gen.h: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 message[MAX_LEN_MSG];
data/freeciv-2.6.2/common/packets_gen.h:313:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:328:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:371:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:389:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:412:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:413:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char username[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:478: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 data[ATTRIBUTE_CHUNK_SIZE];
data/freeciv-2.6.2/common/packets_gen.h:505: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 inventions[A_LAST + 1];
data/freeciv-2.6.2/common/packets_gen.h:587:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:759: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 caption[MAX_LEN_MSG];
data/freeciv-2.6.2/common/packets_gen.h:760: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 headline[MAX_LEN_MSG];
data/freeciv-2.6.2/common/packets_gen.h:767: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 lines[MAX_LEN_CONTENT];
data/freeciv-2.6.2/common/packets_gen.h:781:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char username[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:782:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char addr[MAX_LEN_ADDR];
data/freeciv-2.6.2/common/packets_gen.h:783: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 capability[MAX_LEN_CAPSTR];
data/freeciv-2.6.2/common/packets_gen.h:806: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 distribution[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:871:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:872: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 rule_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:873: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 graphic_str[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:874: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:875: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 sound_move[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:876: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 sound_move_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:877: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 sound_fight[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:878: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 sound_fight_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:902: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 veteran_name[MAX_VET_LEVELS][MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:911: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 helptext[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:926:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:927: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 helptxt[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h: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 veteran_name[MAX_VET_LEVELS][MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:945: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 plural_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:946: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 rule_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:947: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 short_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:948: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:951: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 helptext[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:957: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 male_title[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:958: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 female_title[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:968:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:969: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 rule_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:970: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 helptext[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:971: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 graphic_str[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:972: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:977:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:978: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 helptxt[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:985:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:986: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 rule_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:987: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 graphic_str[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:988: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h: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 helptext[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:1002: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 gui_type_base0[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1003: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 gui_type_base1[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h: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 names[MAX_NUM_NATION_SETS][MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1013: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 rule_names[MAX_NUM_NATION_SETS][MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1014: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 descriptions[MAX_NUM_NATION_SETS][MAX_LEN_MSG];
data/freeciv-2.6.2/common/packets_gen.h:1019: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 groups[MAX_NUM_NATION_GROUPS][MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1025:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char translation_domain[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1026: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 adjective[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1027: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 rule_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1028: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 noun_plural[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1029: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 graphic_str[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1030: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1031: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 legend[MAX_LEN_MSG];
data/freeciv-2.6.2/common/packets_gen.h:1034: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 leader_name[MAX_NUM_LEADERS][MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1056:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1057: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 rule_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1062:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1063: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 rule_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1064: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 citizens_graphic[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1065: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 citizens_graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1068: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 graphic[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1069: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1075:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1076: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 rule_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1077: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 graphic_str[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1078: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1087: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 soundtag[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1088: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 soundtag_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1089: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 helptext[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:1097:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1098: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 rule_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1099: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 graphic_str[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1100: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h: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 helptext[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:1129:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1130: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 helptxt[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:1135:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1136: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 rule_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1142: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 helptext[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:1147:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1148: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 rule_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1152: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 activity_gfx[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1153: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 act_gfx_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1154: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 act_gfx_alt2[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1155: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 rmact_gfx[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1156: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 rmact_gfx_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1157: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 graphic_str[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1158: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1173: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 helptext[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:1201:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1202: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 rule_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1211:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1212: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 rule_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1227: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 ui_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1241: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 music_peaceful[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1242: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 music_combat[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1255:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1256: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 rule_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1257: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 helptext[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:1279: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 preferred_tileset[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1280: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 preferred_soundset[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1281: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 preferred_musicset[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1283:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1284: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[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1289: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 text[MAX_LEN_CONTENT];
data/freeciv-2.6.2/common/packets_gen.h:1293: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 text[MAX_LEN_CONTENT];
data/freeciv-2.6.2/common/packets_gen.h:1297: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 token[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1306: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 rulesets[MAX_NUM_RULESETS][MAX_RULESET_NAME_LENGTH];
data/freeciv-2.6.2/common/packets_gen.h:1311: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 load_filename[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:1317: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 category_names[256][MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1322:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1323: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 short_help[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:1324: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 extra_help[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:1353: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 val[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:1354: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 default_val[MAX_LEN_PACKET];
data/freeciv-2.6.2/common/packets_gen.h:1365: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 support_names[64][MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1366: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 pretty_names[64][MAX_LEN_ENUM];
data/freeciv-2.6.2/common/packets_gen.h:1377: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 support_names[64][MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1378: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 pretty_names[64][MAX_LEN_ENUM];
data/freeciv-2.6.2/common/packets_gen.h: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 name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1397: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 rule_name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1399: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 graphic_str[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1400: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1405:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[256];
data/freeciv-2.6.2/common/packets_gen.h:1406: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 authors[MAX_LEN_PACKET / 3];
data/freeciv-2.6.2/common/packets_gen.h:1418: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 description[MAX_LEN_CONTENT];
data/freeciv-2.6.2/common/packets_gen.h:1422:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1427:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char user[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1428: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 desc[512];
data/freeciv-2.6.2/common/packets_gen.h:1508: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 label[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1562:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1603:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1604:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char username[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1605: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 ranked_username[MAX_LEN_NAME];
data/freeciv-2.6.2/common/packets_gen.h:1639: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 scenario_name[256];
data/freeciv-2.6.2/common/packets_gen.h:1640: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 scenario_authors[MAX_LEN_PACKET / 3];
data/freeciv-2.6.2/common/packets_gen.h:1649: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 scenario_desc[MAX_LEN_CONTENT];
data/freeciv-2.6.2/common/packets_gen.h:1658: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 tag[MAX_LEN_NAME];
data/freeciv-2.6.2/common/player.h:221:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/player.h:222:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char username[MAX_LEN_NAME];
data/freeciv-2.6.2/common/player.h:224:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ranked_username[MAX_LEN_NAME]; /* the user who will be ranked */
data/freeciv-2.6.2/common/player.h:306:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char delegate_to[MAX_LEN_NAME];
data/freeciv-2.6.2/common/player.h:314:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char orig_username[MAX_LEN_NAME];
data/freeciv-2.6.2/common/requirements.c:181:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    source.value.minveteran = atoi(value);
data/freeciv-2.6.2/common/requirements.c:193:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    source.value.minmoves = atoi(value);
data/freeciv-2.6.2/common/requirements.c:199: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).
    source.value.min_hit_points = atoi(value);
data/freeciv-2.6.2/common/requirements.c:205: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).
    source.value.age = atoi(value);
data/freeciv-2.6.2/common/requirements.c:223:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    source.value.minsize = atoi(value);
data/freeciv-2.6.2/common/requirements.c:229:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    source.value.minculture = atoi(value);
data/freeciv-2.6.2/common/requirements.c:241: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).
    source.value.max_tile_units = atoi(value);
data/freeciv-2.6.2/common/requirements.c:272:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    source.value.minyear = atoi(value);
data/freeciv-2.6.2/common/requirements.c:3103: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 buffer[10];
data/freeciv-2.6.2/common/research.c:173:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf2[buf_len];
data/freeciv-2.6.2/common/research.c:244:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[256];
data/freeciv-2.6.2/common/research.c:277:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[256];
data/freeciv-2.6.2/common/research.c:414: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[advance_count() + 1];
data/freeciv-2.6.2/common/rgbcolor.c:94: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 colorpath[256];
data/freeciv-2.6.2/common/rgbcolor.c:124: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 colorpath[256];
data/freeciv-2.6.2/common/rgbcolor.c:165: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 hex2[16];
data/freeciv-2.6.2/common/scriptcore/api_game_methods.c:454: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[MAX_LEN_MSG];
data/freeciv-2.6.2/common/scriptcore/api_game_specenum.c:47: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[128];                                                   \
data/freeciv-2.6.2/common/scriptcore/luascript.c:405: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/freeciv-2.6.2/common/scriptcore/luascript_signal.c:272: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 buffer[1024];
data/freeciv-2.6.2/common/specialist.c:175: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[5 * SP_MAX];
data/freeciv-2.6.2/common/specialist.c:200: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[5 * SP_MAX];
data/freeciv-2.6.2/common/specialist.h:34: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/style.h:30: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 music_peaceful[MAX_LEN_NAME];
data/freeciv-2.6.2/common/style.h:31: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 music_combat[MAX_LEN_NAME];
data/freeciv-2.6.2/common/team.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 buf[MAX_LEN_NAME];
data/freeciv-2.6.2/common/tech.h:119: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 graphic_str[MAX_LEN_NAME];	/* which named sprite to use */
data/freeciv-2.6.2/common/tech.h:120: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 graphic_alt[MAX_LEN_NAME];	/* alternate icon name */
data/freeciv-2.6.2/common/terrain.c:586: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 s[256];
data/freeciv-2.6.2/common/terrain.h:46: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 graphic_str[MAX_LEN_NAME];
data/freeciv-2.6.2/common/terrain.h:47: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/terrain.h:180: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 graphic_str[MAX_LEN_NAME];	/* add tile_ prefix */
data/freeciv-2.6.2/common/terrain.h:181: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/tile.c:763: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 s[256];
data/freeciv-2.6.2/common/unit.c:2095: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 tbuf[MAX_LEN_MSG];
data/freeciv-2.6.2/common/unittype.c:776: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 buffer[256];
data/freeciv-2.6.2/common/unittype.c:797: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 buffer[256];
data/freeciv-2.6.2/common/unittype.c:843: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.
    const char *vec[count];
data/freeciv-2.6.2/common/unittype.h:458: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 graphic_str[MAX_LEN_NAME];
data/freeciv-2.6.2/common/unittype.h:459: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 graphic_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/unittype.h:460: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 sound_move[MAX_LEN_NAME];
data/freeciv-2.6.2/common/unittype.h:461: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 sound_move_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/unittype.h:462: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 sound_fight[MAX_LEN_NAME];
data/freeciv-2.6.2/common/unittype.h:463: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 sound_fight_alt[MAX_LEN_NAME];
data/freeciv-2.6.2/common/version.c:37: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 msgbuf[256];
data/freeciv-2.6.2/common/version.c:72: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[100];
data/freeciv-2.6.2/common/version.c:101: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 msgbuf[500];
data/freeciv-2.6.2/common/version.c:154: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[500] = { '\0' };
data/freeciv-2.6.2/common/vision.h:116:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/common/worklist.c:116: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->entries, src->entries, sizeof(struct universal) * src->length);
data/freeciv-2.6.2/dependencies/cvercmp/cvercmp.c:126: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 val1 = atoi(t1[i]);
data/freeciv-2.6.2/dependencies/cvercmp/cvercmp.c:127: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 val2 = atoi(t2[i]);
data/freeciv-2.6.2/dependencies/lua-5.3/src/lapi.c:1297:33:  [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 (upisopen(*up1)) (*up1)->u.open.touched = 1;
data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.c:519: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(newbuff, B->b, B->n * sizeof(char));  /* copy original content */
data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.c:531: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(b, s, l * sizeof(char));
data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.c:638:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[BUFSIZ];  /* area for reading file */
data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.c:715:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    lf.f = fopen(filename, "r");
data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.h:153: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 initb[LUAL_BUFFERSIZE];  /* initial buffer */
data/freeciv-2.6.2/dependencies/lua-5.3/src/ldblib.c:382:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[5];
data/freeciv-2.6.2/dependencies/lua-5.3/src/ldblib.c:404: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 buffer[250];
data/freeciv-2.6.2/dependencies/lua-5.3/src/ldebug.c:630:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[LUA_IDSIZE];
data/freeciv-2.6.2/dependencies/lua-5.3/src/ldo.c:162:50:  [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).
  for (up = L->openupval; up != NULL; up = up->u.open.next)
data/freeciv-2.6.2/dependencies/lua-5.3/src/lfunc.c:66:16:  [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).
    pp = &p->u.open.next;
data/freeciv-2.6.2/dependencies/lua-5.3/src/lfunc.c:71:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  uv->u.open.next = *pp;  /* link it to list of open upvalues */
data/freeciv-2.6.2/dependencies/lua-5.3/src/lfunc.c:72:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  uv->u.open.touched = 1;
data/freeciv-2.6.2/dependencies/lua-5.3/src/lfunc.c:87:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    L->openupval = uv->u.open.next;  /* remove from 'open' list */
data/freeciv-2.6.2/dependencies/lua-5.3/src/lfunc.h:42: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).
    } open;
data/freeciv-2.6.2/dependencies/lua-5.3/src/lgc.c:323:59:  [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).
      for (uv = thread->openupval; uv != NULL; uv = uv->u.open.next) {
data/freeciv-2.6.2/dependencies/lua-5.3/src/lgc.c:324:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if (uv->u.open.touched) {
data/freeciv-2.6.2/dependencies/lua-5.3/src/lgc.c:326:17:  [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).
          uv->u.open.touched = 0;
data/freeciv-2.6.2/dependencies/lua-5.3/src/lgc.c:521:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        uv->u.open.touched = 1;  /* can be marked in 'remarkupvals' */
data/freeciv-2.6.2/dependencies/lua-5.3/src/liolib.c:250: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).
  p->f = fopen(fname, mode);
data/freeciv-2.6.2/dependencies/lua-5.3/src/liolib.c:262: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).
  p->f = fopen(filename, mode);
data/freeciv-2.6.2/dependencies/lua-5.3/src/liolib.c:288:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  p->f = tmpfile();
data/freeciv-2.6.2/dependencies/lua-5.3/src/liolib.c:394:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[L_MAXLENNUM + 1];  /* +1 for ending '\0' */
data/freeciv-2.6.2/dependencies/lua-5.3/src/liolib.c:444: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 decp[2];
data/freeciv-2.6.2/dependencies/lua-5.3/src/llex.c:346:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[UTF8BUFFSZ];
data/freeciv-2.6.2/dependencies/lua-5.3/src/loadlib.c:169:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[MAX_PATH + 1];
data/freeciv-2.6.2/dependencies/lua-5.3/src/loadlib.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 buffer[128];
data/freeciv-2.6.2/dependencies/lua-5.3/src/loadlib.c:417:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(filename, "r");  /* try to open file */
data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.c:282: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 buff[L_MAXLENNUM + 1];
data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.c:372:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[MAXNUMBER2STR];
data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.c:437:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buff[4*sizeof(void *) + 8]; /* should be enough space for a '%p' */
data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.c:444:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buff[UTF8BUFFSZ];
data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.c:485:25:  [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 addstr(a,b,l)	( memcpy(a,b,(l) * sizeof(char)), a += (l) )
data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.c:491: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(out, source + 1, l * sizeof(char));
data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.c:499: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(out, source + 1, l * sizeof(char));
data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.c:503: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(out, source + 1 + l - bufflen, bufflen * sizeof(char));
data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.c:519: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(out, POS, (LL(POS) + 1) * sizeof(char));
data/freeciv-2.6.2/dependencies/lua-5.3/src/lopcodes.c:20: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.
LUAI_DDEF const char *const luaP_opnames[NUM_OPCODES+1] = {
data/freeciv-2.6.2/dependencies/lua-5.3/src/lopcodes.h:290: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.
LUAI_DDEC const char *const luaP_opnames[NUM_OPCODES+1];  /* opcode names */
data/freeciv-2.6.2/dependencies/lua-5.3/src/loslib.c:123:13:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
        e = mkstemp(b); \
data/freeciv-2.6.2/dependencies/lua-5.3/src/loslib.c:167:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[LUA_TMPNAMBUFSIZE];
data/freeciv-2.6.2/dependencies/lua-5.3/src/loslib.c:268: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(buff, conv, oplen);  /* copy valid option to buffer */
data/freeciv-2.6.2/dependencies/lua-5.3/src/loslib.c:303: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 cc[4];  /* buffer for individual conversion specifiers */
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstate.c:79: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(b + p, &t, sizeof(t)); p += sizeof(t); }
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstate.c:82:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[4 * sizeof(size_t)];
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstate.c:276: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(lua_getextraspace(L1), lua_getextraspace(g->mainthread),
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstring.c:187: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(getstr(ts), str, l * sizeof(char));
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstring.c:207: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(getstr(ts), str, l * sizeof(char));
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstrlib.c:135: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(p, s, l * sizeof(char)); p += l;
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstrlib.c:137: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(p, sep, lsep * sizeof(char));
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstrlib.c:141: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(p, s, l * sizeof(char));  /* last copy (not followed by separator) */
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstrlib.c:916:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buff[10];
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstrlib.c:996: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(form, strfrmt, ((p - strfrmt) + 1) * sizeof(char));
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstrlib.c:1030:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char form[MAX_FORMAT];  /* to store the format ('%...') */
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstrlib.c:1146:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[5 * sizeof(lua_Number)];  /* enough for any float type */
data/freeciv-2.6.2/dependencies/lua-5.3/src/ltablib.c:263: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(buff, &c, sof(c) * sizeof(unsigned int));
data/freeciv-2.6.2/dependencies/lua-5.3/src/ltablib.c:264: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(buff + sof(c), &t, sof(t) * sizeof(unsigned int));
data/freeciv-2.6.2/dependencies/lua-5.3/src/ltm.c:29: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.
LUAI_DDEF const char *const luaT_typenames_[LUA_TOTALTAGS] = {
data/freeciv-2.6.2/dependencies/lua-5.3/src/ltm.h:55: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.
LUAI_DDEC const char *const luaT_typenames_[LUA_TOTALTAGS];
data/freeciv-2.6.2/dependencies/lua-5.3/src/lua.h:454: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 short_src[LUA_IDSIZE]; /* (S) */
data/freeciv-2.6.2/dependencies/lua-5.3/src/lundump.c:95: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 buff[LUAI_MAXSHORTLEN];
data/freeciv-2.6.2/dependencies/lua-5.3/src/lundump.c:220:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[sizeof(LUA_SIGNATURE) + sizeof(LUAC_DATA)]; /* larger than both */
data/freeciv-2.6.2/dependencies/lua-5.3/src/lvm.c:464: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(buff + tl, svalue(top - n), l * sizeof(char));
data/freeciv-2.6.2/dependencies/lua-5.3/src/lvm.c:498:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buff[LUAI_MAXSHORTLEN];
data/freeciv-2.6.2/dependencies/lua-5.3/src/lzio.c:60: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(b, z->p, m);
data/freeciv-2.6.2/dependencies/luasql/src/ls_mysql.c:166:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char typename[50];
data/freeciv-2.6.2/dependencies/luasql/src/ls_mysql.c:174: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 (typename, "%.20s(%ld)", getcolumntype (fields[i-1].type), fields[i-1].length);
data/freeciv-2.6.2/dependencies/luasql/src/ls_mysql.c:530: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 error_msg[100];
data/freeciv-2.6.2/dependencies/luasql/src/ls_postgres.c:192:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char stmt[100];
data/freeciv-2.6.2/dependencies/luasql/src/ls_postgres.c:195: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 (stmt, "select typname from pg_type where oid = %d", codigo);
data/freeciv-2.6.2/dependencies/luasql/src/ls_postgres.c:197: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 (buff, "undefined");
data/freeciv-2.6.2/dependencies/luasql/src/ls_postgres.c:204: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 (buff, "%.20s (%d)", name, modifier);
data/freeciv-2.6.2/dependencies/luasql/src/ls_postgres.c:235:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char typename[100];
data/freeciv-2.6.2/dependencies/luasql/src/luasql.c:54:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buff[100];
data/freeciv-2.6.2/dependencies/luasql/src/luasql.c:57:3:  [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 (buff, "closed");
data/freeciv-2.6.2/dependencies/luasql/src/luasql.c:59: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 (buff, "%p", (void *)obj);
data/freeciv-2.6.2/dependencies/tolua-5.2/src/bin/tolua.c:117: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  path[BUFSIZ] = "";
data/freeciv-2.6.2/dependencies/tolua-5.2/src/bin/tolua.c:124: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(path,"all.lua");
data/freeciv-2.6.2/dependencies/tolua-5.2/src/lib/tolua_map.c:26: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 toluaname[128] = "tolua.";
data/freeciv-2.6.2/dependencies/tolua-5.2/src/lib/tolua_map.c:29: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(&toluaname[6],"%.120s",n);
data/freeciv-2.6.2/dependencies/tolua-5.2/src/lib/tolua_map.c:285: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(clone,value,size);
data/freeciv-2.6.2/dependencies/tolua-5.2/src/lib/tolua_map.c:332: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 ctype[128] = "const ";
data/freeciv-2.6.2/dependencies/tolua-5.2/src/lib/tolua_map.c:432: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 cname[128] = "const ";
data/freeciv-2.6.2/dependencies/tolua-5.2/src/lib/tolua_map.c:433: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 cbase[128] = "const ";
data/freeciv-2.6.2/server/aiiface.c: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 buffer[2048];
data/freeciv-2.6.2/server/aiiface.c:75: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 filename[1024];
data/freeciv-2.6.2/server/aiiface.c:151:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[2048];
data/freeciv-2.6.2/server/auth.c:77: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 tmpname[MAX_LEN_NAME] = "\0";
data/freeciv-2.6.2/server/auth.c:102: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 buffer[MAX_LEN_MSG];
data/freeciv-2.6.2/server/auth.c:168: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 msg[MAX_LEN_MSG];
data/freeciv-2.6.2/server/auth.c:275: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 checksum[MD5_HEX_BYTES + 1];
data/freeciv-2.6.2/server/cityhand.c:349: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[MAX_LEN_MSG];
data/freeciv-2.6.2/server/cityhand.c:501: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/freeciv-2.6.2/server/citytools.c:541: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 tempname[MAX_LEN_NAME];
data/freeciv-2.6.2/server/citytools.c:1061: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 old_city_name[MAX_LEN_NAME];
data/freeciv-2.6.2/server/citytools.c:2534: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 city1_link[MAX_LEN_LINK];
data/freeciv-2.6.2/server/citytools.c:2535: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 city2_link[MAX_LEN_LINK];
data/freeciv-2.6.2/server/cityturn.c:540: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[4 * MAX_LEN_NAME];
data/freeciv-2.6.2/server/cityturn.c:2214:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char research_name[MAX_LEN_NAME * 2];
data/freeciv-2.6.2/server/cityturn.c:3343:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name_from[MAX_LEN_LINK], name_to[MAX_LEN_LINK];
data/freeciv-2.6.2/server/cityturn.c:3706:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char prod[256];
data/freeciv-2.6.2/server/cityturn.c:3772: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 city_link_text[MAX_LEN_LINK];
data/freeciv-2.6.2/server/connecthand.c:130: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[512];
data/freeciv-2.6.2/server/connecthand.c:343: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 msg[MAX_LEN_MSG];
data/freeciv-2.6.2/server/console.c:116: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[128];
data/freeciv-2.6.2/server/console.c:119: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 timestr[32];
data/freeciv-2.6.2/server/console.c:177: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[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/console.c:203: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 buf1[(MAX_LEN_CONSOLE_LINE * 3) / 2];
data/freeciv-2.6.2/server/console.c:204: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 buf2[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/diplhand.c:458:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char research_name[MAX_LEN_NAME * 2];
data/freeciv-2.6.2/server/diplomats.c:326: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 victim_link[MAX_LEN_LINK];
data/freeciv-2.6.2/server/diplomats.c:409: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 victim_link[MAX_LEN_LINK];
data/freeciv-2.6.2/server/diplomats.c:1012: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 prod[256];
data/freeciv-2.6.2/server/diplomats.c:1319: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 link_city[MAX_LEN_LINK] = "";
data/freeciv-2.6.2/server/diplomats.c:1320: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 link_diplomat[MAX_LEN_LINK];
data/freeciv-2.6.2/server/diplomats.c:1321: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 link_unit[MAX_LEN_LINK];
data/freeciv-2.6.2/server/edithand.c:749: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/freeciv-2.6.2/server/edithand.c:1023: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 error_buf[256];
data/freeciv-2.6.2/server/gamehand.c:321: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(pstate->startpos, pbest_state->startpos, state_array_size);
data/freeciv-2.6.2/server/gamehand.c:394:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pnew->startpos, pstate->startpos, state_array_size);
data/freeciv-2.6.2/server/gamehand.c:401:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(pbest_state->startpos, pnew->startpos, state_array_size);
data/freeciv-2.6.2/server/gamehand.c:1021: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 filename[MAX_LEN_PATH];
data/freeciv-2.6.2/server/gamehand.c:1034: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 fullname[MAX_LEN_PATH];
data/freeciv-2.6.2/server/generator/temperature_map.c:40: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[MAP_MAX_LINEAR_SIZE + 1];
data/freeciv-2.6.2/server/handchat.c:130: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 sender_name[MAX_LEN_CHAT_NAME], dest_name[MAX_LEN_CHAT_NAME];
data/freeciv-2.6.2/server/handchat.c:160: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 sender_name[MAX_LEN_CHAT_NAME];
data/freeciv-2.6.2/server/handchat.c:226: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 sender_name[MAX_LEN_CHAT_NAME];
data/freeciv-2.6.2/server/handchat.c:258: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 sender_name[MAX_LEN_CHAT_NAME];
data/freeciv-2.6.2/server/handchat.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 sender_name[MAX_LEN_CHAT_NAME];
data/freeciv-2.6.2/server/handchat.c:322: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 real_message[MAX_LEN_MSG], *cp;
data/freeciv-2.6.2/server/handchat.c:394: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 name[MAX_LEN_NAME];
data/freeciv-2.6.2/server/maphand.c:1197: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(plrtile->own_seen, plrtile->seen_count, sizeof(v_radius_t));
data/freeciv-2.6.2/server/maphand.c:2223: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(vision->radius_sq, radius_sq, sizeof(v_radius_t));
data/freeciv-2.6.2/server/meta.c:72: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 meta_patches[256] = "";
data/freeciv-2.6.2/server/meta.c:73: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 meta_message[256] = "";
data/freeciv-2.6.2/server/meta.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 buf[256];
data/freeciv-2.6.2/server/meta.c:267: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[512];
data/freeciv-2.6.2/server/meta.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 state[20];
data/freeciv-2.6.2/server/meta.c:269: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 rs[256];
data/freeciv-2.6.2/server/meta.c:331:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char type[15];
data/freeciv-2.6.2/server/notify.c:62: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[MAX_LEN_MSG];
data/freeciv-2.6.2/server/notify.c:758: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 timestr[64];
data/freeciv-2.6.2/server/notify.c:911: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 target[MAX_NUM_PLAYER_SLOTS + 1];
data/freeciv-2.6.2/server/plrhand.c:1563: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/freeciv-2.6.2/server/plrhand.c:1564: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[16];
data/freeciv-2.6.2/server/plrhand.c:1874: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 real_name[MAX_LEN_NAME];
data/freeciv-2.6.2/server/plrhand.c:1875: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/freeciv-2.6.2/server/plrhand.c:1912: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 test[MAX_LEN_NAME];
data/freeciv-2.6.2/server/report.c:332: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[4096];
data/freeciv-2.6.2/server/report.c:366:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char team_name[2 * MAX_LEN_NAME];
data/freeciv-2.6.2/server/report.c:401: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[4096];
data/freeciv-2.6.2/server/report.c:412:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char team_name[2 * MAX_LEN_NAME];
data/freeciv-2.6.2/server/report.c:444: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.
              char team_name[2 * MAX_LEN_NAME];
data/freeciv-2.6.2/server/report.c:791: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/freeciv-2.6.2/server/report.c:993: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 civbuf[1024];
data/freeciv-2.6.2/server/report.c:994: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[4096];
data/freeciv-2.6.2/server/report.c:1057: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 civbuf[1024];
data/freeciv-2.6.2/server/report.c:1058: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[4096];
data/freeciv-2.6.2/server/report.c:1127: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 plr_name[MAX_LEN_NAME], line[120], *ptr;
data/freeciv-2.6.2/server/report.c:1325: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 id[MAX_LEN_GAME_IDENTIFIER];
data/freeciv-2.6.2/server/report.h:27: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 title[REPORT_TITLESIZE];
data/freeciv-2.6.2/server/report.h:28: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 body[REPORT_BODYSIZE];
data/freeciv-2.6.2/server/ruleset.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 buf[1024];
data/freeciv-2.6.2/server/ruleset.c:206: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 filename[512];
data/freeciv-2.6.2/server/ruleset.c:258: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 sfilename[512];
data/freeciv-2.6.2/server/ruleset.c:363: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[MAX_LEN_NAME];
data/freeciv-2.6.2/server/ruleset.c:838: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 copy[strlen(sval) + 1];
data/freeciv-2.6.2/server/ruleset.c:1544: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 msg[MAX_LEN_MSG];
data/freeciv-2.6.2/server/ruleset.c:1661:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char tmp[200] = "\0";
data/freeciv-2.6.2/server/ruleset.c:2771:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char identifier[MAX_LEN_NAME];
data/freeciv-2.6.2/server/ruleset.c:3437:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char entry[100];
data/freeciv-2.6.2/server/ruleset.c:3796: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 city_name[len + 1], *p, *next, *end;
data/freeciv-2.6.2/server/ruleset.c:3946: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 temp_name[MAX_LEN_NAME];
data/freeciv-2.6.2/server/ruleset.c:4161:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char tmp[200] = "\0";
data/freeciv-2.6.2/server/ruleset.c:5008: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 fullpath[256];
data/freeciv-2.6.2/server/ruleset.c:6783: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 helptext[MAX_LEN_PACKET];
data/freeciv-2.6.2/server/savecompat.c:355: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.
              char row[xsize+1];
data/freeciv-2.6.2/server/savecompat.c:573: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[2];
data/freeciv-2.6.2/server/savecompat.c:586:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char value_buffer[1024] = "";
data/freeciv-2.6.2/server/savecompat.c:587:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char gamestart_buffer[1024] = "";
data/freeciv-2.6.2/server/savecompat.c:894:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char orders_str[len + 1];
data/freeciv-2.6.2/server/savecompat.c:1094:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[32];
data/freeciv-2.6.2/server/savegame.c:115: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 line[game.map.xsize + 1];                                            \
data/freeciv-2.6.2/server/savegame.c:486: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 *) dest)[i] = tmp;
data/freeciv-2.6.2/server/savegame.c:507: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 path_str[1024];
data/freeciv-2.6.2/server/savegame.c:696:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[16]; /* enough for sprintf() below */
data/freeciv-2.6.2/server/savegame.c:697:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (buf, "map.spe%02d_%%03d", j);
data/freeciv-2.6.2/server/savegame.c:949:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[20]; /* enough for sprintf() below */
data/freeciv-2.6.2/server/savegame.c:950:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(buf, "map.spe%02d_%%03d", j);
data/freeciv-2.6.2/server/savegame.c:997: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 zeroline[game.map.xsize + 1];
data/freeciv-2.6.2/server/savegame.c:1008:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[20]; /* enough for sprintf() below */
data/freeciv-2.6.2/server/savegame.c:1009:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(buf, "map.b%02d_%%03d", j);
data/freeciv-2.6.2/server/savegame.c:1042:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char token1[TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame.c:1043:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char token2[TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame.c:1148: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 path_with_name[128];
data/freeciv-2.6.2/server/savegame.c:1217: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 unitstr[32];
data/freeciv-2.6.2/server/savegame.c:1992: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 prefix[32];
data/freeciv-2.6.2/server/savegame.c:2235:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char token[TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame.c:2273: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 named[MAX_LEN_NAME], citystr[32];
data/freeciv-2.6.2/server/savegame.c:2810:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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]; /* enough for sprintf() below */
data/freeciv-2.6.2/server/savegame.c:2811: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 (buf, "player%d.map_spe%02d_%%03d", plrno, j);
data/freeciv-2.6.2/server/savegame.c:2843:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char zeroline[game.map.xsize + 1];
data/freeciv-2.6.2/server/savegame.c:2854:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[32]; /* should be enough for snprintf() below */
data/freeciv-2.6.2/server/savegame2.c:171: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 _line[game.map.xsize + 1];                                           \
data/freeciv-2.6.2/server/savegame2.c:224:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[64];                                                         \
data/freeciv-2.6.2/server/savegame2.c:230:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[64];                                                         \
data/freeciv-2.6.2/server/savegame2.c:293: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 secfile_options[512];
data/freeciv-2.6.2/server/savegame2.c:1002: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(buffer, "%d:", length);
data/freeciv-2.6.2/server/savegame2.c:1006: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(buffer + offset, "%02x ", ((unsigned char *) data)[i]);
data/freeciv-2.6.2/server/savegame2.c:1006:50:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    sprintf(buffer + offset, "%02x ", ((unsigned char *) data)[i]);
data/freeciv-2.6.2/server/savegame2.c:1039: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 *) dest)[i] = tmp;
data/freeciv-2.6.2/server/savegame2.c:1055: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 path_str[1024];
data/freeciv-2.6.2/server/savegame2.c:1093: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 path_str[1024];
data/freeciv-2.6.2/server/savegame2.c:1493: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 path_with_name[128];
data/freeciv-2.6.2/server/savegame2.c:1529: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 path_with_name[128];
data/freeciv-2.6.2/server/savegame2.c:2130: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[2];
data/freeciv-2.6.2/server/savegame2.c:2355: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 path[256];
data/freeciv-2.6.2/server/savegame2.c:2375: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 global_advances[game.control.num_tech_types + 1];
data/freeciv-2.6.2/server/savegame2.c:2563:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char vec[100];
data/freeciv-2.6.2/server/savegame2.c:3180:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[size], *start, *end;
data/freeciv-2.6.2/server/savegame2.c:3182:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(buf, nation_names, size);
data/freeciv-2.6.2/server/savegame2.c:3252:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char nation_names[MAX_LEN_NAME * nation_hash_size(nations)];
data/freeciv-2.6.2/server/savegame2.c:3310:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char token1[TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:3311:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char token2[TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:3312:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char token3[TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:3377: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 line[game.map.xsize * TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:3381:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char token[TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:3399: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 line[game.map.xsize * TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:3403:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char token[TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:3420: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 line[game.map.xsize * TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:3424:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char token[TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:3466:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char token[TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:3503: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 line[game.map.xsize * TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:3507:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char token[TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:4066: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 destroyed[B_LAST+1];
data/freeciv-2.6.2/server/savegame2.c:4191: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[32];
data/freeciv-2.6.2/server/savegame2.c:4245: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[32];
data/freeciv-2.6.2/server/savegame2.c:4501: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 prefix[32];
data/freeciv-2.6.2/server/savegame2.c:4661: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[32];
data/freeciv-2.6.2/server/savegame2.c:4818: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[32];
data/freeciv-2.6.2/server/savegame2.c:4819: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 st[NUM_SS_STRUCTURALS+1];
data/freeciv-2.6.2/server/savegame2.c:4851: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 lost[B_LAST+1];
data/freeciv-2.6.2/server/savegame2.c:4899: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[32];
data/freeciv-2.6.2/server/savegame2.c:5328: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 impr_buf[MAX_NUM_ITEMS + 1];
data/freeciv-2.6.2/server/savegame2.c:5329: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[32];
data/freeciv-2.6.2/server/savegame2.c:5509: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[32];
data/freeciv-2.6.2/server/savegame2.c:6219: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[32];
data/freeciv-2.6.2/server/savegame2.c:6220: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 dirbuf[2] = " ";
data/freeciv-2.6.2/server/savegame2.c:6323:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char orders_buf[len + 1], dir_buf[len + 1];
data/freeciv-2.6.2/server/savegame2.c:6324:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char act_buf[len + 1], tgt_buf[len + 1];
data/freeciv-2.6.2/server/savegame2.c:6478: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 part[PART_SIZE + PART_ADJUST];
data/freeciv-2.6.2/server/savegame2.c:6510: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(part, quoted, size_of_current_part);
data/freeciv-2.6.2/server/savegame2.c:6526: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(part, quoted_at, size_of_current_part);
data/freeciv-2.6.2/server/savegame2.c:6662:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char token[TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:6663:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char token2[TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:6718: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[32];
data/freeciv-2.6.2/server/savegame2.c:6882:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char line[game.map.xsize * TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:6886:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char token[TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:6906:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char line[game.map.xsize * TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:6910:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char token[TOKEN_SIZE];
data/freeciv-2.6.2/server/savegame2.c:6961: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 impr_buf[MAX_NUM_ITEMS + 1];
data/freeciv-2.6.2/server/savegame2.c:6962: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[32];
data/freeciv-2.6.2/server/savegame2.c:7107: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 invs[A_LAST];
data/freeciv-2.6.2/server/savegame2.c:7270: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 tpath[512];
data/freeciv-2.6.2/server/savegame2.c:7281:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cpath[512];
data/freeciv-2.6.2/server/savegame2.c:7394:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[MAX_LEN_MAPDEF];
data/freeciv-2.6.2/server/scripting/api_server_base.c:92: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[512];
data/freeciv-2.6.2/server/scripting/api_server_edit.c:244: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[128] = "";
data/freeciv-2.6.2/server/scripting/api_server_edit.c:329:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char research_name[MAX_LEN_NAME * 2];
data/freeciv-2.6.2/server/scripting/script_fcdb.c:148: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/freeciv-2.6.2/server/scripting/script_server.c:481: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/freeciv-2.6.2/server/sernet.c:922: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 name[MAX_LEN_NAME];
data/freeciv-2.6.2/server/sernet.c:953:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char host[NI_MAXHOST], service[NI_MAXSERV];
data/freeciv-2.6.2/server/sernet.c:954: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/freeciv-2.6.2/server/sernet.c:1447: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 msgbuf[128];
data/freeciv-2.6.2/server/sernet.c:1495: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 buffer[MAX_LEN_PACKET];
data/freeciv-2.6.2/server/sernet.c:1497: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[MAX_LEN_PACKET];
data/freeciv-2.6.2/server/sernet.c:1499: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[512];
data/freeciv-2.6.2/server/sernet.c:1500:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char port[256];
data/freeciv-2.6.2/server/sernet.c:1501: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[256];
data/freeciv-2.6.2/server/sernet.c:1502: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 players[256];
data/freeciv-2.6.2/server/sernet.c:1504: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 humans[256];
data/freeciv-2.6.2/server/sernet.c:1505: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 status[256];
data/freeciv-2.6.2/server/settings.c:559: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 pmhelp[512];
data/freeciv-2.6.2/server/settings.c:578: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 hutshelp[512];
data/freeciv-2.6.2/server/settings.c:758: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[MAX_LEN_PATH];
data/freeciv-2.6.2/server/settings.c:3039: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 *matches[16];
data/freeciv-2.6.2/server/settings.c:3103: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/freeciv-2.6.2/server/settings.c:3399: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/freeciv-2.6.2/server/settings.c:3564: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 buf2[256];
data/freeciv-2.6.2/server/settings.c:3627: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/freeciv-2.6.2/server/settings.c:3838:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char path[256];
data/freeciv-2.6.2/server/settings.c:3870: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 reject_msg[256], buf[256];
data/freeciv-2.6.2/server/settings.c:4109: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 reject_msg[256] = "", buf[256];
data/freeciv-2.6.2/server/settings.c:4178: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 errbuf[200];
data/freeciv-2.6.2/server/settings.c:4238: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 reject_msg[256], buf[256];
data/freeciv-2.6.2/server/srv_log.c:56: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[500];
data/freeciv-2.6.2/server/srv_log.c:57: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 buffer2[500];
data/freeciv-2.6.2/server/srv_log.c:59: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 aibuf[500] = "\0";
data/freeciv-2.6.2/server/srv_log.c:90: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[500];
data/freeciv-2.6.2/server/srv_log.c:91: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 buffer2[500];
data/freeciv-2.6.2/server/srv_log.c:94: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 aibuf[500] = "\0";
data/freeciv-2.6.2/server/srv_log.c:158: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[200];
data/freeciv-2.6.2/server/srv_main.c:1517: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 filepath[600];
data/freeciv-2.6.2/server/srv_main.c:1612: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 tmpname[600];
data/freeciv-2.6.2/server/srv_main.c:1658: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 filename[512];
data/freeciv-2.6.2/server/srv_main.c:1919: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[4096];
data/freeciv-2.6.2/server/srv_main.c:2194: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 message[1024];
data/freeciv-2.6.2/server/srv_main.c:2233: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 message[1024];
data/freeciv-2.6.2/server/srv_main.c:2362: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 leader_name[MAX_LEN_NAME];
data/freeciv-2.6.2/server/srv_main.c:3048:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char value[MAX_LEN_NAME * 2];
data/freeciv-2.6.2/server/srv_main.c:3049:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char pretty[MAX_LEN_NAME * 2];
data/freeciv-2.6.2/server/srv_main.c:3116:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char error[128];
data/freeciv-2.6.2/server/srv_main.c:3147:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char pretty[sizeof(mapgen_settings[i].pretty)];
data/freeciv-2.6.2/server/srv_main.h:29: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 metaserver_addr[256];
data/freeciv-2.6.2/server/srv_main.h:31: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 identity_name[256];
data/freeciv-2.6.2/server/srv_main.h:44: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 load_filename[512]; /* FIXME: may not be long enough? use MAX_PATH? */
data/freeciv-2.6.2/server/srv_main.h:48: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 serverid[256];
data/freeciv-2.6.2/server/srv_main.h:84: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 game_identifier[MAX_LEN_GAME_IDENTIFIER];
data/freeciv-2.6.2/server/stdinhand.c:370:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[4096];
data/freeciv-2.6.2/server/stdinhand.c:733: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[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/stdinhand.c:736: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 *arg[3];
data/freeciv-2.6.2/server/stdinhand.c:955: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 leader_name[MAX_LEN_NAME]; /* Must be in whole function scope */
data/freeciv-2.6.2/server/stdinhand.c:1081:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/server/stdinhand.c:1146: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 serv_filename[strlen(extension) + strlen(script_filename) + 2];
data/freeciv-2.6.2/server/stdinhand.c:1147: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 tilde_filename[4096];
data/freeciv-2.6.2/server/stdinhand.c:1194: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 buffer[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/stdinhand.c:1234: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 real_filename[1024], buf[256];
data/freeciv-2.6.2/server/stdinhand.c:1393: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 *arg[2];
data/freeciv-2.6.2/server/stdinhand.c:1425: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.
    const char *cmdlevel_names[CMDLEVEL_COUNT];
data/freeciv-2.6.2/server/stdinhand.c:1594: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[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/stdinhand.c:1595: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 *arg[4];
data/freeciv-2.6.2/server/stdinhand.c:1694: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 val_buf[256], def_buf[256];
data/freeciv-2.6.2/server/stdinhand.c:1789: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[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/stdinhand.c:2253: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[MAX_LEN_CONSOLE_LINE] = "", value[MAX_LEN_CONSOLE_LINE] = "";
data/freeciv-2.6.2/server/stdinhand.c:2255: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 prefix[OPTION_NAME_SPACE + 4 + 1] = "";
data/freeciv-2.6.2/server/stdinhand.c:2316: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[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/stdinhand.c:2317: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 *arg[2];
data/freeciv-2.6.2/server/stdinhand.c:2436: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[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/stdinhand.c:2437: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 *arg[2];
data/freeciv-2.6.2/server/stdinhand.c:2636: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[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/stdinhand.c:2637: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 *arg[3];
data/freeciv-2.6.2/server/stdinhand.c:2877: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 *args[2];
data/freeciv-2.6.2/server/stdinhand.c:2881: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 reject_msg[256] = "";
data/freeciv-2.6.2/server/stdinhand.c:3015: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/freeciv-2.6.2/server/stdinhand.c:3183: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[MAX_LEN_CONSOLE_LINE], *arg[2], msg[MAX_LEN_MSG];  
data/freeciv-2.6.2/server/stdinhand.c:3284: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 name[MAX_LEN_NAME];
data/freeciv-2.6.2/server/stdinhand.c:3331: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[MAX_LEN_CONSOLE_LINE], *arg[2], msg[MAX_LEN_MSG];
data/freeciv-2.6.2/server/stdinhand.c:3464: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 name[MAX_LEN_NAME];
data/freeciv-2.6.2/server/stdinhand.c:3520: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[MAX_LEN_CONSOLE_LINE], *arg[1];
data/freeciv-2.6.2/server/stdinhand.c:3628: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 arg[MAX_LEN_PATH];
data/freeciv-2.6.2/server/stdinhand.c:3651: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 testfile[MAX_LEN_PATH];
data/freeciv-2.6.2/server/stdinhand.c:3811: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 filename[512];
data/freeciv-2.6.2/server/stdinhand.c:3850: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 old[512];
data/freeciv-2.6.2/server/stdinhand.c:3895: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[128];
data/freeciv-2.6.2/server/stdinhand.c:3931: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[128], *c;
data/freeciv-2.6.2/server/stdinhand.c:4024: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 *token[2];
data/freeciv-2.6.2/server/stdinhand.c:4130: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 full_command[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/stdinhand.c:4131: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 command[MAX_LEN_CONSOLE_LINE], arg[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/stdinhand.c:4212:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char votedesc[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/stdinhand.c:4618: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 reject_msg[256] = "";
data/freeciv-2.6.2/server/stdinhand.c:4667: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 luafile[4096], tilde_filename[4096];
data/freeciv-2.6.2/server/stdinhand.c:4668: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 *tokens[1], *luaarg = NULL;
data/freeciv-2.6.2/server/stdinhand.c:4813: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 *tokens[3];
data/freeciv-2.6.2/server/stdinhand.c:4860: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/freeciv-2.6.2/server/stdinhand.c:5311: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 *token[2];
data/freeciv-2.6.2/server/stdinhand.c:5340:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[256] = "";
data/freeciv-2.6.2/server/stdinhand.c:5387:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[MAX_LEN_MAPDEF];
data/freeciv-2.6.2/server/stdinhand.c:5444:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[2048];
data/freeciv-2.6.2/server/stdinhand.c:5554: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 *token[1];
data/freeciv-2.6.2/server/stdinhand.c:5602: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/freeciv-2.6.2/server/stdinhand.c:5717:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[512] = "";
data/freeciv-2.6.2/server/stdinhand.c:5880: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 ipaddr[FC_MEMBER_SIZEOF(struct connection, server.ipaddr)];
data/freeciv-2.6.2/server/stdinhand.c:5894: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.
    const char *unique_ipaddr[MIN_UNIQUE_CONNS];
data/freeciv-2.6.2/server/stdinhand.c:6014: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 prefix[40];
data/freeciv-2.6.2/server/stdinhand.c:6052: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[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/stdinhand.c:6080: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[MAX_LEN_MSG];
data/freeciv-2.6.2/server/stdinhand.c:6213: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[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/stdinhand.c:6273: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[128];
data/freeciv-2.6.2/server/stdinhand.c:6310:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/stdinhand.c:6422: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[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/stdinhand.c:6523:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[MAX_LEN_MAPDEF] = "";
data/freeciv-2.6.2/server/techtools.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 research_name[MAX_LEN_NAME * 2];
data/freeciv-2.6.2/server/techtools.c:143: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 research_name[MAX_LEN_NAME * 2];
data/freeciv-2.6.2/server/techtools.c:530: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 research_name[MAX_LEN_NAME * 2];
data/freeciv-2.6.2/server/techtools.c:749: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 research_name[MAX_LEN_NAME * 2];
data/freeciv-2.6.2/server/techtools.c:1140: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 research_name[MAX_LEN_NAME * 2];
data/freeciv-2.6.2/server/unithand.c:224:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[512];
data/freeciv-2.6.2/server/unithand.c:259: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 capturer_link[MAX_LEN_LINK];
data/freeciv-2.6.2/server/unithand.c:782:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *types[utype_count()];
data/freeciv-2.6.2/server/unithand.c:1049:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *types[utype_count()];
data/freeciv-2.6.2/server/unithand.c:1886: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/freeciv-2.6.2/server/unithand.c:2233: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 loser_link[MAX_LEN_LINK], winner_link[MAX_LEN_LINK];
data/freeciv-2.6.2/server/unithand.c:2458:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *types[utype_count()];
data/freeciv-2.6.2/server/unithand.c:2861: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 homecity_link[MAX_LEN_LINK], destcity_link[MAX_LEN_LINK];
data/freeciv-2.6.2/server/unithand.c:2862: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 punit_link[MAX_LEN_LINK];
data/freeciv-2.6.2/server/unittools.c:1945:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char tplink[MAX_LEN_LINK]; /* In case unit dies when teleported */
data/freeciv-2.6.2/server/unittools.c:2015: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 pkiller_link[MAX_LEN_LINK], punit_link[MAX_LEN_LINK];
data/freeciv-2.6.2/server/unittools.c:4418: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[64];
data/freeciv-2.6.2/server/voting.c:428: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 cmdline[MAX_LEN_CONSOLE_LINE];
data/freeciv-2.6.2/server/voting.h:49: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 cmdline[512]; /* Must match MAX_LEN_CONSOLE_LINE. */
data/freeciv-2.6.2/tools/civmanual.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 filename[40];
data/freeciv-2.6.2/tools/civmanual.c:246:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[256];
data/freeciv-2.6.2/tools/civmanual.c:485:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[64000];
data/freeciv-2.6.2/tools/civmanual.c:503:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char text[512], text2[512];
data/freeciv-2.6.2/tools/civmanual.c:534:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[64000];
data/freeciv-2.6.2/tools/civmanual.c:547:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[64000];
data/freeciv-2.6.2/tools/download.c:81: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 local_dir[2048];
data/freeciv-2.6.2/tools/download.c:82: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 local_name[2048];
data/freeciv-2.6.2/tools/download.c:92: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 baseURL[2048];
data/freeciv-2.6.2/tools/download.c:93: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 fileURL[2048];
data/freeciv-2.6.2/tools/download.c:125: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[2048];
data/freeciv-2.6.2/tools/download.c:180: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 URLstart[start_idx];
data/freeciv-2.6.2/tools/download.c:229:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char dep_URL_full[2048];
data/freeciv-2.6.2/tools/download.c:238:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char URLstart[start_idx];
data/freeciv-2.6.2/tools/download.c:307:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buf[2048];
data/freeciv-2.6.2/tools/download.c:350:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[2048];
data/freeciv-2.6.2/tools/download.c:360:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buf[2048];
data/freeciv-2.6.2/tools/download.c:470:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char mpURL_full[2048];
data/freeciv-2.6.2/tools/download.c:484:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char URLstart[start_idx];
data/freeciv-2.6.2/tools/modinst.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 main_ii_filename[500];
data/freeciv-2.6.2/tools/modinst.c:43: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 scenario_ii_filename[500];
data/freeciv-2.6.2/tools/modinst.c:70: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 controld[500];
data/freeciv-2.6.2/tools/modinst.c:85: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 controld[500];
data/freeciv-2.6.2/tools/mpcmdline.c:133:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char pfx_buf[500];
data/freeciv-2.6.2/tools/mpdb.c:74:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[80];
data/freeciv-2.6.2/tools/mpdb.c:113: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[80];
data/freeciv-2.6.2/tools/mpdb.h:24:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[MAX_LEN_NAME];
data/freeciv-2.6.2/tools/mpdb.h:26: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[MAX_LEN_NAME];
data/freeciv-2.6.2/tools/mpgui_gtk2.c:442: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 verbuf[2048];
data/freeciv-2.6.2/tools/mpgui_gtk3.c:442: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 verbuf[2048];
data/freeciv-2.6.2/tools/mpgui_qt.cpp:193: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 verbuf[2048];
data/freeciv-2.6.2/tools/ruledit/requirers_dlg.cpp:64: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[2048];
data/freeciv-2.6.2/tools/ruledit/ruledit_qt.cpp:102: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 verbuf[2048];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:50: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[500];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:194: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 *tech_names[MAX_NUM_TECH_LIST];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:267: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 *building_names[MAX_NUM_BUILDING_LIST];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:291: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 *unit_names[MAX_NUM_UNIT_LIST];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:316: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 *class_names[UCL_LAST];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:344: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.
    const char *sections[sect_count];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:380:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:381:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *flag_names[IF_COUNT];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:446: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:455: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:477: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:505: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:592: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:638: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 *style_names[32]; /* FIXME: Should determine max length automatically.
data/freeciv-2.6.2/tools/ruledit/rulesave.c:641: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 *tnames[game.server.ruledit.named_teams];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:766: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 buffer[256];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:884: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:979: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:981: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.
    const char *effect_names[DE_COUNT];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1009: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1040:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char path[256];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1123: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1164: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1231: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1233: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 *city_str[max_items];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1236: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 *list_items[max_items];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1350: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(city_str[set_count], " (!river");
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1354: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(city_str[set_count], " (river");
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1378:11:  [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(city_str[set_count], ", ");
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1380:11:  [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(city_str[set_count], " (");
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1491:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1504:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1557:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1558:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *flag_names[TF_COUNT];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1673: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1674: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 identifier[2];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1676: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.
    const char *flag_names[TER_USER_LAST];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1677: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.
    const char *puc_names[UCL_LAST];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1710:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *resource_names[r];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1820: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1821: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 identifier[2];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1848: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1849: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.
    const char *flag_names[EF_COUNT];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1850: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.
    const char *cause_names[EC_COUNT];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1851: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.
    const char *puc_names[UCL_LAST];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1852: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.
    const char *extra_names[MAX_EXTRA_TYPES];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1982: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1984: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.
    const char *flag_names[BF_COUNT];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:2022: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:2023: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.
    const char *flag_names[RF_COUNT];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:2091: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 *vlist_name[vsystem->levels];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:2188: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 path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:2190: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.
    const char *flag_names[UCF_COUNT];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:2240:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char path[512];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:2241:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *flag_names[UTYF_LAST_USER_FLAG + 1];
data/freeciv-2.6.2/tools/ruledit/rulesave.c:2408: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 filename[500];
data/freeciv-2.6.2/tools/ruledit/tab_misc.cpp:174: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 nameUTF8[MAX_LEN_NAME];
data/freeciv-2.6.2/utility/bitvector.c:205: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 test_str[51];
data/freeciv-2.6.2/utility/bitvector.h:121:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef struct { unsigned char vec[_BV_BYTES(bits)]; } name
data/freeciv-2.6.2/utility/deprecations.c:62: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/freeciv-2.6.2/utility/fc_utf8.c:31:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char fc_utf8_skip[256] = {
data/freeciv-2.6.2/utility/fc_utf8.c:56:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char fc_utf8_char_size[256] = {
data/freeciv-2.6.2/utility/fc_utf8.c:120: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, src, len);
data/freeciv-2.6.2/utility/fc_utf8.c:146: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(dest, src, len);
data/freeciv-2.6.2/utility/fc_utf8.c:157: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(dest, src, len);
data/freeciv-2.6.2/utility/fc_utf8.c:166: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(dest, FC_UTF8_REP_CHAR, len);
data/freeciv-2.6.2/utility/fc_utf8.c:365: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(ret, utf8_string, size);
data/freeciv-2.6.2/utility/fc_utf8.c:384: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 copy[byte_len];
data/freeciv-2.6.2/utility/fc_utf8.h:31: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.
extern const char fc_utf8_skip[256];
data/freeciv-2.6.2/utility/fcbacktrace.c:134:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char linestr[256];
data/freeciv-2.6.2/utility/fciconv.c:43: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 convert_buffer[4096];
data/freeciv-2.6.2/utility/fciconv.c:291: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 encoding[strlen(encoding1) + strlen(transliteration_string) + 1];    \
data/freeciv-2.6.2/utility/fciconv.c:304: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 encoding[strlen(encoding1) + strlen(transliteration_string) + 1];    \
data/freeciv-2.6.2/utility/fciconv.c:337: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 string[4096];
data/freeciv-2.6.2/utility/inputfile.c:548: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 str[512];
data/freeciv-2.6.2/utility/ioz.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 mode[64];
data/freeciv-2.6.2/utility/ioz.c:217: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 test_mode[4];
data/freeciv-2.6.2/utility/ioz.c:820:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[65536];
data/freeciv-2.6.2/utility/ioz.c:840:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[65536];
data/freeciv-2.6.2/utility/ioz.c:930:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char xzerror[50];
data/freeciv-2.6.2/utility/ioz.c:982:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char bzip2error[50];
data/freeciv-2.6.2/utility/log.c:326: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 prefix[128];
data/freeciv-2.6.2/utility/log.c:345:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[MAX_LEN_LOG_LINE];
data/freeciv-2.6.2/utility/log.c:363: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_where[MAX_LEN_LOG_LINE];
data/freeciv-2.6.2/utility/log.c:389: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 last_msg[MAX_LEN_LOG_LINE] = "";
data/freeciv-2.6.2/utility/log.c:395: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[MAX_LEN_LOG_LINE];
data/freeciv-2.6.2/utility/log.c:474: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[MAX_LEN_LOG_LINE];
data/freeciv-2.6.2/utility/log.c:509: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[MAX_LEN_LOG_LINE];
data/freeciv-2.6.2/utility/log.h:123: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_[1024];                                                      \
data/freeciv-2.6.2/utility/md5.c:79: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 buffer[64];
data/freeciv-2.6.2/utility/md5.c:255: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(&ctx->buffer[used], data, size);
data/freeciv-2.6.2/utility/md5.c:259: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(&ctx->buffer[used], data, available);
data/freeciv-2.6.2/utility/md5.c:270: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(ctx->buffer, data, size);
data/freeciv-2.6.2/utility/md5.c:335: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.
void create_md5sum(const unsigned char *input, int len,
data/freeciv-2.6.2/utility/md5.c:336:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   char output[MD5_HEX_BYTES + 1])
data/freeciv-2.6.2/utility/md5.c:338: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 bin_buffer[MAX_MD5_BIN_BYTES];
data/freeciv-2.6.2/utility/md5.c:345: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(ptr, "%02x", bin_buffer[cnt]);
data/freeciv-2.6.2/utility/md5.h:26: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.
void create_md5sum(const unsigned char *input, int len,
data/freeciv-2.6.2/utility/md5.h:27:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                   char output[MD5_HEX_BYTES + 1]);
data/freeciv-2.6.2/utility/netfile.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 error_buf_curl[CURL_ERROR_SIZE];
data/freeciv-2.6.2/utility/netfile.c:75: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(data->mem + data->size, ptr, size * nmemb);
data/freeciv-2.6.2/utility/netfile.c:117:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[2048 + CURL_ERROR_SIZE];
data/freeciv-2.6.2/utility/netfile.c:168:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[2048];
data/freeciv-2.6.2/utility/netfile.c:210: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[50];
data/freeciv-2.6.2/utility/netintf.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 buf[INET6_ADDRSTRLEN] = "Unknown";
data/freeciv-2.6.2/utility/netintf.c:348: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 servname[8];
data/freeciv-2.6.2/utility/netintf.c:391: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(caddr, current->ai_addr, current->ai_addrlen);
data/freeciv-2.6.2/utility/netintf.c:455: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(&sock4->sin_addr, hp->h_addr, hp->h_length);
data/freeciv-2.6.2/utility/netintf.c:483: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 tmp[4096];
data/freeciv-2.6.2/utility/netintf.c:490:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char filename[MAX_PATH];
data/freeciv-2.6.2/utility/netintf.c:499:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    fp = tmpfile();
data/freeciv-2.6.2/utility/netintf.c:565: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 servname[8];
data/freeciv-2.6.2/utility/netintf.c:634: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(&sock4->sin_addr, hp->h_addr, hp->h_length);
data/freeciv-2.6.2/utility/registry_ini.c:222: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/freeciv-2.6.2/utility/registry_ini.c:251: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/freeciv-2.6.2/utility/registry_ini.c:551: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 real_filename[1024];
data/freeciv-2.6.2/utility/registry_ini.c:598: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 real_filename[1024];
data/freeciv-2.6.2/utility/registry_ini.c:599: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 pentry_name[128];
data/freeciv-2.6.2/utility/registry_ini.c:652:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char *c, *first, base[64];
data/freeciv-2.6.2/utility/registry_ini.c:715:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char expect[128];     /* pentry->name we're expecting */
data/freeciv-2.6.2/utility/registry_ini.c:880: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:912: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:963: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:999: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1050: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1086: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1135: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[200];
data/freeciv-2.6.2/utility/registry_ini.c:1162: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1218: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1253: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1292: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1349: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1398: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 fullpath[MAX_LEN_SECPATH], str[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1474: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1523: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 fullpath[MAX_LEN_SECPATH], str[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1602: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1640: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1687: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1713: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1731: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1756: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1786: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1831: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1856: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1887: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1933: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:1978: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2003: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2031: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2062: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2093: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2142: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2187: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2230: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2282: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2285: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 val_name[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2349: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2352: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 val_name[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2413: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2464: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2467: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 val_name[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2547: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2550: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 val_name[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2629: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2693: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:2927: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 fullpath[MAX_LEN_SECPATH];
data/freeciv-2.6.2/utility/registry_ini.c:3462: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[8192];
data/freeciv-2.6.2/utility/registry_xml.c:92: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.
              char buf[len + 1];
data/freeciv-2.6.2/utility/section_file.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 error_buffer[MAX_LEN_ERRORBUF] = "\0";
data/freeciv-2.6.2/utility/section_file.c:49: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[MAX_LEN_ERRORBUF];
data/freeciv-2.6.2/utility/section_file.c:137: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[strlen(tok) + 1];
data/freeciv-2.6.2/utility/section_file.c:146: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[strlen(tok) + 1];
data/freeciv-2.6.2/utility/shared.c:190: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(rn, cp0, curlen);
data/freeciv-2.6.2/utility/shared.c:212: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]; /* Note that we'll be filling this in right to left. */
data/freeciv-2.6.2/utility/shared.c:216: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 sep[64];
data/freeciv-2.6.2/utility/shared.c:269: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(ptr, sep, seplen);
data/freeciv-2.6.2/utility/shared.c:807: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 name[UNLEN + 1];
data/freeciv-2.6.2/utility/shared.c:1004:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[512];
data/freeciv-2.6.2/utility/shared.c:1070:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[512];
data/freeciv-2.6.2/utility/shared.c:1178: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 fnbuf[filename != NULL ? strlen(filename) + 1 : 1];
data/freeciv-2.6.2/utility/shared.c:1474:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static char envstr[40];
data/freeciv-2.6.2/utility/shared.c:1535: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(grouping, lc->grouping, len);
data/freeciv-2.6.2/utility/shared.c:2177: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 cformat[32];
data/freeciv-2.6.2/utility/shared.c:2415: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 format1_escapes[256], format2_escapes[256];
data/freeciv-2.6.2/utility/specenum_gen.h:3428: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.
  static const char *names[SPECENUM_SIZE + 1];
data/freeciv-2.6.2/utility/specenum_gen.h:3430: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.
  static const char *names[SPECENUM_SIZE];
data/freeciv-2.6.2/utility/specenum_gen.h:4637: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.
  static const char *names[SPECENUM_SIZE + 1];
data/freeciv-2.6.2/utility/specenum_gen.h:4639: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.
  static const char *names[SPECENUM_SIZE];
data/freeciv-2.6.2/utility/specvec.h:117: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(to->p, from->p, from->size * sizeof(*to->p));
data/freeciv-2.6.2/utility/string_vector.c:144: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(new_str, str, p - str);
data/freeciv-2.6.2/utility/support.c:385:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	result = fopen(filename_in_local_encoding, opentype);
data/freeciv-2.6.2/utility/support.c:389:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	return fopen(filename, opentype);
data/freeciv-2.6.2/utility/support.c:490: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[256];
data/freeciv-2.6.2/utility/support.c:500: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[256];
data/freeciv-2.6.2/utility/support.c:505: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/freeciv-2.6.2/utility/support.c:617: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(p, replace, len_replace);
data/freeciv-2.6.2/utility/support.c:665: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(dest, src, num_to_copy);
data/freeciv-2.6.2/utility/support.c:700: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(dest, src, num_to_copy);
data/freeciv-2.6.2/utility/support.c:814: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(str, buf, len+1);
data/freeciv-2.6.2/utility/support.c:817: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(str, buf, n-1);
data/freeciv-2.6.2/utility/support.c:892: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 console_buf[CONSOLE_BUF_SIZE + 1];
data/freeciv-2.6.2/utility/support.c:1157: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[2048];
data/freeciv-2.6.2/ai/classic/classicai.c:574:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(ai->name, "classic", sizeof(ai->name));
data/freeciv-2.6.2/ai/stub/stubai.c:46:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(ai->name, "stub", sizeof(ai->name));
data/freeciv-2.6.2/ai/threaded/threadedai.c:554:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(ai->name, "threaded", sizeof(ai->name));
data/freeciv-2.6.2/client/audio.c:202: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 *fname = fc_malloc(strlen(audioset_name) + strlen(suffix) + 1);
data/freeciv-2.6.2/client/audio.c:202:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *fname = fc_malloc(strlen(audioset_name) + strlen(suffix) + 1);
data/freeciv-2.6.2/client/citydlg_common.c:716: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).
  fc_vsnprintf(buf + strlen(buf), bufsz - strlen(buf), totalfmt, args);
data/freeciv-2.6.2/client/citydlg_common.c:716: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).
  fc_vsnprintf(buf + strlen(buf), bufsz - strlen(buf), totalfmt, args);
data/freeciv-2.6.2/client/client_main.c:175: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 = strlen(out);
data/freeciv-2.6.2/client/client_main.c:200: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(out);
data/freeciv-2.6.2/client/climisc.c:978: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 userlen = strlen(username);
data/freeciv-2.6.2/client/climisc.c:981: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).
    size_t playerlen = playername ? strlen(playername) : 0;
data/freeciv-2.6.2/client/connectdlg_common.c:671: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).
  size_t suf_len = strlen(RULESET_SUFFIX);
data/freeciv-2.6.2/client/connectdlg_common.c:674: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(packet->rulesets[i]);
data/freeciv-2.6.2/client/gui-gtk-2.0/chatline.c:213: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).
                            MAX_LEN_NAME, fc_strncasecmp, strlen,
data/freeciv-2.6.2/client/gui-gtk-2.0/chatline.c:300: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).
  p = chars + strlen(chars);
data/freeciv-2.6.2/client/gui-gtk-2.0/chatline.c:321: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).
    gtk_editable_insert_text(editable, name[0], strlen(name[0]), &pos);
data/freeciv-2.6.2/client/gui-gtk-2.0/chatline.c:329: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).
      gtk_editable_insert_text(editable, buf, strlen(buf), &pos);
data/freeciv-2.6.2/client/gui-gtk-2.0/chatline.c:529: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 (start_pos > 0 && strlen(chars) > 0 && chars[0] != ' ') {
data/freeciv-2.6.2/client/gui-gtk-2.0/chatline.c:1484: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(vertext) + 1;
data/freeciv-2.6.2/client/gui-gtk-2.0/chatline.c:1487:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(persistent, vertext, len);
data/freeciv-2.6.2/client/gui-gtk-2.0/dialogs.c:912: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 (strlen(nation_set_description(pset)) > 0) {
data/freeciv-2.6.2/client/gui-gtk-2.0/dialogs.c:1383:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(s) == 0) {
data/freeciv-2.6.2/client/gui-gtk-2.0/editprop.c:951: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).
    count = strlen(pv->data.v_const_string);
data/freeciv-2.6.2/client/gui-gtk-2.0/editprop.c:2104:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  bool equal;
data/freeciv-2.6.2/client/gui-gtk-2.0/editprop.c:2122:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (equal) {
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:953: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(buf);
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1176: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).
        sprintf (buf + strlen (buf), " %s (%d/%d/%d),",
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1182: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).
      buf[strlen (buf) - 1] = '.';
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1185: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).
      sprintf (buf + strlen (buf), _("(none)"));
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1279:7:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
      sprintf(buf, "-");
data/freeciv-2.6.2/client/gui-gtk-2.0/helpdlg.c:1287:11:  [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/freeciv-2.6.2/client/gui-gtk-2.0/pages.c:3016: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).
                                   0, sname && strlen(sname) ? Q_(sname) : pfile->name,
data/freeciv-2.6.2/client/gui-gtk-2.0/pages.c:3035: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).
                             0, sname && strlen(sname) ? Q_(sname) : pfile->name,
data/freeciv-2.6.2/client/gui-gtk-2.0/repodlgs.c:1603:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(unit_report_columns[i].title) > 0) {
data/freeciv-2.6.2/client/gui-gtk-2.0/themes.c:78: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).
  char buf[strlen(directory) + strlen(theme_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-2.0/themes.c:78:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char buf[strlen(directory) + strlen(theme_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-2.0/themes.c:155: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).
    char buf[strlen(dir_name) + strlen("/themes/gui-gtk-2.0") + 1];
data/freeciv-2.6.2/client/gui-gtk-2.0/themes.c:155: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).
    char buf[strlen(dir_name) + strlen("/themes/gui-gtk-2.0") + 1];
data/freeciv-2.6.2/client/gui-gtk-2.0/themes.c:170: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).
    char buf[strlen(home_dir) + 16];
data/freeciv-2.6.2/client/gui-gtk-2.0/themes.c:204: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).
    char buf[strlen(directory) + strlen(entry->d_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-2.0/themes.c:204:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char buf[strlen(directory) + strlen(entry->d_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-3.0/chatline.c:213: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).
                            MAX_LEN_NAME, fc_strncasecmp, strlen,
data/freeciv-2.6.2/client/gui-gtk-3.0/chatline.c:300: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).
  p = chars + strlen(chars);
data/freeciv-2.6.2/client/gui-gtk-3.0/chatline.c:321: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).
    gtk_editable_insert_text(editable, name[0], strlen(name[0]), &pos);
data/freeciv-2.6.2/client/gui-gtk-3.0/chatline.c:329: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).
      gtk_editable_insert_text(editable, buf, strlen(buf), &pos);
data/freeciv-2.6.2/client/gui-gtk-3.0/chatline.c:535: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 (start_pos > 0 && strlen(chars) > 0 && chars[0] != ' ') {
data/freeciv-2.6.2/client/gui-gtk-3.0/chatline.c:1474: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(vertext) + 1;
data/freeciv-2.6.2/client/gui-gtk-3.0/chatline.c:1477:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(persistent, vertext, len);
data/freeciv-2.6.2/client/gui-gtk-3.0/dialogs.c:925: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 (strlen(nation_set_description(pset)) > 0) {
data/freeciv-2.6.2/client/gui-gtk-3.0/dialogs.c:1394:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(s) == 0) {
data/freeciv-2.6.2/client/gui-gtk-3.0/editprop.c:955: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).
    count = strlen(pv->data.v_const_string);
data/freeciv-2.6.2/client/gui-gtk-3.0/editprop.c:2108:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  bool equal;
data/freeciv-2.6.2/client/gui-gtk-3.0/editprop.c:2126:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (equal) {
data/freeciv-2.6.2/client/gui-gtk-3.0/gui_main.c:1647:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(gui_options.gui_gtk3_##opt, gui_options.gui_gtk2_##opt, \
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:980: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(buf);
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1206: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).
        sprintf (buf + strlen (buf), " %s (%d/%d/%d),",
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1212: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).
      buf[strlen (buf) - 1] = '.';
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1215: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).
      sprintf (buf + strlen (buf), _("(none)"));
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1309:7:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
      sprintf(buf, "-");
data/freeciv-2.6.2/client/gui-gtk-3.0/helpdlg.c:1317:11:  [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/freeciv-2.6.2/client/gui-gtk-3.0/pages.c:3098: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).
                                   0, sname && strlen(sname) ? Q_(sname) : pfile->name,
data/freeciv-2.6.2/client/gui-gtk-3.0/pages.c:3119: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).
                             0, sname && strlen(sname) ? Q_(sname) : pfile->name,
data/freeciv-2.6.2/client/gui-gtk-3.0/repodlgs.c:1638:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(unit_report_columns[i].title) > 0) {
data/freeciv-2.6.2/client/gui-gtk-3.0/themes.c:44: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).
  char buf[strlen(directory) + strlen(theme_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-3.0/themes.c:44:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char buf[strlen(directory) + strlen(theme_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-3.0/themes.c:118: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).
    char buf[strlen(dir_name) + strlen("/themes/gui-gtk-3.0") + 1];
data/freeciv-2.6.2/client/gui-gtk-3.0/themes.c:118: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).
    char buf[strlen(dir_name) + strlen("/themes/gui-gtk-3.0") + 1];
data/freeciv-2.6.2/client/gui-gtk-3.0/themes.c:136: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).
    char buf[strlen(home_dir) + 16];
data/freeciv-2.6.2/client/gui-gtk-3.0/themes.c:170: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).
    char buf[strlen(directory) + strlen(entry->d_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-3.0/themes.c:170:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char buf[strlen(directory) + strlen(entry->d_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-3.22/chatline.c:213: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).
                            MAX_LEN_NAME, fc_strncasecmp, strlen,
data/freeciv-2.6.2/client/gui-gtk-3.22/chatline.c:300: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).
  p = chars + strlen(chars);
data/freeciv-2.6.2/client/gui-gtk-3.22/chatline.c:321: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).
    gtk_editable_insert_text(editable, name[0], strlen(name[0]), &pos);
data/freeciv-2.6.2/client/gui-gtk-3.22/chatline.c:329: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).
      gtk_editable_insert_text(editable, buf, strlen(buf), &pos);
data/freeciv-2.6.2/client/gui-gtk-3.22/chatline.c:535: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 (start_pos > 0 && strlen(chars) > 0 && chars[0] != ' ') {
data/freeciv-2.6.2/client/gui-gtk-3.22/chatline.c:1482: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(vertext) + 1;
data/freeciv-2.6.2/client/gui-gtk-3.22/chatline.c:1485:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(persistent, vertext, len);
data/freeciv-2.6.2/client/gui-gtk-3.22/dialogs.c:919: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 (strlen(nation_set_description(pset)) > 0) {
data/freeciv-2.6.2/client/gui-gtk-3.22/dialogs.c:1388:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(s) == 0) {
data/freeciv-2.6.2/client/gui-gtk-3.22/editprop.c:955: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).
    count = strlen(pv->data.v_const_string);
data/freeciv-2.6.2/client/gui-gtk-3.22/editprop.c:2108:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  bool equal;
data/freeciv-2.6.2/client/gui-gtk-3.22/editprop.c:2126:7:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (equal) {
data/freeciv-2.6.2/client/gui-gtk-3.22/gui_main.c:1675:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(gui_options.gui_gtk3_##opt, gui_options.gui_gtk2_##opt, \
data/freeciv-2.6.2/client/gui-gtk-3.22/gui_main.c:1731:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(GUI_GTK_OPTION(opt), gui_options.gui_gtk3_##opt,      \
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:982: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(buf);
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1203: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).
        sprintf (buf + strlen (buf), " %s (%d/%d/%d),",
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1209: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).
      buf[strlen (buf) - 1] = '.';
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1212: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).
      sprintf (buf + strlen (buf), _("(none)"));
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1306:7:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
      sprintf(buf, "-");
data/freeciv-2.6.2/client/gui-gtk-3.22/helpdlg.c:1314:11:  [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/freeciv-2.6.2/client/gui-gtk-3.22/pages.c:3097: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).
                                   0, sname && strlen(sname) ? Q_(sname) : pfile->name,
data/freeciv-2.6.2/client/gui-gtk-3.22/pages.c:3118: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).
                             0, sname && strlen(sname) ? Q_(sname) : pfile->name,
data/freeciv-2.6.2/client/gui-gtk-3.22/repodlgs.c:1638:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(unit_report_columns[i].title) > 0) {
data/freeciv-2.6.2/client/gui-gtk-3.22/themes.c:44: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).
  char buf[strlen(directory) + strlen(theme_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-3.22/themes.c:44:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char buf[strlen(directory) + strlen(theme_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-3.22/themes.c:116: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).
    char buf[strlen(dir_name) + strlen("/themes/gui-gtk-3.22") + 1];
data/freeciv-2.6.2/client/gui-gtk-3.22/themes.c:116: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).
    char buf[strlen(dir_name) + strlen("/themes/gui-gtk-3.22") + 1];
data/freeciv-2.6.2/client/gui-gtk-3.22/themes.c:134: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).
    char buf[strlen(home_dir) + 16];
data/freeciv-2.6.2/client/gui-gtk-3.22/themes.c:168: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).
    char buf[strlen(directory) + strlen(entry->d_name) + 32];
data/freeciv-2.6.2/client/gui-gtk-3.22/themes.c:168:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char buf[strlen(directory) + strlen(entry->d_name) + 32];
data/freeciv-2.6.2/client/gui-qt/pages.cpp:179:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(msgbuf, _("Qt client"), sizeof(msgbuf) - 1);
data/freeciv-2.6.2/client/gui-qt/pages.cpp:904:7:  [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(buf, _("Unknown"), sizeof(buf) - 1);
data/freeciv-2.6.2/client/gui-qt/pages.cpp:1291: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).
          nat_x = strlen(line);
data/freeciv-2.6.2/client/gui-qt/pages.cpp:1475: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).
           + QString(sname && strlen(sname) ? Q_(sname) : pfile->name)
data/freeciv-2.6.2/client/gui-qt/shortcuts.cpp:273:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void fc_shortcuts::init_default(bool read)
data/freeciv-2.6.2/client/gui-qt/shortcuts.cpp:280:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read) {
data/freeciv-2.6.2/client/gui-qt/shortcuts.h:122:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  static void init_default(bool read);
data/freeciv-2.6.2/client/gui-qt/sprite.cpp:53:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ext, cp.data(), sizeof(cp));
data/freeciv-2.6.2/client/gui-qt/themes.cpp:130: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).
    char buf[strlen(data_dir) + strlen("/themes/gui-qt") + 1];
data/freeciv-2.6.2/client/gui-qt/themes.cpp:130: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).
    char buf[strlen(data_dir) + strlen("/themes/gui-qt") + 1];
data/freeciv-2.6.2/client/gui-sdl/chatline.c:242: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).
    pFilenameLabel->data.ptr = fc_calloc(1, strlen(pfile->fullname) + 1);
data/freeciv-2.6.2/client/gui-sdl/chatline.c:243:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    fc_strlcpy((char*)pFilenameLabel->data.ptr, pfile->fullname, strlen(pfile->fullname) + 1);
data/freeciv-2.6.2/client/gui-sdl/chatline.c:390: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 n = strlen(astring);
data/freeciv-2.6.2/client/gui-sdl/dialogs.c:2531:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(pStr) == 0) {
data/freeciv-2.6.2/client/gui-sdl/gui_iconv.c:91:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t length = strlen(pFromString) + 1;
data/freeciv-2.6.2/client/gui-sdl/gui_string.c:203:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  n = (strlen(pCharString) + 1) * 2;
data/freeciv-2.6.2/client/gui-sdl/mapctrl.c:2609: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).
  pSuggestedCityName = fc_calloc(1, strlen(pSuggestname) + 1);
data/freeciv-2.6.2/client/gui-sdl/mapctrl.c:2610: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).
  fc_strlcpy(pSuggestedCityName, pSuggestname, strlen(pSuggestname) + 1);
data/freeciv-2.6.2/client/gui-sdl/menu.c:624: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(cBuf);
data/freeciv-2.6.2/client/gui-sdl/menu.c:626: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).
  len = MAX(len, strlen(cBuf));
data/freeciv-2.6.2/client/gui-sdl/menu.c:864: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(cBuf);
data/freeciv-2.6.2/client/gui-sdl/menu.c:871:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = MAX(len, strlen(cBuf));
data/freeciv-2.6.2/client/gui-sdl/menu.c:904: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(cBuf);
data/freeciv-2.6.2/client/gui-sdl/menu.c:906: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).
  len = MAX(len, strlen(cBuf));
data/freeciv-2.6.2/client/gui-sdl/themes.c:37: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).
  char buf[strlen(directory) + strlen(DIR_SEPARATOR) + strlen(theme_name)
data/freeciv-2.6.2/client/gui-sdl/themes.c:37:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char buf[strlen(directory) + strlen(DIR_SEPARATOR) + strlen(theme_name)
data/freeciv-2.6.2/client/gui-sdl/themes.c:37: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).
  char buf[strlen(directory) + strlen(DIR_SEPARATOR) + strlen(theme_name)
data/freeciv-2.6.2/client/gui-sdl/themes.c:38: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(DIR_SEPARATOR "theme") + 1];
data/freeciv-2.6.2/client/gui-sdl/themes.c:83: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).
    char buf[strlen(data_dir) + strlen("/themes/gui-sdl") + 1];
data/freeciv-2.6.2/client/gui-sdl/themes.c:83: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).
    char buf[strlen(data_dir) + strlen("/themes/gui-sdl") + 1];
data/freeciv-2.6.2/client/gui-sdl/themes.c:117: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).
    char buf[strlen(directory) + strlen(entry->d_name) + 32];
data/freeciv-2.6.2/client/gui-sdl/themes.c:117:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char buf[strlen(directory) + strlen(entry->d_name) + 32];
data/freeciv-2.6.2/client/gui-sdl/themespec.c:232: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).
    char fname[strlen(theme_name) + strlen(THEMESPEC_SUFFIX) + 1], *dname;
data/freeciv-2.6.2/client/gui-sdl/themespec.c:232: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).
    char fname[strlen(theme_name) + strlen(THEMESPEC_SUFFIX) + 1], *dname;
data/freeciv-2.6.2/client/gui-sdl/themespec.c:369: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 theme_name[strlen(name) + 1], old_name[strlen(theme->name) + 1];
data/freeciv-2.6.2/client/gui-sdl/themespec.c:369: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).
  char theme_name[strlen(name) + 1], old_name[strlen(theme->name) + 1];
data/freeciv-2.6.2/client/gui-sdl/themespec.c:451: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).
    char full_name[strlen(gfx_filename) + strlen(".")
data/freeciv-2.6.2/client/gui-sdl/themespec.c:451: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 full_name[strlen(gfx_filename) + strlen(".")
data/freeciv-2.6.2/client/gui-sdl/themespec.c:452: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(gfx_fileext) + 1];
data/freeciv-2.6.2/client/gui-sdl/themespec.c:676: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).
      fc_malloc(strlen(gfx_filename) + strlen(".")
data/freeciv-2.6.2/client/gui-sdl/themespec.c:676: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).
      fc_malloc(strlen(gfx_filename) + strlen(".")
data/freeciv-2.6.2/client/gui-sdl/themespec.c:677: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(gfx_current_fileext) + 1);
data/freeciv-2.6.2/client/gui-sdl2/chatline.c:250: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).
    pFilenameLabel->data.ptr = fc_calloc(1, strlen(pfile->fullname) + 1);
data/freeciv-2.6.2/client/gui-sdl2/chatline.c:251:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    fc_strlcpy((char*)pFilenameLabel->data.ptr, pfile->fullname, strlen(pfile->fullname) + 1);
data/freeciv-2.6.2/client/gui-sdl2/chatline.c:396: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 n = strlen(astring);
data/freeciv-2.6.2/client/gui-sdl2/chatline.c:466: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).
                              strlen(utf8_texts[count]) + 1, adj_font(12));
data/freeciv-2.6.2/client/gui-sdl2/dialogs.c:2518:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(pstr) == 0) {
data/freeciv-2.6.2/client/gui-sdl2/gui_iconv.c:93:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t length = strlen(pFromString) + 1;
data/freeciv-2.6.2/client/gui-sdl2/gui_string.c:203:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  n = (strlen(pchars) + 1);
data/freeciv-2.6.2/client/gui-sdl2/mapctrl.c:2819: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).
  suggestlen = strlen(pSuggestname) + 1;
data/freeciv-2.6.2/client/gui-sdl2/messagewin.c:154: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).
                                  strlen(utf8_texts[count]) + 1, PTSIZE_LOG_FONT);
data/freeciv-2.6.2/client/gui-sdl2/themes.c:37: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).
  char buf[strlen(directory) + strlen(DIR_SEPARATOR) + strlen(theme_name)
data/freeciv-2.6.2/client/gui-sdl2/themes.c:37:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char buf[strlen(directory) + strlen(DIR_SEPARATOR) + strlen(theme_name)
data/freeciv-2.6.2/client/gui-sdl2/themes.c:37: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).
  char buf[strlen(directory) + strlen(DIR_SEPARATOR) + strlen(theme_name)
data/freeciv-2.6.2/client/gui-sdl2/themes.c:38: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(DIR_SEPARATOR "theme") + 1];
data/freeciv-2.6.2/client/gui-sdl2/themes.c:83: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).
    char buf[strlen(data_dir) + strlen("/themes/gui-sdl2") + 1];
data/freeciv-2.6.2/client/gui-sdl2/themes.c:83: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).
    char buf[strlen(data_dir) + strlen("/themes/gui-sdl2") + 1];
data/freeciv-2.6.2/client/gui-sdl2/themes.c:116: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).
    char buf[strlen(directory) + strlen(entry->d_name) + 32];
data/freeciv-2.6.2/client/gui-sdl2/themes.c:116:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char buf[strlen(directory) + strlen(entry->d_name) + 32];
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:236: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).
    char fname[strlen(theme_name) + strlen(THEMESPEC_SUFFIX) + 1], *dname;
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:236: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).
    char fname[strlen(theme_name) + strlen(THEMESPEC_SUFFIX) + 1], *dname;
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:377: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 theme_name[strlen(name) + 1], old_name[strlen(theme->name) + 1];
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:377: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).
  char theme_name[strlen(name) + 1], old_name[strlen(theme->name) + 1];
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:459: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).
    char full_name[strlen(gfx_filename) + strlen(".")
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:459: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 full_name[strlen(gfx_filename) + strlen(".")
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:460: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(gfx_fileext) + 1];
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:684: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).
      fc_malloc(strlen(gfx_filename) + strlen(".")
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:684: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).
      fc_malloc(strlen(gfx_filename) + strlen(".")
data/freeciv-2.6.2/client/gui-sdl2/themespec.c:685: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(gfx_current_fileext) + 1);
data/freeciv-2.6.2/client/gui-sdl2/widget_edit.c:164: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).
      size_t len = strlen(backup) + 1;
data/freeciv-2.6.2/client/gui-sdl2/widget_edit.c:278: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_in);
data/freeciv-2.6.2/client/gui-xaw/chatline.c:91: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).
  newout=fc_malloc(strlen(astring2)+strlen(theoutput)+2);
data/freeciv-2.6.2/client/gui-xaw/chatline.c:91: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).
  newout=fc_malloc(strlen(astring2)+strlen(theoutput)+2);
data/freeciv-2.6.2/client/gui-xaw/chatline.c:95: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(rmcr=newout+strlen(newout); rmcr>newout; rmcr--)
data/freeciv-2.6.2/client/gui-xaw/dialogs.c:890:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = strlen(nation_adjective_translation(pnation));
data/freeciv-2.6.2/client/gui-xaw/dialogs.c:1364: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).
                           strlen(nation_leader_name(pleader)));
data/freeciv-2.6.2/client/gui-xaw/dialogs.c:1496: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(dp) == 0) {
data/freeciv-2.6.2/client/gui-xaw/gotodlg.c:198: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(ret->string);
data/freeciv-2.6.2/client/gui-xaw/graphics.c:112: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).
  w = XmbTextEscapement(main_font_set, motto, strlen(motto));
data/freeciv-2.6.2/client/gui-xaw/graphics.c:117: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).
		motto, strlen(motto));
data/freeciv-2.6.2/client/gui-xaw/graphics.c:138: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).
  w = XmbTextEscapement(main_font_set, word_version(), strlen(word_version()));
data/freeciv-2.6.2/client/gui-xaw/graphics.c:144: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).
                word_version(), strlen(word_version()));
data/freeciv-2.6.2/client/gui-xaw/graphics.c:150: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).
                word_version(), strlen(word_version()));
data/freeciv-2.6.2/client/gui-xaw/graphics.c:156: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).
  w = XmbTextEscapement(main_font_set, s, strlen(s));
data/freeciv-2.6.2/client/gui-xaw/graphics.c:161: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).
		(tot / 2 - w / 2) + 1, y + 1, s, strlen(s));
data/freeciv-2.6.2/client/gui-xaw/graphics.c:166: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).
		tot / 2 - w / 2, y, s, strlen(s));
data/freeciv-2.6.2/client/gui-xaw/graphics.c:170: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).
  w = XmbTextEscapement(main_font_set, client_string, strlen(client_string));
data/freeciv-2.6.2/client/gui-xaw/graphics.c:175: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).
		(tot / 2 - w / 2) + 1, y + 1, client_string, strlen(client_string));
data/freeciv-2.6.2/client/gui-xaw/graphics.c:180: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).
		tot / 2 - w / 2, y, client_string, strlen(client_string));
data/freeciv-2.6.2/client/gui-xaw/gui_main.c:370: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(appResources.version))) {
data/freeciv-2.6.2/client/gui-xaw/gui_stuff.c:259: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/freeciv-2.6.2/client/gui-xaw/gui_stuff.c:272: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(str);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:285: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).
		  XtRString, bg, strlen(bg)+1, NULL);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:313: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).
		XtRString, bg, strlen(bg)+1, NULL);
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:936: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).
	  sprintf(buf+strlen(buf), _("Allows %s.\n"),
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:943: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).
          sprintf(buf+strlen(buf), _("Obsoletes %s.\n"),
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:953: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).
      sprintf(buf + strlen(buf), _("Allows %s.\n"),
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:960: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).
	  sprintf(buf+strlen(buf), _("Allows %s.\n"), 
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:963: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).
	  sprintf(buf+strlen(buf), _("Allows %s (with %s).\n"), 
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:968: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).
	sprintf(buf+strlen(buf), _("Allows %s (with %s).\n"), 
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:973:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(buf)) strcat(buf, "\n");
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:973:22:  [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.
    if (strlen(buf)) strcat(buf, "\n");
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1022:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	sprintf (buf + strlen (buf), " %s (%d/%d/%d),",
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1028: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).
      buf[strlen (buf) - 1] = '.';
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1031: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).
      sprintf (buf + strlen (buf), _("(none)"));
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1106: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).
    sprintf(buf + strlen(buf), _("Conflicts with: "));
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1119:7:  [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, "\n");
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1134: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).
        sprintf(buf + strlen(buf), _("Bonus (F/P/T): %s\n"),
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1139:7:  [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, "\n");
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1141: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).
    helptext_extra(buf + strlen(buf), sizeof(buf) - strlen(buf),
data/freeciv-2.6.2/client/gui-xaw/helpdlg.c:1141: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).
    helptext_extra(buf + strlen(buf), sizeof(buf) - strlen(buf),
data/freeciv-2.6.2/client/gui-xaw/mapview.c:709: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(string);
data/freeciv-2.6.2/client/gui-xaw/mapview.c:736: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).
    *width = XmbTextEscapement(*fonts[font], text, strlen(text));
data/freeciv-2.6.2/client/gui-xaw/menu.c:1136: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).
      lstr=strlen(entries[i].acel);
data/freeciv-2.6.2/client/gui-xaw/menu.c:1142: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).
	lstr=strlen(xlt);
data/freeciv-2.6.2/client/gui-xaw/messagedlg.c:123: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 len = strlen(text);
data/freeciv-2.6.2/client/gui-xaw/plrdlg.c:251:2:  [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(dsbuf, "-");
data/freeciv-2.6.2/client/helpdata.c:219:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (0 != strlen(terrain_rule_name(pterrain))) {
data/freeciv-2.6.2/client/helpdata.c:3255: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 (0 != strlen(terrain_rule_name(pterrain))) {
data/freeciv-2.6.2/client/helpdata.c:3354: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).
                desc_len = strlen("\n\n") + strlen(game.ruleset_description);
data/freeciv-2.6.2/client/helpdata.c:3354: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).
                desc_len = strlen("\n\n") + strlen(game.ruleset_description);
data/freeciv-2.6.2/client/helpdata.c:3360: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 = strlen(_(game.control.name))
data/freeciv-2.6.2/client/helpdata.c:3361:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(" ")
data/freeciv-2.6.2/client/helpdata.c:3362:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(game.control.version)
data/freeciv-2.6.2/client/helpdata.c:3363:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen("\n\n")
data/freeciv-2.6.2/client/helpdata.c:3364:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(_(game.ruleset_summary))
data/freeciv-2.6.2/client/helpdata.c:3372: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 = strlen(_(game.control.name))
data/freeciv-2.6.2/client/helpdata.c:3373:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen("\n\n")
data/freeciv-2.6.2/client/helpdata.c:3374:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(_(game.ruleset_summary))
data/freeciv-2.6.2/client/helpdata.c:3385: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 = strlen(_(game.control.name))
data/freeciv-2.6.2/client/helpdata.c:3386:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(" ")
data/freeciv-2.6.2/client/helpdata.c:3387:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(game.control.version)
data/freeciv-2.6.2/client/helpdata.c:3388:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen("\n\n")
data/freeciv-2.6.2/client/helpdata.c:3389:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(nodesc)
data/freeciv-2.6.2/client/helpdata.c:3397: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 = strlen(_(game.control.name))
data/freeciv-2.6.2/client/helpdata.c:3398:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen("\n\n")
data/freeciv-2.6.2/client/helpdata.c:3399:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(nodesc)
data/freeciv-2.6.2/client/helpdata.c:3429: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).
                desc_len = strlen("\n\n") + strlen(description);
data/freeciv-2.6.2/client/helpdata.c:3429: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).
                desc_len = strlen("\n\n") + strlen(description);
data/freeciv-2.6.2/client/helpdata.c:3435: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 = strlen(_(ts_name))
data/freeciv-2.6.2/client/helpdata.c:3436:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(" ")
data/freeciv-2.6.2/client/helpdata.c:3437:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(version)
data/freeciv-2.6.2/client/helpdata.c:3438:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen("\n\n")
data/freeciv-2.6.2/client/helpdata.c:3439:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(_(summary))
data/freeciv-2.6.2/client/helpdata.c:3446: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 = strlen(_(ts_name))
data/freeciv-2.6.2/client/helpdata.c:3447:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen("\n\n")
data/freeciv-2.6.2/client/helpdata.c:3448:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(_(summary))
data/freeciv-2.6.2/client/helpdata.c:3459: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 = strlen(_(ts_name))
data/freeciv-2.6.2/client/helpdata.c:3460:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(" ")
data/freeciv-2.6.2/client/helpdata.c:3461:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(version)
data/freeciv-2.6.2/client/helpdata.c:3462:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen("\n\n")
data/freeciv-2.6.2/client/helpdata.c:3463:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(nodesc)
data/freeciv-2.6.2/client/helpdata.c:3471: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 = strlen(_(ts_name))
data/freeciv-2.6.2/client/helpdata.c:3472:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen("\n\n")
data/freeciv-2.6.2/client/helpdata.c:3473:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    + strlen(nodesc)
data/freeciv-2.6.2/client/helpdata.c:3779: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).
  insert_allows(&source, buf + strlen(buf), bufsz - strlen(buf),
data/freeciv-2.6.2/client/helpdata.c:3779: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).
  insert_allows(&source, buf + strlen(buf), bufsz - strlen(buf),
data/freeciv-2.6.2/client/helpdata.c:4737: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(buf) > 0) {
data/freeciv-2.6.2/client/helpdata.c:4832: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).
  insert_allows(&source, buf + strlen(buf), bufsz - strlen(buf),
data/freeciv-2.6.2/client/helpdata.c:4832: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).
  insert_allows(&source, buf + strlen(buf), bufsz - strlen(buf),
data/freeciv-2.6.2/client/helpdata.c:4957:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(buf) > 0) {
data/freeciv-2.6.2/client/helpdata.c:4988: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).
  insert_allows(&source, buf + strlen(buf), bufsz - strlen(buf),
data/freeciv-2.6.2/client/helpdata.c:4988: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).
  insert_allows(&source, buf + strlen(buf), bufsz - strlen(buf),
data/freeciv-2.6.2/client/helpdata.c:5294: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).
  group_start = strlen(buf);
data/freeciv-2.6.2/client/helpdata.c:5373: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).
  group_start = strlen(buf);
data/freeciv-2.6.2/client/helpdata.c:5460: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).
  group_start = strlen(buf);
data/freeciv-2.6.2/client/helpdata.c:5462: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).
  insert_allows(&source, buf + strlen(buf), bufsz - strlen(buf), "");
data/freeciv-2.6.2/client/helpdata.c:5462: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).
  insert_allows(&source, buf + strlen(buf), bufsz - strlen(buf), "");
data/freeciv-2.6.2/client/helpdata.c:5728: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).
  insert_allows(&source, buf + strlen(buf), bufsz - strlen(buf),
data/freeciv-2.6.2/client/helpdata.c:5728: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).
  insert_allows(&source, buf + strlen(buf), bufsz - strlen(buf),
data/freeciv-2.6.2/client/helpdata.c:6532: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).
  insert_allows(&source, buf + strlen(buf), bufsz - strlen(buf), "");
data/freeciv-2.6.2/client/helpdata.c:6532: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).
  insert_allows(&source, buf + strlen(buf), bufsz - strlen(buf), "");
data/freeciv-2.6.2/client/messagewin_common.c:86: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).
  size_t msg_len = strlen(message);
data/freeciv-2.6.2/client/messagewin_common.c:97: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).
  nspc = min_msg_len - strlen(s);
data/freeciv-2.6.2/client/messagewin_common.c:99:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is low because the source is a
  constant string.
    strncat(s, "                                                  ", nspc);
data/freeciv-2.6.2/client/options.c:3446: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(str) >= pcoption->string.size
data/freeciv-2.6.2/client/options.c:3603: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(font) >= pcoption->font.size
data/freeciv-2.6.2/client/options.c:5215: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).
                       get_current_option_file_name() + strlen(name) + 1,
data/freeciv-2.6.2/client/options.c:5216: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).
                       name_buffer + strlen(name) + 1);
data/freeciv-2.6.2/client/options.c:5237: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).
                   get_current_option_file_name() + strlen(name) + 1,
data/freeciv-2.6.2/client/options.c:5238: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).
                   name_buffer + strlen(name) + 1);
data/freeciv-2.6.2/client/options.c:5253: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).
                 get_current_option_file_name() + strlen(name) + 1,
data/freeciv-2.6.2/client/options.c:5624: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 (0 == strncmp(*prefix, entry_name(pentry), strlen(*prefix))
data/freeciv-2.6.2/client/options.c:5939: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).
  for (i = strlen(dir_name) - 1 ; dir_name[i] != DIR_SEPARATOR_CHAR && i >= 0; i--) {
data/freeciv-2.6.2/client/packhand.c:333:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(client_info.distribution, FREECIV_DISTRIBUTOR,
data/freeciv-2.6.2/client/packhand.c:3138: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(packet->text);
data/freeciv-2.6.2/client/packhand.c:3911: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(packet->translation_domain) + 1;
data/freeciv-2.6.2/client/text.c:336: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(activity_text) > 0) {
data/freeciv-2.6.2/client/tilespec.c:1062: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).
    char fname[strlen(tileset_name) + strlen(TILESPEC_SUFFIX) + 1];
data/freeciv-2.6.2/client/tilespec.c:1062: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).
    char fname[strlen(tileset_name) + strlen(TILESPEC_SUFFIX) + 1];
data/freeciv-2.6.2/client/tilespec.c:1281: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).
  char tileset_name[strlen(name) + 1], old_name[strlen(tileset->name) + 1];
data/freeciv-2.6.2/client/tilespec.c:1281: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).
  char tileset_name[strlen(name) + 1], old_name[strlen(tileset->name) + 1];
data/freeciv-2.6.2/client/tilespec.c:1475: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).
    char full_name[strlen(gfx_filename) + strlen(".")
data/freeciv-2.6.2/client/tilespec.c:1475: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 full_name[strlen(gfx_filename) + strlen(".")
data/freeciv-2.6.2/client/tilespec.c:1476: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(gfx_fileext) + 1];
data/freeciv-2.6.2/client/tilespec.c:1702: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).
      fc_malloc(strlen(gfx_filename) + strlen(".")
data/freeciv-2.6.2/client/tilespec.c:1702: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).
      fc_malloc(strlen(gfx_filename) + strlen(".")
data/freeciv-2.6.2/client/tilespec.c:1703: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(gfx_current_fileext) + 1);
data/freeciv-2.6.2/client/tilespec.c:1808: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(tstr);
data/freeciv-2.6.2/client/tilespec.c:1824: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(tstr);
data/freeciv-2.6.2/client/tilespec.c:3579: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).
  char full_tag_name[MAX_LEN_NAME + strlen("_isolated")];
data/freeciv-2.6.2/client/tilespec.c:3580: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).
  char full_alt_name[MAX_LEN_NAME + strlen("_isolated")];
data/freeciv-2.6.2/client/tilespec.c:3702: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).
  char full_tag_name[MAX_LEN_NAME + strlen("_fg")];
data/freeciv-2.6.2/common/actions.c:415: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).
        ui_name = hit + strlen(mnemonic);
data/freeciv-2.6.2/common/connection.c:645: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).
  fc_assert(strlen(capability) < sizeof(pconn->capability));
data/freeciv-2.6.2/common/dataio.c:497: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).
    dio_put_memory(dout, value, strlen(value) + 1);
data/freeciv-2.6.2/common/effects.c:1024: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).
			buf + strlen(buf), buf_len - strlen(buf));
data/freeciv-2.6.2/common/effects.c:1024: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).
			buf + strlen(buf), buf_len - strlen(buf));
data/freeciv-2.6.2/common/events.c:323: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 l = 1 + strlen(event_format) + strlen(_(events[i].descr_orig));
data/freeciv-2.6.2/common/events.c:323: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).
      int l = 1 + strlen(event_format) + strlen(_(events[i].descr_orig));
data/freeciv-2.6.2/common/events.c:335: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 (j = 0; j < strlen(events[i].tag_name); j++) {
data/freeciv-2.6.2/common/fc_cmdhelp.c:151: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).
  if (shortarg && strlen(shortarg) == 1) {
data/freeciv-2.6.2/common/featured_text.c:176:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t option_len = strlen(option);
data/freeciv-2.6.2/common/featured_text.c:268: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 == fc_strncasecmp(buf, name, strlen(name))) {
data/freeciv-2.6.2/common/featured_text.c:817: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).
    name_len = strlen(name);
data/freeciv-2.6.2/common/featured_text.c:827: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).
      name_len = strlen(name);
data/freeciv-2.6.2/common/featured_text.c:995: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).
      || start_offset > strlen(text_source)
data/freeciv-2.6.2/common/game.c:806: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).
  return strlen(buf);
data/freeciv-2.6.2/common/mapimg.c:775: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(maparg) > MAX_LEN_MAPARG) {
data/freeciv-2.6.2/common/mapimg.c:963: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 len = strlen(val), l;
data/freeciv-2.6.2/common/mapimg.c:995: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 (strlen(val) < MAX_NUM_PLAYER_SLOTS + 1) {
data/freeciv-2.6.2/common/mapimg.c:997:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        for (i = 0; i < strlen(val); i++) {
data/freeciv-2.6.2/common/mapimg.c:1035: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 (strlen(val) > sizeof(pmapdef->player.name)) {
data/freeciv-2.6.2/common/movement.c:752: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).
  move_points_denomlen = strlen(denomstr);
data/freeciv-2.6.2/common/nation.c:848: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(setting) > 0) {
data/freeciv-2.6.2/common/packets.c:842: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).
  fc_assert(strlen(capability) < sizeof(functional_capability));
data/freeciv-2.6.2/common/player.c:1723: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(name) > 0
data/freeciv-2.6.2/common/rgbcolor.c:174: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(hex) != 6) {
data/freeciv-2.6.2/common/scriptcore/luascript.c:155: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 = strlen(begin);
data/freeciv-2.6.2/common/scriptcore/luascript.c:551: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).
  status = luaL_loadbuffer(fcl->state, str, strlen(str), name);
data/freeciv-2.6.2/common/scriptcore/luascript_signal.c:229: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).
    char *sn = fc_malloc(strlen(signal_name) + 1);
data/freeciv-2.6.2/common/terrain.c:613: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(s);
data/freeciv-2.6.2/common/tile.c:1124:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(label) >= MAX_LEN_NAME) {
data/freeciv-2.6.2/dependencies/cvercmp/cvercmp.c:231: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 verlen = strlen(ver);
data/freeciv-2.6.2/dependencies/cvercmp/cvercmp.c:245:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tokens[i], ver + idx, tokenlen);
data/freeciv-2.6.2/dependencies/cvercmp/cvercmp.c:278: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).
  verlen = strlen(ver);
data/freeciv-2.6.2/dependencies/cvercmp/cvercmp.c:289:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tokens[i], ver + idx, tokenlen);
data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.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).
      *len = (def ? strlen(def) : 0);
data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.c:538: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).
  luaL_addlstring(B, s, strlen(s));
data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.c:674:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = getc(lf->f);
data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.c:679:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return getc(lf->f);  /* return next character */
data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.c:694:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(lf->f);
data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.c:696:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    *cp = getc(lf->f);  /* skip end-of-line, if present */
data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.c:765: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).
  return luaL_loadbuffer(L, s, strlen(s), s);
data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.c:861:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (e == NULL) e = fname + strlen(fname);
data/freeciv-2.6.2/dependencies/lua-5.3/src/lauxlib.c:994:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t l = strlen(p);
data/freeciv-2.6.2/dependencies/lua-5.3/src/ldblib.c:409: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 (luaL_loadbuffer(L, buffer, strlen(buffer), "=(debug command)") ||
data/freeciv-2.6.2/dependencies/lua-5.3/src/liolib.c:43: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).
         (strspn(mode, L_MODEEXT) == strlen(mode)));  /* check extensions */
data/freeciv-2.6.2/dependencies/lua-5.3/src/liolib.c:90:20:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define l_getc(f)		getc(f)
data/freeciv-2.6.2/dependencies/lua-5.3/src/liolib.c:475:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int c = getc(f);
data/freeciv-2.6.2/dependencies/lua-5.3/src/loadlib.c:429: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).
  if (l == NULL) l = path + strlen(path);
data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.c:284:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(s) > L_MAXLENNUM || pdot == NULL)
data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.c:410: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).
        pushstr(L, s, strlen(s));
data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.c:462: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).
  pushstr(L, fmt, strlen(fmt));
data/freeciv-2.6.2/dependencies/lua-5.3/src/lobject.c:488:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t l = strlen(source);
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstring.c:231: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).
  p[0] = luaS_newlstr(L, str, strlen(str));
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstrlib.c:585: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).
    upto += strlen(p + upto) + 1;  /* may have more after \0 */
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstrlib.c:1007:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t l = strlen(form);
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstrlib.c:1008: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).
  size_t lm = strlen(lenmod);
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstrlib.c:1070: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).
            luaL_argcheck(L, l == strlen(s), arg, "string contains zeros");
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstrlib.c:1400: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).
        luaL_argcheck(L, strlen(s) == len, arg, "string contains zeros");
data/freeciv-2.6.2/dependencies/lua-5.3/src/lstrlib.c:1524: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).
        size_t len = (int)strlen(data + pos);
data/freeciv-2.6.2/dependencies/lua-5.3/src/lundump.c:221: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(s);
data/freeciv-2.6.2/dependencies/lua-5.3/src/lvm.c:258: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).
      size_t len = strlen(l);  /* index of first '\0' in both strings */
data/freeciv-2.6.2/dependencies/luasql/src/ls_mysql.c:531:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (error_msg,  mysql_error(conn), 99);
data/freeciv-2.6.2/dependencies/luasql/src/ls_postgres.c:207:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy (buff, name, 20);
data/freeciv-2.6.2/dependencies/tolua-5.2/src/lib/tolua_map.c:333:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
  strncat(ctype,type,120);
data/freeciv-2.6.2/dependencies/tolua-5.2/src/lib/tolua_map.c:434:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
  strncat(cname,name,120);
data/freeciv-2.6.2/dependencies/tolua-5.2/src/lib/tolua_map.c:435:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
  strncat(cbase,base,120);
data/freeciv-2.6.2/server/auth.c:188: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).
    create_md5sum((unsigned char *)password, strlen(password),
data/freeciv-2.6.2/server/auth.c:201: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 (auth_check_password(pconn, password, strlen(password)) == 1) {
data/freeciv-2.6.2/server/auth.c:293:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return (fc_strncasecmp(name, GUEST_NAME, strlen(GUEST_NAME)) == 0);
data/freeciv-2.6.2/server/auth.c:340: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(password) < MIN_PASSWORD_LEN) {
data/freeciv-2.6.2/server/auth.c:353: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(password); i++) {
data/freeciv-2.6.2/server/connecthand.c:823: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).
    fc_assert_ret_val(strlen(oplayer->server.orig_username) == 0, FALSE);
data/freeciv-2.6.2/server/connecthand.c:826: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).
  fc_assert_ret_val(strlen(dplayer->server.orig_username) == 0, FALSE);
data/freeciv-2.6.2/server/console.c:193: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).
  return (int) strlen(buf);
data/freeciv-2.6.2/server/gamehand.c:764: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).
  sulen = strlen(game.server.start_units);
data/freeciv-2.6.2/server/maphand.c:523:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(info.label, ptile->label, sizeof(info.label) - 1);
data/freeciv-2.6.2/server/plrhand.c:1590: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 sucount = strlen(game.server.start_units);
data/freeciv-2.6.2/server/plrhand.c:1813: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 (0 == strlen(name)) {
data/freeciv-2.6.2/server/plrhand.c:2930: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 (pplayer == NULL || strlen(pplayer->server.delegate_to) == 0) {
data/freeciv-2.6.2/server/plrhand.c:2945:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (username == NULL || strlen(username) == 0) {
data/freeciv-2.6.2/server/plrhand.c:2959: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).
  return (pplayer && strlen(pplayer->server.orig_username) != 0);
data/freeciv-2.6.2/server/report.c:946: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(demography), i;
data/freeciv-2.6.2/server/report.c:1153: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 (strncmp(line, scorelog_magic, strlen(scorelog_magic)) != 0) {
data/freeciv-2.6.2/server/report.c:1159: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 (strncmp(line, "id ", strlen("id ")) == 0) {
data/freeciv-2.6.2/server/report.c:1160: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 (strlen(id) > 0) {
data/freeciv-2.6.2/server/report.c:1165: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).
      fc_strlcpy(id, line + strlen("id "), MAX_LEN_GAME_IDENTIFIER);
data/freeciv-2.6.2/server/report.c:1174:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp(line, "turn ", strlen("turn ")) == 0) {
data/freeciv-2.6.2/server/report.c:1175: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 (sscanf(line + strlen("turn "), "%d", &turn) != 1) {
data/freeciv-2.6.2/server/report.c:1185: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).
    if (strncmp(line, "addplayer ", strlen("addplayer ")) == 0) {
data/freeciv-2.6.2/server/report.c:1186: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 (3 != sscanf(line + strlen("addplayer "), "%d %d %s",
data/freeciv-2.6.2/server/report.c:1194: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).
      ptr = line + strlen("addplayer ");
data/freeciv-2.6.2/server/report.c:1222: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).
    if (strncmp(line, "delplayer ", strlen("delplayer ")) == 0) {
data/freeciv-2.6.2/server/report.c:1223: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 (2 != sscanf(line + strlen("delplayer "), "%d %d",
data/freeciv-2.6.2/server/report.c:1252: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(id) == 0) {
data/freeciv-2.6.2/server/report.c:1652: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(lines);
data/freeciv-2.6.2/server/report.c:1667:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(part.lines, &(lines[(MAX_LEN_CONTENT - 1) * i]), plen);
data/freeciv-2.6.2/server/rssanity.c:41: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(game.ruleset_summary) > MAX_LEN_CONTENT) {
data/freeciv-2.6.2/server/ruleset.c:838: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).
    char copy[strlen(sval) + 1];
data/freeciv-2.6.2/server/ruleset.c:842:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(copy) > 0) {
data/freeciv-2.6.2/server/ruleset.c:3602:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(part.text, &game.ruleset_description[idx], this_len);
data/freeciv-2.6.2/server/ruleset.c:3672: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).
        pl->translation_domain = fc_malloc(strlen(domain) + 1);
data/freeciv-2.6.2/server/ruleset.c:3795: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(cities[j]);
data/freeciv-2.6.2/server/ruleset.c:3878:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            size_t l = strlen(p);
data/freeciv-2.6.2/server/ruleset.c:5135: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(pref_text);
data/freeciv-2.6.2/server/ruleset.c:5151: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(pref_text);
data/freeciv-2.6.2/server/ruleset.c:5768:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(game.info.calendar_fragment_name[cf], fname,
data/freeciv-2.6.2/server/savecompat.c:320: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).
                xsize = strlen(s);
data/freeciv-2.6.2/server/savecompat.c:322: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).
              sg_failure_ret(xsize == strlen(s),
data/freeciv-2.6.2/server/savegame.c:182: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).
    } else if (strlen(_line) != game.map.xsize) {			\
data/freeciv-2.6.2/server/savegame.c:184: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).
                  game.map.xsize, (unsigned long) strlen(_line),	\
data/freeciv-2.6.2/server/savegame.c:2536: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 (strlen(p) != CITY_MAP_OLD_SIZE * CITY_MAP_OLD_SIZE) {
data/freeciv-2.6.2/server/savegame.c:2540: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).
                   (unsigned long)strlen(p),
data/freeciv-2.6.2/server/savegame.c:2746: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).
                (unsigned long) strlen(quoted),
data/freeciv-2.6.2/server/savegame.c:2747: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).
                (unsigned long) strlen(current));
data/freeciv-2.6.2/server/savegame.c:2748: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).
      fc_assert(strlen(quoted) + strlen(current) <= quoted_length);
data/freeciv-2.6.2/server/savegame.c:2748: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).
      fc_assert(strlen(quoted) + strlen(current) <= quoted_length);
data/freeciv-2.6.2/server/savegame.c:2751: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).
    fc_assert_msg(quoted_length == strlen(quoted),
data/freeciv-2.6.2/server/savegame.c:2754: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).
                  (unsigned long) strlen(quoted));
data/freeciv-2.6.2/server/savegame.c:3925: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 (0 == strlen(server.game_identifier)
data/freeciv-2.6.2/server/savegame2.c:229: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).
    } else if (strlen(_line) != game.map.xsize) {                           \
data/freeciv-2.6.2/server/savegame2.c:233: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).
                  game.map.xsize, (unsigned long) strlen(_line), buf);      \
data/freeciv-2.6.2/server/savegame2.c:1003: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).
  offset = strlen(buffer);
data/freeciv-2.6.2/server/savegame2.c:1431: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 (num >= strlen(num_chars)) {
data/freeciv-2.6.2/server/savegame2.c:2321: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).
    sg_failure_ret(strlen(string) == loading->technology.size,
data/freeciv-2.6.2/server/savegame2.c:2323: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).
                   (unsigned long) strlen(string),
data/freeciv-2.6.2/server/savegame2.c:3179: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 size_t size = strlen(nation_names) + 1;
data/freeciv-2.6.2/server/savegame2.c:3385:9:  [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(token, "-");
data/freeciv-2.6.2/server/savegame2.c:3392:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(line, ",");
data/freeciv-2.6.2/server/savegame2.c:3407:9:  [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(token, "-");
data/freeciv-2.6.2/server/savegame2.c:3413:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(line, ",");
data/freeciv-2.6.2/server/savegame2.c:3428:9:  [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(token, "-");
data/freeciv-2.6.2/server/savegame2.c:3435:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(line, ",");
data/freeciv-2.6.2/server/savegame2.c:3512:9:  [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(token, "-");
data/freeciv-2.6.2/server/savegame2.c:3518:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(line, ",");
data/freeciv-2.6.2/server/savegame2.c:3666: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).
  sg_failure_ret(strlen(string) == loading->improvement.size,
data/freeciv-2.6.2/server/savegame2.c:3668: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).
                 "(%lu ~= %lu)", (unsigned long) strlen(string),
data/freeciv-2.6.2/server/savegame2.c:4147: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(string)) {
data/freeciv-2.6.2/server/savegame2.c:4564: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).
    sg_failure_ret(strlen(string) == loading->improvement.size,
data/freeciv-2.6.2/server/savegame2.c:4566: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).
                   "(%lu ~= %lu)", plrno, (unsigned long) strlen(string),
data/freeciv-2.6.2/server/savegame2.c:5138: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).
  sg_warn_ret_val(strlen(string) == loading->improvement.size, FALSE,
data/freeciv-2.6.2/server/savegame2.c:5140: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).
                  citystr, (unsigned long) strlen(string),
data/freeciv-2.6.2/server/savegame2.c:5427: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).
    sg_failure_ret(strlen(impr_buf) < sizeof(impr_buf),
data/freeciv-2.6.2/server/savegame2.c:5429: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).
                   "%lu < %lu).", buf, (long unsigned int) strlen(impr_buf),
data/freeciv-2.6.2/server/savegame2.c:6440: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).
                (unsigned long) strlen(quoted),
data/freeciv-2.6.2/server/savegame2.c:6441: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).
                (unsigned long) strlen(current));
data/freeciv-2.6.2/server/savegame2.c:6442: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).
      fc_assert(strlen(quoted) + strlen(current) <= quoted_length);
data/freeciv-2.6.2/server/savegame2.c:6442: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).
      fc_assert(strlen(quoted) + strlen(current) <= quoted_length);
data/freeciv-2.6.2/server/savegame2.c:6445: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).
    fc_assert_msg(quoted_length == strlen(quoted),
data/freeciv-2.6.2/server/savegame2.c:6448: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).
                  (unsigned long) strlen(quoted));
data/freeciv-2.6.2/server/savegame2.c:6484: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 bytes_left = strlen(quoted);
data/freeciv-2.6.2/server/savegame2.c:6799: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).
  sg_warn_ret_val(strlen(string) == loading->improvement.size, FALSE,
data/freeciv-2.6.2/server/savegame2.c:6801: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).
                  citystr, (unsigned long) strlen(string),
data/freeciv-2.6.2/server/savegame2.c:6891:11:  [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(token, "-");
data/freeciv-2.6.2/server/savegame2.c:6898:11:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
          strcat(line, ",");
data/freeciv-2.6.2/server/savegame2.c:6915:11:  [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(token, "-");
data/freeciv-2.6.2/server/savegame2.c:6922:11:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
          strcat(line, ",");
data/freeciv-2.6.2/server/savegame2.c:6996: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).
      sg_failure_ret(strlen(impr_buf) < sizeof(impr_buf),
data/freeciv-2.6.2/server/savegame2.c:6998: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).
                     "%lu < %lu).", buf, (long unsigned int) strlen(impr_buf),
data/freeciv-2.6.2/server/savegame2.c:7074: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).
    sg_failure_ret(strlen(string) == loading->technology.size,
data/freeciv-2.6.2/server/savegame2.c:7076: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).
                   i, (unsigned long) strlen(string),
data/freeciv-2.6.2/server/savegame2.c:7516: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 (0 == strlen(server.game_identifier)
data/freeciv-2.6.2/server/scripting/api_server_edit.c:265: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(buf) > 0) {
data/freeciv-2.6.2/server/sernet.c:513:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int fcdl = strlen(home_dir) + 1 + strlen(".freeciv") + 1;
data/freeciv-2.6.2/server/sernet.c:513: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).
        int fcdl = strlen(home_dir) + 1 + strlen(".freeciv") + 1;
data/freeciv-2.6.2/server/sernet.c:521: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).
              = fc_malloc(strlen(fc_dir) + 1 + strlen(HISTORY_FILENAME) + 1);
data/freeciv-2.6.2/server/sernet.c:521: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).
              = fc_malloc(strlen(fc_dir) + 1 + strlen(HISTORY_FILENAME) + 1);
data/freeciv-2.6.2/server/sernet.c:524:15:  [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(history_file, "/");
data/freeciv-2.6.2/server/sernet.c:822:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      didget = read(0, buffer, BUF_SIZE);
data/freeciv-2.6.2/server/settings.c:866: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), i;
data/freeciv-2.6.2/server/settings.c:912: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), i;
data/freeciv-2.6.2/server/settings.c:1003: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(value) == 0) {
data/freeciv-2.6.2/server/settings.c:2995: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(prefix);
data/freeciv-2.6.2/server/settings.c:3007: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 (strlen(name->support) == len) {
data/freeciv-2.6.2/server/settings.c:3313: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(val) >= pset->string.value_size) {
data/freeciv-2.6.2/server/settings.c:3591: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(buf);
data/freeciv-2.6.2/server/srv_main.c:1683: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).
  fc_assert(256 > strlen(game.server.save_name));
data/freeciv-2.6.2/server/srv_main.c:3063: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 sucount = strlen(game.server.start_units);
data/freeciv-2.6.2/server/stdinhand.c:181: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(name);
data/freeciv-2.6.2/server/stdinhand.c:770: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(buf) > 0) {
data/freeciv-2.6.2/server/stdinhand.c:1146: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 serv_filename[strlen(extension) + strlen(script_filename) + 2];
data/freeciv-2.6.2/server/stdinhand.c:1146: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).
  char serv_filename[strlen(extension) + strlen(script_filename) + 2];
data/freeciv-2.6.2/server/stdinhand.c:1157: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).
  real_filename = script_filename + strlen(script_filename) 
data/freeciv-2.6.2/server/stdinhand.c:1158: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).
                  - MIN(strlen(extension), strlen(script_filename));
data/freeciv-2.6.2/server/stdinhand.c:1158: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).
                  - MIN(strlen(extension), strlen(script_filename));
data/freeciv-2.6.2/server/stdinhand.c:1679: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).
             && 0 == fc_strncasecmp("rulesetdir", name, strlen(name))) {
data/freeciv-2.6.2/server/stdinhand.c:1710: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(sethelp) > 0) {
data/freeciv-2.6.2/server/stdinhand.c:2110: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).
      clen = strlen(str);
data/freeciv-2.6.2/server/stdinhand.c:2328: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 (str != NULL || strlen(str) > 0) {
data/freeciv-2.6.2/server/stdinhand.c:2649: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 (str != NULL && strlen(str) > 0) {
data/freeciv-2.6.2/server/stdinhand.c:4684: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).
      luaarg = arg + strlen(lua_args_name(ind));
data/freeciv-2.6.2/server/stdinhand.c:4718: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).
    real_filename = luaarg + strlen(luaarg) - MIN(strlen(extension),
data/freeciv-2.6.2/server/stdinhand.c:4718: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).
    real_filename = luaarg + strlen(luaarg) - MIN(strlen(extension),
data/freeciv-2.6.2/server/stdinhand.c:4719:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                                  strlen(luaarg));
data/freeciv-2.6.2/server/stdinhand.c:5741: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).
    } else if (strlen(game.server.start_units) == 0 && !game.server.start_city) {
data/freeciv-2.6.2/server/stdinhand.c:6013: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 synlen = strlen(syn);
data/freeciv-2.6.2/server/stdinhand.c:6335: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 (strlen(pplayer->username) > 0
data/freeciv-2.6.2/server/stdinhand.c:6344: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).
          n = strlen(buf);
data/freeciv-2.6.2/server/stdinhand.c:6468:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(description) > 0) {
data/freeciv-2.6.2/server/stdinhand.c:6687: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(mytext);
data/freeciv-2.6.2/server/stdinhand.c:6929: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 arg_len = strlen(arg);
data/freeciv-2.6.2/tools/civmanual.c:253: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 (strlen(sethelp) > 0) {
data/freeciv-2.6.2/tools/civmanual.c:255: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).
          size_t help_len = strlen(help) + 1;
data/freeciv-2.6.2/tools/civmanual.c:335: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).
          size_t cmdstr_len = strlen(cmdstr) + 1;
data/freeciv-2.6.2/tools/civmanual.c:348: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).
            size_t help_len = strlen(help) + 1;
data/freeciv-2.6.2/tools/civmanual.c:388: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 (0 == strlen(terrain_rule_name(pterrain))) {
data/freeciv-2.6.2/tools/download.c:107: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(URL) < strlen(MODPACK_SUFFIX)
data/freeciv-2.6.2/tools/download.c:107: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 (strlen(URL) < strlen(MODPACK_SUFFIX)
data/freeciv-2.6.2/tools/download.c:108: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).
      || strcmp(URL + strlen(URL) - strlen(MODPACK_SUFFIX), MODPACK_SUFFIX)) {
data/freeciv-2.6.2/tools/download.c:108: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).
      || strcmp(URL + strlen(URL) - strlen(MODPACK_SUFFIX), MODPACK_SUFFIX)) {
data/freeciv-2.6.2/tools/download.c:112:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (start_idx = strlen(URL) - strlen(MODPACK_SUFFIX);
data/freeciv-2.6.2/tools/download.c:112: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).
  for (start_idx = strlen(URL) - strlen(MODPACK_SUFFIX);
data/freeciv-2.6.2/tools/download.c:182:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(URLstart, URL, start_idx - 1);
data/freeciv-2.6.2/tools/download.c:240:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy(URLstart, URL, start_idx - 1);
data/freeciv-2.6.2/tools/download.c:301: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).
    dest_name_copy = fc_malloc(strlen(dest_name) + 1);
data/freeciv-2.6.2/tools/download.c:338: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).
      for (i = strlen(local_name) - 1 ; local_name[i] != DIR_SEPARATOR_CHAR ; i--) {
data/freeciv-2.6.2/tools/download.c:413:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (start_idx = strlen(fcmp->list_url);
data/freeciv-2.6.2/tools/download.c:486:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(URLstart, fcmp->list_url, start_idx - 1);
data/freeciv-2.6.2/tools/mpgui_gtk2.c:299: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).
  URLbuf = fc_malloc(strlen(URL) + 1);
data/freeciv-2.6.2/tools/mpgui_gtk2.c:511: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).
                            strlen(EXAMPLE_URL));
data/freeciv-2.6.2/tools/mpgui_gtk3.c:297:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  URLbuf = fc_malloc(strlen(URL) + 1);
data/freeciv-2.6.2/tools/mpgui_gtk3.c:516: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).
                            strlen(EXAMPLE_URL));
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1343: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).
    city_str[set_count] = fc_malloc(strlen(nation_city_name(pncity)) + strlen(" (!river")
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1343: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).
    city_str[set_count] = fc_malloc(strlen(nation_city_name(pncity)) + strlen(" (!river")
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1344: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).
                                    + strlen(")")
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1345: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).
                                    + MAX_NUM_TERRAINS * (strlen(", ") + MAX_LEN_NAME));
data/freeciv-2.6.2/tools/ruledit/rulesave.c:1390:7:  [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(city_str[set_count], ")");
data/freeciv-2.6.2/tools/ruledit/rulesave.c:2382:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int full_len = strlen(buffer);
data/freeciv-2.6.2/tools/ruledit/tab_misc.cpp:178:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(nameUTF8, name->text().toUtf8().data(), sizeof(nameUTF8) - 1);
data/freeciv-2.6.2/tools/ruledit/tab_misc.cpp:181:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(game.control.name, nameUTF8, sizeof(game.control.name));
data/freeciv-2.6.2/tools/ruledit/tab_misc.cpp:184:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(game.control.version, version->text().toUtf8().data(),
data/freeciv-2.6.2/utility/astring.h:101: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).
  return (NULL != astr->str ? strlen(astr->str) : 0);
data/freeciv-2.6.2/utility/capability.c:79: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 fc_has_capability(cap, capstr, strlen(cap));
data/freeciv-2.6.2/utility/fc_cmdline.c:54: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(option_name);
data/freeciv-2.6.2/utility/fc_cmdline.c:72: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 (strlen(opt) == 0) {
data/freeciv-2.6.2/utility/fc_cmdline.c:125: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 i, len = strlen(s);
data/freeciv-2.6.2/utility/fc_utf8.c:123: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).
  return strlen(src);
data/freeciv-2.6.2/utility/fc_utf8.c:137: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).
  src_len = strlen(src);
data/freeciv-2.6.2/utility/fc_utf8.c:502: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(dest);
data/freeciv-2.6.2/utility/fc_utf8.c:525: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(dest);
data/freeciv-2.6.2/utility/fc_utf8.c:617:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return ((-1 == ret) ? -1 : (int)strlen(str));
data/freeciv-2.6.2/utility/fc_utf8.c:641: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/freeciv-2.6.2/utility/fc_utf8.c:671: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/freeciv-2.6.2/utility/fciconv.c:194: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 from_len = strlen(text) + 1, to_len;
data/freeciv-2.6.2/utility/fciconv.c:278:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buf, text, bufsz);
data/freeciv-2.6.2/utility/fciconv.c:291: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).
  char encoding[strlen(encoding1) + strlen(transliteration_string) + 1];    \
data/freeciv-2.6.2/utility/fciconv.c:291: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).
  char encoding[strlen(encoding1) + strlen(transliteration_string) + 1];    \
data/freeciv-2.6.2/utility/fciconv.c:304: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).
  char encoding[strlen(encoding1) + strlen(transliteration_string) + 1];    \
data/freeciv-2.6.2/utility/fciconv.c:304: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).
  char encoding[strlen(encoding1) + strlen(transliteration_string) + 1];    \
data/freeciv-2.6.2/utility/fciconv.c:377: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 text2[(strlen(text) + 1)]; /* UCS-4 text */
data/freeciv-2.6.2/utility/fcintl.c:64: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(str);
data/freeciv-2.6.2/utility/inputfile.c:224: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).
  fc_assert_ret_val(0 < strlen(filename), NULL);
data/freeciv-2.6.2/utility/inputfile.c:359: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(include_prefix);
data/freeciv-2.6.2/utility/inputfile.c:397:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(bare_name, bare_name_start, bare_name_len - 1);
data/freeciv-2.6.2/utility/ioz.c:812: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).
        return strlen((char *)fp->u.xz.in_buf);
data/freeciv-2.6.2/utility/ioz.c:829: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).
      BZ2_bzWrite(&fp->u.bz2.error, fp->u.bz2.file, buffer, strlen(buffer));
data/freeciv-2.6.2/utility/ioz.c:833: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).
        return strlen(buffer);
data/freeciv-2.6.2/utility/ioz.c:849: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).
      return gzwrite(fp->u.zlib, buffer, (unsigned int)strlen(buffer));
data/freeciv-2.6.2/utility/log.c:179:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(tok) == 0) {
data/freeciv-2.6.2/utility/log.c:222: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).
  if (filename && strlen(filename) > 0) {
data/freeciv-2.6.2/utility/mem.c:149: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).
  char *dest = fc_real_malloc(strlen(str)+1, called_as, line, file);
data/freeciv-2.6.2/utility/netintf.c:150:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  result = read(sock, buf, size);
data/freeciv-2.6.2/utility/registry_ini.c:1650: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(fullpath);
data/freeciv-2.6.2/utility/registry_ini.c:2730: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(prefix);
data/freeciv-2.6.2/utility/registry_xml.c:91: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 len = strlen(content);
data/freeciv-2.6.2/utility/section_file.c:137: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).
    char buf[strlen(tok) + 1];
data/freeciv-2.6.2/utility/section_file.c:146: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).
    char buf[strlen(tok) + 1];
data/freeciv-2.6.2/utility/shared.c:223: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).
  seplen = strlen(sep);
data/freeciv-2.6.2/utility/shared.c:475: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(s);
data/freeciv-2.6.2/utility/shared.c:506: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).
  t = s + strlen(s) -1;
data/freeciv-2.6.2/utility/shared.c:529: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(str);
data/freeciv-2.6.2/utility/shared.c:542: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).
  fc_assert_ret_val_msg(strlen(str) < len, TRUE, errmsg, str, len);
data/freeciv-2.6.2/utility/shared.c:851: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).
    i = strlen(tok);
data/freeciv-2.6.2/utility/shared.c:864: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 len = strlen(home) + i;   /* +1 -1 */
data/freeciv-2.6.2/utility/shared.c:1104:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t suffix_len = strlen(suffix);
data/freeciv-2.6.2/utility/shared.c:1133: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).
      size_t len = strlen(entry->d_name);
data/freeciv-2.6.2/utility/shared.c:1178: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).
  char fnbuf[filename != NULL ? strlen(filename) + 1 : 1];
data/freeciv-2.6.2/utility/shared.c:1318: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 = strlen(dirname) + strlen(filename) + 2;
data/freeciv-2.6.2/utility/shared.c:1318: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).
        size_t len = strlen(dirname) + strlen(filename) + 2;
data/freeciv-2.6.2/utility/shared.c:1658: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(prefix);
data/freeciv-2.6.2/utility/shared.c:1673: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 (strlen(name) == len) {
data/freeciv-2.6.2/utility/shared.c:1755:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buf, user_home_dir(), buf_size);
data/freeciv-2.6.2/utility/shared.c:1757:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buf, filename, buf_size);
data/freeciv-2.6.2/utility/shared.c:1775: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).
    sz = strlen(home) + strlen(filename) + 2;
data/freeciv-2.6.2/utility/shared.c:1775: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).
    sz = strlen(home) + strlen(filename) + 2;
data/freeciv-2.6.2/utility/shared.c:1795: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).
  for (j = strlen(filepath); j >= 0; j--) {
data/freeciv-2.6.2/utility/shared.c:1896: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 (*buf == NULL || strlen(*buf) == 0 || size == 0) {
data/freeciv-2.6.2/utility/shared.c:1905:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dest, *buf, size-1);
data/freeciv-2.6.2/utility/support.c:239: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/freeciv-2.6.2/utility/support.c:266: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).
  len0 = strlen(str0); /* TODO: We iterate string once already here, */
data/freeciv-2.6.2/utility/support.c:267: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).
  len1 = strlen(str1); /*       could iterate only once */
data/freeciv-2.6.2/utility/support.c:327: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).
  haystacks = strlen(haystack);
data/freeciv-2.6.2/utility/support.c:328: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).
  needles = strlen(needle);
data/freeciv-2.6.2/utility/support.c:521:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep(usec);
data/freeciv-2.6.2/utility/support.c:566: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_max = ceil((double)strlen(str) * strlen(replace) / strlen(search)) + 1;
data/freeciv-2.6.2/utility/support.c:566: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).
  len_max = ceil((double)strlen(str) * strlen(replace) / strlen(search)) + 1;
data/freeciv-2.6.2/utility/support.c:566: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).
  len_max = ceil((double)strlen(str) * strlen(replace) / strlen(search)) + 1;
data/freeciv-2.6.2/utility/support.c:600:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len_search = strlen(search);
data/freeciv-2.6.2/utility/support.c:601:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len_replace = strlen(replace);
data/freeciv-2.6.2/utility/support.c:611: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 (len < (strlen(str) + len_replace - len_search + 1)) {
data/freeciv-2.6.2/utility/support.c:616: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).
    memmove(p + len_replace, p + len_search, strlen(p + len_search) + 1);
data/freeciv-2.6.2/utility/support.c:662: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(src);
data/freeciv-2.6.2/utility/support.c:686:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len_dest = strlen(dest);
data/freeciv-2.6.2/utility/support.c:697:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len_src = strlen(src);
data/freeciv-2.6.2/utility/support.c:806: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(buf);
data/freeciv-2.6.2/utility/support.c:865: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/freeciv-2.6.2/utility/support.c:963:23:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((*bufptr = fgetc(stdin)) != EOF) {
data/freeciv-2.6.2/utility/support.c:1005: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 slen = (size_t)strlen(str);

ANALYSIS SUMMARY:

Hits = 2828
Lines analyzed = 680251 in approximately 17.90 seconds (38007 lines/second)
Physical Source Lines of Code (SLOC) = 476403
Hits@level = [0] 196 [1] 610 [2] 2054 [3]  40 [4] 124 [5]   0
Hits@level+ = [0+] 3024 [1+] 2828 [2+] 2218 [3+] 164 [4+] 124 [5+]   0
Hits/KSLOC@level+ = [0+] 6.34757 [1+] 5.93615 [2+] 4.65572 [3+] 0.344246 [4+] 0.260284 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.