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/freeorion-0.4.10.1/UI/TechTreeLayout.h Examining data/freeorion-0.4.10.1/UI/ResearchWnd.cpp Examining data/freeorion-0.4.10.1/UI/CensusBrowseWnd.cpp Examining data/freeorion-0.4.10.1/UI/About.cpp Examining data/freeorion-0.4.10.1/UI/Sound.h Examining data/freeorion-0.4.10.1/UI/MultiMeterStatusBar.h Examining data/freeorion-0.4.10.1/UI/About.h Examining data/freeorion-0.4.10.1/UI/DesignWnd.h Examining data/freeorion-0.4.10.1/UI/MapWnd.h Examining data/freeorion-0.4.10.1/UI/PopulationPanel.cpp Examining data/freeorion-0.4.10.1/UI/Hotkeys.cpp Examining data/freeorion-0.4.10.1/UI/FleetWnd.h Examining data/freeorion-0.4.10.1/UI/ResourcePanel.h Examining data/freeorion-0.4.10.1/UI/LinkText.h Examining data/freeorion-0.4.10.1/UI/ResourceBrowseWnd.cpp Examining data/freeorion-0.4.10.1/UI/SDLGUI.h Examining data/freeorion-0.4.10.1/UI/MultiIconValueIndicator.h Examining data/freeorion-0.4.10.1/UI/MapWnd.cpp Examining data/freeorion-0.4.10.1/UI/CombatReport/GraphicalSummary.h Examining data/freeorion-0.4.10.1/UI/CombatReport/CombatReportData.cpp Examining data/freeorion-0.4.10.1/UI/CombatReport/CombatLogWnd.cpp Examining data/freeorion-0.4.10.1/UI/CombatReport/CombatReportWnd.h Examining data/freeorion-0.4.10.1/UI/CombatReport/CombatLogWnd.h Examining data/freeorion-0.4.10.1/UI/CombatReport/CombatReportWnd.cpp Examining data/freeorion-0.4.10.1/UI/CombatReport/GraphicalSummary.cpp Examining data/freeorion-0.4.10.1/UI/CombatReport/CombatReportData.h Examining data/freeorion-0.4.10.1/UI/SDLGUI.cpp Examining data/freeorion-0.4.10.1/UI/BuildDesignatorWnd.cpp Examining data/freeorion-0.4.10.1/UI/ServerConnectWnd.h Examining data/freeorion-0.4.10.1/UI/DesignWnd.cpp Examining data/freeorion-0.4.10.1/UI/SitRepPanel.cpp Examining data/freeorion-0.4.10.1/UI/CUILinkTextBlock.h Examining data/freeorion-0.4.10.1/UI/MeterBrowseWnd.cpp Examining data/freeorion-0.4.10.1/UI/SitRepPanel.h Examining data/freeorion-0.4.10.1/UI/MultiIconValueIndicator.cpp Examining data/freeorion-0.4.10.1/UI/IconTextBrowseWnd.cpp Examining data/freeorion-0.4.10.1/UI/TechTreeArcs.cpp Examining data/freeorion-0.4.10.1/UI/FleetButton.cpp Examining data/freeorion-0.4.10.1/UI/MeterBrowseWnd.h Examining data/freeorion-0.4.10.1/UI/TechTreeLayout.cpp Examining data/freeorion-0.4.10.1/UI/IntroScreen.h Examining data/freeorion-0.4.10.1/UI/ProductionWnd.cpp Examining data/freeorion-0.4.10.1/UI/SpecialsPanel.h Examining data/freeorion-0.4.10.1/UI/MultiplayerLobbyWnd.h Examining data/freeorion-0.4.10.1/UI/ResearchWnd.h Examining data/freeorion-0.4.10.1/UI/CUIDrawUtil.cpp Examining data/freeorion-0.4.10.1/UI/Hotkeys.h Examining data/freeorion-0.4.10.1/UI/BuildingsPanel.h Examining data/freeorion-0.4.10.1/UI/MilitaryPanel.h Examining data/freeorion-0.4.10.1/UI/FieldIcon.h Examining data/freeorion-0.4.10.1/UI/ShaderProgram.h Examining data/freeorion-0.4.10.1/UI/TechTreeArcs.h Examining data/freeorion-0.4.10.1/UI/SpecialsPanel.cpp Examining data/freeorion-0.4.10.1/UI/SystemResourceSummaryBrowseWnd.h Examining data/freeorion-0.4.10.1/UI/ObjectListWnd.cpp Examining data/freeorion-0.4.10.1/UI/CUISpin.h Examining data/freeorion-0.4.10.1/UI/PlayerListWnd.cpp Examining data/freeorion-0.4.10.1/UI/BuildDesignatorWnd.h Examining data/freeorion-0.4.10.1/UI/CUIWnd.cpp Examining data/freeorion-0.4.10.1/UI/CUIStyle.h Examining data/freeorion-0.4.10.1/UI/MultiMeterStatusBar.cpp Examining data/freeorion-0.4.10.1/UI/FleetButton.h Examining data/freeorion-0.4.10.1/UI/CUISlider.h Examining data/freeorion-0.4.10.1/UI/ClientUI.h Examining data/freeorion-0.4.10.1/UI/CUIStyle.cpp Examining data/freeorion-0.4.10.1/UI/SaveFileDialog.h Examining data/freeorion-0.4.10.1/UI/FieldIcon.cpp Examining data/freeorion-0.4.10.1/UI/TechTreeWnd.h Examining data/freeorion-0.4.10.1/UI/SidePanel.h Examining data/freeorion-0.4.10.1/UI/SystemIcon.cpp Examining data/freeorion-0.4.10.1/UI/CUIWnd.h Examining data/freeorion-0.4.10.1/UI/SystemResourceSummaryBrowseWnd.cpp Examining data/freeorion-0.4.10.1/UI/CUIControls.h Examining data/freeorion-0.4.10.1/UI/IntroScreen.cpp Examining data/freeorion-0.4.10.1/UI/MilitaryPanel.cpp Examining data/freeorion-0.4.10.1/UI/SidePanel.cpp Examining data/freeorion-0.4.10.1/UI/EncyclopediaDetailPanel.h Examining data/freeorion-0.4.10.1/UI/InGameMenu.cpp Examining data/freeorion-0.4.10.1/UI/Sound.cpp Examining data/freeorion-0.4.10.1/UI/ProductionWnd.h Examining data/freeorion-0.4.10.1/UI/ResourceBrowseWnd.h Examining data/freeorion-0.4.10.1/UI/TechTreeWnd.cpp Examining data/freeorion-0.4.10.1/UI/AccordionPanel.h Examining data/freeorion-0.4.10.1/UI/GraphControl.h Examining data/freeorion-0.4.10.1/UI/QueueListBox.h Examining data/freeorion-0.4.10.1/UI/SystemIcon.h Examining data/freeorion-0.4.10.1/UI/LinkText.cpp Examining data/freeorion-0.4.10.1/UI/ShaderProgram.cpp Examining data/freeorion-0.4.10.1/UI/ServerConnectWnd.cpp Examining data/freeorion-0.4.10.1/UI/MultiplayerLobbyWnd.cpp Examining data/freeorion-0.4.10.1/UI/PlayerListWnd.h Examining data/freeorion-0.4.10.1/UI/InGameMenu.h Examining data/freeorion-0.4.10.1/UI/GraphControl.cpp Examining data/freeorion-0.4.10.1/UI/EncyclopediaDetailPanel.cpp Examining data/freeorion-0.4.10.1/UI/SaveFileDialog.cpp Examining data/freeorion-0.4.10.1/UI/ObjectListWnd.h Examining data/freeorion-0.4.10.1/UI/ChatWnd.cpp Examining data/freeorion-0.4.10.1/UI/IconTextBrowseWnd.h Examining data/freeorion-0.4.10.1/UI/GalaxySetupWnd.h Examining data/freeorion-0.4.10.1/UI/PasswordEnterWnd.h Examining data/freeorion-0.4.10.1/UI/TextBrowseWnd.h Examining data/freeorion-0.4.10.1/UI/ResourcePanel.cpp Examining data/freeorion-0.4.10.1/UI/PasswordEnterWnd.cpp Examining data/freeorion-0.4.10.1/UI/ModeratorActionsWnd.h Examining data/freeorion-0.4.10.1/UI/OptionsWnd.h Examining data/freeorion-0.4.10.1/UI/QueueListBox.cpp Examining data/freeorion-0.4.10.1/UI/TextBrowseWnd.cpp Examining data/freeorion-0.4.10.1/UI/ChatWnd.h Examining data/freeorion-0.4.10.1/UI/FleetWnd.cpp Examining data/freeorion-0.4.10.1/UI/CUILinkTextBlock.cpp Examining data/freeorion-0.4.10.1/UI/CensusBrowseWnd.h Examining data/freeorion-0.4.10.1/UI/PopulationPanel.h Examining data/freeorion-0.4.10.1/UI/ModeratorActionsWnd.cpp Examining data/freeorion-0.4.10.1/UI/GalaxySetupWnd.cpp Examining data/freeorion-0.4.10.1/UI/CUIControls.cpp Examining data/freeorion-0.4.10.1/UI/OptionsWnd.cpp Examining data/freeorion-0.4.10.1/UI/AccordionPanel.cpp Examining data/freeorion-0.4.10.1/UI/ClientUI.cpp Examining data/freeorion-0.4.10.1/UI/BuildingsPanel.cpp Examining data/freeorion-0.4.10.1/UI/CUIDrawUtil.h Examining data/freeorion-0.4.10.1/test/UI/TestTextControl.cpp Examining data/freeorion-0.4.10.1/test/UI/runner/ResourceCursor.cpp Examining data/freeorion-0.4.10.1/test/UI/runner/Dialog.h Examining data/freeorion-0.4.10.1/test/UI/runner/Application.h Examining data/freeorion-0.4.10.1/test/UI/runner/Dialog.cpp Examining data/freeorion-0.4.10.1/test/UI/runner/Application.cpp Examining data/freeorion-0.4.10.1/test/util/main.cpp Examining data/freeorion-0.4.10.1/test/parse/TestValueRefDoubleParser.cpp Examining data/freeorion-0.4.10.1/test/parse/CommonTest.h Examining data/freeorion-0.4.10.1/test/parse/CommonTest.cpp Examining data/freeorion-0.4.10.1/test/parse/TestValueRefIntParser.cpp Examining data/freeorion-0.4.10.1/test/parse/TestEnumParser.cpp Examining data/freeorion-0.4.10.1/test/parse/TestValueRefStringParser.cpp Examining data/freeorion-0.4.10.1/test/parse/main.cpp Examining data/freeorion-0.4.10.1/test/parse/TestValueRefUniverseObjectTypeParser.cpp Examining data/freeorion-0.4.10.1/test/system/SmokeTestGame.cpp Examining data/freeorion-0.4.10.1/test/system/ClientAppFixture.cpp Examining data/freeorion-0.4.10.1/test/system/SmokeTestHostless.cpp Examining data/freeorion-0.4.10.1/test/system/ClientAppFixture.h Examining data/freeorion-0.4.10.1/test/system/main.cpp Examining data/freeorion-0.4.10.1/GG/test/unit/TestButton.cpp Examining data/freeorion-0.4.10.1/GG/test/unit/main.cpp Examining data/freeorion-0.4.10.1/GG/GG/MultiEditFwd.h Examining data/freeorion-0.4.10.1/GG/GG/MultiEdit.h Examining data/freeorion-0.4.10.1/GG/GG/DynamicGraphic.h Examining data/freeorion-0.4.10.1/GG/GG/Wnd.h Examining data/freeorion-0.4.10.1/GG/GG/Control.h Examining data/freeorion-0.4.10.1/GG/GG/Edit.h Examining data/freeorion-0.4.10.1/GG/GG/Export.h Examining data/freeorion-0.4.10.1/GG/GG/ZList.h Examining data/freeorion-0.4.10.1/GG/GG/Scroll.h Examining data/freeorion-0.4.10.1/GG/GG/GroupBox.h Examining data/freeorion-0.4.10.1/GG/GG/Config.h Examining data/freeorion-0.4.10.1/GG/GG/ClrConstants.h Examining data/freeorion-0.4.10.1/GG/GG/Enum.h Examining data/freeorion-0.4.10.1/GG/GG/DeferredLayout.h Examining data/freeorion-0.4.10.1/GG/GG/utf8/core.h Examining data/freeorion-0.4.10.1/GG/GG/utf8/unchecked.h Examining data/freeorion-0.4.10.1/GG/GG/utf8/checked.h Examining data/freeorion-0.4.10.1/GG/GG/GGFwd.h Examining data/freeorion-0.4.10.1/GG/GG/StyleFactory.h Examining data/freeorion-0.4.10.1/GG/GG/WndEvent.h Examining data/freeorion-0.4.10.1/GG/GG/ListBox.h Examining data/freeorion-0.4.10.1/GG/GG/StrongTypedef.h Examining data/freeorion-0.4.10.1/GG/GG/Spin.h Examining data/freeorion-0.4.10.1/GG/GG/Flags.h Examining data/freeorion-0.4.10.1/GG/GG/FontFwd.h Examining data/freeorion-0.4.10.1/GG/GG/DrawUtil.h Examining data/freeorion-0.4.10.1/GG/GG/Cursor.h Examining data/freeorion-0.4.10.1/GG/GG/UnicodeCharsets.h Examining data/freeorion-0.4.10.1/GG/GG/Timer.h Examining data/freeorion-0.4.10.1/GG/GG/GUI.h Examining data/freeorion-0.4.10.1/GG/GG/Layout.h Examining data/freeorion-0.4.10.1/GG/GG/Slider.h Examining data/freeorion-0.4.10.1/GG/GG/ScrollPanel.h Examining data/freeorion-0.4.10.1/GG/GG/BrowseInfoWnd.h Examining data/freeorion-0.4.10.1/GG/GG/VectorTexture.h Examining data/freeorion-0.4.10.1/GG/GG/Button.h Examining data/freeorion-0.4.10.1/GG/GG/Menu.h Examining data/freeorion-0.4.10.1/GG/GG/AlignmentFlags.h Examining data/freeorion-0.4.10.1/GG/GG/dialogs/FileDlg.h Examining data/freeorion-0.4.10.1/GG/GG/dialogs/ColorDlg.h Examining data/freeorion-0.4.10.1/GG/GG/dialogs/ThreeButtonDlg.h Examining data/freeorion-0.4.10.1/GG/GG/TextControl.h Examining data/freeorion-0.4.10.1/GG/GG/Font.h Examining data/freeorion-0.4.10.1/GG/GG/Texture.h Examining data/freeorion-0.4.10.1/GG/GG/RichText/ImageBlock.h Examining data/freeorion-0.4.10.1/GG/GG/RichText/BlockControl.h Examining data/freeorion-0.4.10.1/GG/GG/RichText/RichText.h Examining data/freeorion-0.4.10.1/GG/GG/GLClientAndServerBuffer.h Examining data/freeorion-0.4.10.1/GG/GG/Exception.h Examining data/freeorion-0.4.10.1/GG/GG/Clr.h Examining data/freeorion-0.4.10.1/GG/GG/StaticGraphic.h Examining data/freeorion-0.4.10.1/GG/GG/DropDownList.h Examining data/freeorion-0.4.10.1/GG/GG/PtRect.h Examining data/freeorion-0.4.10.1/GG/GG/TabWnd.h Examining data/freeorion-0.4.10.1/GG/GG/Base.h Examining data/freeorion-0.4.10.1/GG/src/Edit.cpp Examining data/freeorion-0.4.10.1/GG/src/TabWnd.cpp Examining data/freeorion-0.4.10.1/GG/src/Button.cpp Examining data/freeorion-0.4.10.1/GG/src/gilext/color_convert.hpp Examining data/freeorion-0.4.10.1/GG/src/gilext/io/png_io.hpp Examining data/freeorion-0.4.10.1/GG/src/gilext/io/png_dynamic_io.hpp Examining data/freeorion-0.4.10.1/GG/src/gilext/io/png_io_private.hpp Examining data/freeorion-0.4.10.1/GG/src/gilext/io/png_io_v2_compat.hpp Examining data/freeorion-0.4.10.1/GG/src/gilext/gray_alpha.hpp Examining data/freeorion-0.4.10.1/GG/src/gilext/typedefs.hpp Examining data/freeorion-0.4.10.1/GG/src/StaticGraphic.cpp Examining data/freeorion-0.4.10.1/GG/src/DeferredLayout.cpp Examining data/freeorion-0.4.10.1/GG/src/Wnd.cpp Examining data/freeorion-0.4.10.1/GG/src/PtRect.cpp Examining data/freeorion-0.4.10.1/GG/src/svg.cpp Examining data/freeorion-0.4.10.1/GG/src/Scroll.cpp Examining data/freeorion-0.4.10.1/GG/src/Menu.cpp Examining data/freeorion-0.4.10.1/GG/src/Timer.cpp Examining data/freeorion-0.4.10.1/GG/src/Layout.cpp Examining data/freeorion-0.4.10.1/GG/src/Font.cpp Examining data/freeorion-0.4.10.1/GG/src/Texture.cpp Examining data/freeorion-0.4.10.1/GG/src/VectorTexture.cpp Examining data/freeorion-0.4.10.1/GG/src/Base.cpp Examining data/freeorion-0.4.10.1/GG/src/UnicodeCharsets.cpp Examining data/freeorion-0.4.10.1/GG/src/TextControl.cpp Examining data/freeorion-0.4.10.1/GG/src/DefaultFont.h Examining data/freeorion-0.4.10.1/GG/src/AlignmentFlags.cpp Examining data/freeorion-0.4.10.1/GG/src/Control.cpp Examining data/freeorion-0.4.10.1/GG/src/GLClientAndServerBuffer.cpp Examining data/freeorion-0.4.10.1/GG/src/GUI.cpp Examining data/freeorion-0.4.10.1/GG/src/DrawUtil.cpp Examining data/freeorion-0.4.10.1/GG/src/WndEvent.cpp Examining data/freeorion-0.4.10.1/GG/src/BrowseInfoWnd.cpp Examining data/freeorion-0.4.10.1/GG/src/dialogs/FileDlg.cpp Examining data/freeorion-0.4.10.1/GG/src/dialogs/ThreeButtonDlg.cpp Examining data/freeorion-0.4.10.1/GG/src/dialogs/ColorDlg.cpp Examining data/freeorion-0.4.10.1/GG/src/RichText/TextBlock.h Examining data/freeorion-0.4.10.1/GG/src/RichText/BlockControl.cpp Examining data/freeorion-0.4.10.1/GG/src/RichText/TagParser.cpp Examining data/freeorion-0.4.10.1/GG/src/RichText/TagParser.h Examining data/freeorion-0.4.10.1/GG/src/RichText/TextBlock.cpp Examining data/freeorion-0.4.10.1/GG/src/RichText/RichText.cpp Examining data/freeorion-0.4.10.1/GG/src/RichText/ImageBlock.cpp Examining data/freeorion-0.4.10.1/GG/src/ZList.cpp Examining data/freeorion-0.4.10.1/GG/src/ScrollPanel.cpp Examining data/freeorion-0.4.10.1/GG/src/Cursor.cpp Examining data/freeorion-0.4.10.1/GG/src/ListBox.cpp Examining data/freeorion-0.4.10.1/GG/src/StyleFactory.cpp Examining data/freeorion-0.4.10.1/GG/src/DropDownList.cpp Examining data/freeorion-0.4.10.1/GG/src/nanovg/nanovg_gl.h Examining data/freeorion-0.4.10.1/GG/src/nanovg/nanovg.h Examining data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h Examining data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h Examining data/freeorion-0.4.10.1/GG/src/nanovg/fontstash.h Examining data/freeorion-0.4.10.1/GG/src/nanovg/nanovg_gl_utils.h Examining data/freeorion-0.4.10.1/GG/src/nanovg/nanovg.c Examining data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h Examining data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvgrast.h Examining data/freeorion-0.4.10.1/GG/src/MultiEdit.cpp Examining data/freeorion-0.4.10.1/GG/src/GroupBox.cpp Examining data/freeorion-0.4.10.1/GG/src/DynamicGraphic.cpp Examining data/freeorion-0.4.10.1/combat/CombatEvent.h Examining data/freeorion-0.4.10.1/combat/CombatLogManager.h Examining data/freeorion-0.4.10.1/combat/CombatEvents.h Examining data/freeorion-0.4.10.1/combat/CombatEvent.cpp Examining data/freeorion-0.4.10.1/combat/CombatSystem.cpp Examining data/freeorion-0.4.10.1/combat/CombatEvents.cpp Examining data/freeorion-0.4.10.1/combat/CombatSystem.h Examining data/freeorion-0.4.10.1/combat/CombatLogManager.cpp Examining data/freeorion-0.4.10.1/util/SitRepEntry.cpp Examining data/freeorion-0.4.10.1/util/binreloc.h Examining data/freeorion-0.4.10.1/util/EnumText.cpp Examining data/freeorion-0.4.10.1/util/LoggerWithOptionsDB.h Examining data/freeorion-0.4.10.1/util/VarText.h Examining data/freeorion-0.4.10.1/util/SerializeModeratorAction.cpp Examining data/freeorion-0.4.10.1/util/Version.h Examining data/freeorion-0.4.10.1/util/Export.h Examining data/freeorion-0.4.10.1/util/GameRules.h Examining data/freeorion-0.4.10.1/util/Process.cpp Examining data/freeorion-0.4.10.1/util/OptionsDB.cpp Examining data/freeorion-0.4.10.1/util/SerializeEmpire.cpp Examining data/freeorion-0.4.10.1/util/SerializeMultiplayerCommon.cpp Examining data/freeorion-0.4.10.1/util/SerializeOrderSet.cpp Examining data/freeorion-0.4.10.1/util/OptionValidators.h Examining data/freeorion-0.4.10.1/util/ScopedTimer.h Examining data/freeorion-0.4.10.1/util/Pending.h Examining data/freeorion-0.4.10.1/util/Version.cpp Examining data/freeorion-0.4.10.1/util/StringTable.cpp Examining data/freeorion-0.4.10.1/util/base64_filter.h Examining data/freeorion-0.4.10.1/util/Random.cpp Examining data/freeorion-0.4.10.1/util/GameRules.cpp Examining data/freeorion-0.4.10.1/util/OrderSet.cpp Examining data/freeorion-0.4.10.1/util/CheckSums.h Examining data/freeorion-0.4.10.1/util/SaveGamePreviewUtils.cpp Examining data/freeorion-0.4.10.1/util/XMLDoc.cpp Examining data/freeorion-0.4.10.1/util/i18n.cpp Examining data/freeorion-0.4.10.1/util/i18n.h Examining data/freeorion-0.4.10.1/util/XMLDoc.h Examining data/freeorion-0.4.10.1/util/MultiplayerCommon.cpp Examining data/freeorion-0.4.10.1/util/blocking_combiner.h Examining data/freeorion-0.4.10.1/util/Order.h Examining data/freeorion-0.4.10.1/util/ScopedTimer.cpp Examining data/freeorion-0.4.10.1/util/VarText.cpp Examining data/freeorion-0.4.10.1/util/MultiplayerCommon.h Examining data/freeorion-0.4.10.1/util/binreloc.c Examining data/freeorion-0.4.10.1/util/OptionsDB.h Examining data/freeorion-0.4.10.1/util/EnumText.h Examining data/freeorion-0.4.10.1/util/Process.h Examining data/freeorion-0.4.10.1/util/SaveGamePreviewUtils.h Examining data/freeorion-0.4.10.1/util/SitRepEntry.h Examining data/freeorion-0.4.10.1/util/AppInterface.cpp Examining data/freeorion-0.4.10.1/util/Directories.h Examining data/freeorion-0.4.10.1/util/Logger.cpp Examining data/freeorion-0.4.10.1/util/ModeratorAction.h Examining data/freeorion-0.4.10.1/util/Logger.h Examining data/freeorion-0.4.10.1/util/Serialize.h Examining data/freeorion-0.4.10.1/util/ModeratorAction.cpp Examining data/freeorion-0.4.10.1/util/DependencyVersions.cpp Examining data/freeorion-0.4.10.1/util/OrderSet.h Examining data/freeorion-0.4.10.1/util/Order.cpp Examining data/freeorion-0.4.10.1/util/AppInterface.h Examining data/freeorion-0.4.10.1/util/Directories.cpp Examining data/freeorion-0.4.10.1/util/CheckSums.cpp Examining data/freeorion-0.4.10.1/util/Random.h Examining data/freeorion-0.4.10.1/util/StringTable.h Examining data/freeorion-0.4.10.1/util/SerializeUniverse.cpp Examining data/freeorion-0.4.10.1/util/LoggerWithOptionsDB.cpp Examining data/freeorion-0.4.10.1/python/SetWrapper.h Examining data/freeorion-0.4.10.1/python/EmpireWrapper.cpp Examining data/freeorion-0.4.10.1/python/LoggingWrapper.cpp Examining data/freeorion-0.4.10.1/python/EnumWrapper.cpp Examining data/freeorion-0.4.10.1/python/CommonWrappers.h Examining data/freeorion-0.4.10.1/python/CommonFramework.cpp Examining data/freeorion-0.4.10.1/python/CommonFramework.h Examining data/freeorion-0.4.10.1/python/ConfigWrapper.cpp Examining data/freeorion-0.4.10.1/python/UniverseWrapper.cpp Examining data/freeorion-0.4.10.1/parse/ConditionParser1.h Examining data/freeorion-0.4.10.1/parse/EffectParser4.h Examining data/freeorion-0.4.10.1/parse/EncyclopediaParser.cpp Examining data/freeorion-0.4.10.1/parse/PlanetSizeValueRefParser.cpp Examining data/freeorion-0.4.10.1/parse/ConditionParser5.h Examining data/freeorion-0.4.10.1/parse/StringComplexValueRefParser.cpp Examining data/freeorion-0.4.10.1/parse/StarTypeValueRefParser.cpp Examining data/freeorion-0.4.10.1/parse/PlanetTypeValueRefParser.cpp Examining data/freeorion-0.4.10.1/parse/MonsterFleetPlansParser.cpp Examining data/freeorion-0.4.10.1/parse/Parse.cpp Examining data/freeorion-0.4.10.1/parse/SpecialsParser.cpp Examining data/freeorion-0.4.10.1/parse/ItemsParser.cpp Examining data/freeorion-0.4.10.1/parse/ValueRefParser.cpp Examining data/freeorion-0.4.10.1/parse/ArithmeticRules.cpp Examining data/freeorion-0.4.10.1/parse/BuildingsParser.cpp Examining data/freeorion-0.4.10.1/parse/ConditionParser6.cpp Examining data/freeorion-0.4.10.1/parse/ConditionParser2.h Examining data/freeorion-0.4.10.1/parse/ConditionParser7.cpp Examining data/freeorion-0.4.10.1/parse/ConditionParser5.cpp Examining data/freeorion-0.4.10.1/parse/ParseImpl.h Examining data/freeorion-0.4.10.1/parse/Parse.h Examining data/freeorion-0.4.10.1/parse/ConditionParser6.h Examining data/freeorion-0.4.10.1/parse/EffectParser.h Examining data/freeorion-0.4.10.1/parse/TechsParser.cpp Examining data/freeorion-0.4.10.1/parse/EffectParser3.h Examining data/freeorion-0.4.10.1/parse/ConditionParser4.cpp Examining data/freeorion-0.4.10.1/parse/ShipDesignsParser.cpp Examining data/freeorion-0.4.10.1/parse/EnumParser.cpp Examining data/freeorion-0.4.10.1/parse/ConditionParserImpl.h Examining data/freeorion-0.4.10.1/parse/Tokens.h Examining data/freeorion-0.4.10.1/parse/DoubleValueRefParser.cpp Examining data/freeorion-0.4.10.1/parse/Lexer.cpp Examining data/freeorion-0.4.10.1/parse/ConditionParser1.cpp Examining data/freeorion-0.4.10.1/parse/EffectParser.cpp Examining data/freeorion-0.4.10.1/parse/ConditionParser3.cpp Examining data/freeorion-0.4.10.1/parse/FieldsParser.cpp Examining data/freeorion-0.4.10.1/parse/IntValueRefParser.cpp Examining data/freeorion-0.4.10.1/parse/ConditionParser.h Examining data/freeorion-0.4.10.1/parse/MovableEnvelope.h Examining data/freeorion-0.4.10.1/parse/EnumParser.h Examining data/freeorion-0.4.10.1/parse/EmpireStatsParser.cpp Examining data/freeorion-0.4.10.1/parse/ReportParseError.h Examining data/freeorion-0.4.10.1/parse/DoubleComplexValueRefParser.cpp Examining data/freeorion-0.4.10.1/parse/ConditionParser2.cpp Examining data/freeorion-0.4.10.1/parse/FleetPlansParser.cpp Examining data/freeorion-0.4.10.1/parse/ConditionParser3.h Examining data/freeorion-0.4.10.1/parse/ConditionParser7.h Examining data/freeorion-0.4.10.1/parse/EffectParser4.cpp Examining data/freeorion-0.4.10.1/parse/EffectParser5.cpp Examining data/freeorion-0.4.10.1/parse/EffectParser2.h Examining data/freeorion-0.4.10.1/parse/CommonParamsParser.cpp Examining data/freeorion-0.4.10.1/parse/PlanetEnvironmentValueRefParser.cpp Examining data/freeorion-0.4.10.1/parse/EffectParser1.cpp Examining data/freeorion-0.4.10.1/parse/StringValueRefParser.cpp Examining data/freeorion-0.4.10.1/parse/ReportParseError.cpp Examining data/freeorion-0.4.10.1/parse/EffectParser2.cpp Examining data/freeorion-0.4.10.1/parse/EffectParser3.cpp Examining data/freeorion-0.4.10.1/parse/ShipHullsParser.cpp Examining data/freeorion-0.4.10.1/parse/Lexer.h Examining data/freeorion-0.4.10.1/parse/ShipPartsParser.cpp Examining data/freeorion-0.4.10.1/parse/EffectParser5.h Examining data/freeorion-0.4.10.1/parse/EffectParser1.h Examining data/freeorion-0.4.10.1/parse/SpeciesParser.cpp Examining data/freeorion-0.4.10.1/parse/ConditionParser.cpp Examining data/freeorion-0.4.10.1/parse/VisibilityValueRefParser.cpp Examining data/freeorion-0.4.10.1/parse/ConditionParser4.h Examining data/freeorion-0.4.10.1/parse/ValueRefParser.h Examining data/freeorion-0.4.10.1/parse/EnumValueRefRules.h Examining data/freeorion-0.4.10.1/parse/IntComplexValueRefParser.cpp Examining data/freeorion-0.4.10.1/parse/UniverseObjectTypeValueRefParser.cpp Examining data/freeorion-0.4.10.1/parse/GameRulesParser.cpp Examining data/freeorion-0.4.10.1/parse/CommonParamsParser.h Examining data/freeorion-0.4.10.1/parse/EffectParserImpl.h Examining data/freeorion-0.4.10.1/network/Message.cpp Examining data/freeorion-0.4.10.1/network/MessageQueue.cpp Examining data/freeorion-0.4.10.1/network/Message.h Examining data/freeorion-0.4.10.1/network/MessageQueue.h Examining data/freeorion-0.4.10.1/network/Networking.h Examining data/freeorion-0.4.10.1/network/Networking.cpp Examining data/freeorion-0.4.10.1/server/ServerNetworking.cpp Examining data/freeorion-0.4.10.1/server/UniverseGenerator.h Examining data/freeorion-0.4.10.1/server/ServerApp.cpp Examining data/freeorion-0.4.10.1/server/ServerNetworking.h Examining data/freeorion-0.4.10.1/server/UniverseGenerator.cpp Examining data/freeorion-0.4.10.1/server/ServerFSM.cpp Examining data/freeorion-0.4.10.1/server/ServerWrapper.cpp Examining data/freeorion-0.4.10.1/server/ServerWrapper.h Examining data/freeorion-0.4.10.1/server/SaveLoad.h Examining data/freeorion-0.4.10.1/server/ServerFSM.h Examining data/freeorion-0.4.10.1/server/ServerFramework.h Examining data/freeorion-0.4.10.1/server/ServerApp.h Examining data/freeorion-0.4.10.1/server/SaveLoad.cpp Examining data/freeorion-0.4.10.1/server/dmain.cpp Examining data/freeorion-0.4.10.1/server/ServerFramework.cpp Examining data/freeorion-0.4.10.1/universe/Effects.cpp Examining data/freeorion-0.4.10.1/universe/ShipDesign.cpp Examining data/freeorion-0.4.10.1/universe/Ship.h Examining data/freeorion-0.4.10.1/universe/PopCenter.h Examining data/freeorion-0.4.10.1/universe/PopCenter.cpp Examining data/freeorion-0.4.10.1/universe/Encyclopedia.h Examining data/freeorion-0.4.10.1/universe/EnumsFwd.h Examining data/freeorion-0.4.10.1/universe/ValueRef.h Examining data/freeorion-0.4.10.1/universe/FieldType.h Examining data/freeorion-0.4.10.1/universe/Species.cpp Examining data/freeorion-0.4.10.1/universe/FleetPlan.cpp Examining data/freeorion-0.4.10.1/universe/Tech.cpp Examining data/freeorion-0.4.10.1/universe/IDAllocator.h Examining data/freeorion-0.4.10.1/universe/Condition.h Examining data/freeorion-0.4.10.1/universe/Pathfinder.cpp Examining data/freeorion-0.4.10.1/universe/ShipPart.h Examining data/freeorion-0.4.10.1/universe/ResourceCenter.h Examining data/freeorion-0.4.10.1/universe/IDAllocator.cpp Examining data/freeorion-0.4.10.1/universe/Special.cpp Examining data/freeorion-0.4.10.1/universe/Field.h Examining data/freeorion-0.4.10.1/universe/ObjectMap.h Examining data/freeorion-0.4.10.1/universe/UnlockableItem.h Examining data/freeorion-0.4.10.1/universe/Fighter.h Examining data/freeorion-0.4.10.1/universe/FleetPlan.h Examining data/freeorion-0.4.10.1/universe/Building.cpp Examining data/freeorion-0.4.10.1/universe/Meter.h Examining data/freeorion-0.4.10.1/universe/ValueRefs.h Examining data/freeorion-0.4.10.1/universe/ScriptingContext.h Examining data/freeorion-0.4.10.1/universe/BuildingType.h Examining data/freeorion-0.4.10.1/universe/ConditionSource.h Examining data/freeorion-0.4.10.1/universe/UnlockableItem.cpp Examining data/freeorion-0.4.10.1/universe/Conditions.cpp Examining data/freeorion-0.4.10.1/universe/Enums.h Examining data/freeorion-0.4.10.1/universe/Effect.cpp Examining data/freeorion-0.4.10.1/universe/ShipHull.cpp Examining data/freeorion-0.4.10.1/universe/Pathfinder.h Examining data/freeorion-0.4.10.1/universe/Enums.cpp Examining data/freeorion-0.4.10.1/universe/UniverseObject.h Examining data/freeorion-0.4.10.1/universe/Building.h Examining data/freeorion-0.4.10.1/universe/ShipPart.cpp Examining data/freeorion-0.4.10.1/universe/ResourceCenter.cpp Examining data/freeorion-0.4.10.1/universe/Effects.h Examining data/freeorion-0.4.10.1/universe/Meter.cpp Examining data/freeorion-0.4.10.1/universe/BuildingType.cpp Examining data/freeorion-0.4.10.1/universe/System.cpp Examining data/freeorion-0.4.10.1/universe/Species.h Examining data/freeorion-0.4.10.1/universe/Predicates.cpp Examining data/freeorion-0.4.10.1/universe/FieldType.cpp Examining data/freeorion-0.4.10.1/universe/Universe.h Examining data/freeorion-0.4.10.1/universe/Field.cpp Examining data/freeorion-0.4.10.1/universe/Universe.cpp Examining data/freeorion-0.4.10.1/universe/ValueRefs.cpp Examining data/freeorion-0.4.10.1/universe/Fighter.cpp Examining data/freeorion-0.4.10.1/universe/Encyclopedia.cpp Examining data/freeorion-0.4.10.1/universe/Special.h Examining data/freeorion-0.4.10.1/universe/System.h Examining data/freeorion-0.4.10.1/universe/Effect.h Examining data/freeorion-0.4.10.1/universe/ShipDesign.h Examining data/freeorion-0.4.10.1/universe/Predicates.h Examining data/freeorion-0.4.10.1/universe/Fleet.cpp Examining data/freeorion-0.4.10.1/universe/Conditions.h Examining data/freeorion-0.4.10.1/universe/Fleet.h Examining data/freeorion-0.4.10.1/universe/ShipHull.h Examining data/freeorion-0.4.10.1/universe/Ship.cpp Examining data/freeorion-0.4.10.1/universe/UniverseObject.cpp Examining data/freeorion-0.4.10.1/universe/Planet.h Examining data/freeorion-0.4.10.1/universe/ObjectMap.cpp Examining data/freeorion-0.4.10.1/universe/Tech.h Examining data/freeorion-0.4.10.1/universe/Planet.cpp Examining data/freeorion-0.4.10.1/universe/ConditionAll.h Examining data/freeorion-0.4.10.1/universe/CommonParams.h Examining data/freeorion-0.4.10.1/Empire/PopulationPool.cpp Examining data/freeorion-0.4.10.1/Empire/PopulationPool.h Examining data/freeorion-0.4.10.1/Empire/ResourcePool.h Examining data/freeorion-0.4.10.1/Empire/Diplomacy.cpp Examining data/freeorion-0.4.10.1/Empire/EmpireManager.cpp Examining data/freeorion-0.4.10.1/Empire/Supply.cpp Examining data/freeorion-0.4.10.1/Empire/ProductionQueue.cpp Examining data/freeorion-0.4.10.1/Empire/Empire.h Examining data/freeorion-0.4.10.1/Empire/Empire.cpp Examining data/freeorion-0.4.10.1/Empire/ProductionQueue.h Examining data/freeorion-0.4.10.1/Empire/Diplomacy.h Examining data/freeorion-0.4.10.1/Empire/ResourcePool.cpp Examining data/freeorion-0.4.10.1/Empire/ResearchQueue.h Examining data/freeorion-0.4.10.1/Empire/ResearchQueue.cpp Examining data/freeorion-0.4.10.1/Empire/Supply.h Examining data/freeorion-0.4.10.1/Empire/EmpireManager.h Examining data/freeorion-0.4.10.1/client/ClientApp.cpp Examining data/freeorion-0.4.10.1/client/ClientNetworking.h Examining data/freeorion-0.4.10.1/client/ClientApp.h Examining data/freeorion-0.4.10.1/client/ClientNetworking.cpp Examining data/freeorion-0.4.10.1/client/ClientFSMEvents.h Examining data/freeorion-0.4.10.1/client/AI/AIWrapper.cpp Examining data/freeorion-0.4.10.1/client/AI/camain.cpp Examining data/freeorion-0.4.10.1/client/AI/AIFramework.cpp Examining data/freeorion-0.4.10.1/client/AI/AIClientApp.cpp Examining data/freeorion-0.4.10.1/client/AI/AIClientApp.h Examining data/freeorion-0.4.10.1/client/AI/AIFramework.h Examining data/freeorion-0.4.10.1/client/AI/AIWrapper.h Examining data/freeorion-0.4.10.1/client/ClientFSMEvents.cpp Examining data/freeorion-0.4.10.1/client/human/chmain.cpp Examining data/freeorion-0.4.10.1/client/human/HumanClientApp.cpp Examining data/freeorion-0.4.10.1/client/human/HumanClientFSM.h Examining data/freeorion-0.4.10.1/client/human/HumanClientApp.h Examining data/freeorion-0.4.10.1/client/human/HumanClientFSM.cpp Examining data/freeorion-0.4.10.1/client/human/chmain.h FINAL RESULTS: data/freeorion-0.4.10.1/util/Directories.cpp:333:26: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. problem = (-1 == readlink("/proc/self/exe", buf, sizeof(buf) - 1)); data/freeorion-0.4.10.1/util/binreloc.c:78:16: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. size = readlink (path2, path, buf_size - 1); data/freeorion-0.4.10.1/Empire/Diplomacy.h:38:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/Empire/Empire.cpp:710:22: [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. for (const auto& system : Objects().find<System>(m_supply_unobstructed_systems)) { data/freeorion-0.4.10.1/Empire/Empire.cpp:711: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. if (!system) data/freeorion-0.4.10.1/Empire/Empire.cpp:907:16: [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. for (auto& system : m_pending_system_exit_lanes) { data/freeorion-0.4.10.1/Empire/Empire.cpp:908:39: [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. m_preserved_system_exit_lanes[system.first].insert(system.second.begin(), system.second.end()); data/freeorion-0.4.10.1/Empire/Empire.cpp:908:60: [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. m_preserved_system_exit_lanes[system.first].insert(system.second.begin(), system.second.end()); data/freeorion-0.4.10.1/Empire/Empire.cpp:908:83: [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. m_preserved_system_exit_lanes[system.first].insert(system.second.begin(), system.second.end()); data/freeorion-0.4.10.1/Empire/Empire.cpp:909:9: [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. system.second.clear(); data/freeorion-0.4.10.1/Empire/Empire.cpp:1807: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. if (!system) { data/freeorion-0.4.10.1/Empire/Empire.cpp:2023: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. if (!system) { data/freeorion-0.4.10.1/Empire/Empire.h:519:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/Empire/EmpireManager.h:108:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/Empire/PopulationPool.h:35:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/Empire/ProductionQueue.h:47:44: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/Empire/ProductionQueue.h:94:44: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/Empire/ProductionQueue.h:187:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/Empire/ResearchQueue.h:35:44: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/Empire/ResearchQueue.h:101:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/Empire/ResourcePool.h:67:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/Empire/Supply.h:118:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/GG/src/dialogs/FileDlg.cpp:738:40: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (e.code() == boost::system::errc::io_error) { data/freeorion-0.4.10.1/UI/ChatWnd.cpp:143:16: [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. for (auto& system : GetUniverse().Objects().all<System>()) { data/freeorion-0.4.10.1/UI/ClientUI.cpp:805:22: [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. ZoomToSystem(system); data/freeorion-0.4.10.1/UI/ClientUI.cpp:848:59: [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. void ClientUI::ZoomToSystem(std::shared_ptr<const System> system) { data/freeorion-0.4.10.1/UI/ClientUI.cpp:849:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) data/freeorion-0.4.10.1/UI/ClientUI.cpp:1146:40: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (e.code() != boost::system::errc::permission_denied) data/freeorion-0.4.10.1/UI/ClientUI.h:78:53: [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. void ZoomToSystem(std::shared_ptr<const System> system);//!< Zooms to a system on the galaxy map data/freeorion-0.4.10.1/UI/CombatReport/CombatLogWnd.cpp:594:36: [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. const std::string& sys_name = (system ? system->PublicName(client_empire_id) : UserString("ERROR")); data/freeorion-0.4.10.1/UI/EncyclopediaDetailPanel.cpp:436:24: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. for (auto& system : Objects().all<System>()) { data/freeorion-0.4.10.1/UI/FleetWnd.cpp:210: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. if (!system) data/freeorion-0.4.10.1/UI/FleetWnd.cpp:293: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. if (!system) { data/freeorion-0.4.10.1/UI/FleetWnd.cpp:3418:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) { data/freeorion-0.4.10.1/UI/FleetWnd.cpp:3436:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system data/freeorion-0.4.10.1/UI/FleetWnd.cpp:3446: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. else if (system data/freeorion-0.4.10.1/UI/FleetWnd.cpp:3456:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system data/freeorion-0.4.10.1/UI/FleetWnd.cpp:3467:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system data/freeorion-0.4.10.1/UI/FleetWnd.cpp:3481:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system data/freeorion-0.4.10.1/UI/FleetWnd.cpp:3498:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system data/freeorion-0.4.10.1/UI/FleetWnd.cpp:3514:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system data/freeorion-0.4.10.1/UI/FleetWnd.cpp:3577:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system data/freeorion-0.4.10.1/UI/FleetWnd.cpp:3595:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system data/freeorion-0.4.10.1/UI/MapWnd.cpp:2714:16: [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. for (auto& system : objects.all<System>()) { data/freeorion-0.4.10.1/UI/MapWnd.cpp:3040: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. if (!system) { data/freeorion-0.4.10.1/UI/MapWnd.cpp:3498:22: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) data/freeorion-0.4.10.1/UI/MapWnd.cpp:4409:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system && system_id != INVALID_OBJECT_ID) { data/freeorion-0.4.10.1/UI/MapWnd.cpp:4415:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) { data/freeorion-0.4.10.1/UI/MapWnd.cpp:4730: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. if (!system) { data/freeorion-0.4.10.1/UI/MapWnd.cpp:4764: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. if (!system) { data/freeorion-0.4.10.1/UI/MapWnd.cpp:4905:17: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/UI/MapWnd.cpp:4906:24: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. return system; data/freeorion-0.4.10.1/UI/MapWnd.cpp:4922:17: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/UI/MapWnd.cpp:4923:24: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. return system; data/freeorion-0.4.10.1/UI/MapWnd.cpp:5334:18: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) data/freeorion-0.4.10.1/UI/MapWnd.cpp:6853:20: [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. for (auto& system : Objects().all<System>()) { data/freeorion-0.4.10.1/UI/MapWnd.cpp:7616:22: [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. for (const auto& system : Objects().find<System>(candidates_unknown_systems)) { data/freeorion-0.4.10.1/UI/MapWnd.cpp:7617: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. if (!system) data/freeorion-0.4.10.1/UI/MapWnd.cpp:7631:23: [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. for (auto system : unexplored_systems) data/freeorion-0.4.10.1/UI/MapWnd.cpp:7632:52: [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. retval.append(" " + std::to_string(system)); data/freeorion-0.4.10.1/UI/ObjectListWnd.cpp:2071:20: [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. for (auto& system : systems) { data/freeorion-0.4.10.1/UI/ObjectListWnd.cpp:2080:26: [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. AddObjectRow(system, INVALID_OBJECT_ID, system_contents, indent); data/freeorion-0.4.10.1/UI/SidePanel.cpp:843: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. if (!system) data/freeorion-0.4.10.1/UI/SidePanel.cpp:850:37: [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. auto rename_action = [this, system]() { data/freeorion-0.4.10.1/UI/SidePanel.cpp:899:70: [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. const std::string& GetStarTypeName(std::shared_ptr<const System> system) { data/freeorion-0.4.10.1/UI/SidePanel.cpp:1336:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) data/freeorion-0.4.10.1/UI/SidePanel.cpp:1448:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) data/freeorion-0.4.10.1/UI/SidePanel.cpp:1490:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) data/freeorion-0.4.10.1/UI/SidePanel.cpp:1953:17: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system && system->GetVisibility(client_empire_id) <= VIS_BASIC_VISIBILITY) { // HACK: system is basically visible or less, so we must not be in detection range of the planet. data/freeorion-0.4.10.1/UI/SidePanel.cpp:2079:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) { data/freeorion-0.4.10.1/UI/SidePanel.cpp:2596: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. if (!system) { data/freeorion-0.4.10.1/UI/SidePanel.cpp:2878:18: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) data/freeorion-0.4.10.1/UI/SidePanel.cpp:3197:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) { data/freeorion-0.4.10.1/UI/SidePanel.cpp:3243:16: [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. for (auto& system : Objects().all<System>()) { data/freeorion-0.4.10.1/UI/SidePanel.cpp:3287:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) data/freeorion-0.4.10.1/UI/SidePanel.cpp:3310:55: [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. m_star_type_text->SetText("<s>" + GetStarTypeName(system) + "</s>"); data/freeorion-0.4.10.1/UI/SidePanel.cpp:3455:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) { data/freeorion-0.4.10.1/UI/SidePanel.cpp:3551:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) data/freeorion-0.4.10.1/UI/SidePanel.cpp:3607:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) { data/freeorion-0.4.10.1/UI/SystemIcon.cpp:102:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) data/freeorion-0.4.10.1/UI/SystemIcon.cpp:643:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) { data/freeorion-0.4.10.1/UI/SystemIcon.cpp:672:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system && !system->OverlayTexture().empty()) data/freeorion-0.4.10.1/UI/SystemIcon.cpp:676:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/UI/SystemResourceSummaryBrowseWnd.cpp:180:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system || m_resource_type == INVALID_RESOURCE_TYPE) data/freeorion-0.4.10.1/UI/SystemResourceSummaryBrowseWnd.cpp:271:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system || m_resource_type == INVALID_RESOURCE_TYPE) data/freeorion-0.4.10.1/client/ClientNetworking.cpp:112:41: [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. void HandleReceive(const boost::system::error_code& error, std::size_t length) { data/freeorion-0.4.10.1/client/ClientNetworking.cpp:232:39: [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. void HandleException(const boost::system::system_error& error); data/freeorion-0.4.10.1/client/ClientNetworking.cpp:234:40: [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. const boost::system::error_code& error); data/freeorion-0.4.10.1/client/ClientNetworking.cpp:238:39: [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. boost::system::error_code error, std::size_t bytes_transferred); data/freeorion-0.4.10.1/client/ClientNetworking.cpp:240:41: [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. boost::system::error_code error, std::size_t bytes_transferred); data/freeorion-0.4.10.1/client/ClientNetworking.cpp:242:36: [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. void HandleMessageWrite(boost::system::error_code error, std::size_t bytes_transferred); data/freeorion-0.4.10.1/client/ClientNetworking.cpp:441:27: [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. } catch (const boost::system::system_error& e) { data/freeorion-0.4.10.1/client/ClientNetworking.cpp:490:60: [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. const boost::system::error_code& error) data/freeorion-0.4.10.1/client/ClientNetworking.cpp:505:59: [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. void ClientNetworking::Impl::HandleException(const boost::system::system_error& error) { data/freeorion-0.4.10.1/client/ClientNetworking.cpp:528:27: [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. } catch (const boost::system::system_error& error) { data/freeorion-0.4.10.1/client/ClientNetworking.cpp:542:59: [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. boost::system::error_code error, std::size_t bytes_transferred) data/freeorion-0.4.10.1/client/ClientNetworking.cpp:545:22: [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. throw boost::system::system_error(error); data/freeorion-0.4.10.1/client/ClientNetworking.cpp:555:61: [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. boost::system::error_code error, std::size_t bytes_transferred) data/freeorion-0.4.10.1/client/ClientNetworking.cpp:558:22: [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. throw boost::system::system_error(error); data/freeorion-0.4.10.1/client/ClientNetworking.cpp:588:56: [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. void ClientNetworking::Impl::HandleMessageWrite(boost::system::error_code error, std::size_t bytes_transferred) { data/freeorion-0.4.10.1/client/ClientNetworking.cpp:590:22: [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. throw boost::system::system_error(error); data/freeorion-0.4.10.1/client/human/HumanClientApp.cpp:1596: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 rv = system(command.c_str()); data/freeorion-0.4.10.1/client/human/HumanClientApp.cpp:1683:32: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (auto sys_retval = std::system(command.c_str())) data/freeorion-0.4.10.1/combat/CombatEvent.h:77:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatEvents.h:36:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatEvents.h:69:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatEvents.h:97:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatEvents.h:128:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatEvents.h:163:44: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatEvents.h:172:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatEvents.h:215:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatEvents.h:234:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatEvents.h:254:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatEvents.h:275:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatEvents.h:294:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatEvents.h:324:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatLogManager.cpp:173:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatLogManager.h:24:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatLogManager.h:42:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatLogManager.h:83:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/combat/CombatSystem.cpp:45:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) { data/freeorion-0.4.10.1/combat/CombatSystem.cpp:50:20: [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. objects.insert(system); data/freeorion-0.4.10.1/combat/CombatSystem.cpp:1821:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) data/freeorion-0.4.10.1/combat/CombatSystem.h:55:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/server/ServerApp.cpp:147:44: [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. void ServerApp::SignalHandler(const boost::system::error_code& error, int signal_number) { data/freeorion-0.4.10.1/server/ServerApp.cpp:499:48: [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. void ServerApp::ShutdownTimedoutHandler(boost::system::error_code error) { data/freeorion-0.4.10.1/server/ServerApp.cpp:2095: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. if (!system) data/freeorion-0.4.10.1/server/ServerApp.cpp:2105: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. if (!system) data/freeorion-0.4.10.1/server/ServerApp.cpp:2120: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. if (!system) data/freeorion-0.4.10.1/server/ServerApp.cpp:2183: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. if (!system) data/freeorion-0.4.10.1/server/ServerApp.cpp:2477:69: [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. { universe.EmpireKnownObjects(empire_id).CopyObject(system, ALL_EMPIRES); } data/freeorion-0.4.10.1/server/ServerApp.cpp:2669:21: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/server/ServerApp.cpp:2675:13: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/server/ServerApp.cpp:2740:18: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) { data/freeorion-0.4.10.1/server/ServerApp.cpp:2862:25: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/server/ServerApp.cpp:2867:17: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/server/ServerApp.cpp:3043:22: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) data/freeorion-0.4.10.1/server/ServerApp.cpp:3101:17: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/server/ServerApp.cpp:3364: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. if (!system) { data/freeorion-0.4.10.1/server/ServerApp.h:229:40: [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. void SignalHandler(const boost::system::error_code& error, int signal_number); data/freeorion-0.4.10.1/server/ServerApp.h:291:41: [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. void ShutdownTimedoutHandler(boost::system::error_code error); data/freeorion-0.4.10.1/server/ServerFSM.cpp:2896:52: [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. void PlayingGame::TurnTimedoutHandler(const boost::system::error_code& error) { data/freeorion-0.4.10.1/server/ServerFSM.cpp:3285:58: [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. void WaitingForTurnEnd::SaveTimedoutHandler(const boost::system::error_code& error) { data/freeorion-0.4.10.1/server/ServerFSM.h:323:43: [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. void TurnTimedoutHandler(const boost::system::error_code& error); data/freeorion-0.4.10.1/server/ServerFSM.h:353:43: [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. void SaveTimedoutHandler(const boost::system::error_code& error); data/freeorion-0.4.10.1/server/ServerNetworking.cpp:70:37: [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. void HandleReceive(const boost::system::error_code& error) { data/freeorion-0.4.10.1/server/ServerNetworking.cpp:169:12: [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. boost::system::error_code error; data/freeorion-0.4.10.1/server/ServerNetworking.cpp:382:53: [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. void PlayerConnection::HandleMessageBodyRead(boost::system::error_code error, data/freeorion-0.4.10.1/server/ServerNetworking.cpp:415:55: [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. void PlayerConnection::HandleMessageHeaderRead(boost::system::error_code error, data/freeorion-0.4.10.1/server/ServerNetworking.cpp:464:24: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. boost::system::error_code error; data/freeorion-0.4.10.1/server/ServerNetworking.cpp:515:50: [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. boost::system::error_code error, data/freeorion-0.4.10.1/server/ServerNetworking.cpp:535:75: [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. void PlayerConnection::AsyncErrorHandler(PlayerConnectionPtr self, boost::system::error_code handled_error, data/freeorion-0.4.10.1/server/ServerNetworking.cpp:536:49: [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. boost::system::error_code error) data/freeorion-0.4.10.1/server/ServerNetworking.cpp:825:69: [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. const boost::system::error_code& error) data/freeorion-0.4.10.1/server/ServerNetworking.h:188:55: [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. const boost::system::error_code& error); data/freeorion-0.4.10.1/server/ServerNetworking.h:311:39: [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. void HandleMessageBodyRead(boost::system::error_code error, std::size_t bytes_transferred); data/freeorion-0.4.10.1/server/ServerNetworking.h:312:41: [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. void HandleMessageHeaderRead(boost::system::error_code error, std::size_t bytes_transferred); data/freeorion-0.4.10.1/server/ServerNetworking.h:316:43: [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. boost::system::error_code error, data/freeorion-0.4.10.1/server/ServerNetworking.h:322:68: [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. static void AsyncErrorHandler(PlayerConnectionPtr self, boost::system::error_code handled_error, boost::system::error_code error); data/freeorion-0.4.10.1/server/ServerNetworking.h:322:109: [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. static void AsyncErrorHandler(PlayerConnectionPtr self, boost::system::error_code handled_error, boost::system::error_code error); data/freeorion-0.4.10.1/server/ServerWrapper.cpp:661:26: [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. for (const auto& system : Objects().all<System>()) { data/freeorion-0.4.10.1/server/ServerWrapper.cpp:676: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. if (!system) { data/freeorion-0.4.10.1/server/ServerWrapper.cpp:689: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. if (!system) { data/freeorion-0.4.10.1/server/ServerWrapper.cpp:750: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. if (!system) { data/freeorion-0.4.10.1/server/ServerWrapper.cpp:776: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. if (!system) { data/freeorion-0.4.10.1/server/ServerWrapper.cpp:827: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. if (!system) { data/freeorion-0.4.10.1/server/ServerWrapper.cpp:934: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. if (!system) { data/freeorion-0.4.10.1/server/ServerWrapper.cpp:984: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. if (!system) { data/freeorion-0.4.10.1/server/ServerWrapper.cpp:999: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. if (!system) { data/freeorion-0.4.10.1/server/ServerWrapper.cpp:1009: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. if (!system) { data/freeorion-0.4.10.1/server/ServerWrapper.cpp:1019: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. if (!system) { data/freeorion-0.4.10.1/server/ServerWrapper.cpp:1030: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. if (!system) { data/freeorion-0.4.10.1/server/ServerWrapper.cpp:1039: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. if (!system) { data/freeorion-0.4.10.1/server/ServerWrapper.cpp:1049: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. if (!system) { data/freeorion-0.4.10.1/server/ServerWrapper.cpp:1061: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. if (!system) { data/freeorion-0.4.10.1/server/ServerWrapper.cpp:1074: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. if (!system) { data/freeorion-0.4.10.1/server/UniverseGenerator.cpp:153:20: [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. for (auto& system : systems_vec) data/freeorion-0.4.10.1/universe/Building.h:64:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Condition.h:108:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ConditionAll.h:25:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ConditionSource.h:27:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.cpp:3252:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) data/freeorion-0.4.10.1/universe/Conditions.cpp:3262:37: [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. condition_non_targets.push_back(system); data/freeorion-0.4.10.1/universe/Conditions.cpp:4830:17: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system || (system = std::dynamic_pointer_cast<const System>(candidate))) data/freeorion-0.4.10.1/universe/Conditions.cpp:4911:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system || (system = std::dynamic_pointer_cast<const System>(candidate))) { data/freeorion-0.4.10.1/universe/Conditions.cpp:7721:20: [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. for (auto& system : objects.all<System>()) { data/freeorion-0.4.10.1/universe/Conditions.cpp:7737:62: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (LanesCross(lane_end_sys1, lane_end_sys2, system, lane_end_sys3)) { data/freeorion-0.4.10.1/universe/Conditions.cpp:7757:20: [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. for (auto& system : objects.all<System>()) { data/freeorion-0.4.10.1/universe/Conditions.cpp:7761:68: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (ObjectTooCloseToLane(lane_end_sys1, lane_end_sys2, system)) data/freeorion-0.4.10.1/universe/Conditions.h:97:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:121:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:162:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:184:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:211:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:234:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:257:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:284:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:304:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:324:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:342:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:367:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:392:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:427:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:451:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:475:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:500:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:525:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:551:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:577:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:601:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:627:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:653:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:681:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:708:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:747:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:771:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:794:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:818:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:847:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:876:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:899:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:921:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:943:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:965:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:992:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1077:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1102:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1128:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1154:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1180:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1202:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1229:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1256:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1283:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1306:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1326:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1350:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1373:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1399:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1418:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1437:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1460:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1510:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1538:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1564:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1591:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1617:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1637:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1661:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Conditions.h:1684:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effect.h:108:44: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effect.h:187:44: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.cpp:68:67: [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. std::shared_ptr<Fleet> CreateNewFleet(std::shared_ptr<System> system, std::shared_ptr<Ship> ship, ObjectMap& objects) { data/freeorion-0.4.10.1/universe/Effects.cpp:69: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. if (!system || !ship) data/freeorion-0.4.10.1/universe/Effects.cpp:159:24: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. for (auto& system : objects.all<System>()) { data/freeorion-0.4.10.1/universe/Effects.cpp:1162:40: [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. new_fleet = CreateNewFleet(system, ship, context.ContextObjects()); data/freeorion-0.4.10.1/universe/Effects.cpp:1330:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) { data/freeorion-0.4.10.1/universe/Effects.cpp:1472:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/universe/Effects.cpp:1560:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) { data/freeorion-0.4.10.1/universe/Effects.cpp:1641:20: [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. CreateNewFleet(system, ship, context.ContextObjects()); data/freeorion-0.4.10.1/universe/Effects.cpp:1779:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system && (!m_y || y == system->Y()) && (!m_x || x == system->X())) data/freeorion-0.4.10.1/universe/Effects.cpp:1910:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) { data/freeorion-0.4.10.1/universe/Effects.cpp:1917:35: [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. local_context.effect_target = system; data/freeorion-0.4.10.1/universe/Effects.h:33:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:74:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:116:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:153:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:178:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:199:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:220:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:242:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:261:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:280:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:303:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:326:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:351:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:373:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:408:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:442:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:474:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:494:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:517:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:537:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:556:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:575:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:594:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:615:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:642:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:668:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:689:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:707:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:726:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:749:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:768:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:829:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:850:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:870:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:908:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Effects.h:952:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Field.h:65:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Fleet.cpp:38:70: [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. void InsertFleetWithShips(Fleet& fleet, std::shared_ptr<System>& system){ data/freeorion-0.4.10.1/universe/Fleet.cpp:967:13: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) { data/freeorion-0.4.10.1/universe/Fleet.cpp:995:45: [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. InsertFleetWithShips(*this, system); data/freeorion-0.4.10.1/universe/Fleet.cpp:997:34: [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. current_system = system; data/freeorion-0.4.10.1/universe/Fleet.cpp:1186:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) data/freeorion-0.4.10.1/universe/Fleet.h:185:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Meter.h:62:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ObjectMap.h:228:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Pathfinder.cpp:836:13: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/universe/Pathfinder.cpp:1370:22: [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. for (auto const& system : systems) { data/freeorion-0.4.10.1/universe/Planet.h:173:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/PopCenter.h:59:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ResourceCenter.h:73:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Ship.h:145:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ShipDesign.h:242:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ShipHull.h:218:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ShipPart.h:157:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Special.h:87:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Species.h:354:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/System.h:167:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/Universe.cpp:2221:20: [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. for (auto& system : objects.all<System>()) { data/freeorion-0.4.10.1/universe/Universe.cpp:2717:21: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/universe/Universe.cpp:2723:13: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/universe/Universe.cpp:2730:17: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/universe/Universe.cpp:2735:13: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/universe/Universe.cpp:2742:17: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/universe/Universe.cpp:2747:13: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/universe/Universe.cpp:2786:13: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/universe/Universe.cpp:2792:13: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) data/freeorion-0.4.10.1/universe/Universe.cpp:2831:22: [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. for (const auto& system : ::EmpireKnownObjects(for_empire_id).all<System>()) { data/freeorion-0.4.10.1/universe/Universe.h:594:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/UniverseObject.cpp:179:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system) { data/freeorion-0.4.10.1/universe/UniverseObject.h:238:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ValueRef.h:65:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ValueRefs.h:69:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ValueRefs.h:117:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ValueRefs.h:174:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ValueRefs.h:216:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ValueRefs.h:255:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ValueRefs.h:286:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ValueRefs.h:315:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ValueRefs.h:353:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/universe/ValueRefs.h:437:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/ModeratorAction.cpp:165:24: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. for (auto& system : Objects().all<System>()) { data/freeorion-0.4.10.1/util/ModeratorAction.cpp:180:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) { data/freeorion-0.4.10.1/util/ModeratorAction.h:39:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/ModeratorAction.h:55:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/ModeratorAction.h:72:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/ModeratorAction.h:89:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/ModeratorAction.h:106:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/ModeratorAction.h:124:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/ModeratorAction.h:142:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/MultiplayerCommon.h:80:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/MultiplayerCommon.h:103:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/MultiplayerCommon.h:145:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/MultiplayerCommon.h:172:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/MultiplayerCommon.h:202:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/MultiplayerCommon.h:223:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/MultiplayerCommon.h:258:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/MultiplayerCommon.h:285:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/MultiplayerCommon.h:346:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/MultiplayerCommon.h:366:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/MultiplayerCommon.h:394:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.cpp:168:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) { data/freeorion-0.4.10.1/util/Order.cpp:1405:10: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (!system) { data/freeorion-0.4.10.1/util/Order.h:88:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.h:133:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.h:186:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.h:240:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.h:287:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.h:336:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.h:385:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.h:432:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.h:471:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.h:506:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.h:565:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.h:640:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.h:681:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.h:726:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.h:772:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Order.h:807:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/OrderSet.h:87:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/Process.cpp:227:9: [4] (shell) execv: 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. execv(cmd.c_str(), &args[0]); data/freeorion-0.4.10.1/util/SaveGamePreviewUtils.h:63:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/SaveGamePreviewUtils.h:74:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/SitRepEntry.h:33:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/util/VarText.h:196:40: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. friend class boost::serialization::access; data/freeorion-0.4.10.1/UI/ClientUI.cpp:1187:16: [3] (random) setstate: 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. is.setstate(std::ios_base::failbit); data/freeorion-0.4.10.1/parse/ConditionParser3.cpp:280:21: [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. | random data/freeorion-0.4.10.1/parse/ConditionParser3.cpp:303:13: [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. random.name("Random"); data/freeorion-0.4.10.1/parse/ConditionParser3.cpp:316:19: [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. debug(random); data/freeorion-0.4.10.1/parse/ConditionParser3.h:37:45: [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. condition_parser_rule random; data/freeorion-0.4.10.1/test/system/SmokeTestGame.cpp:85:36: [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 *env_num_AIs = std::getenv("FO_TEST_GAME_AIS"); data/freeorion-0.4.10.1/test/system/SmokeTestGame.cpp:94:38: [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 *env_num_turns = std::getenv("FO_TEST_GAME_TURNS"); data/freeorion-0.4.10.1/test/system/SmokeTestGame.cpp:103:38: [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 *env_save_game = std::getenv("FO_TEST_GAME_SAVE"); data/freeorion-0.4.10.1/test/system/SmokeTestHostless.cpp:56:36: [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 *env_num_AIs = std::getenv("FO_TEST_HOSTLESS_AIS"); data/freeorion-0.4.10.1/test/system/SmokeTestHostless.cpp:65:38: [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 *env_num_turns = std::getenv("FO_TEST_HOSTLESS_TURNS"); data/freeorion-0.4.10.1/test/system/SmokeTestHostless.cpp:74:38: [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 *env_save_game = std::getenv("FO_TEST_HOSTLESS_SAVE"); data/freeorion-0.4.10.1/test/system/SmokeTestHostless.cpp:83:42: [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 *env_launch_server = std::getenv("FO_TEST_HOSTLESS_LAUNCH_SERVER"); data/freeorion-0.4.10.1/test/system/SmokeTestHostless.cpp:92:34: [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 *env_games = std::getenv("FO_TEST_HOSTLESS_GAMES"); data/freeorion-0.4.10.1/util/Directories.cpp:88:34: [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_user_dir = fs::path(getenv("HOME")) / "Library" / "Application Support" / "FreeOrion"; data/freeorion-0.4.10.1/util/Directories.cpp:168:44: [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 fs::path old_path = fs::path(getenv("HOME")) / ".freeorion"; data/freeorion-0.4.10.1/util/Directories.cpp:278:25: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. static fs::path p = getenv("XDG_CONFIG_HOME") data/freeorion-0.4.10.1/util/Directories.cpp:279: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. ? fs::path(getenv("XDG_CONFIG_HOME")) / "freeorion" data/freeorion-0.4.10.1/util/Directories.cpp:280: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. : fs::path(getenv("HOME")) / ".config" / "freeorion"; data/freeorion-0.4.10.1/util/Directories.cpp:285:25: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. static fs::path p = getenv("XDG_DATA_HOME") data/freeorion-0.4.10.1/util/Directories.cpp:286: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. ? fs::path(getenv("XDG_DATA_HOME")) / "freeorion" data/freeorion-0.4.10.1/util/Directories.cpp:287: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. : fs::path(getenv("HOME")) / ".local" / "share" / "freeorion"; data/freeorion-0.4.10.1/util/Directories.cpp:329:35: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. problem = (nullptr == realpath(argpath.c_str(), buf)); data/freeorion-0.4.10.1/util/Directories.cpp:434:44: [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 fs::path old_path = fs::path(getenv("HOME")) / ".freeorion"; data/freeorion-0.4.10.1/GG/src/DefaultFont.h:130: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 VERA_TTF[VERA_TTF_SIZE + 1] = { data/freeorion-0.4.10.1/GG/src/gilext/io/png_io_private.hpp:170: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[PNG_BYTES_TO_CHECK]; data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:140:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[64]; // Optional 'id' attr of the shape or its group data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:401:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char id[64]; data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:402:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ref[64]; data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:418:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char id[64]; data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:425:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fillGradient[64]; data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:426:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char strokeGradient[64]; data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:537: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(s2, s, sizeof(float)*6); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:539:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(t, s2, sizeof(float)*6); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:753: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->attr[p->attrHead], &p->attr[p->attrHead-1], sizeof(NSVGattrib)); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:892: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(grad->stops, stops, nstops*sizeof(NSVGgradientStop)); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:952: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(shape->id, attr->id, sizeof shape->id); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1230:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char s1[32]="", s2[32]=""; data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1464:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/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/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1486:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char it[64]; data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1517: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(xform, t, sizeof(float)*6); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1530: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(xform, t, sizeof(float)*6); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1542: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(xform, t, sizeof(float)*6); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1553: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(xform, t, sizeof(float)*6); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1564: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(xform, t, sizeof(float)*6); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1592:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(xform, m, sizeof(float)*6); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1689:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char item[64]; data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1792:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1793:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[512]; data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1807: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. if (n) memcpy(name, start, n); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1814: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. if (n) memcpy(value, val, n); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:2194:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char item[64]; data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:2466:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char item[64]; data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:2507:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/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/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:2860:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(t, shape->fill.gradient->xform, sizeof(float)*6); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:2865:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(t, shape->stroke.gradient->xform, sizeof(float)*6); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:2907:7: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen(filename, "rb"); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:2942: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(res->pts, p->pts, p->npts * sizeof(float) * 2); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:2945: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(res->bounds, p->bounds, sizeof(p->bounds)); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvgrast.h:109: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 mem[NSVG__MEMPAGE_SIZE]; data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvgrast.h:284:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(r->points2, r->points, sizeof(NSVGpoint) * r->npoints); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvgrast.h:1278: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(cache->xform, grad->xform, sizeof(float)*6); data/freeorion-0.4.10.1/GG/src/nanovg/fontstash.h:388:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[64]; data/freeorion-0.4.10.1/GG/src/nanovg/fontstash.h:833: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(&stash->states[stash->nstates], &stash->states[stash->nstates-1], sizeof(FONSstate)); data/freeorion-0.4.10.1/GG/src/nanovg/fontstash.h:901:7: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fp = fopen(path, "rb"); data/freeorion-0.4.10.1/GG/src/nanovg/fontstash.h:1691: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, stash->params.width); data/freeorion-0.4.10.1/GG/src/nanovg/nanovg.c:575: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(s2, s, sizeof(float)*6); data/freeorion-0.4.10.1/GG/src/nanovg/nanovg.c:577:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(t, s2, sizeof(float)*6); data/freeorion-0.4.10.1/GG/src/nanovg/nanovg.c:630: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->states[ctx->nstates], &ctx->states[ctx->nstates-1], sizeof(NVGstate)); data/freeorion-0.4.10.1/GG/src/nanovg/nanovg.c:762: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(xform, state->xform, sizeof(float)*6); data/freeorion-0.4.10.1/GG/src/nanovg/nanovg.c:1002: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(pxform, state->scissor.xform, sizeof(float)*6); data/freeorion-0.4.10.1/GG/src/nanovg/nanovg.c:1121:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&ctx->commands[ctx->ncommands], vals, nvals*sizeof(float)); data/freeorion-0.4.10.1/GG/src/nanovg/nanovg_gl.h:1382:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&gl->verts[offset], path->fill, sizeof(NVGvertex) * path->nfill); data/freeorion-0.4.10.1/GG/src/nanovg/nanovg_gl.h:1388:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&gl->verts[offset], path->stroke, sizeof(NVGvertex) * path->nstroke); data/freeorion-0.4.10.1/GG/src/nanovg/nanovg_gl.h:1455:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&gl->verts[offset], path->stroke, sizeof(NVGvertex) * path->nstroke); data/freeorion-0.4.10.1/GG/src/nanovg/nanovg_gl.h:1501: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(&gl->verts[call->triangleOffset], verts, sizeof(NVGvertex) * nverts); data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:608: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. typedef unsigned char validate_uint32[sizeof(stbi__uint32)==4 ? 1 : -1]; data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:1034:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). f = fopen(filename, mode); data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:1274:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buffer, s->img_buffer, blen); data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:1284:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(buffer, s->img_buffer, n); data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:3763:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(a->zout, a->zbuffer, len); data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:4060:40: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. case STBI__F_none: memcpy(cur, raw, nk); break; data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:4196:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(final + out_y*a->s->img_x*out_n + out_x*out_n, data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:5014:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char raw_data[4]; data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:5819:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (prev_out) memcpy(g->out, prev_out, 4 * g->w * g->h); data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:5823:24: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (prev_out) memcpy(g->out, prev_out, 4 * g->w * g->h); data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:5829:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&g->out[i + g->start_x], &g->old_out[i + g->start_x], g->max_x - g->start_x); data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:6017:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[STBI__HDR_BUFLEN]; data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:6128:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[STBI__HDR_BUFLEN]; data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:242:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char ttf_buffer[1<<20]; data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:243:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char temp_bitmap[512*512]; data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:250:32: [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). fread(ttf_buffer, 1, 1<<20, fopen("c:/windows/fonts/times.ttf", "rb")); data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:291: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 ttf_buffer[1<<25]; data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:297:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int w,h,i,j,c = (argc > 1 ? atoi(argv[1]) : 'a'), s = (argc > 2 ? atoi(argv[2]) : 20); data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:297:70: [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 w,h,i,j,c = (argc > 1 ? atoi(argv[1]) : 'a'), s = (argc > 2 ? atoi(argv[2]) : 20); data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:299:32: [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). fread(ttf_buffer, 1, 1<<25, fopen(argc > 3 ? argv[3] : "c:/windows/fonts/arialbd.ttf", "rb")); data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:331: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 buffer[24<<20]; data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:332:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char screen[20][79]; data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:341:30: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fread(buffer, 1, 1000000, fopen("c:/windows/fonts/arialbd.ttf", "rb")); data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:394: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. typedef char stbtt__check_size32[sizeof(stbtt_int32)==4 ? 1 : -1]; data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:395: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. typedef char stbtt__check_size16[sizeof(stbtt_int16)==2 ? 1 : -1]; data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:428:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define STBTT_memcpy memcpy data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:1770:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char scanline_data[512], *scanline; data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:2716:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buffer[STBTT_MAX_OVERSAMPLE]; data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:2778:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buffer[STBTT_MAX_OVERSAMPLE]; data/freeorion-0.4.10.1/UI/BuildDesignatorWnd.cpp:1252:60: [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). void BuildDesignatorWnd::CenterOnBuild(int queue_idx, bool open) { data/freeorion-0.4.10.1/UI/BuildDesignatorWnd.cpp:1272: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). if (open) { data/freeorion-0.4.10.1/UI/ProductionWnd.cpp:1026:55: [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). void ProductionWnd::CenterOnBuild(int queue_idx, bool open) data/freeorion-0.4.10.1/UI/ProductionWnd.cpp:1027:52: [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). { m_build_designator_wnd->CenterOnBuild(queue_idx, open); } data/freeorion-0.4.10.1/UI/Sound.cpp:417:20: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((m_f = fopen(filename.c_str(), "rb")) != nullptr) // make sure we CAN open it data/freeorion-0.4.10.1/UI/Sound.cpp:536:25: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((file = fopen(filename.c_str(), "rb")) != nullptr) { // make sure we CAN open it data/freeorion-0.4.10.1/client/ClientNetworking.cpp:78: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). m_socket.open(udp::v4()); data/freeorion-0.4.10.1/client/human/HumanClientApp.cpp:79: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). fd = open("crash.txt",O_WRONLY|O_CREAT|O_APPEND|O_SYNC,0666); data/freeorion-0.4.10.1/server/ServerNetworking.cpp:777:38: [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). m_player_connection_acceptor.open(message_endpoint.protocol()); data/freeorion-0.4.10.1/server/ServerNetworking.cpp:785:38: [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). m_player_connection_acceptor.open(message_endpoint.protocol()); data/freeorion-0.4.10.1/test/UI/runner/Application.cpp:11:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 unsigned char cursor_data[16 * 16 * 4]; data/freeorion-0.4.10.1/test/UI/runner/ResourceCursor.cpp:1:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 unsigned char cursor_data[16 * 16 * 4] = { data/freeorion-0.4.10.1/util/Directories.cpp:59:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bundle_dir[MAXPATHLEN]; data/freeorion-0.4.10.1/util/Directories.cpp:314: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] = {'\0'}; data/freeorion-0.4.10.1/util/base64_filter.h:538: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 buf[4]; data/freeorion-0.4.10.1/util/base64_filter.h:551: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 src[3] = { 0, 0, 0 }; data/freeorion-0.4.10.1/util/base64_filter.h:554: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 buf[4]; data/freeorion-0.4.10.1/util/base64_filter.h:598: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[4]; data/freeorion-0.4.10.1/util/base64_filter.h:629: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 buf[4]; data/freeorion-0.4.10.1/util/binreloc.c:122: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). f = fopen ("/proc/self/maps", "r"); data/freeorion-0.4.10.1/util/binreloc.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 *address_string, line[SIZE], *found; data/freeorion-0.4.10.1/util/binreloc.c:193: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). f = fopen ("/proc/self/maps", "r"); data/freeorion-0.4.10.1/util/binreloc.c:253: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 (address_string, "0x", 2); data/freeorion-0.4.10.1/util/binreloc.c:254: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 (address_string + 2, start_addr, len); data/freeorion-0.4.10.1/util/binreloc.c:258: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 (address_string, "0x", 2); data/freeorion-0.4.10.1/util/binreloc.c:259: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 (address_string + 2, end_addr, len); data/freeorion-0.4.10.1/util/binreloc.c:677: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 (result, str1, len1); data/freeorion-0.4.10.1/util/binreloc.c:678: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 (result + len1, str2, len2); data/freeorion-0.4.10.1/util/binreloc.c:723: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 (result, str, size); data/freeorion-0.4.10.1/GG/src/DefaultFont.h:16136: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). assert(std::strlen(VERA_TTF) == VERA_TTF_SIZE); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1415:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(str); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:1780:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(attr->id, value, 63); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:2574:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(grad->id, attr[i+1], 63); data/freeorion-0.4.10.1/GG/src/nanosvg/nanosvg.h:2611:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(grad->ref, href+1, 62); data/freeorion-0.4.10.1/GG/src/nanovg/fontstash.h:932:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(font->name, name, sizeof(font->name)); data/freeorion-0.4.10.1/GG/src/nanovg/fontstash.h:1322:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). end = str + strlen(str); data/freeorion-0.4.10.1/GG/src/nanovg/fontstash.h:1393:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). end = str + strlen(str); data/freeorion-0.4.10.1/GG/src/nanovg/fontstash.h:1517:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). end = str + strlen(str); data/freeorion-0.4.10.1/GG/src/nanovg/nanovg.c:2444:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). end = string + strlen(string); data/freeorion-0.4.10.1/GG/src/nanovg/nanovg.c:2544:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). end = string + strlen(string); data/freeorion-0.4.10.1/GG/src/nanovg/nanovg.c:2609:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). end = string + strlen(string); data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:430:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int (*read) (void *user,char *data,int size); // fill 'data' with 'size' bytes. return number of bytes actually read data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:1213:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int n = (s->io.read)(s->io_user_data,(char*)s->buffer_start,s->buflen); data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:1240:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (s->io.read) { data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:1256:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (s->io.read) { data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:1269:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (s->io.read) { data/freeorion-0.4.10.1/GG/src/nanovg/stb_image.h:1276:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). count = (s->io.read)(s->io_user_data, (char*) buffer + blen, n - blen); data/freeorion-0.4.10.1/GG/src/nanovg/stb_truetype.h:423: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). #define STBTT_strlen(x) strlen(x) data/freeorion-0.4.10.1/server/SaveLoad.cpp:355:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!ifs.read(&signature[0], 5)) data/freeorion-0.4.10.1/server/SaveLoad.cpp:498:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!ifs.read(&signature[0], 5)) data/freeorion-0.4.10.1/server/SaveLoad.cpp:541:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!ifs.read(&signature[0], 5)) data/freeorion-0.4.10.1/server/SaveLoad.cpp:593:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!ifs.read(&signature[0], 5)) data/freeorion-0.4.10.1/util/Directories.cpp:331:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf, argpath.c_str(), sizeof(buf)); data/freeorion-0.4.10.1/util/Directories.cpp:611:17: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return std::equal(canon_dir.begin(), canon_dir.end(), canon_path.begin()); data/freeorion-0.4.10.1/util/SaveGamePreviewUtils.cpp:70:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ifs.read(&xxx5[0], 5); data/freeorion-0.4.10.1/util/SaveGamePreviewUtils.cpp:210:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ifs.read(&xxx5[0], 5); data/freeorion-0.4.10.1/util/base64_filter.h:277:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::streamsize read(char_type* s, std::streamsize n) data/freeorion-0.4.10.1/util/base64_filter.h:283:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::streamsize read(Source& src, char_type* s, std::streamsize n) data/freeorion-0.4.10.1/util/base64_filter.h:631:35: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). boost::iostreams::read(src, buf, sizeof(buf)); data/freeorion-0.4.10.1/util/binreloc.c:73: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 (path2, "/proc/self/exe", buf_size - 1); data/freeorion-0.4.10.1/util/binreloc.c:105:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (path, path2, buf_size - 1); data/freeorion-0.4.10.1/util/binreloc.c:141: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). buf_size = strlen (line); data/freeorion-0.4.10.1/util/binreloc.c:229:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen (file); data/freeorion-0.4.10.1/util/binreloc.c:236:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen (file); data/freeorion-0.4.10.1/util/binreloc.c:241:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen (start_addr); data/freeorion-0.4.10.1/util/binreloc.c:242:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (len != strlen (end_addr)) data/freeorion-0.4.10.1/util/binreloc.c:671: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). len1 = strlen (str1); data/freeorion-0.4.10.1/util/binreloc.c:672: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). len2 = strlen (str2); data/freeorion-0.4.10.1/util/binreloc.c:692: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 (dir); data/freeorion-0.4.10.1/util/binreloc.c:716:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen (str); ANALYSIS SUMMARY: Hits = 561 Lines analyzed = 247184 in approximately 17.08 seconds (14472 lines/second) Physical Source Lines of Code (SLOC) = 182350 Hits@level = [0] 37 [1] 41 [2] 110 [3] 23 [4] 385 [5] 2 Hits@level+ = [0+] 598 [1+] 561 [2+] 520 [3+] 410 [4+] 387 [5+] 2 Hits/KSLOC@level+ = [0+] 3.27941 [1+] 3.0765 [2+] 2.85166 [3+] 2.24842 [4+] 2.12229 [5+] 0.0109679 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.