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/stellarium-0.20.3/plugins/RemoteControl/src/APIController.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/AbstractAPIService.hpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/SimbadService.hpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/gui/RemoteControlDialog.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/gui/RemoteControlDialog.hpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/LocationService.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/MainService.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/ScriptService.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/StelPropertyService.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/ObjectService.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/LocationService.hpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/RemoteControl.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/APIController.hpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/SimbadService.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/LocationSearchService.hpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/ViewService.hpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/StelActionService.hpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/RequestHandler.hpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/ObjectService.hpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/StelActionService.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/LocationSearchService.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/RequestHandler.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/AbstractAPIService.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/RemoteControl.hpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/ScriptService.hpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/StelPropertyService.hpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/templateengine/templateglobal.h
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/templateengine/template.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/templateengine/template.h
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httpconnectionhandlerpool.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httpglobal.h
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httprequest.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/staticfilecontroller.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httpconnectionhandlerpool.h
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httprequest.h
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httpresponse.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/staticfilecontroller.h
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httplistener.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httprequesthandler.h
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httpcookie.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httpcookie.h
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httprequesthandler.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httplistener.h
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httpconnectionhandler.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httpresponse.h
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httpglobal.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httpconnectionhandler.h
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/ViewService.cpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/src/MainService.hpp
Examining data/stellarium-0.20.3/plugins/RemoteControl/include/RemoteControlServiceInterface.hpp
Examining data/stellarium-0.20.3/plugins/Pulsars/src/Pulsar.hpp
Examining data/stellarium-0.20.3/plugins/Pulsars/src/gui/PulsarsDialog.cpp
Examining data/stellarium-0.20.3/plugins/Pulsars/src/gui/PulsarsDialog.hpp
Examining data/stellarium-0.20.3/plugins/Pulsars/src/Pulsars.cpp
Examining data/stellarium-0.20.3/plugins/Pulsars/src/Pulsars.hpp
Examining data/stellarium-0.20.3/plugins/Pulsars/src/Pulsar.cpp
Examining data/stellarium-0.20.3/plugins/Exoplanets/src/Exoplanet.hpp
Examining data/stellarium-0.20.3/plugins/Exoplanets/src/Exoplanets.hpp
Examining data/stellarium-0.20.3/plugins/Exoplanets/src/gui/ExoplanetsDialog.hpp
Examining data/stellarium-0.20.3/plugins/Exoplanets/src/gui/ExoplanetsDialog.cpp
Examining data/stellarium-0.20.3/plugins/Exoplanets/src/Exoplanet.cpp
Examining data/stellarium-0.20.3/plugins/Exoplanets/src/Exoplanets.cpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/SyncClient.hpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/SyncServerEventSenders.cpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/SyncClientHandlers.cpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/SyncClient.cpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/gui/RemoteSyncDialog.cpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/gui/RemoteSyncDialog.hpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/SyncClientHandlers.hpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/SyncProtocol.hpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/SyncServerHandlers.cpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/SyncMessages.hpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/RemoteSync.hpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/SyncMessages.cpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/SyncServerHandlers.hpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/SyncProtocol.cpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/RemoteSync.cpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/SyncServer.hpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/SyncServerEventSenders.hpp
Examining data/stellarium-0.20.3/plugins/RemoteSync/src/SyncServer.cpp
Examining data/stellarium-0.20.3/plugins/CompassMarks/src/CompassMarks.cpp
Examining data/stellarium-0.20.3/plugins/CompassMarks/src/CompassMarks.hpp
Examining data/stellarium-0.20.3/plugins/AngleMeasure/src/gui/AngleMeasureDialog.hpp
Examining data/stellarium-0.20.3/plugins/AngleMeasure/src/gui/AngleMeasureDialog.cpp
Examining data/stellarium-0.20.3/plugins/AngleMeasure/src/AngleMeasure.hpp
Examining data/stellarium-0.20.3/plugins/AngleMeasure/src/AngleMeasure.cpp
Examining data/stellarium-0.20.3/plugins/HelloStelModule/src/HelloStelModule.cpp
Examining data/stellarium-0.20.3/plugins/HelloStelModule/src/HelloStelModule.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/Scenery3dRemoteControlService.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/SPolygon.cpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/ShaderManager.cpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/GLFuncs.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/S3DRenderer.cpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/Frustum.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/S3DEnum.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/ShaderManager.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/gui/Scenery3dDialog_p.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/gui/Scenery3dDialog.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/gui/StoredViewDialog.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/gui/StoredViewDialog_p.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/gui/Scenery3dDialog.cpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/gui/StoredViewDialog.cpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/Plane.cpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/Polyhedron.cpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/Scenery3d.cpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/S3DRenderer.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/Plane.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/SceneInfo.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/Scenery3d.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/Polyhedron.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/SPolygon.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/SceneInfo.cpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/S3DScene.cpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/Frustum.cpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/Heightmap.hpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/Scenery3dRemoteControlService.cpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/Heightmap.cpp
Examining data/stellarium-0.20.3/plugins/Scenery3d/src/S3DScene.hpp
Examining data/stellarium-0.20.3/plugins/SimpleDrawLine/src/SimpleDrawLine.cpp
Examining data/stellarium-0.20.3/plugins/SimpleDrawLine/src/SimpleDrawLine.hpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNode.hpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/DummyDialog.hpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeEditable.hpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeBool.hpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeDateTime.hpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeDateTime.cpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TextUserInterface.hpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeEnum.cpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeDouble.hpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeColor.cpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeFloat.cpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeEnum.hpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeDouble.cpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeBool.cpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/DummyDialog.cpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeActivate.cpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeColor.hpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeFloat.hpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeInt.hpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeEditable.cpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeInt.cpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNode.cpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TextUserInterface.cpp
Examining data/stellarium-0.20.3/plugins/TextUserInterface/src/TuiNodeActivate.hpp
Examining data/stellarium-0.20.3/plugins/Supernovae/src/Supernova.hpp
Examining data/stellarium-0.20.3/plugins/Supernovae/src/Supernovae.hpp
Examining data/stellarium-0.20.3/plugins/Supernovae/src/gui/SupernovaeDialog.hpp
Examining data/stellarium-0.20.3/plugins/Supernovae/src/gui/SupernovaeDialog.cpp
Examining data/stellarium-0.20.3/plugins/Supernovae/src/Supernovae.cpp
Examining data/stellarium-0.20.3/plugins/Supernovae/src/test/testHistoricalSupernovae.cpp
Examining data/stellarium-0.20.3/plugins/Supernovae/src/test/testHistoricalSupernovae.hpp
Examining data/stellarium-0.20.3/plugins/Supernovae/src/Supernova.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/Rts2/TelescopeClientJsonRts2.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/Rts2/TelescopeClientJsonRts2.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/ASCOM/TelescopeClientASCOMWidget.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/ASCOM/TelescopeClientASCOM.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/ASCOM/ASCOMDevice.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/ASCOM/ASCOMDevice.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/ASCOM/TelescopeClientASCOM.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/ASCOM/test/testTelescopeControl_ASCOM.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/ASCOM/test/testTelescopeControl_ASCOM.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/ASCOM/TelescopeClientASCOMWidget.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/INDI/INDIConnection.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/INDI/TelescopeClientINDI.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/INDI/TelescopeClientINDIWidget.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/INDI/INDIControlWidget.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/INDI/test/testINDIConnection.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/INDI/test/testTelescopeControl_INDI.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/INDI/test/testTelescopeClientINDI.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/INDI/test/testINDIConnection.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/INDI/test/testTelescopeClientINDI.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/INDI/test/testTelescopeControl_INDI.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/INDI/INDIControlWidget.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/INDI/TelescopeClientINDIWidget.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/INDI/TelescopeClientINDI.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/INDI/INDIConnection.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/NexStar/NexStarCommand.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/NexStar/TelescopeClientDirectNexStar.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/NexStar/NexStarConnection.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/NexStar/NexStarConnection.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/NexStar/NexStarCommand.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/NexStar/TelescopeClientDirectNexStar.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/TelescopeClient.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/gui/TelescopeConfigurationDialog.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/gui/TelescopeDialog.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/gui/SlewDialog.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/gui/StoredPointsDialog.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/gui/SlewDialog.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/gui/TelescopeConfigurationDialog.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/gui/StoredPointsDialog.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/gui/TelescopeDialog.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/TelescopeControl.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/TelescopeClient.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/TelescopeControlGlobals.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/LogFile.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/Socket.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/Connection.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/LogFile.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/Socket.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/SerialPort.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/Server.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/SerialPort.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/InterpolatedPosition.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/ASCOMSupport.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/InterpolatedPosition.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/ASCOMSupport.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/Connection.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/OLE.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/Server.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/common/OLE.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/Lx200/Lx200Command.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/Lx200/TelescopeClientDirectLx200.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/Lx200/Lx200Command.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/Lx200/Lx200Connection.cpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/Lx200/Lx200Connection.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/Lx200/TelescopeClientDirectLx200.hpp
Examining data/stellarium-0.20.3/plugins/TelescopeControl/src/TelescopeControl.hpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/SatellitesListModel.cpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/Satellite.hpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gSatWrapper.hpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/Satellites.cpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gui/SatellitesImportDialog.cpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gui/SatellitesDialog.cpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gui/SatellitesImportDialog.hpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gui/SatellitesDialog.hpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/Satellite.cpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/SatellitesListModel.hpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gSatWrapper.cpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/SatellitesListFilterModel.hpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/gSatTEME.hpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4unit.h
Examining data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/gTime.cpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/stdsat.h
Examining data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/gException.hpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/gTime.hpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4ext.h
Examining data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/mathUtils.cpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/gTimeSpan.cpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4io.h
Examining data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4ext.cpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/mathUtils.hpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4unit.cpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4io.cpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/gSatTEME.cpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/Satellites.hpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/test/testSatellites.hpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/test/testSatellites.cpp
Examining data/stellarium-0.20.3/plugins/Satellites/src/SatellitesListFilterModel.cpp
Examining data/stellarium-0.20.3/plugins/EquationOfTime/src/EquationOfTime.cpp
Examining data/stellarium-0.20.3/plugins/EquationOfTime/src/EquationOfTime.hpp
Examining data/stellarium-0.20.3/plugins/EquationOfTime/src/gui/EquationOfTimeWindow.cpp
Examining data/stellarium-0.20.3/plugins/EquationOfTime/src/gui/EquationOfTimeWindow.hpp
Examining data/stellarium-0.20.3/plugins/MeteorShowers/src/MeteorShower.cpp
Examining data/stellarium-0.20.3/plugins/MeteorShowers/src/MeteorObj.hpp
Examining data/stellarium-0.20.3/plugins/MeteorShowers/src/MeteorShower.hpp
Examining data/stellarium-0.20.3/plugins/MeteorShowers/src/MeteorShowers.cpp
Examining data/stellarium-0.20.3/plugins/MeteorShowers/src/gui/MSSearchDialog.cpp
Examining data/stellarium-0.20.3/plugins/MeteorShowers/src/gui/MSSearchDialog.hpp
Examining data/stellarium-0.20.3/plugins/MeteorShowers/src/gui/MSConfigDialog.hpp
Examining data/stellarium-0.20.3/plugins/MeteorShowers/src/gui/MSConfigDialog.cpp
Examining data/stellarium-0.20.3/plugins/MeteorShowers/src/MeteorShowersMgr.cpp
Examining data/stellarium-0.20.3/plugins/MeteorShowers/src/MeteorShowersMgr.hpp
Examining data/stellarium-0.20.3/plugins/MeteorShowers/src/MeteorShowers.hpp
Examining data/stellarium-0.20.3/plugins/MeteorShowers/src/MeteorObj.cpp
Examining data/stellarium-0.20.3/plugins/MeteorShowers/src/translations.h
Examining data/stellarium-0.20.3/plugins/Vts/src/Vts.hpp
Examining data/stellarium-0.20.3/plugins/Vts/src/Vts.cpp
Examining data/stellarium-0.20.3/plugins/Novae/src/Novae.cpp
Examining data/stellarium-0.20.3/plugins/Novae/src/gui/NovaeDialog.hpp
Examining data/stellarium-0.20.3/plugins/Novae/src/gui/NovaeDialog.cpp
Examining data/stellarium-0.20.3/plugins/Novae/src/Nova.hpp
Examining data/stellarium-0.20.3/plugins/Novae/src/Nova.cpp
Examining data/stellarium-0.20.3/plugins/Novae/src/Novae.hpp
Examining data/stellarium-0.20.3/plugins/SolarSystemEditor/src/SolarSystemEditor.hpp
Examining data/stellarium-0.20.3/plugins/SolarSystemEditor/src/gui/SolarSystemManagerWindow.cpp
Examining data/stellarium-0.20.3/plugins/SolarSystemEditor/src/gui/ManualImportWindow.cpp
Examining data/stellarium-0.20.3/plugins/SolarSystemEditor/src/gui/MpcImportWindow.cpp
Examining data/stellarium-0.20.3/plugins/SolarSystemEditor/src/gui/SolarSystemManagerWindow.hpp
Examining data/stellarium-0.20.3/plugins/SolarSystemEditor/src/gui/MpcImportWindow.hpp
Examining data/stellarium-0.20.3/plugins/SolarSystemEditor/src/gui/ManualImportWindow.hpp
Examining data/stellarium-0.20.3/plugins/SolarSystemEditor/src/SolarSystemEditor.cpp
Examining data/stellarium-0.20.3/plugins/SolarSystemEditor/unpackProvisionalDesignationTest.cpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/Telescope.cpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/Oculars.cpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/gui/OcularDialog.hpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/gui/PropertyBasedTableModel.hpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/gui/PropertyBasedTableModel.cpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/gui/OcularDialog.cpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/gui/OcularsGuiPanel.cpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/gui/OcularsGuiPanel.hpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/Ocular.hpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/Lens.hpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/CCD.cpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/Oculars.hpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/Ocular.cpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/Lens.cpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/CCD.hpp
Examining data/stellarium-0.20.3/plugins/Oculars/src/Telescope.hpp
Examining data/stellarium-0.20.3/plugins/Oculus/src/Oculus.cpp
Examining data/stellarium-0.20.3/plugins/Oculus/src/Oculus.hpp
Examining data/stellarium-0.20.3/plugins/ArchaeoLines/src/ArchaeoLines.hpp
Examining data/stellarium-0.20.3/plugins/ArchaeoLines/src/gui/ArchaeoLinesDialog.hpp
Examining data/stellarium-0.20.3/plugins/ArchaeoLines/src/gui/ArchaeoLinesDialog.cpp
Examining data/stellarium-0.20.3/plugins/ArchaeoLines/src/ArchaeoLines.cpp
Examining data/stellarium-0.20.3/plugins/PointerCoordinates/src/gui/PointerCoordinatesWindow.cpp
Examining data/stellarium-0.20.3/plugins/PointerCoordinates/src/gui/PointerCoordinatesWindow.hpp
Examining data/stellarium-0.20.3/plugins/PointerCoordinates/src/PointerCoordinates.hpp
Examining data/stellarium-0.20.3/plugins/PointerCoordinates/src/PointerCoordinates.cpp
Examining data/stellarium-0.20.3/plugins/Quasars/src/Quasars.hpp
Examining data/stellarium-0.20.3/plugins/Quasars/src/Quasar.cpp
Examining data/stellarium-0.20.3/plugins/Quasars/src/gui/QuasarsDialog.hpp
Examining data/stellarium-0.20.3/plugins/Quasars/src/gui/QuasarsDialog.cpp
Examining data/stellarium-0.20.3/plugins/Quasars/src/Quasars.cpp
Examining data/stellarium-0.20.3/plugins/Quasars/src/Quasar.hpp
Examining data/stellarium-0.20.3/plugins/Observability/src/gui/ObservabilityDialog.cpp
Examining data/stellarium-0.20.3/plugins/Observability/src/gui/ObservabilityDialog.hpp
Examining data/stellarium-0.20.3/plugins/Observability/src/Observability.cpp
Examining data/stellarium-0.20.3/plugins/Observability/src/Observability.hpp
Examining data/stellarium-0.20.3/plugins/NavStars/src/NavStars.hpp
Examining data/stellarium-0.20.3/plugins/NavStars/src/NavStarsCalculator.cpp
Examining data/stellarium-0.20.3/plugins/NavStars/src/gui/NavStarsWindow.cpp
Examining data/stellarium-0.20.3/plugins/NavStars/src/gui/NavStarsWindow.hpp
Examining data/stellarium-0.20.3/plugins/NavStars/src/test/testNavStars.hpp
Examining data/stellarium-0.20.3/plugins/NavStars/src/test/testNavStars.cpp
Examining data/stellarium-0.20.3/plugins/NavStars/src/NavStars.cpp
Examining data/stellarium-0.20.3/plugins/NavStars/src/NavStarsCalculator.hpp
Examining data/stellarium-0.20.3/src/StelSplashScreen.hpp
Examining data/stellarium-0.20.3/src/gui/StelDialog.cpp
Examining data/stellarium-0.20.3/src/gui/AstroCalcExtraEphemerisDialog.hpp
Examining data/stellarium-0.20.3/src/gui/BookmarksDialog.cpp
Examining data/stellarium-0.20.3/src/gui/AstroCalcDialog.cpp
Examining data/stellarium-0.20.3/src/gui/AngleSpinBox.cpp
Examining data/stellarium-0.20.3/src/gui/LocationDialog.cpp
Examining data/stellarium-0.20.3/src/gui/ScriptConsole.hpp
Examining data/stellarium-0.20.3/src/gui/StelGuiItems.cpp
Examining data/stellarium-0.20.3/src/gui/AstroCalcExtraEphemerisDialog.cpp
Examining data/stellarium-0.20.3/src/gui/AngleSpinBox.hpp
Examining data/stellarium-0.20.3/src/gui/MapLabel.cpp
Examining data/stellarium-0.20.3/src/gui/HelpDialog.cpp
Examining data/stellarium-0.20.3/src/gui/ViewDialog.cpp
Examining data/stellarium-0.20.3/src/gui/AstroCalcCustomStepsDialog.cpp
Examining data/stellarium-0.20.3/src/gui/CustomDeltaTEquationDialog.hpp
Examining data/stellarium-0.20.3/src/gui/ShortcutLineEdit.cpp
Examining data/stellarium-0.20.3/src/gui/StelDialog.hpp
Examining data/stellarium-0.20.3/src/gui/StelGuiItems.hpp
Examining data/stellarium-0.20.3/src/gui/StelGui.cpp
Examining data/stellarium-0.20.3/src/gui/HelpDialog.hpp
Examining data/stellarium-0.20.3/src/gui/ShortcutsDialog.cpp
Examining data/stellarium-0.20.3/src/gui/StelScriptSyntaxHighlighter.cpp
Examining data/stellarium-0.20.3/src/gui/SkyGui.hpp
Examining data/stellarium-0.20.3/src/gui/ConfigureOrbitColorsDialog.cpp
Examining data/stellarium-0.20.3/src/gui/ConfigureDSOColorsDialog.hpp
Examining data/stellarium-0.20.3/src/gui/AddRemoveLandscapesDialog.hpp
Examining data/stellarium-0.20.3/src/gui/MapLabel.hpp
Examining data/stellarium-0.20.3/src/gui/StelStyle.hpp
Examining data/stellarium-0.20.3/src/gui/ShortcutsDialog.hpp
Examining data/stellarium-0.20.3/src/gui/StelDialog_p.hpp
Examining data/stellarium-0.20.3/src/gui/StelScriptSyntaxHighlighter.hpp
Examining data/stellarium-0.20.3/src/gui/GreatRedSpotDialog.cpp
Examining data/stellarium-0.20.3/src/gui/ConfigurationDialog.hpp
Examining data/stellarium-0.20.3/src/gui/Dialog.hpp
Examining data/stellarium-0.20.3/src/gui/CustomDeltaTEquationDialog.cpp
Examining data/stellarium-0.20.3/src/gui/ConfigureOrbitColorsDialog.hpp
Examining data/stellarium-0.20.3/src/gui/LocationDialog.hpp
Examining data/stellarium-0.20.3/src/gui/Dialog.cpp
Examining data/stellarium-0.20.3/src/gui/StelGui.hpp
Examining data/stellarium-0.20.3/src/gui/SearchDialog.cpp
Examining data/stellarium-0.20.3/src/gui/GreatRedSpotDialog.hpp
Examining data/stellarium-0.20.3/src/gui/AstroCalcCustomStepsDialog.hpp
Examining data/stellarium-0.20.3/src/gui/ViewDialog.hpp
Examining data/stellarium-0.20.3/src/gui/DateTimeDialog.hpp
Examining data/stellarium-0.20.3/src/gui/AtmosphereDialog.cpp
Examining data/stellarium-0.20.3/src/gui/DateTimeDialog.cpp
Examining data/stellarium-0.20.3/src/gui/ConfigureDSOColorsDialog.cpp
Examining data/stellarium-0.20.3/src/gui/ShortcutLineEdit.hpp
Examining data/stellarium-0.20.3/src/gui/BookmarksDialog.hpp
Examining data/stellarium-0.20.3/src/gui/SearchDialog.hpp
Examining data/stellarium-0.20.3/src/gui/SkyGui.cpp
Examining data/stellarium-0.20.3/src/gui/AddRemoveLandscapesDialog.cpp
Examining data/stellarium-0.20.3/src/gui/ScriptConsole.cpp
Examining data/stellarium-0.20.3/src/gui/AtmosphereDialog.hpp
Examining data/stellarium-0.20.3/src/gui/ConfigurationDialog.cpp
Examining data/stellarium-0.20.3/src/gui/AstroCalcDialog.hpp
Examining data/stellarium-0.20.3/src/StelSplashScreen.cpp
Examining data/stellarium-0.20.3/src/scripting/StelScriptMgr.hpp
Examining data/stellarium-0.20.3/src/scripting/StelScriptMgr.cpp
Examining data/stellarium-0.20.3/src/scripting/StelScriptOutput.cpp
Examining data/stellarium-0.20.3/src/scripting/StelMainScriptAPI.cpp
Examining data/stellarium-0.20.3/src/scripting/StelMainScriptAPIProxy.hpp
Examining data/stellarium-0.20.3/src/scripting/ScreenImageMgr.hpp
Examining data/stellarium-0.20.3/src/scripting/StelMainScriptAPI.hpp
Examining data/stellarium-0.20.3/src/scripting/ScreenImageMgr.cpp
Examining data/stellarium-0.20.3/src/scripting/StelMainScriptAPIProxy.cpp
Examining data/stellarium-0.20.3/src/scripting/StelScriptOutput.hpp
Examining data/stellarium-0.20.3/src/main.cpp
Examining data/stellarium-0.20.3/src/StelLogger.cpp
Examining data/stellarium-0.20.3/src/CLIProcessor.cpp
Examining data/stellarium-0.20.3/src/StelMainView.hpp
Examining data/stellarium-0.20.3/src/StelMainView.cpp
Examining data/stellarium-0.20.3/src/StelLogger.hpp
Examining data/stellarium-0.20.3/src/external/SpoutLibrary.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxabstractsheet.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxabstractooxmlfile.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxzipreader.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxworksheet.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxzipreader_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxsimpleooxmlfile_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxrelationships_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxzipwriter_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxformat.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxtheme_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcell_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcontenttypes.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxchart.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxrichstring.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxdocpropscore.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxnumformatparser.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcelllocation.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxrelationships.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxutility.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxabstractooxmlfile.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcelllocation.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxchart.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxdrawinganchor_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxconditionalformatting.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxdrawing_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxtheme.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcolor.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxchartsheet_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxnumformatparser_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxformat_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxabstractsheet_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcellformula.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxdatavalidation_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxutility_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxmediafile_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcellformula_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxsharedstrings_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxchartsheet.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxmediafile.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxzipwriter.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxchartsheet.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxdrawinganchor.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcontenttypes_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxdocument_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxformat.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcell.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxdocpropscore_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcell.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcellreference.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxdocpropsapp_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxworkbook.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcellreference.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxworksheet_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxstyles_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxrichstring_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxdocument.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxrichstring.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxdocpropsapp.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcellrange.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcolor_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxdatavalidation.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxsharedstrings.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxabstractooxmlfile_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxdocument.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxworksheet.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxconditionalformatting_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxstyles.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxworkbook.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxchart_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcellrange.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxcellformula.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxglobal.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxdrawing.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxsimpleooxmlfile.cpp
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxworkbook_p.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxconditionalformatting.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxabstractsheet.h
Examining data/stellarium-0.20.3/src/external/qxlsx/xlsxdatavalidation.cpp
Examining data/stellarium-0.20.3/src/external/qtcompress/qzipwriter.h
Examining data/stellarium-0.20.3/src/external/qtcompress/qzipreader.h
Examining data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp
Examining data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp
Examining data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.h
Examining data/stellarium-0.20.3/src/external/zlib/gzwrite.c
Examining data/stellarium-0.20.3/src/external/zlib/zutil.h
Examining data/stellarium-0.20.3/src/external/zlib/inffixed.h
Examining data/stellarium-0.20.3/src/external/zlib/inftrees.c
Examining data/stellarium-0.20.3/src/external/zlib/inffast.c
Examining data/stellarium-0.20.3/src/external/zlib/inftrees.h
Examining data/stellarium-0.20.3/src/external/zlib/crc32.c
Examining data/stellarium-0.20.3/src/external/zlib/crc32.h
Examining data/stellarium-0.20.3/src/external/zlib/inffast.h
Examining data/stellarium-0.20.3/src/external/zlib/gzread.c
Examining data/stellarium-0.20.3/src/external/zlib/trees.h
Examining data/stellarium-0.20.3/src/external/zlib/gzlib.c
Examining data/stellarium-0.20.3/src/external/zlib/zconf.h
Examining data/stellarium-0.20.3/src/external/zlib/adler32.c
Examining data/stellarium-0.20.3/src/external/zlib/inflate.h
Examining data/stellarium-0.20.3/src/external/zlib/gzguts.h
Examining data/stellarium-0.20.3/src/external/zlib/zlib.h
Examining data/stellarium-0.20.3/src/external/zlib/compress.c
Examining data/stellarium-0.20.3/src/external/zlib/gzclose.c
Examining data/stellarium-0.20.3/src/external/zlib/deflate.c
Examining data/stellarium-0.20.3/src/external/zlib/inflate.c
Examining data/stellarium-0.20.3/src/external/zlib/zutil.c
Examining data/stellarium-0.20.3/src/external/zlib/infback.c
Examining data/stellarium-0.20.3/src/external/zlib/trees.c
Examining data/stellarium-0.20.3/src/external/zlib/deflate.h
Examining data/stellarium-0.20.3/src/external/zlib/uncompr.c
Examining data/stellarium-0.20.3/src/external/libindi/indiserver.c
Examining data/stellarium-0.20.3/src/external/libindi/indidriver.h
Examining data/stellarium-0.20.3/src/external/libindi/fq.c
Examining data/stellarium-0.20.3/src/external/libindi/indidevapi.h
Examining data/stellarium-0.20.3/src/external/libindi/eventloop.c
Examining data/stellarium-0.20.3/src/external/libindi/base64.c
Examining data/stellarium-0.20.3/src/external/libindi/eventloop.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiweather.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiproperty.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indifilterwheel.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indifocuserinterface.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiguiderinterface.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiusbdevice.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indifilterwheel.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indicontroller.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indifocuser.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indirotatorinterface.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiproperty.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_libusb.c
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indifilterinterface.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_win.c
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilightboxinterface.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indigps.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indigps.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiguiderinterface.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclientqt.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_mac.c
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiusbdevice.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidome.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiweather.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indirotatorinterface.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilightboxinterface.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidome.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indibasetypes.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclientqt.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indirotator.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indifocuser.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/hidapi.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidustcapinterface.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indicontroller.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indistandardproperty.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidustcapinterface.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/connectionplugins/connectionserial.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/connectionplugins/connectionserial.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/connectionplugins/connectiontcp.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/connectionplugins/connectioninterface.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/connectionplugins/connectiontcp.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/connectionplugins/connectioninterface.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indirotator.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indistandardproperty.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indifocuserinterface.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indibase.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indifilterinterface.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/lilxml.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/lx/Lx.cpp
Examining data/stellarium-0.20.3/src/external/libindi/libs/lx/Lx.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indicom.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/locale_compat.h
Examining data/stellarium-0.20.3/src/external/libindi/libs/indicom.c
Examining data/stellarium-0.20.3/src/external/libindi/indidrivermain.c
Examining data/stellarium-0.20.3/src/external/libindi/base64_luts.h
Examining data/stellarium-0.20.3/src/external/libindi/base64.h
Examining data/stellarium-0.20.3/src/external/libindi/indidriver.c
Examining data/stellarium-0.20.3/src/external/libindi/indiapi.h
Examining data/stellarium-0.20.3/src/external/libindi/fq.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/glues_error.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/sweep.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/priorityq.c
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/tess.c
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/tessmono.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/priorityq-sort.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/priorityq-heap.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/normal.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/memalloc.c
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/mesh.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/memalloc.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/priorityq.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/render.c
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/dict.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/dict.c
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/sweep.c
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/geom.c
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/tessmono.c
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/tess.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/render.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/normal.c
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/mesh.c
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/dict-list.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/libtess/geom.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/glues.h
Examining data/stellarium-0.20.3/src/external/glues_stel/source/glues_error.c
Examining data/stellarium-0.20.3/src/core/StelLocaleMgr.hpp
Examining data/stellarium-0.20.3/src/core/StelObjectMgr.hpp
Examining data/stellarium-0.20.3/src/core/OctahedronPolygon.hpp
Examining data/stellarium-0.20.3/src/core/StelGuiBase.hpp
Examining data/stellarium-0.20.3/src/core/StelSphericalIndex.cpp
Examining data/stellarium-0.20.3/src/core/StelSphereGeometry.hpp
Examining data/stellarium-0.20.3/src/core/SpoutSender.hpp
Examining data/stellarium-0.20.3/src/core/StelToast.cpp
Examining data/stellarium-0.20.3/src/core/StelJsonParser.hpp
Examining data/stellarium-0.20.3/src/core/VecMath.hpp
Examining data/stellarium-0.20.3/src/core/SphericMirrorCalculator.cpp
Examining data/stellarium-0.20.3/src/core/StelObject.cpp
Examining data/stellarium-0.20.3/src/core/StelApp.hpp
Examining data/stellarium-0.20.3/src/core/StelSkyLayerMgr.hpp
Examining data/stellarium-0.20.3/src/core/StelActionMgr.hpp
Examining data/stellarium-0.20.3/src/core/StelPainter.cpp
Examining data/stellarium-0.20.3/src/core/StelSkyCultureMgr.cpp
Examining data/stellarium-0.20.3/src/core/StelIniParser.hpp
Examining data/stellarium-0.20.3/src/core/StelProjector.cpp
Examining data/stellarium-0.20.3/src/core/StelSkyCultureMgr.hpp
Examining data/stellarium-0.20.3/src/core/SimbadSearcher.cpp
Examining data/stellarium-0.20.3/src/core/StelSkyLayer.cpp
Examining data/stellarium-0.20.3/src/core/StelPainter.hpp
Examining data/stellarium-0.20.3/src/core/StelGeodesicGrid.hpp
Examining data/stellarium-0.20.3/src/core/StelVideoMgr.hpp
Examining data/stellarium-0.20.3/src/core/StelFader.hpp
Examining data/stellarium-0.20.3/src/core/StelToast.hpp
Examining data/stellarium-0.20.3/src/core/StelObjectMgr.cpp
Examining data/stellarium-0.20.3/src/core/StelApp.cpp
Examining data/stellarium-0.20.3/src/core/StelProgressController.hpp
Examining data/stellarium-0.20.3/src/core/StelSkyPolygon.hpp
Examining data/stellarium-0.20.3/src/core/StelVideoMgr.cpp
Examining data/stellarium-0.20.3/src/core/StelGeodesicGrid.cpp
Examining data/stellarium-0.20.3/src/core/StelTextureTypes.hpp
Examining data/stellarium-0.20.3/src/core/StelVertexArray.cpp
Examining data/stellarium-0.20.3/src/core/StelHips.hpp
Examining data/stellarium-0.20.3/src/core/OctahedronPolygon.cpp
Examining data/stellarium-0.20.3/src/core/StelPropertyMgr.cpp
Examining data/stellarium-0.20.3/src/core/StelSkyPolygon.cpp
Examining data/stellarium-0.20.3/src/core/StelTextureMgr.hpp
Examining data/stellarium-0.20.3/src/core/StelProjector.hpp
Examining data/stellarium-0.20.3/src/core/StelRegionObject.hpp
Examining data/stellarium-0.20.3/src/core/StelTranslator.cpp
Examining data/stellarium-0.20.3/src/core/StelUtils.cpp
Examining data/stellarium-0.20.3/src/core/StelTextureMgr.cpp
Examining data/stellarium-0.20.3/src/core/StelSphereGeometry.cpp
Examining data/stellarium-0.20.3/src/core/planetsephems/tass17.c
Examining data/stellarium-0.20.3/src/core/planetsephems/sidereal_time.h
Examining data/stellarium-0.20.3/src/core/planetsephems/elp82b.c
Examining data/stellarium-0.20.3/src/core/planetsephems/pluto.c
Examining data/stellarium-0.20.3/src/core/planetsephems/gust86.h
Examining data/stellarium-0.20.3/src/core/planetsephems/precession.h
Examining data/stellarium-0.20.3/src/core/planetsephems/tass17.h
Examining data/stellarium-0.20.3/src/core/planetsephems/jpl_int.h
Examining data/stellarium-0.20.3/src/core/planetsephems/l12.h
Examining data/stellarium-0.20.3/src/core/planetsephems/EphemWrapper.cpp
Examining data/stellarium-0.20.3/src/core/planetsephems/jpleph.cpp
Examining data/stellarium-0.20.3/src/core/planetsephems/calc_interpolated_elements.c
Examining data/stellarium-0.20.3/src/core/planetsephems/sidereal_time.c
Examining data/stellarium-0.20.3/src/core/planetsephems/EphemWrapper.hpp
Examining data/stellarium-0.20.3/src/core/planetsephems/jpleph.h
Examining data/stellarium-0.20.3/src/core/planetsephems/marssat.c
Examining data/stellarium-0.20.3/src/core/planetsephems/elliptic_to_rectangular.h
Examining data/stellarium-0.20.3/src/core/planetsephems/pluto.h
Examining data/stellarium-0.20.3/src/core/planetsephems/de430.hpp
Examining data/stellarium-0.20.3/src/core/planetsephems/l12.c
Examining data/stellarium-0.20.3/src/core/planetsephems/de431.cpp
Examining data/stellarium-0.20.3/src/core/planetsephems/de430.cpp
Examining data/stellarium-0.20.3/src/core/planetsephems/precession.c
Examining data/stellarium-0.20.3/src/core/planetsephems/de431.hpp
Examining data/stellarium-0.20.3/src/core/planetsephems/gust86.c
Examining data/stellarium-0.20.3/src/core/planetsephems/vsop87.c
Examining data/stellarium-0.20.3/src/core/planetsephems/elliptic_to_rectangular.c
Examining data/stellarium-0.20.3/src/core/planetsephems/vsop87.h
Examining data/stellarium-0.20.3/src/core/planetsephems/elp82b.h
Examining data/stellarium-0.20.3/src/core/planetsephems/marssat.h
Examining data/stellarium-0.20.3/src/core/planetsephems/calc_interpolated_elements.h
Examining data/stellarium-0.20.3/src/core/StelMovementMgr.cpp
Examining data/stellarium-0.20.3/src/core/StelFileMgr.hpp
Examining data/stellarium-0.20.3/src/core/StelObject.hpp
Examining data/stellarium-0.20.3/src/core/StelModuleMgr.hpp
Examining data/stellarium-0.20.3/src/core/StelPluginInterface.hpp
Examining data/stellarium-0.20.3/src/core/StelLocation.cpp
Examining data/stellarium-0.20.3/src/core/StelLocaleMgr.cpp
Examining data/stellarium-0.20.3/src/core/StelProjectorClasses.cpp
Examining data/stellarium-0.20.3/src/core/StelGuiBase.cpp
Examining data/stellarium-0.20.3/src/core/StelToastGrid.cpp
Examining data/stellarium-0.20.3/src/core/RefractionExtinction.hpp
Examining data/stellarium-0.20.3/src/core/StelCore.hpp
Examining data/stellarium-0.20.3/src/core/StelModule.hpp
Examining data/stellarium-0.20.3/src/core/RefractionExtinction.cpp
Examining data/stellarium-0.20.3/src/core/StelActionMgr.cpp
Examining data/stellarium-0.20.3/src/core/SpoutSender.cpp
Examining data/stellarium-0.20.3/src/core/StelOpenGLArray.cpp
Examining data/stellarium-0.20.3/src/core/StelJsonParser.cpp
Examining data/stellarium-0.20.3/src/core/StelObjectType.hpp
Examining data/stellarium-0.20.3/src/core/StelHips.cpp
Examining data/stellarium-0.20.3/src/core/GeomMath.cpp
Examining data/stellarium-0.20.3/src/core/StelSkyDrawer.cpp
Examining data/stellarium-0.20.3/src/core/StelCore.cpp
Examining data/stellarium-0.20.3/src/core/StelObjectModule.hpp
Examining data/stellarium-0.20.3/src/core/healpix.c
Examining data/stellarium-0.20.3/src/core/StelLocationMgr.cpp
Examining data/stellarium-0.20.3/src/core/StelOpenGLArray.hpp
Examining data/stellarium-0.20.3/src/core/SimbadSearcher.hpp
Examining data/stellarium-0.20.3/src/core/StelProjectorClasses.hpp
Examining data/stellarium-0.20.3/src/core/SphericMirrorCalculator.hpp
Examining data/stellarium-0.20.3/src/core/StelVertexArray.hpp
Examining data/stellarium-0.20.3/src/core/GeomMath.hpp
Examining data/stellarium-0.20.3/src/core/StelIniParser.cpp
Examining data/stellarium-0.20.3/src/core/StelModule.cpp
Examining data/stellarium-0.20.3/src/core/modules/Asterism.cpp
Examining data/stellarium-0.20.3/src/core/modules/Planet.cpp
Examining data/stellarium-0.20.3/src/core/modules/Landscape.cpp
Examining data/stellarium-0.20.3/src/core/modules/HipsMgr.hpp
Examining data/stellarium-0.20.3/src/core/modules/MilkyWay.cpp
Examining data/stellarium-0.20.3/src/core/modules/NebulaMgr.hpp
Examining data/stellarium-0.20.3/src/core/modules/NebulaList.hpp
Examining data/stellarium-0.20.3/src/core/modules/NomenclatureItem.cpp
Examining data/stellarium-0.20.3/src/core/modules/Comet.cpp
Examining data/stellarium-0.20.3/src/core/modules/AsterismMgr.hpp
Examining data/stellarium-0.20.3/src/core/modules/LabelMgr.hpp
Examining data/stellarium-0.20.3/src/core/modules/ZoneArray.cpp
Examining data/stellarium-0.20.3/src/core/modules/Nebula.hpp
Examining data/stellarium-0.20.3/src/core/modules/CustomObjectMgr.hpp
Examining data/stellarium-0.20.3/src/core/modules/LandscapeMgr.hpp
Examining data/stellarium-0.20.3/src/core/modules/Atmosphere.hpp
Examining data/stellarium-0.20.3/src/core/modules/HighlightMgr.cpp
Examining data/stellarium-0.20.3/src/core/modules/NebulaMgr.cpp
Examining data/stellarium-0.20.3/src/core/modules/SporadicMeteorMgr.hpp
Examining data/stellarium-0.20.3/src/core/modules/AsterismMgr.cpp
Examining data/stellarium-0.20.3/src/core/modules/SporadicMeteor.hpp
Examining data/stellarium-0.20.3/src/core/modules/Orbit.hpp
Examining data/stellarium-0.20.3/src/core/modules/Solve.hpp
Examining data/stellarium-0.20.3/src/core/modules/MinorPlanet.hpp
Examining data/stellarium-0.20.3/src/core/modules/Landscape.hpp
Examining data/stellarium-0.20.3/src/core/modules/SporadicMeteorMgr.cpp
Examining data/stellarium-0.20.3/src/core/modules/SpecialMarkersMgr.cpp
Examining data/stellarium-0.20.3/src/core/modules/MarkerMgr.cpp
Examining data/stellarium-0.20.3/src/core/modules/Meteor.hpp
Examining data/stellarium-0.20.3/src/core/modules/ConstellationMgr.hpp
Examining data/stellarium-0.20.3/src/core/modules/StarWrapper.hpp
Examining data/stellarium-0.20.3/src/core/modules/Constellation.cpp
Examining data/stellarium-0.20.3/src/core/modules/GridLinesMgr.cpp
Examining data/stellarium-0.20.3/src/core/modules/CustomObject.hpp
Examining data/stellarium-0.20.3/src/core/modules/LandscapeMgr.cpp
Examining data/stellarium-0.20.3/src/core/modules/StarMgr.cpp
Examining data/stellarium-0.20.3/src/core/modules/MinorPlanet.cpp
Examining data/stellarium-0.20.3/src/core/modules/GeodesicGridDrawer.hpp
Examining data/stellarium-0.20.3/src/core/modules/Constellation.hpp
Examining data/stellarium-0.20.3/src/core/modules/Nebula.cpp
Examining data/stellarium-0.20.3/src/core/modules/Skybright.hpp
Examining data/stellarium-0.20.3/src/core/modules/Skylight.hpp
Examining data/stellarium-0.20.3/src/core/modules/Skylight.cpp
Examining data/stellarium-0.20.3/src/core/modules/ZodiacalLight.cpp
Examining data/stellarium-0.20.3/src/core/modules/GeodesicGridDrawer.cpp
Examining data/stellarium-0.20.3/src/core/modules/Star.hpp
Examining data/stellarium-0.20.3/src/core/modules/StarWrapper.cpp
Examining data/stellarium-0.20.3/src/core/modules/NomenclatureItem.hpp
Examining data/stellarium-0.20.3/src/core/modules/MilkyWay.hpp
Examining data/stellarium-0.20.3/src/core/modules/GridLinesMgr.hpp
Examining data/stellarium-0.20.3/src/core/modules/Skybright.cpp
Examining data/stellarium-0.20.3/src/core/modules/ZodiacalLight.hpp
Examining data/stellarium-0.20.3/src/core/modules/Asterism.hpp
Examining data/stellarium-0.20.3/src/core/modules/ToastMgr.hpp
Examining data/stellarium-0.20.3/src/core/modules/ConstellationMgr.cpp
Examining data/stellarium-0.20.3/src/core/modules/Comet.hpp
Examining data/stellarium-0.20.3/src/core/modules/SpecialMarkersMgr.hpp
Examining data/stellarium-0.20.3/src/core/modules/Planet.hpp
Examining data/stellarium-0.20.3/src/core/modules/NomenclatureMgr.hpp
Examining data/stellarium-0.20.3/src/core/modules/Orbit.cpp
Examining data/stellarium-0.20.3/src/core/modules/Meteor.cpp
Examining data/stellarium-0.20.3/src/core/modules/Atmosphere.cpp
Examining data/stellarium-0.20.3/src/core/modules/HipsMgr.cpp
Examining data/stellarium-0.20.3/src/core/modules/ZoneArray.hpp
Examining data/stellarium-0.20.3/src/core/modules/MarkerMgr.hpp
Examining data/stellarium-0.20.3/src/core/modules/HighlightMgr.hpp
Examining data/stellarium-0.20.3/src/core/modules/LabelMgr.cpp
Examining data/stellarium-0.20.3/src/core/modules/StarMgr.hpp
Examining data/stellarium-0.20.3/src/core/modules/SolarSystem.hpp
Examining data/stellarium-0.20.3/src/core/modules/ToastMgr.cpp
Examining data/stellarium-0.20.3/src/core/modules/ZoneData.hpp
Examining data/stellarium-0.20.3/src/core/modules/SporadicMeteor.cpp
Examining data/stellarium-0.20.3/src/core/modules/CustomObjectMgr.cpp
Examining data/stellarium-0.20.3/src/core/modules/Star.cpp
Examining data/stellarium-0.20.3/src/core/modules/NomenclatureMgr.cpp
Examining data/stellarium-0.20.3/src/core/modules/SolarSystem.cpp
Examining data/stellarium-0.20.3/src/core/modules/CustomObject.cpp
Examining data/stellarium-0.20.3/src/core/StelModuleMgr.cpp
Examining data/stellarium-0.20.3/src/core/StelAudioMgr.hpp
Examining data/stellarium-0.20.3/src/core/MultiLevelJsonBase.cpp
Examining data/stellarium-0.20.3/src/core/StelObserver.hpp
Examining data/stellarium-0.20.3/src/core/StelViewportEffect.hpp
Examining data/stellarium-0.20.3/src/core/StelToneReproducer.cpp
Examining data/stellarium-0.20.3/src/core/StelTexture.hpp
Examining data/stellarium-0.20.3/src/core/MultiLevelJsonBase.hpp
Examining data/stellarium-0.20.3/src/core/StelMovementMgr.hpp
Examining data/stellarium-0.20.3/src/core/VecMath.cpp
Examining data/stellarium-0.20.3/src/core/StelOBJ.cpp
Examining data/stellarium-0.20.3/src/core/StelUtils.hpp
Examining data/stellarium-0.20.3/src/core/StelSkyLayerMgr.cpp
Examining data/stellarium-0.20.3/src/core/StelObserver.cpp
Examining data/stellarium-0.20.3/src/core/StelLocationMgr_p.hpp
Examining data/stellarium-0.20.3/src/core/StelProjectorType.hpp
Examining data/stellarium-0.20.3/src/core/StelSkyImageTile.cpp
Examining data/stellarium-0.20.3/src/core/TrailGroup.cpp
Examining data/stellarium-0.20.3/src/core/StelAudioMgr.cpp
Examining data/stellarium-0.20.3/src/core/StelPropertyMgr.hpp
Examining data/stellarium-0.20.3/src/core/StelToastGrid.hpp
Examining data/stellarium-0.20.3/src/core/StelObjectModule.cpp
Examining data/stellarium-0.20.3/src/core/StelOBJ.hpp
Examining data/stellarium-0.20.3/src/core/StelSkyDrawer.hpp
Examining data/stellarium-0.20.3/src/core/StelOpenGL.hpp
Examining data/stellarium-0.20.3/src/core/StelViewportEffect.cpp
Examining data/stellarium-0.20.3/src/core/StelLocation.hpp
Examining data/stellarium-0.20.3/src/core/SaturationShader.hpp
Examining data/stellarium-0.20.3/src/core/StelOpenGL.cpp
Examining data/stellarium-0.20.3/src/core/StelSkyImageTile.hpp
Examining data/stellarium-0.20.3/src/core/StelFileMgr.cpp
Examining data/stellarium-0.20.3/src/core/StelTexture.cpp
Examining data/stellarium-0.20.3/src/core/StelTranslator.hpp
Examining data/stellarium-0.20.3/src/core/StelLocationMgr.hpp
Examining data/stellarium-0.20.3/src/core/Dithering.hpp
Examining data/stellarium-0.20.3/src/core/StelSphericalIndex.hpp
Examining data/stellarium-0.20.3/src/core/StelToneReproducer.hpp
Examining data/stellarium-0.20.3/src/core/StelSkyLayer.hpp
Examining data/stellarium-0.20.3/src/core/TrailGroup.hpp
Examining data/stellarium-0.20.3/src/translations.h
Examining data/stellarium-0.20.3/src/tests/testStelIniParser.cpp
Examining data/stellarium-0.20.3/src/tests/testComputations.cpp
Examining data/stellarium-0.20.3/src/tests/testJavaScripting.hpp
Examining data/stellarium-0.20.3/src/tests/testStelVertexArray.cpp
Examining data/stellarium-0.20.3/src/tests/testEphemeris.cpp
Examining data/stellarium-0.20.3/src/tests/testPrecession.cpp
Examining data/stellarium-0.20.3/src/tests/testDeltaT.cpp
Examining data/stellarium-0.20.3/src/tests/testStelSphericalIndex.cpp
Examining data/stellarium-0.20.3/src/tests/testStelSphericalIndex.hpp
Examining data/stellarium-0.20.3/src/tests/testStelVertexArray.hpp
Examining data/stellarium-0.20.3/src/tests/testStelSkyCultureMgr.hpp
Examining data/stellarium-0.20.3/src/tests/testComparisons.cpp
Examining data/stellarium-0.20.3/src/tests/testVecMath.hpp
Examining data/stellarium-0.20.3/src/tests/testStelIniParser.hpp
Examining data/stellarium-0.20.3/src/tests/testConversions.hpp
Examining data/stellarium-0.20.3/src/tests/testJavaScripting.cpp
Examining data/stellarium-0.20.3/src/tests/testRefraction.hpp
Examining data/stellarium-0.20.3/src/tests/testStelFileMgr.hpp
Examining data/stellarium-0.20.3/src/tests/testGeomMath.cpp
Examining data/stellarium-0.20.3/src/tests/testVecMath.cpp
Examining data/stellarium-0.20.3/src/tests/testAirmass.cpp
Examining data/stellarium-0.20.3/src/tests/testDeltaT.hpp
Examining data/stellarium-0.20.3/src/tests/testSiderealTime.cpp
Examining data/stellarium-0.20.3/src/tests/testPrecession.hpp
Examining data/stellarium-0.20.3/src/tests/testAirmass.hpp
Examining data/stellarium-0.20.3/src/tests/testStelJsonParser.cpp
Examining data/stellarium-0.20.3/src/tests/testExtinction.hpp
Examining data/stellarium-0.20.3/src/tests/testStelSkyCultureMgr.cpp
Examining data/stellarium-0.20.3/src/tests/testEphemeris.hpp
Examining data/stellarium-0.20.3/src/tests/testStelProjector.hpp
Examining data/stellarium-0.20.3/src/tests/testConversions.cpp
Examining data/stellarium-0.20.3/src/tests/testStelProjector.cpp
Examining data/stellarium-0.20.3/src/tests/testSiderealTime.hpp
Examining data/stellarium-0.20.3/src/tests/testStelSphereGeometry.cpp
Examining data/stellarium-0.20.3/src/tests/testExtinction.cpp
Examining data/stellarium-0.20.3/src/tests/testComputations.hpp
Examining data/stellarium-0.20.3/src/tests/testDates.cpp
Examining data/stellarium-0.20.3/src/tests/testDates.hpp
Examining data/stellarium-0.20.3/src/tests/testGeomMath.hpp
Examining data/stellarium-0.20.3/src/tests/testStelJsonParser.hpp
Examining data/stellarium-0.20.3/src/tests/testRefraction.cpp
Examining data/stellarium-0.20.3/src/tests/testStelSphereGeometry.hpp
Examining data/stellarium-0.20.3/src/tests/testStelFileMgr.cpp
Examining data/stellarium-0.20.3/src/tests/testComparisons.hpp
Examining data/stellarium-0.20.3/src/translations_countries.h
Examining data/stellarium-0.20.3/src/CLIProcessor.hpp
Examining data/stellarium-0.20.3/util/ConvertCatToNative.C
Examining data/stellarium-0.20.3/util/ParseHip.C
Examining data/stellarium-0.20.3/util/MakeCombinedCatalogue.v3.C
Examining data/stellarium-0.20.3/util/ParseHip.v4.C
Examining data/stellarium-0.20.3/util/MakeCombinedCatalogue.v2.C
Examining data/stellarium-0.20.3/util/toastForShape/main.cpp
Examining data/stellarium-0.20.3/util/MakeCombinedCatalogue.C
Examining data/stellarium-0.20.3/util/locations-editor/LocationListModel.hpp
Examining data/stellarium-0.20.3/util/locations-editor/LocationListModel.cpp
Examining data/stellarium-0.20.3/util/locations-editor/main.cpp
Examining data/stellarium-0.20.3/util/locations-editor/Location.cpp
Examining data/stellarium-0.20.3/util/locations-editor/Location.hpp
Examining data/stellarium-0.20.3/util/locations-editor/LocationListEditor.hpp
Examining data/stellarium-0.20.3/util/locations-editor/LocationListEditor.cpp
Examining data/stellarium-0.20.3/util/ParseNomad.C
Examining data/stellarium-0.20.3/util/ParseHip.v5.C
Examining data/stellarium-0.20.3/util/ParseHip.v2.C

FINAL RESULTS:

data/stellarium-0.20.3/src/core/StelTranslator.cpp:87:28:  [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.
	systemLangName = QLocale::system().name();
data/stellarium-0.20.3/src/external/libindi/indidevapi.h:137:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format(printf, 2, 3)))
data/stellarium-0.20.3/src/external/libindi/indidevapi.h:147:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format(printf, 2, 3)))
data/stellarium-0.20.3/src/external/libindi/indidevapi.h:157:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format(printf, 2, 3)))
data/stellarium-0.20.3/src/external/libindi/indidevapi.h:167:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format(printf, 2, 3)))
data/stellarium-0.20.3/src/external/libindi/indidevapi.h:177:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format(printf, 2, 3)))
data/stellarium-0.20.3/src/external/libindi/indidevapi.h:194:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format(printf, 2, 3)))
data/stellarium-0.20.3/src/external/libindi/indidevapi.h:204:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format(printf, 2, 3)))
data/stellarium-0.20.3/src/external/libindi/indidevapi.h:214:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format(printf, 2, 3)))
data/stellarium-0.20.3/src/external/libindi/indidevapi.h:224:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format(printf, 2, 3)))
data/stellarium-0.20.3/src/external/libindi/indidevapi.h:234:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format(printf, 2, 3)))
data/stellarium-0.20.3/src/external/libindi/indidevapi.h:254:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format(printf, 2, 3)))
data/stellarium-0.20.3/src/external/libindi/indidevapi.h:266:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format(printf, 3, 4)))
data/stellarium-0.20.3/src/external/libindi/indidevapi.h:278:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format(printf, 1, 2)))
data/stellarium-0.20.3/src/external/libindi/indidriver.c:127:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(message, MAXINDIMESSAGE, fmt, ap);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1219:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(msg, "Unknown command: %s", rtag);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1296:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access(configDefaultFileName, F_OK))
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1388:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(message, MAXINDIMESSAGE, fmt, ap);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1574:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(message, MAXINDIMESSAGE, fmt, ap);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1599:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(SC->propName, tvp->name);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1600:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(SC->devName, tvp->device);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1638:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(message, MAXINDIMESSAGE, fmt, ap);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1669:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(SC->propName, n->name);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1670:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(SC->devName, n->device);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1709:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(message, MAXINDIMESSAGE, fmt, ap);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1734:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(SC->propName, s->name);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1735:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(SC->devName, s->device);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1768:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(message, MAXINDIMESSAGE, fmt, ap);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1815:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(message, MAXINDIMESSAGE, fmt, ap);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1839:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(SC->propName, b->name);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1840:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(SC->devName, b->device);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1873:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(message, MAXINDIMESSAGE, fmt, ap);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1915:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(message, MAXINDIMESSAGE, fmt, ap);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1957:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(message, MAXINDIMESSAGE, fmt, ap);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1997:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(message, MAXINDIMESSAGE, fmt, ap);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:2037:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(fmt, ap);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:226:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(logname, 128, LOGNAME, getlogin());
data/stellarium-0.20.3/src/external/libindi/indiserver.c:226:37:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
    snprintf(logname, 128, LOGNAME, getlogin());
data/stellarium-0.20.3/src/external/libindi/indiserver.c:551:13:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            execlp(executable, dp->name, NULL);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:560:17:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                execlp(executable, dp->name, NULL);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:564:17:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                execlp(dp->name, dp->name, NULL);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:660:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "<getProperties device='%s' version='%g'/>\n", dp->dev[0], INDIV);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:962:17:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
            n = sscanf(line, "%s %512[^\n]", cmd, tDriver);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:979:17:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
            n = sscanf(line, "%s %s -%1c \"%512[^\"]\" -%1c \"%512[^\"]\" -%1c \"%512[^\"]\" -%1c \"%512[^\"]\"", cmd,
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1851:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(mp->cp, str);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:2175:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(logfn, "%s/%.10s.islog", ldir, ts);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.cpp:53:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf _snprintf
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.cpp:53:19:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf _snprintf
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.cpp:1028:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(message, MAXRBUF, fmt, ap);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclientqt.cpp:36:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclientqt.cpp:36:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclientqt.cpp:806:8:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#undef snprintf
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:34:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:34:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:1407:8:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#undef snprintf
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_libusb.c:58:18:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define LOG(...) fprintf(stderr, __VA_ARGS__)
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_mac.c:318:5:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
    wcscpy(ret, s);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.cpp:408:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(msg, 257, message, ap);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:74:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:74:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:282:17:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        return (snprintf(buf, MAXINDIFORMAT, format, value));
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:295:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, fmt, ap);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1298:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(msg, "%s requires 'device' attribute", tagXMLEle(root));
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1306:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(msg, "%s requires 'name' attribute", tagXMLEle(root));
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1427:16:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    tp->text = strcpy(realloc(tp->text, strlen(newtext) + 1), newtext);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1487:8:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#undef snprintf
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:39:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:39:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:741:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sl += sprintf(s + sl, "%*s<%s", indent, "", ep->tag.s);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:743:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sl += sprintf(s + sl, " %s=\"%s\"", ep->at[i]->name.s, entityXML(ep->at[i]->valu.s));
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:755:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sl += sprintf(s + sl, "%s", entityXML(ep->pcdata.s));
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:758:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(s + sl, ep->pcdata.s);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:765:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sl += sprintf(s + sl, "%*s</%s>\n", indent, "", ep->tag.s);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:993:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(ynot, "Line %d: No value for attribute %s", lp->ln, lp->ce->at[lp->ce->nat - 1]->name.s);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:1115:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(ynot, "Line %d: closing tag %s does not match %s", lp->ln, lp->endtag.s, lp->ce->tag.s);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:1263:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(&sp->s[sp->sl], str);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:1338:8:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#undef snprintf
data/stellarium-0.20.3/src/external/qxlsx/xlsxcolor.cpp:144:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    color.sprintf("%02X%02X%02X%02X", c.alpha(), c.red(), c.green(), c.blue());
data/stellarium-0.20.3/src/external/zlib/gzguts.h:92:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#    if !defined(vsnprintf) && !defined(NO_vsnprintf)
data/stellarium-0.20.3/src/external/zlib/gzguts.h:94:18:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#         define vsnprintf _vsnprintf
data/stellarium-0.20.3/src/external/zlib/gzguts.h:116:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define snprintf _snprintf
data/stellarium-0.20.3/src/external/zlib/gzguts.h:116:20:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define snprintf _snprintf
data/stellarium-0.20.3/src/external/zlib/gzlib.c:216:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(state->path, path);
data/stellarium-0.20.3/src/external/zlib/gzlib.c:614:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(state->msg, state->path);
data/stellarium-0.20.3/src/external/zlib/gzlib.c:616:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(state->msg, msg);
data/stellarium-0.20.3/src/external/zlib/gzwrite.c:417:11:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    (void)vsprintf(next, format, va);
data/stellarium-0.20.3/src/external/zlib/gzwrite.c:421:11:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    len = vsprintf(next, format, va);
data/stellarium-0.20.3/src/external/zlib/gzwrite.c:425:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    (void)vsnprintf(next, state->size, format, va);
data/stellarium-0.20.3/src/external/zlib/gzwrite.c:428:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = vsnprintf(next, state->size, format, va);
data/stellarium-0.20.3/src/external/zlib/gzwrite.c:511:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(next, format, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12,
data/stellarium-0.20.3/src/external/zlib/gzwrite.c:517:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    len = sprintf(next, format, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11,
data/stellarium-0.20.3/src/external/zlib/gzwrite.c:522:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(next, state->size, format, a1, a2, a3, a4, a5, a6, a7, a8, a9,
data/stellarium-0.20.3/src/external/zlib/gzwrite.c:526:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = snprintf(next, state->size, format, a1, a2, a3, a4, a5, a6, a7, a8,
data/stellarium-0.20.3/src/external/zlib/zutil.h:242:39:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Trace(x) {if (z_verbose>=0) fprintf x ;}
data/stellarium-0.20.3/src/external/zlib/zutil.h:243:39:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracev(x) {if (z_verbose>0) fprintf x ;}
data/stellarium-0.20.3/src/external/zlib/zutil.h:244:40:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracevv(x) {if (z_verbose>1) fprintf x ;}
data/stellarium-0.20.3/src/external/zlib/zutil.h:245:48:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;}
data/stellarium-0.20.3/src/external/zlib/zutil.h:246:49:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;}
data/stellarium-0.20.3/src/gui/ConfigurationDialog.cpp:1877: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 (const auto& system : writingSystems)
data/stellarium-0.20.3/src/gui/ConfigurationDialog.cpp:1879: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.
			combo->addItem(QFontDatabase::writingSystemName(system) + "  " + QFontDatabase::writingSystemSample(system), system);
data/stellarium-0.20.3/src/gui/ConfigurationDialog.cpp:1879:104:  [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.
			combo->addItem(QFontDatabase::writingSystemName(system) + "  " + QFontDatabase::writingSystemSample(system), system);
data/stellarium-0.20.3/src/gui/ConfigurationDialog.cpp:1879:113:  [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.
			combo->addItem(QFontDatabase::writingSystemName(system) + "  " + QFontDatabase::writingSystemSample(system), system);
data/stellarium-0.20.3/src/gui/StelScriptSyntaxHighlighter.cpp:40:26:  [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.
			metaObject->method(i).access() == QMetaMethod::Public )
data/stellarium-0.20.3/util/MakeCombinedCatalogue.C:1551:14:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  while (14==fscanf(f,"%d%d%d%d%s%d%lf%lf%lf%lf%lf%d%d%s",
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v2.C:1552:14:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  while (14==fscanf(f,"%d%d%d%d%s%d%lf%lf%lf%lf%lf%d%d%s",
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v3.C:1552:14:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  while (14==fscanf(f,"%d%d%d%d%s%d%lf%lf%lf%lf%lf%d%d%s",
data/stellarium-0.20.3/src/core/StelApp.cpp:328:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		httpProxyEnv = std::getenv("http_proxy");
data/stellarium-0.20.3/src/core/StelApp.cpp:331:24:  [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.
			httpProxyEnv = std::getenv("HTTP_PROXY");
data/stellarium-0.20.3/src/external/glues_stel/source/libtess/geom.c:205:13:  [3] (random) drand48:
  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.
      a=1.2*drand48()-0.1f;
data/stellarium-0.20.3/src/external/glues_stel/source/libtess/normal.c:190:36:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define S_UNIT_X (RandomSweep ? (2*drand48()-1) : 1.0f)
data/stellarium-0.20.3/src/external/glues_stel/source/libtess/normal.c:191:36:  [3] (random) drand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define S_UNIT_Y (RandomSweep ? (2*drand48()-1) : 0.0f)
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1282:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if (getenv("INDICONFIG"))
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1283:37:  [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.
            strncpy(configFileName, getenv("INDICONFIG"), MAXRBUF);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1285:73:  [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.
            snprintf(configFileName, MAXRBUF, "%s/.indi/%s_config.xml", getenv("HOME"), dev);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1290:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    else if (getenv("INDICONFIG"))
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1291:64:  [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.
        snprintf(configDefaultFileName, MAXRBUF, "%s.default", getenv("INDICONFIG"));
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1293:84:  [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.
        snprintf(configDefaultFileName, MAXRBUF, "%s/.indi/%s_config.xml.default", getenv("HOME"), dev);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1405:47:  [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.
    snprintf(configDir, MAXRBUF, "%s/.indi/", getenv("HOME"));
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1411:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if (getenv("INDICONFIG"))
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1412:37:  [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.
            strncpy(configFileName, getenv("INDICONFIG"), MAXRBUF);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:53:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("INDIDEV") != nullptr)
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:55:27:  [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.
        strncpy(deviceID, getenv("INDIDEV"), MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:463:28:  [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 *indiskel = getenv("INDISKEL");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:483: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 *indiprefix = getenv("INDIPREFIX");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:305:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv("INDICONFIG"))
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:306:64:  [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.
        snprintf(configDefaultFileName, MAXRBUF, "%s.default", getenv("INDICONFIG"));
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:308:84:  [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.
        snprintf(configDefaultFileName, MAXRBUF, "%s/.indi/%s_config.xml.default", getenv("HOME"), deviceID);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:679:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            char *envDev = getenv("INDIDEV");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:786:54:  [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.
            IUSaveText(&UploadSettingsT[UPLOAD_DIR], getenv("HOME"));
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:378:54:  [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.
            IUSaveText(&UploadSettingsT[UPLOAD_DIR], getenv("HOME"));
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.cpp:329:55:  [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.
        snprintf(dir, MAXRBUF, "%s/.indi/logs/%s/%s", getenv("HOME"), ts_date, outputFile.c_str());
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:2562:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char *HomeDir = getenv("HOME");
data/stellarium-0.20.3/plugins/Exoplanets/src/Exoplanets.cpp:522:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!jsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Exoplanets/src/Exoplanets.cpp:604:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!jsonEPCatalogFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Exoplanets/src/Exoplanets.cpp:633:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!jsonEPCatalogFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Exoplanets/src/Exoplanets.cpp:975:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (jsonFile.open(QIODevice::WriteOnly | QIODevice::Text))
data/stellarium-0.20.3/plugins/MeteorShowers/src/MeteorShowersMgr.cpp:207:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!jsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/MeteorShowers/src/MeteorShowersMgr.cpp:400:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (!newCatalog.open(QIODevice::ReadWrite | QIODevice::Text))
data/stellarium-0.20.3/plugins/Novae/src/Novae.cpp:422:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!jsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Novae/src/Novae.cpp:467:21:  [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 (!novaeJsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Novae/src/Novae.cpp:495:21:  [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 (!novaeJsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Novae/src/Novae.cpp:690:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (jsonFile.open(QIODevice::WriteOnly | QIODevice::Text))
data/stellarium-0.20.3/plugins/Novae/src/Novae.cpp:741:21:  [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 (!novaeJsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Oculus/src/Oculus.cpp:92: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(mat, ret, sizeof(ret));
data/stellarium-0.20.3/plugins/Pulsars/src/Pulsars.cpp:474:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!jsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Pulsars/src/Pulsars.cpp:517: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).
	if (!jsonPSRCatalogFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Pulsars/src/Pulsars.cpp:545: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).
	if (!jsonPSRCatalogFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Pulsars/src/Pulsars.cpp:764:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (jsonFile.open(QIODevice::WriteOnly | QIODevice::Text))
data/stellarium-0.20.3/plugins/Quasars/src/Quasars.cpp:438:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!jsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Quasars/src/Quasars.cpp:481:23:  [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 (!catalogJsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Quasars/src/Quasars.cpp:509:23:  [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 (!catalogJsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Quasars/src/Quasars.cpp:718:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (jsonFile.open(QIODevice::WriteOnly | QIODevice::Text))
data/stellarium-0.20.3/plugins/RemoteControl/include/RemoteControlServiceInterface.hpp:133:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if(file.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/RemoteControl/src/RequestHandler.cpp:257:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(transFileList.open(QFile::ReadOnly))
data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httpconnectionhandlerpool.cpp:109:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            if (!certFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httpconnectionhandlerpool.cpp:119: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).
            if (!keyFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httprequest.cpp:171:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			tempFile.open();
data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httprequest.cpp:499:21:  [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).
						uploadedFile->open();
data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/staticfilecontroller.cpp:78:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if (file.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/templateengine/template.cpp:21:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (file.open(QFile::ReadOnly | QFile::Text))
data/stellarium-0.20.3/plugins/Satellites/src/Satellites.cpp:811:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!satelliteJsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Satellites/src/Satellites.cpp:858:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!jsonFile.open(QIODevice::WriteOnly))
data/stellarium-0.20.3/plugins/Satellites/src/Satellites.cpp:879:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!jsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Satellites/src/Satellites.cpp:1521:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (tmpFile->open(QIODevice::WriteOnly | QIODevice::Text))
data/stellarium-0.20.3/plugins/Satellites/src/Satellites.cpp:1528:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				if (zip.open())
data/stellarium-0.20.3/plugins/Satellites/src/Satellites.cpp:1605:30:  [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 (updateSources[i].file->open(QFile::ReadOnly|QFile::Text))
data/stellarium-0.20.3/plugins/Satellites/src/Satellites.cpp:1662:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (tleFile.open(QIODevice::ReadOnly|QIODevice::Text))
data/stellarium-0.20.3/plugins/Satellites/src/Satellites.cpp:1927:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (qsmFile.open(QFile::ReadOnly))
data/stellarium-0.20.3/plugins/Satellites/src/Satellites.cpp:1942:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (rcsFile.open(QFile::ReadOnly))
data/stellarium-0.20.3/plugins/Satellites/src/Satellites.cpp:2042:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!jsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4ext.cpp:310:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char typeorbit[3];
data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4ext.cpp:352:8:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		std::strcpy(typeorbit,"ei"); // elliptical, parabolic, hyperbolic inclined
data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4ext.cpp:356:10:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
				std::strcpy(typeorbit,"ce"); // circular equatorial
data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4ext.cpp:358:10:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
				std::strcpy(typeorbit,"ci"); // circular inclined
data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4ext.cpp:363:10:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
				std::strcpy(typeorbit,"ee"); // elliptical, parabolic, hyperbolic equatorial
data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4io.cpp:76:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char      longstr1[130], char longstr2[130],
data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4io.cpp:76:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char      longstr1[130], char longstr2[130],
data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4io.cpp:89:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
       char classification, intldesg[11];
data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4io.h:36:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void twoline2rv(char longstr1[130], char longstr2[130], char typerun, char typeinput, char opsmode,
data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4io.h:36:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void twoline2rv(char longstr1[130], char longstr2[130], char typerun, char typeinput, char opsmode,
data/stellarium-0.20.3/plugins/Satellites/src/gui/SatellitesDialog.cpp:1442:31:  [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 (!predictedIridiumFlares.open(QFile::WriteOnly | QFile::Truncate))
data/stellarium-0.20.3/plugins/Satellites/src/gui/SatellitesImportDialog.cpp:222:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (tmpFile->open())
data/stellarium-0.20.3/plugins/Satellites/src/gui/SatellitesImportDialog.cpp:344:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			open = tempFile->open();
data/stellarium-0.20.3/plugins/Satellites/src/gui/SatellitesImportDialog.cpp:346:27:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			open = sourceFiles[f]->open(QFile::ReadOnly);
data/stellarium-0.20.3/plugins/Satellites/src/gui/SatellitesImportDialog.cpp:347:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (open)
data/stellarium-0.20.3/plugins/Scenery3d/src/SceneInfo.cpp:308:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(f.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Scenery3d/src/SceneInfo.cpp:520:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (!qfile.open(QIODevice::WriteOnly))
data/stellarium-0.20.3/plugins/Scenery3d/src/ShaderManager.cpp:296:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(!file.open(QFile::ReadOnly))
data/stellarium-0.20.3/plugins/SolarSystemEditor/src/SolarSystemEditor.cpp:880:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (mpcElementsFile.open(QFile::ReadOnly | QFile::Text ))//| QFile::Unbuffered
data/stellarium-0.20.3/plugins/SolarSystemEditor/src/SolarSystemEditor.cpp:932:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (mpcElementsFile.open(QFile::ReadOnly | QFile::Text ))//| QFile::Unbuffered
data/stellarium-0.20.3/plugins/SolarSystemEditor/src/SolarSystemEditor.cpp:1026:34:  [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(solarSystemConfigurationFile.open(QFile::WriteOnly | QFile::Append | QFile::Text))
data/stellarium-0.20.3/plugins/SolarSystemEditor/src/gui/MpcImportWindow.cpp:647:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (file.open())
data/stellarium-0.20.3/plugins/SolarSystemEditor/src/gui/MpcImportWindow.cpp:859:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (file.open())
data/stellarium-0.20.3/plugins/SolarSystemEditor/src/gui/MpcImportWindow.cpp:984:21:  [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 (bookmarksFile.open(QFile::ReadOnly | QFile::Text))
data/stellarium-0.20.3/plugins/SolarSystemEditor/src/gui/MpcImportWindow.cpp:1086:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			if (bookmarksFile.open(QFile::ReadOnly | QFile::Text))
data/stellarium-0.20.3/plugins/SolarSystemEditor/src/gui/MpcImportWindow.cpp:1094:21:  [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 (bookmarksFile.open(QFile::WriteOnly | QFile::Truncate | QFile::Text))
data/stellarium-0.20.3/plugins/Supernovae/src/Supernovae.cpp:381:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!jsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Supernovae/src/Supernovae.cpp:426:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!sneJsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Supernovae/src/Supernovae.cpp:455:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!sneJsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Supernovae/src/Supernovae.cpp:480:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!sneJsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/plugins/Supernovae/src/Supernovae.cpp:679:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (jsonFile.open(QIODevice::WriteOnly | QIODevice::Text))
data/stellarium-0.20.3/plugins/TelescopeControl/src/TelescopeClient.hpp:215:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char readBuffer[120];
data/stellarium-0.20.3/plugins/TelescopeControl/src/TelescopeClient.hpp:217:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char writeBuffer[120];
data/stellarium-0.20.3/plugins/TelescopeControl/src/TelescopeControl.cpp:678:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(!telescopesJsonFile.open(QFile::WriteOnly|QFile::Text))
data/stellarium-0.20.3/plugins/TelescopeControl/src/TelescopeControl.cpp:714:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(!telescopesJsonFile.open(QFile::ReadOnly))
data/stellarium-0.20.3/plugins/TelescopeControl/src/TelescopeControl.cpp:1461:28:  [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(!deviceModelsJsonFile.open(QFile::ReadOnly))
data/stellarium-0.20.3/plugins/TelescopeControl/src/TelescopeControl.cpp:1504: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).
	if(deviceModelsJsonFile.open(QFile::ReadOnly))
data/stellarium-0.20.3/plugins/TelescopeControl/src/TelescopeControl.cpp:1689: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 (!logFile->open(QFile::WriteOnly|QFile::Text|QFile::Truncate|QFile::Unbuffered))
data/stellarium-0.20.3/plugins/TelescopeControl/src/common/Connection.hpp:64:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char read_buff[120];
data/stellarium-0.20.3/plugins/TelescopeControl/src/common/Connection.hpp:66:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char write_buff[120];
data/stellarium-0.20.3/plugins/TelescopeControl/src/common/SerialPort.cpp:99:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(serial_device, O_RDWR|O_NOCTTY);
data/stellarium-0.20.3/plugins/TelescopeControl/src/gui/SlewDialog.cpp:372:21:  [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(!pointsJsonFile.open(QFile::WriteOnly|QFile::Text))
data/stellarium-0.20.3/plugins/TelescopeControl/src/gui/SlewDialog.cpp:423:21:  [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(!pointsJsonFile.open(QFile::ReadOnly))
data/stellarium-0.20.3/src/StelLogger.cpp:38:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (logFile.open(QIODevice::WriteOnly | QIODevice::Truncate | QIODevice::Text | QIODevice::Unbuffered))
data/stellarium-0.20.3/src/StelLogger.cpp:82:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(!infoFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/StelLogger.cpp:97:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!infoFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/StelLogger.cpp:184:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char nameStr[512];
data/stellarium-0.20.3/src/core/MultiLevelJsonBase.cpp:82:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		buf.open(QIODevice::ReadOnly);
data/stellarium-0.20.3/src/core/MultiLevelJsonBase.cpp:135:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if(f.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/core/MultiLevelJsonBase.cpp:267:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		buf.open(QIODevice::ReadOnly);
data/stellarium-0.20.3/src/core/SpoutSender.cpp:39:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char gpuName[256]; // 256 chars min required by Spout specs!
data/stellarium-0.20.3/src/core/SpoutSender.hpp:52:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[256];
data/stellarium-0.20.3/src/core/StelCore.cpp:2593:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (!file.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/StelFileMgr.cpp:532:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		TCHAR tpath[MAX_PATH];
data/stellarium-0.20.3/src/core/StelLocaleMgr.cpp:54:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(file.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/core/StelLocaleMgr.cpp:82:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(textFile.open(QFile::ReadOnly | QFile::Text))
data/stellarium-0.20.3/src/core/StelLocaleMgr.cpp:110:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(binaryFile.open(QIODevice::WriteOnly))
data/stellarium-0.20.3/src/core/StelLocationMgr.cpp:302:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (serial->open(QIODevice::ReadOnly)) // may fail when line used by other program!
data/stellarium-0.20.3/src/core/StelLocationMgr.cpp:514:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(binfile.open(QIODevice::WriteOnly))
data/stellarium-0.20.3/src/core/StelLocationMgr.cpp:533:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!sourcefile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/core/StelLocationMgr.cpp:602:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!sourcefile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/StelLocationMgr.cpp:764:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!sourcefile.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append))
data/stellarium-0.20.3/src/core/StelLocationMgr.cpp:822:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!sourcefile.open(QIODevice::WriteOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/StelOBJ.cpp:63:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(!file.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/core/StelOBJ.cpp:87:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		buf.open(QIODevice::ReadOnly);
data/stellarium-0.20.3/src/core/StelOBJ.cpp:421:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(!file.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/core/StelSkyCultureMgr.cpp:273:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if(f.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/core/StelSkyCultureMgr.cpp:293:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (!refFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/StelSkyDrawer.cpp:129: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(elem, texElems, 12);
data/stellarium-0.20.3/src/core/StelSkyDrawer.cpp:446: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 starColor[3] = {0, 0, 0};
data/stellarium-0.20.3/src/core/StelSkyDrawer.cpp:453:44:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	vx->pos.set(win[0]-radius,win[1]-radius); memcpy(vx->color, starColor, 3); ++vx;
data/stellarium-0.20.3/src/core/StelSkyDrawer.cpp:454:44:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	vx->pos.set(win[0]+radius,win[1]-radius); memcpy(vx->color, starColor, 3); ++vx;
data/stellarium-0.20.3/src/core/StelSkyDrawer.cpp:455:44:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	vx->pos.set(win[0]+radius,win[1]+radius); memcpy(vx->color, starColor, 3); ++vx;
data/stellarium-0.20.3/src/core/StelSkyDrawer.cpp:456:44:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	vx->pos.set(win[0]-radius,win[1]-radius); memcpy(vx->color, starColor, 3); ++vx;
data/stellarium-0.20.3/src/core/StelSkyDrawer.cpp:457:44:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	vx->pos.set(win[0]+radius,win[1]+radius); memcpy(vx->color, starColor, 3); ++vx;
data/stellarium-0.20.3/src/core/StelSkyDrawer.cpp:458:44:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	vx->pos.set(win[0]-radius,win[1]+radius); memcpy(vx->color, starColor, 3); ++vx;
data/stellarium-0.20.3/src/core/StelSkyDrawer.cpp:845:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char entry[256];
data/stellarium-0.20.3/src/core/StelSkyDrawer.cpp:846:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(entry,"bv_color_%+5.2f",bV);
data/stellarium-0.20.3/src/core/StelSkyDrawer.hpp:478:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char color[4];
data/stellarium-0.20.3/src/core/StelSphereGeometry.cpp:82:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	buf1.open(QIODevice::WriteOnly);
data/stellarium-0.20.3/src/core/StelSphereGeometry.cpp:1136:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	buf.open(QIODevice::ReadOnly);
data/stellarium-0.20.3/src/core/StelTranslator.cpp:177:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!inf.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/core/StelUtils.cpp:2316:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	buf.open(QIODevice::ReadOnly);
data/stellarium-0.20.3/src/core/StelViewportEffect.cpp:183:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			if(file.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/core/VecMath.hpp:1076: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,m,sizeof(T)*9);
data/stellarium-0.20.3/src/core/VecMath.hpp:1289: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,m,sizeof(T)*16);
data/stellarium-0.20.3/src/core/modules/AsterismMgr.cpp:231:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!in.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/AsterismMgr.cpp:401:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!commonNameFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/ConstellationMgr.cpp:436:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!in.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/ConstellationMgr.cpp:501:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!fic.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/ConstellationMgr.cpp:736:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!commonNameFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/ConstellationMgr.cpp:841:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!seasonalRulesFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/ConstellationMgr.cpp:1287:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!dataFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/Landscape.cpp:168:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!file.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/Landscape.cpp:297:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(file.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/LandscapeMgr.cpp:1233:23:  [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 (tempLandscapeIni.open())
data/stellarium-0.20.3/src/core/modules/LandscapeMgr.cpp:1268:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			if (out.open(QIODevice::WriteOnly))
data/stellarium-0.20.3/src/core/modules/LandscapeMgr.cpp:1460:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if(file.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/NebulaMgr.cpp:1097:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!dsoIn.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/NebulaMgr.cpp:1101:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!dsoOut.open(QIODevice::WriteOnly))
data/stellarium-0.20.3/src/core/modules/NebulaMgr.cpp:1351:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!in.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/core/modules/NebulaMgr.cpp:1403:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!dsoNameFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/NebulaMgr.cpp:1567:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!dsoOutlineFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/NebulaMgr.cpp:1672:21:  [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 (!dsoNamesFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/NomenclatureMgr.cpp:119:28:  [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 (!planetSurfNamesFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/core/modules/NomenclatureMgr.cpp:134:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		buf.open(QIODevice::ReadOnly);
data/stellarium-0.20.3/src/core/modules/Planet.cpp:2265:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(!vFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/Planet.cpp:2273:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(!fFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/SolarSystem.cpp:367:23:  [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 (!planetNamesFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/StarMgr.cpp:100:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (f.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/StarMgr.cpp:413:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(fic.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/core/modules/StarMgr.cpp:426:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if(fic2.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/core/modules/StarMgr.cpp:520:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if(file.open(QIODevice::ReadOnly | QIODevice::Unbuffered))
data/stellarium-0.20.3/src/core/modules/StarMgr.cpp:590:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if(tmp.open(QIODevice::WriteOnly))
data/stellarium-0.20.3/src/core/modules/StarMgr.cpp:709:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!cnFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/StarMgr.cpp:818:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!snFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/StarMgr.cpp:894:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!vsFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/StarMgr.cpp:969:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!dsFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/StarMgr.cpp:1030:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!ciFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/StarMgr.cpp:1100:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!ciFile.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/core/modules/ZoneArray.cpp:97:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!file->open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/core/planetsephems/de430.cpp:43:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char nams[JPL_MAX_N_CONSTANTS][6];
data/stellarium-0.20.3/src/core/planetsephems/de431.cpp:44:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char nams[JPL_MAX_N_CONSTANTS][6];
data/stellarium-0.20.3/src/core/planetsephems/elp82b.c:162698: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(accu,elp82b_constants,sizeof(elp82b_constants));
data/stellarium-0.20.3/src/core/planetsephems/jpleph.cpp:752:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char title[84];
data/stellarium-0.20.3/src/core/planetsephems/jpleph.cpp:753:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *ifile = fopen(ephemeris_filename, "rb");
data/stellarium-0.20.3/src/core/planetsephems/jpleph.cpp:776:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    de_version = atoi(title + 26);
data/stellarium-0.20.3/src/core/planetsephems/jpleph.cpp:893: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(rval, &temp_data, sizeof(struct jpl_eph_data));
data/stellarium-0.20.3/src/core/planetsephems/jpleph.cpp:915:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buff[7];
data/stellarium-0.20.3/src/core/planetsephems/marssat.c:345: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(elem,bp->constants,6*sizeof(double));
data/stellarium-0.20.3/src/core/planetsephems/tass17.c:65: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.
	signed char i[8];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:199:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:201:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[MAXINDILABEL];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:219:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char device[MAXINDIDEVICE];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:221:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:223:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[MAXINDILABEL];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:225:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char group[MAXINDIGROUP];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:237:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char timestamp[MAXINDITSTAMP];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:249:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:251:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[MAXINDILABEL];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:253:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char format[MAXINDIFORMAT];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:292:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char device[MAXINDIDEVICE];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:294:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:296:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[MAXINDILABEL];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:298:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char group[MAXINDIGROUP];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:310:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char timestamp[MAXINDITSTAMP];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:322:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:324:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[MAXINDILABEL];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:340:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char device[MAXINDIDEVICE];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:342:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:344:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[MAXINDILABEL];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:346:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char group[MAXINDIGROUP];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:360:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char timestamp[MAXINDITSTAMP];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:372:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:374:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[MAXINDILABEL];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:390:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char device[MAXINDIDEVICE];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:392:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:394:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[MAXINDILABEL];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:396:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char group[MAXINDIGROUP];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:404:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char timestamp[MAXINDITSTAMP];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:416:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:418:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[MAXINDILABEL];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:420:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char format[MAXINDIBLOBFMT];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:444:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char device[MAXINDIDEVICE];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:446:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:448:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[MAXINDILABEL];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:450:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char group[MAXINDIGROUP];
data/stellarium-0.20.3/src/external/libindi/indiapi.h:462:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char timestamp[MAXINDITSTAMP];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:125: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 message[MAXINDIMESSAGE];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:231:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sn[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:835:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                int enclen  = atoi(valuXMLAtt(ec));
data/stellarium-0.20.3/src/external/libindi/indidriver.c:839:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                bp->size = atoi(valuXMLAtt(sa));
data/stellarium-0.20.3/src/external/libindi/indidriver.c:856:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[MAXRBUF], msg[MAXRBUF], *bp;
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1196:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                        bloblen = atoi(valuXMLAtt(el));
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1201:36:  [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).
                    sizes[n]     = atoi(valuXMLAtt(sa));
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1276:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char configFileName[MAXRBUF], configDefaultFileName[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1298:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        FILE *fpin = fopen(configFileName, "r");
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1301:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            FILE *fpout = fopen(configDefaultFileName, "w");
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1319:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errmsg[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1386: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 message[MAXINDIMESSAGE];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1400:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char configFileName[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1401:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char configDir[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1426:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(configFileName, mode);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1572: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 message[MAXINDIMESSAGE];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1636: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 message[MAXINDIMESSAGE];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1707: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 message[MAXINDIMESSAGE];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1766: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 message[MAXINDIMESSAGE];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1813: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 message[MAXINDIMESSAGE];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1871: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 message[MAXINDIMESSAGE];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1913: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 message[MAXINDIMESSAGE];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1955: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 message[MAXINDIMESSAGE];
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1995: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 message[MAXINDIMESSAGE];
data/stellarium-0.20.3/src/external/libindi/indidriver.h:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char propName[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/indidriver.h:42:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char devName[MAXINDIDEVICE];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[MAXWSIZ]; /* local buf for most messages */
data/stellarium-0.20.3/src/external/libindi/indiserver.c:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dev[MAXINDIDEVICE];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:137:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[MAXINDINAME]; /* persistent name */
data/stellarium-0.20.3/src/external/libindi/indiserver.c:138:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char envDev[MAXSBUF];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:139:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char envConfig[MAXSBUF];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:140:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char envSkel[MAXSBUF];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char envPrefix[MAXSBUF];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:142:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char host[MAXSBUF];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:225:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char logname[128];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:258:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    maxqsiz = 1024 * 1024 * atoi(*++av);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:267:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    port = atoi(*++av);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:276:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    maxstreamsiz = 1024 * 1024 * atoi(*++av);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:294:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    maxrestarts = atoi(*++av);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:479:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[32];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:537: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 executable[MAXSBUF];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:617:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dev[MAXINDIDEVICE];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:618:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char host[MAXSBUF];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:619:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[MAXSBUF];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:765:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fifo.fd = open(fifo.name, O_RDWR | O_NONBLOCK);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:921:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:948: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 cmd[MAXSBUF], arg[4][1], var[4][MAXSBUF], tDriver[MAXSBUF], tName[MAXSBUF], envConfig[MAXSBUF],
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1154:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1173: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 err[1024];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1253:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1256:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char err[1024];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1396:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char exbuf[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1531:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char lastRemoteHost[MAXSBUF];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:2140:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char sbuf[64];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:2156:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char stamp[64];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:2157:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char logfn[1024];
data/stellarium-0.20.3/src/external/libindi/indiserver.c:2176:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(logfn, "a");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.cpp:364:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAXINDIBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.cpp:365:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.cpp:511:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(errmsg, "No device available and none was created");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.cpp:680: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 msgBuffer[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.cpp:697: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 ts[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.cpp:944:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char blobOpenTag[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.cpp:1024:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char message[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclientqt.cpp:224:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAXINDIBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclientqt.cpp:225:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errorMsg[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclientqt.cpp:290:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(errmsg, "No device available and none was created");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:50:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char indidev[MAXINDIDEVICE];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:457:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errmsg[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:461:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pathname[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:503:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(pathname, "r");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:555:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    timeout = atoi(findXMLAttValu(root, "timeout"));
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:1135: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 blobSize = atoi(valuXMLAtt(sa));
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:1221:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msgBuffer[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:1399:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        return atoi(driverInterface->text);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/connectionplugins/connectionserial.cpp:144:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    uint32_t baud = atoi(IUFindOnSwitch(&BaudRateSP)->name);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/connectionplugins/connectionserial.cpp:196:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errorMsg[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/connectionplugins/connectionserial.cpp:273:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi(IUFindOnSwitch(&BaudRateSP)->name);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/connectionplugins/connectiontcp.cpp:120:43:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        serv_addr.sin_port        = htons(atoi(port));
data/stellarium-0.20.3/src/external/libindi/libs/indibase/connectionplugins/connectiontcp.cpp:209:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char portStr[8];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/connectionplugins/connectiontcp.h:62:38:  [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).
    virtual uint32_t port() { return atoi(AddressT[0].text); }
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:75:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errmsg[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:160:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errmsg[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:232:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char formatString[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:253:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char formatString[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:274:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char formatString[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:301:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char configDefaultFileName[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:302:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errmsg[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:864:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char interfaceStr[16];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:872:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char versionStr[16];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:873:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char interfaceStr[16];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:920:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errmsg[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_libusb.c:327:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[512];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_libusb.c:330:5:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    wchar_t wbuf[256];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_libusb.c:395:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[64];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_libusb.c:532:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                unsigned char data[256];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_libusb.c:674: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(rpt->data, transfer->buffer, transfer->actual_length);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_libusb.c:997: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(data, rpt->data, len);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_libusb.c:1397:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char search_string[64];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_mac.c:327:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char transport[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_mac.c:424:9:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        wchar_t buf[BUF_LEN];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_mac.c:425: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 cbuf[BUF_LEN];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_mac.c:575: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(rpt->data, report, report_length);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_mac.c:711: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 cbuf[BUF_LEN];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_mac.c:722:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char str[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_mac.c:735:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(str, "HIDAPI_%p", os_dev);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_mac.c:818:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(data, rpt->data, len);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_mac.c:1116:9:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        wchar_t serial[256], buf[256];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_mac.c:1117: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 cbuf[256];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_win.c:327: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 driver_name[256];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_win.c:379:13:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            wchar_t wstr[WSTR_LEN]; // TODO: Determine Size
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_win.c:628:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buf, data, length);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_win.c:724:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(data, dev->read_buf + 1, copy_len);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_win.c:730:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(data, dev->read_buf, copy_len);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_win.c:905:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[65];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_win.c:917:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int handle = open(VendorID, ProductID, L"12345");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:58:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[PATH_MAX];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:250:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char ts[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:252:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char iso8601[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:913:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            CurrentFilterSlot = atoi(pcdataXMLEle(ep));
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1737:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char frame_s[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1738:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dev_name[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1739:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char exp_start[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1749:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fitsString[MAXINDIDEVICE];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1774:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(frame_s, "Light");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1777:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(frame_s, "Bias");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1780:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(frame_s, "Flat Field");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1783:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(frame_s, "Dark");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1810: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 filter[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1828:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        unsigned int bayer_offset_x = atoi(BayerT[0].text);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1829:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        unsigned int bayer_offset_y = atoi(BayerT[1].text);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1853: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 ra_str[32], de_str[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1890: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 radecsys[8] = "FK5";
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1891: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 ctype1[16]  = "RA---TAN";
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1892: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 ctype2[16]  = "DEC--TAN";
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:2407: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 error_status[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:2596: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 imageFileName[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:2611: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 ts[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:2620: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 indexString[8];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:2629:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(imageFileName, "w");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:2890:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            index = atoi(file.substr(start + 1, end).c_str());
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.h:370:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char imageExtention[MAXINDIBLOBFMT];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:46:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[PATH_MAX];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:183:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char ts[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:185:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char iso8601[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:448:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            CurrentFilterSlot = atoi(pcdataXMLEle(ep));
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:687:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dev_name[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:688:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char exp_start[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:693:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fitsString[MAXINDIDEVICE];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:723: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 filter[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:766: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 ra_str[32], de_str[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:828:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char error_status[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:934:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char error_status[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:1040: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 captureFileName[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:1055: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 ts[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:1064: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 indexString[8];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:1073:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(captureFileName, "w");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:1256:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            index = atoi(file.substr(start + 1, end).c_str());
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.h:249:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char captureExtention[MAXINDIBLOBFMT];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidome.cpp:1398:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char errmsg[512]={0};
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidome.cpp:1416:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!(fp = fopen(wexp.we_wordv[0], "r")))
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidome.cpp:1492:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pcdata[30]={0};
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidome.cpp:1501:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!(fp = fopen(wexp.we_wordv[0], "w")))
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidustcapinterface.h:76:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dustCapName[MAXINDIDEVICE];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indifilterinterface.cpp:120: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 filterName[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indifilterinterface.cpp:121: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 filterLabel[MAXINDILABEL];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indifilterinterface.cpp:182:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filterName[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indifilterinterface.cpp:183:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filterLabel[MAXINDILABEL];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indifilterinterface.cpp:186: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 *filterDesignation[8] = { "Red", "Green", "Blue", "H_Alpha", "SII", "OIII", "LPR", "Luminance" };
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indifocuserinterface.h:166:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char focuserName[MAXINDIDEVICE];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilightboxinterface.cpp:73:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errmsg[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilightboxinterface.cpp:222: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 errmsg[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilightboxinterface.cpp:247:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                currentFilterSlot = atoi(pcdataXMLEle(ep)) - 1;
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.cpp:71:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[PATH_MAX];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.cpp:319: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 ts_date[32], ts_time[32];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.cpp:328: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 dir[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.cpp:332: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 logFileBuf[MAXRBUF];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.cpp:341:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        out_.open(logFile_.c_str(), std::ios::app);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.cpp:403:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[257];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.cpp:404:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char usec[7];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.h:181:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char name[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.h:182: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 label[MAXINDILABEL];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.h:247:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char Tags[nlevels][MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:497: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 utc[MAXINDITSTAMP], offset[MAXINDITSTAMP];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:1661: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 name[4];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:1778:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char errmsg[512];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:1797:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!(fp = fopen(wexp.we_wordv[0], "r")))
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:1883:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pcdata[30];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:1894:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!(fp = fopen(wexp.we_wordv[0], "w")))
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:2000: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 *names[1]    = { AbortS[0].name };
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:2007: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 *names[2]    = { ParkS[0].name, ParkS[1].name };
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:2013: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 *names[2]    = { ParkS[0].name, ParkS[1].name };
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:2240: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).
    FILE *FilePtr          = fopen(ScopeConfigFileName.c_str(), "r");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:2245:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ErrMsg[512];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:2379: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).
    FILE *FilePtr          = fopen(ScopeConfigFileName.c_str(), "r");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:2384:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ErrMsg[512];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:2467:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *FilePtr       = fopen(ScopeConfigFileName.c_str(), "r");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:2471:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ErrMsg[512];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:2553:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FilePtr = fopen(ScopeConfigFileName.c_str(), "w");
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:2603:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *FilePtr = fopen(file_name.c_str(), (writable ? "a" : "r"));
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiusbdevice.cpp:29:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buffer[30];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiusbdevice.cpp:30:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buffer, "error %d", errcode);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiweather.cpp:516:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char propName[MAXINDINAME];
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiweather.cpp:517:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char propLabel[MAXINDILABEL];
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:187:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[128];
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:302:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char ts[32];
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:373: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((char *)&geminiBuffer[2], buf, nbytes);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:438:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char geminiBuffer[257]={0};
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:479:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buf, geminiBuffer+8, *nbytes_read);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:493:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char readBuffer[257]={0};
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:612:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[80];
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:620:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    t_fd = open(device, O_RDWR | O_NOCTTY | O_NONBLOCK);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:882:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[80];
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:886: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 ((t_fd = open(device, O_RDWR | O_NOCTTY)) == -1)
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1097:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char error_string[512];
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:226:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy((void *)(lp->ce->pcdata.s + lp->ce->pcdata.sl), (const void *)buf, size);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:239:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy((void *)(lp->ce->pcdata.s + lp->ce->pcdata.sl), (const void *)buf, size);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:270:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy((void *)(lp->ce->pcdata.s + lp->ce->pcdata.sl), (const void *)buf, size);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:283:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy((void *)(lp->ce->pcdata.s + lp->ce->pcdata.sl), (const void *)buf, size);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:300:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(ynot, "Line %d: early XML EOF", lp->ln);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:394:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(ynot, "Line %d: early XML EOF", lp->ln);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:479:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ynot[1024];
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:746:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sl += sprintf(s + sl, ">\n");
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:753:19:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sl += sprintf(s + sl, ">\n");
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:767:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sl += sprintf(s + sl, "/>\n");
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:828: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(malbuf + nmalbuf, s, nnew);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:835:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                nmalbuf += sprintf(malbuf + nmalbuf, "&amp;");
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:838:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                nmalbuf += sprintf(malbuf + nmalbuf, "&lt;");
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:841:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                nmalbuf += sprintf(malbuf + nmalbuf, "&gt;");
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:844:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                nmalbuf += sprintf(malbuf + nmalbuf, "&apos;");
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:847:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                nmalbuf += sprintf(malbuf + nmalbuf, "&quot;");
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:868: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(malbuf + nmalbuf, s, nleft);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:924:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(ynot, "Line %d: Bogus tag char %c", lp->ln, c);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:953:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(ynot, "Line %d: Bogus leading attr name char: %c", lp->ln, c);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:968:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(ynot, "Line %d: Bogus char %c before >", lp->ln, c);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:980:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(ynot, "Line %d: Bogus attr name char: %c", lp->ln, c);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:1103:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(ynot, "Line %d: Bogus preend tag char %c", lp->ln, c);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:1128:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(ynot, "Line %d: Bogus end tag char %c", lp->ln, c);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:1300:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ynot[1024];
data/stellarium-0.20.3/src/external/libindi/libs/lx/Lx.cpp:372:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fd = open(devicename, O_RDWR)) == -1)
data/stellarium-0.20.3/src/external/libindi/libs/lx/Lx.cpp:612:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *names[2] = { FlashStrobeSP->sp[0].name, FlashStrobeStopSP->sp[0].name };
data/stellarium-0.20.3/src/external/libindi/libs/lx/Lx.cpp:624:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *names[2] = { FlashStrobeSP->sp[0].name, FlashStrobeStopSP->sp[0].name };
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:14303: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(pixels.at(y), pixels.first(), n*sizeof(QRgb));
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:19650: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(mData, other.mData, sizeof(mData[0])*keySize*valueSize);
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:20534:3:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  open(0),
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:20544: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).
QCPFinancialData::QCPFinancialData(double key, double open, double high, double low, double close) :
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:20546:3:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  open(open),
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:20546:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  open(open),
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:20668:79:  [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 QCPFinancial::setData(const QVector<double> &key, const QVector<double> &open, const QVector<double> &high, const QVector<double> &low, const QVector<double> &close)
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:20672:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  n = qMin(n, open.size());
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:20678:57:  [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).
    mData->insertMulti(key[i], QCPFinancialData(key[i], open[i], high[i], low[i], close[i]));
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:20807:47:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
void QCPFinancial::addData(double key, double open, double high, double low, double close)
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:20809:49:  [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).
  mData->insertMulti(key, QCPFinancialData(key, open, high, low, close));
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:20821:79:  [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 QCPFinancial::addData(const QVector<double> &key, const QVector<double> &open, const QVector<double> &high, const QVector<double> &low, const QVector<double> &close)
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:20824:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  n = qMin(n, open.size());
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:20830:57:  [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).
    mData->insertMulti(key[i], QCPFinancialData(key[i], open[i], high[i], low[i], close[i]));
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21153:50:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        linePen = it.value().close >= it.value().open ? mPenPositive : mPenNegative;
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21158:61:  [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).
      double openPixel = valueAxis->coordToPixel(it.value().open);
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21175:50:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        linePen = it.value().close >= it.value().open ? mPenPositive : mPenNegative;
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21180:61:  [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).
      double openPixel = valueAxis->coordToPixel(it.value().open);
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21218:44:  [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 (it.value().close >= it.value().open)
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21235:61:  [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).
      double openPixel = valueAxis->coordToPixel(it.value().open);
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21238:144:  [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).
      painter->drawLine(QPointF(keyPixel, valueAxis->coordToPixel(it.value().high)), QPointF(keyPixel, valueAxis->coordToPixel(qMax(it.value().open, it.value().close))));
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21240:143:  [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).
      painter->drawLine(QPointF(keyPixel, valueAxis->coordToPixel(it.value().low)), QPointF(keyPixel, valueAxis->coordToPixel(qMin(it.value().open, it.value().close))));
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21255:44:  [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 (it.value().close >= it.value().open)
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21272:61:  [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).
      double openPixel = valueAxis->coordToPixel(it.value().open);
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21275:134:  [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).
      painter->drawLine(QPointF(valueAxis->coordToPixel(it.value().high), keyPixel), QPointF(valueAxis->coordToPixel(qMax(it.value().open, it.value().close)), keyPixel));
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21277:133:  [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).
      painter->drawLine(QPointF(valueAxis->coordToPixel(it.value().low), keyPixel), QPointF(valueAxis->coordToPixel(qMin(it.value().open, it.value().close)), keyPixel));
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21341:59:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      QCPRange boxValueRange(it.value().close, it.value().open);
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21351:167:  [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).
        double highLineDistSqr = distSqrToLine(QPointF(keyPixel, valueAxis->coordToPixel(it.value().high)), QPointF(keyPixel, valueAxis->coordToPixel(qMax(it.value().open, it.value().close))), pos);
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21352:165:  [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).
        double lowLineDistSqr = distSqrToLine(QPointF(keyPixel, valueAxis->coordToPixel(it.value().low)), QPointF(keyPixel, valueAxis->coordToPixel(qMin(it.value().open, it.value().close))), pos);
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21365:59:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      QCPRange boxValueRange(it.value().close, it.value().open);
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21375:157:  [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).
        double highLineDistSqr = distSqrToLine(QPointF(valueAxis->coordToPixel(it.value().high), keyPixel), QPointF(valueAxis->coordToPixel(qMax(it.value().open, it.value().close)), keyPixel), pos);
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.cpp:21376:155:  [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).
        double lowLineDistSqr = distSqrToLine(QPointF(valueAxis->coordToPixel(it.value().low), keyPixel), QPointF(valueAxis->coordToPixel(qMin(it.value().open, it.value().close)), keyPixel), pos);
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.h:3126:39:  [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).
  QCPFinancialData(double key, double open, double high, double low, double close);
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.h:3127:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  double key, open, high, low, close;
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.h:3182:67:  [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 setData(const QVector<double> &key, const QVector<double> &open, const QVector<double> &high, const QVector<double> &low, const QVector<double> &close);
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.h:3194:35:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  void addData(double key, double open, double high, double low, double close);
data/stellarium-0.20.3/src/external/qcustomplot/qcustomplot.h:3195:67:  [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 addData(const QVector<double> &key, const QVector<double> &open, const QVector<double> &high, const QVector<double> &low, const QVector<double> &close);
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:594:40:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (! (device->isOpen() || device->open(QIODevice::ReadOnly))) {
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:688:40:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (! (device->isOpen() || device->open(QIODevice::WriteOnly))) {
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:853:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f->open(mode);
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:1087:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            if (!f.open(QIODevice::WriteOnly))
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:1150:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f->open(mode);
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:1321:23:  [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 (! device->open(QIODevice::ReadOnly)) {
data/stellarium-0.20.3/src/external/qxlsx/xlsxabstractooxmlfile.cpp:72:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    buffer.open(QIODevice::WriteOnly);
data/stellarium-0.20.3/src/external/qxlsx/xlsxabstractooxmlfile.cpp:82:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    buffer.open(QIODevice::ReadOnly);
data/stellarium-0.20.3/src/external/qxlsx/xlsxdocument.cpp:391:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (xlsx.open(QFile::ReadOnly))
data/stellarium-0.20.3/src/external/qxlsx/xlsxdocument.cpp:1038:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (file.open(QIODevice::WriteOnly))
data/stellarium-0.20.3/src/external/qxlsx/xlsxdocument.cpp:1093:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	buffer.open(QIODevice::WriteOnly);
data/stellarium-0.20.3/src/external/qxlsx/xlsxdrawinganchor.cpp:88:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    buffer.open(QIODevice::WriteOnly);
data/stellarium-0.20.3/src/external/qxlsx/xlsxdrawinganchor.cpp:102:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    buffer.open(QIODevice::WriteOnly);
data/stellarium-0.20.3/src/external/qxlsx/xlsxrelationships.cpp:127:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    buffer.open(QIODevice::WriteOnly);
data/stellarium-0.20.3/src/external/qxlsx/xlsxrelationships.cpp:161:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    buffer.open(QIODevice::ReadOnly);
data/stellarium-0.20.3/src/external/zlib/crc32.c:143:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        out = fopen("crc32.h", "w");
data/stellarium-0.20.3/src/external/zlib/gzguts.h:53:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#  define open _open
data/stellarium-0.20.3/src/external/zlib/gzlib.c:36:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[1024];
data/stellarium-0.20.3/src/external/zlib/gzlib.c:65:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, "unknown win32 error (%ld)", error);
data/stellarium-0.20.3/src/external/zlib/gzlib.c:245:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        open((const char *)path, oflag, 0666));
data/stellarium-0.20.3/src/external/zlib/gzlib.c:298:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(path, "<fd:%d>", fd);   /* for debugging */
data/stellarium-0.20.3/src/external/zlib/gzlib.c:615:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(state->msg, ": ");
data/stellarium-0.20.3/src/external/zlib/gzread.c:161:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(state->x.next, strm->next_in, strm->avail_in);
data/stellarium-0.20.3/src/external/zlib/gzread.c:325:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf, state->x.next, n);
data/stellarium-0.20.3/src/external/zlib/gzread.c:451:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[1];
data/stellarium-0.20.3/src/external/zlib/gzread.c:591:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buf, state->x.next, n);
data/stellarium-0.20.3/src/external/zlib/gzwrite.c:213:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(state->in + have, buf, copy);
data/stellarium-0.20.3/src/external/zlib/gzwrite.c:309:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[1];
data/stellarium-0.20.3/src/external/zlib/gzwrite.c:444:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(state->in, state->in + state->size, left);
data/stellarium-0.20.3/src/external/zlib/gzwrite.c:543:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(state->in, state->in + state->size, left);
data/stellarium-0.20.3/src/external/zlib/inflate.c:640:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char hbuf[4];      /* buffer for gzip header crc calculation */
data/stellarium-0.20.3/src/external/zlib/inflate.c:1405:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[4];       /* to restore bit buffer to byte string */
data/stellarium-0.20.3/src/external/zlib/trees.c:328:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *header = fopen("trees.h", "w");
data/stellarium-0.20.3/src/external/zlib/zutil.c:13:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
z_const char * const z_errmsg[10] = {
data/stellarium-0.20.3/src/external/zlib/zutil.h:49:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
data/stellarium-0.20.3/src/external/zlib/zutil.h:109:6:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
     fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512")
data/stellarium-0.20.3/src/external/zlib/zutil.h:202:30:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#  define F_OPEN(name, mode) fopen((name), (mode))
data/stellarium-0.20.3/src/external/zlib/zutil.h:226:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#    define zmemcpy memcpy
data/stellarium-0.20.3/src/gui/AstroCalcDialog.cpp:6785:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!table.open(QFile::WriteOnly | QFile::Truncate))
data/stellarium-0.20.3/src/gui/BookmarksDialog.cpp:419:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!jsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/gui/BookmarksDialog.cpp:513:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(!jsonFile.open(QFile::WriteOnly|QFile::Text))
data/stellarium-0.20.3/src/gui/ConfigurationDialog.cpp:1453:28:  [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 (!currentDownloadFile->open(QIODevice::WriteOnly))
data/stellarium-0.20.3/src/gui/ScriptConsole.cpp:200:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (file.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/gui/ScriptConsole.cpp:232:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (file.open(QIODevice::WriteOnly))
data/stellarium-0.20.3/src/gui/SearchDialog.cpp:1023:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(!jsonFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/gui/SearchDialog.cpp:1072:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(!jsonFile.open(QFile::WriteOnly | QFile::Text))
data/stellarium-0.20.3/src/gui/StelGui.cpp:455:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if(styleFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/gui/StelGui.cpp:462:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if(htmlStyleFile.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/scripting/StelScriptMgr.cpp:416:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!file.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/scripting/StelScriptMgr.cpp:511:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!file.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/src/scripting/StelScriptMgr.cpp:629:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!fic.open(QIODevice::ReadOnly))
data/stellarium-0.20.3/src/scripting/StelScriptMgr.cpp:849:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				bool ok = fic.open(QIODevice::ReadOnly);
data/stellarium-0.20.3/src/scripting/StelScriptOutput.cpp:33:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!outputFile.open(QIODevice::WriteOnly | QIODevice::Truncate | QIODevice::Text | QIODevice::Unbuffered))
data/stellarium-0.20.3/src/scripting/StelScriptOutput.cpp:81:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!asFile.open(QIODevice::WriteOnly | QIODevice::Truncate | QIODevice::Text | QIODevice::Unbuffered))
data/stellarium-0.20.3/src/tests/testStelFileMgr.cpp:83:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (!f.open(QIODevice::WriteOnly))
data/stellarium-0.20.3/src/tests/testStelIniParser.cpp:45:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!f.open(QIODevice::ReadWrite))
data/stellarium-0.20.3/src/tests/testStelJsonParser.cpp:111:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	buf.open(QIODevice::ReadOnly);
data/stellarium-0.20.3/src/tests/testStelJsonParser.cpp:127:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	buf1.open(QIODevice::WriteOnly);
data/stellarium-0.20.3/src/tests/testStelSphereGeometry.cpp:455:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	buf.open(QIODevice::WriteOnly);
data/stellarium-0.20.3/src/tests/testStelSphereGeometry.cpp:463:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	buf.open(QIODevice::ReadOnly);
data/stellarium-0.20.3/src/tests/testStelSphereGeometry.cpp:506:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	buf.open(QIODevice::WriteOnly);
data/stellarium-0.20.3/src/tests/testStelSphereGeometry.cpp:514:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	buf.open(QIODevice::ReadOnly);
data/stellarium-0.20.3/util/ConvertCatToNative.C:338:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f_in = fopen(fname_in,"rb");
data/stellarium-0.20.3/util/ConvertCatToNative.C:339:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f_out = fopen(fname_out,"wb");
data/stellarium-0.20.3/util/MakeCombinedCatalogue.C:52:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *output_file_names[MAX_LEVEL+1] = {
data/stellarium-0.20.3/util/MakeCombinedCatalogue.C:951:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(component_ids_filename,"wb");
data/stellarium-0.20.3/util/MakeCombinedCatalogue.C:961:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(sp_filename,"wb");
data/stellarium-0.20.3/util/MakeCombinedCatalogue.C:1492:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(fname,"wb");
data/stellarium-0.20.3/util/MakeCombinedCatalogue.C:1540:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(fname,"r");
data/stellarium-0.20.3/util/MakeCombinedCatalogue.C:1547:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cids[32];
data/stellarium-0.20.3/util/MakeCombinedCatalogue.C:1548:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char sp[256];
data/stellarium-0.20.3/util/MakeCombinedCatalogue.C:1604:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(fname,"r");
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v2.C:53:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *output_file_names[MAX_LEVEL+1] = {
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v2.C:952:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(component_ids_filename,"wb");
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v2.C:962:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(sp_filename,"wb");
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v2.C:1493:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(fname,"wb");
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v2.C:1541:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(fname,"r");
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v2.C:1548:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cids[32];
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v2.C:1549:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char sp[256];
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v2.C:1607:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(fname,"r");
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v3.C:53:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *output_file_names[MAX_LEVEL+1] = {
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v3.C:952:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(component_ids_filename,"wb");
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v3.C:962:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(sp_filename,"wb");
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v3.C:1493:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(fname,"wb");
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v3.C:1541:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(fname,"r");
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v3.C:1548:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cids[32];
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v3.C:1549:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char sp[256];
data/stellarium-0.20.3/util/MakeCombinedCatalogue.v3.C:1607:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(fname,"r");
data/stellarium-0.20.3/util/ParseHip.C:484:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[208];
data/stellarium-0.20.3/util/ParseHip.C:488:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char component_ids[4] = {'\0','\0','\0','\0'};
data/stellarium-0.20.3/util/ParseHip.C:490:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(fname,"rb");
data/stellarium-0.20.3/util/ParseHip.C:618:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[124];
data/stellarium-0.20.3/util/ParseHip.C:622:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char component_ids[4] = {'\0','\0','\0','\0'};
data/stellarium-0.20.3/util/ParseHip.C:624:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(fname,"r");
data/stellarium-0.20.3/util/ParseHip.C:757:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(fname,"rb");
data/stellarium-0.20.3/util/ParseHip.C:760:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[452];
data/stellarium-0.20.3/util/ParseHip.C:884:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char component_ids[3];
data/stellarium-0.20.3/util/ParseHip.C:898:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char SpType[13];
data/stellarium-0.20.3/util/ParseHip.C:1027:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(fname,"rb");
data/stellarium-0.20.3/util/ParseHip.C:1030:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[240];
data/stellarium-0.20.3/util/ParseHip.C:1060:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char comp_ids[2] = {buff[40],'\0'};
data/stellarium-0.20.3/util/ParseHip.v2.C:484:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[208];
data/stellarium-0.20.3/util/ParseHip.v2.C:488:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char component_ids[4] = {'\0','\0','\0','\0'};
data/stellarium-0.20.3/util/ParseHip.v2.C:490:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(fname,"rb");
data/stellarium-0.20.3/util/ParseHip.v2.C:618:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[124];
data/stellarium-0.20.3/util/ParseHip.v2.C:622:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char component_ids[4] = {'\0','\0','\0','\0'};
data/stellarium-0.20.3/util/ParseHip.v2.C:624:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(fname,"r");
data/stellarium-0.20.3/util/ParseHip.v2.C:763:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(fname,"rb");
data/stellarium-0.20.3/util/ParseHip.v2.C:766:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[452];
data/stellarium-0.20.3/util/ParseHip.v2.C:893:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char component_ids[3];
data/stellarium-0.20.3/util/ParseHip.v2.C:907:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char SpType[13];
data/stellarium-0.20.3/util/ParseHip.v2.C:1036:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(fname,"rb");
data/stellarium-0.20.3/util/ParseHip.v2.C:1039:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[240];
data/stellarium-0.20.3/util/ParseHip.v2.C:1069:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char comp_ids[2] = {buff[40],'\0'};
data/stellarium-0.20.3/util/ParseHip.v4.C:484:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[208];
data/stellarium-0.20.3/util/ParseHip.v4.C:488:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char component_ids[4] = {'\0','\0','\0','\0'};
data/stellarium-0.20.3/util/ParseHip.v4.C:490:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(fname,"rb");
data/stellarium-0.20.3/util/ParseHip.v4.C:618:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[124];
data/stellarium-0.20.3/util/ParseHip.v4.C:622:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char component_ids[4] = {'\0','\0','\0','\0'};
data/stellarium-0.20.3/util/ParseHip.v4.C:624:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(fname,"r");
data/stellarium-0.20.3/util/ParseHip.v4.C:760:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(fname,"rb");
data/stellarium-0.20.3/util/ParseHip.v4.C:763:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[466];
data/stellarium-0.20.3/util/ParseHip.v4.C:889:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char component_ids[3];
data/stellarium-0.20.3/util/ParseHip.v4.C:903:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char SpType[27];
data/stellarium-0.20.3/util/ParseHip.v4.C:1032:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(fname,"rb");
data/stellarium-0.20.3/util/ParseHip.v4.C:1035:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[240];
data/stellarium-0.20.3/util/ParseHip.v4.C:1065:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char comp_ids[2] = {buff[40],'\0'};
data/stellarium-0.20.3/util/ParseHip.v5.C:484:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[208];
data/stellarium-0.20.3/util/ParseHip.v5.C:488:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char component_ids[4] = {'\0','\0','\0','\0'};
data/stellarium-0.20.3/util/ParseHip.v5.C:490:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(fname,"rb");
data/stellarium-0.20.3/util/ParseHip.v5.C:618:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[124];
data/stellarium-0.20.3/util/ParseHip.v5.C:622:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char component_ids[4] = {'\0','\0','\0','\0'};
data/stellarium-0.20.3/util/ParseHip.v5.C:624:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(fname,"r");
data/stellarium-0.20.3/util/ParseHip.v5.C:760:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(fname,"rb");
data/stellarium-0.20.3/util/ParseHip.v5.C:763:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[466];
data/stellarium-0.20.3/util/ParseHip.v5.C:889:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char component_ids[3];
data/stellarium-0.20.3/util/ParseHip.v5.C:903:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char SpType[27];
data/stellarium-0.20.3/util/ParseHip.v5.C:1032:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(fname,"rb");
data/stellarium-0.20.3/util/ParseHip.v5.C:1035:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buff[240];
data/stellarium-0.20.3/util/ParseHip.v5.C:1065:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char comp_ids[2] = {buff[40],'\0'};
data/stellarium-0.20.3/util/ParseNomad.C:87:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fname[1024];
data/stellarium-0.20.3/util/ParseNomad.C:89: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(fname,"wb");
data/stellarium-0.20.3/util/ParseNomad.C:169:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fname[1024];
data/stellarium-0.20.3/util/ParseNomad.C:176:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      f = fopen(fname,"rb");
data/stellarium-0.20.3/util/locations-editor/Location.cpp:221:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file.open(QFile::ReadOnly | QFile::Text);
data/stellarium-0.20.3/util/locations-editor/LocationListEditor.cpp:53:21:  [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).
	        this, SLOT(open()));
data/stellarium-0.20.3/util/locations-editor/LocationListEditor.cpp:199:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!file.open(QIODevice::ReadOnly | QIODevice::Text))
data/stellarium-0.20.3/util/locations-editor/LocationListEditor.cpp:278:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			if (file.open(QFile::WriteOnly|QFile::Text))
data/stellarium-0.20.3/util/locations-editor/LocationListEditor.cpp:318:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!file.open(flags))
data/stellarium-0.20.3/util/locations-editor/LocationListEditor.cpp:370:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!file.open(QFile::WriteOnly))
data/stellarium-0.20.3/util/locations-editor/LocationListEditor.cpp:380: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).
	device->open(QIODevice::WriteOnly);
data/stellarium-0.20.3/util/locations-editor/LocationListEditor.cpp:453: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).
void LocationListEditor::open()
data/stellarium-0.20.3/util/locations-editor/LocationListEditor.hpp:106:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	void open();
data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httpconnectionhandler.cpp:28:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    connect(socket, SIGNAL(readyRead()), SLOT(read()));
data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httpconnectionhandler.cpp:167:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void HttpConnectionHandler::read()
data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httpconnectionhandler.h:135:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read();
data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httprequest.cpp:155:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		QByteArray newData=socket->read(toRead);
data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/httprequest.cpp:180:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		fileSize+=tempFile.write(socket->read(toRead));
data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/staticfilecontroller.cpp:88:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    QByteArray buffer=file.read(65536);
data/stellarium-0.20.3/plugins/RemoteControl/src/qtwebapp/httpserver/staticfilecontroller.cpp:103:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    response.write(file.read(65536));
data/stellarium-0.20.3/plugins/Satellites/src/gsatellite/sgp4io.cpp:127:8:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
       sscanf(longstr1,"%2d %5ld %1c %10s %2d %12lf %11lf %7lf %2d %7lf %2d %2d %6ld ",
data/stellarium-0.20.3/plugins/TelescopeControl/src/TelescopeClient.cpp:384:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	const qint64 rc = tcpSocket->read(readBufferEnd, to_read);
data/stellarium-0.20.3/plugins/TelescopeControl/src/common/Socket.hpp:114:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		return read(fd, buf, count);
data/stellarium-0.20.3/src/core/StelLocationMgr.cpp:119:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((newdata = gps_rec->read()) == Q_NULLPTR)
data/stellarium-0.20.3/src/core/StelPropertyMgr.cpp:16:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return prop.read(target);
data/stellarium-0.20.3/src/core/StelPropertyMgr.cpp:53:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	QVariant val = prop.read(target);
data/stellarium-0.20.3/src/core/StelUtils.cpp:2373:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		qint64 read = device.read(readBuffer.data(), bytesToRead);
data/stellarium-0.20.3/src/core/StelUtils.cpp:2374:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read<0)
data/stellarium-0.20.3/src/core/StelUtils.cpp:2381:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		bytesRead += read;
data/stellarium-0.20.3/src/core/StelUtils.cpp:2383:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		strm.avail_in = static_cast<unsigned int>(read);
data/stellarium-0.20.3/src/core/modules/Asterism.cpp:56:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool Asterism::read(const QString& record, StarMgr *starMgr)
data/stellarium-0.20.3/src/core/modules/Asterism.hpp:76:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	bool read(const QString& record, StarMgr *starMgr);
data/stellarium-0.20.3/src/core/modules/AsterismMgr.cpp:266:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(aster->read(record, hipStarMgr))
data/stellarium-0.20.3/src/core/modules/Constellation.cpp:63:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool Constellation::read(const QString& record, StarMgr *starMgr)
data/stellarium-0.20.3/src/core/modules/Constellation.hpp:84:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	bool read(const QString& record, StarMgr *starMgr);
data/stellarium-0.20.3/src/core/modules/ConstellationMgr.cpp:471:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(cons->read(record, hipStarMgr))
data/stellarium-0.20.3/src/core/modules/StarMgr.cpp:534:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					qint64 sz = file.read(mmd5buf, maxStarBufMd5);
data/stellarium-0.20.3/src/core/modules/ZoneArray.cpp:83:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	const int rval = (4 == file.read(reinterpret_cast<char*>(&x), 4)) ? 0 : -1;
data/stellarium-0.20.3/src/core/modules/ZoneArray.cpp:245:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		const int read_rc = static_cast<int>(file.read(static_cast<char*>(data), to_read));
data/stellarium-0.20.3/src/core/modules/ZoneArray.cpp:298:70:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (static_cast<qint64>(sizeof(unsigned int)*nr_of_zones) != file->read(reinterpret_cast<char*>(zone_size), sizeof(unsigned int)*nr_of_zones))
data/stellarium-0.20.3/src/core/planetsephems/jpleph.cpp:919:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      while(fread(buff, 6, 1, ifile) && strlen(buff) == 6)
data/stellarium-0.20.3/src/external/libindi/eventloop.c:482:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(fd, &c, 1) != 1)
data/stellarium-0.20.3/src/external/libindi/fq.c:192:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((c = fgetc(stdin)) != EOF)
data/stellarium-0.20.3/src/external/libindi/indidriver.c:76:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for (i = 0; i <= strlen(s); i++)
data/stellarium-0.20.3/src/external/libindi/indidriver.c:81:17:  [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(out, "&amp;", 5);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:85:17:  [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(out, "&apos;", 6);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:89:17:  [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(out, "&quot;", 6);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:93:17:  [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(out, "&lt;", 4);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:97:17:  [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(out, "&gt;", 4);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:101:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(out++, s + i, 1);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:238:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(sn, sp->name, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:380:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(bp->format, format, MAXINDIFORMAT);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:389:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(sp->name, escapedName, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:391:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(sp->label, escapedLabel, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:393:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(sp->label, escapedName, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:407:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(lp->name, escapedName, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:409:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(lp->label, escapedLabel, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:411:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(lp->label, escapedName, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:426:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(np->name, escapedName, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:428:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(np->label, escapedLabel, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:430:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(np->label, escapedName, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:431:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(np->format, format, MAXINDIFORMAT);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:450:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tp->name, escapedName, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:453:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(tp->label, escapedLabel, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:455:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(tp->label, escapedName, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:461:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (initialText && strlen(initialText) > 0)
data/stellarium-0.20.3/src/external/libindi/indidriver.c:474:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(bp->name, escapedName, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:477:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(bp->label, escapedLabel, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:479:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(bp->label, escapedName, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:481:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(bp->format, format, MAXINDIBLOBFMT);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:500:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(svp->device, dev, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:501:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(svp->name, escapedName, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:504:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(svp->label, escapedLabel, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:506:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(svp->label, escapedName, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:507:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(svp->group, group, MAXINDIGROUP);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:508:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(svp->timestamp, "");
data/stellarium-0.20.3/src/external/libindi/indidriver.c:527:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(lvp->device, dev, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:528:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(lvp->name, escapedName, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:531:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(lvp->label, escapedLabel, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:533:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(lvp->label, escapedName, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:534:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(lvp->group, group, MAXINDIGROUP);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:535:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(lvp->timestamp, "");
data/stellarium-0.20.3/src/external/libindi/indidriver.c:551:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(nvp->device, dev, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:552:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(nvp->name, escapedName, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:555:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(nvp->label, escapedLabel, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:557:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(nvp->label, escapedName, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:558:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(nvp->group, group, MAXINDIGROUP);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:559:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(nvp->timestamp, "");
data/stellarium-0.20.3/src/external/libindi/indidriver.c:577:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tvp->device, dev, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:578:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tvp->name, escapedName, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:581:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(tvp->label, escapedLabel, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:583:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(tvp->label, escapedName, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:584:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tvp->group, group, MAXINDIGROUP);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:585:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(tvp->timestamp, "");
data/stellarium-0.20.3/src/external/libindi/indidriver.c:604:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(bvp->device, dev, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:605:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(bvp->name, escapedName, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:608:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(bvp->label, escapedLabel, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:610:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(bvp->label, escapedName, MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:612:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(bvp->group, group, MAXINDIGROUP);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:613:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(bvp->timestamp, "");
data/stellarium-0.20.3/src/external/libindi/indidriver.c:838:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(bp->format, valuXMLAtt(fa), MAXINDIFORMAT);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:860:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    nr = read(fd, buf, sizeof(buf));
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1279:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(configFileName, source_config, MAXRBUF);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1283:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(configFileName, getenv("INDICONFIG"), MAXRBUF);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1289:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(configDefaultFileName, dest_config, MAXRBUF);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1305:30:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                while ((ch = getc(fpin)) != EOF)
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1408:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(configFileName, filename, MAXRBUF);
data/stellarium-0.20.3/src/external/libindi/indidriver.c:1412:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(configFileName, getenv("INDICONFIG"), MAXRBUF);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:328:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(dvrinfo[ac].name, *av++, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:583: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(dp->host, "localhost", MAXSBUF);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:635:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dp->host, host, MAXSBUF);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:652:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dp->dev[0], dev, MAXINDIDEVICE - 1);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:927:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (read(fifo.fd, line + i, 1) <= 0)
data/stellarium-0.20.3/src/external/libindi/indiserver.c:966:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int len   = strlen(tDriver);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:994:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(tName, var[j], MAXSBUF - 1);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1002:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(envConfig, var[j], MAXSBUF - 1);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1010:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(envSkel, var[j], MAXSBUF - 1);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1018:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(envPrefix, var[j], MAXSBUF - 1);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1036:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(dp->name, tDriver, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1041:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(dp->envDev, tName, MAXSBUF);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1042:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(dp->envConfig, envConfig, MAXSBUF);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1043:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(dp->envSkel, envSkel, MAXSBUF);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1044:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(dp->envPrefix, envPrefix, MAXSBUF);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1159:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    nr = read(cp->s, buf, sizeof(buf));
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1262:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    nr = read(dp->rfd, buf, sizeof(buf));
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1350:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(dp->dev[dp->ndev], dev, MAXINDIDEVICE - 1);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1401:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    nr = read(dp->efd, exbuf + nexbuf, sizeof(exbuf) - nexbuf);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1562:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(lastRemoteHost, dp->host, MAXSBUF);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1630:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ip, dev, MAXINDIDEVICE - 1);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1634:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ip, name, MAXINDINAME - 1);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:1846:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    mp->cl = strlen(str);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:2033:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(pp->dev, dev, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/indiserver.c:2034:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(pp->name, name, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.cpp:47:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define net_read read
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.cpp:614:9:  [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(errmsg, "Unable to find device attribute in XML element. Cannot add device.", MAXRBUF);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.cpp:689:13:  [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(errmsg, "No message content found.", MAXRBUF);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclient.cpp:1030:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ret = net_write(sockfd, message, strlen(message));
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclientqt.cpp:237:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        qint64 readBytes = client_socket.read(buffer, MAXINDIBUF - 1);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/baseclientqt.cpp:398:9:  [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(errmsg, "Unable to find device attribute in XML element. Cannot add device.", MAXRBUF);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:51: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(indidev, "INDIDEV=", MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:55:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(deviceID, getenv("INDIDEV"), MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:466:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(pathname, indiskel, MAXRBUF - 1);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:474:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(pathname, filename, MAXRBUF - 1);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:543:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(deviceID, rdev, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:573:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(nvp->device, deviceID, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:574:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(nvp->name, rname, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:575:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(nvp->label, findXMLAttValu(root, "label"), MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:576:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(nvp->group, findXMLAttValu(root, "group"), MAXINDIGROUP);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:599:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(np[n].name, valuXMLAtt(na), MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:603:29:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                            strncpy(np[n].label, valuXMLAtt(na), MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:606:29:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                            strncpy(np[n].format, valuXMLAtt(na), MAXINDIFORMAT);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:653:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(svp->device, deviceID, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:654:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(svp->name, rname, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:655:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(svp->label, findXMLAttValu(root, "label"), MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:656:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(svp->group, findXMLAttValu(root, "group"), MAXINDIGROUP);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:679:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(sp[n].name, valuXMLAtt(na), MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:683:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(sp[n].label, valuXMLAtt(na), MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:718:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(tvp->device, deviceID, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:719:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(tvp->name, rname, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:720:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(tvp->label, findXMLAttValu(root, "label"), MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:721:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(tvp->group, findXMLAttValu(root, "group"), MAXINDIGROUP);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:741:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(tp[n].text, pcdataXMLEle(ep), pcdatalenXMLEle(ep));
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:743:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(tp[n].name, valuXMLAtt(na), MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:747:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(tp[n].label, valuXMLAtt(na), MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:782:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(lvp->device, deviceID, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:783:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(lvp->name, rname, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:784:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(lvp->label, findXMLAttValu(root, "label"), MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:785:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(lvp->group, findXMLAttValu(root, "group"), MAXINDIGROUP);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:803:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(lp[n].name, valuXMLAtt(na), MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:807:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(lp[n].label, valuXMLAtt(na), MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:842:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(bvp->device, deviceID, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:843:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(bvp->name, rname, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:844:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(bvp->label, findXMLAttValu(root, "label"), MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:845:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(bvp->group, findXMLAttValu(root, "group"), MAXINDIGROUP);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:863:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(bp[n].name, valuXMLAtt(na), MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:867:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(bp[n].label, valuXMLAtt(na), MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:871:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(bp[n].label, valuXMLAtt(na), MAXINDIBLOBFMT);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:1150:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(blobEL->format, valuXMLAtt(fa), MAXINDIFORMAT);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:1154:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    blobEL->format[strlen(blobEL->format) - 2] = '\0';
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:1160:25:  [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(errmsg, "Unable to allocate memory for data buffer", MAXRBUF);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/basedevice.cpp:1195:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(deviceID, dev, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:686:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(ConnectionSP.device, getDeviceName(), MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/defaultdevice.cpp:692:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(DriverInfoTP.group, INFO_TAB, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_libusb.c:1231:9:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        wcsncpy(string, str, maxlen);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_libusb.c:1406:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(search_string, locale, sizeof(search_string));
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_mac.c:316:20:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len   = wcslen(s);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_win.c:413:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                len           = strlen(str);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_win.c:415:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(cur_dev->path, str, len + 1);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/hid_win.c:935:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(handle, buf, 65);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:63: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(tmp);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:96: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(imageExtention, "fits", MAXINDIBLOBFMT);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:286:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(imageExtention, ext, MAXINDIBLOBFMT);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:977:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(EqNP.device, ActiveDeviceT[SNOOP_MOUNT].text, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:978:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(ActiveDeviceT[SNOOP_MOUNT].text) > 0)
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:995:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(ActiveDeviceT[SNOOP_ROTATOR].text) > 0)
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1000:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(ActiveDeviceT[SNOOP_FILTER_WHEEL].text) > 0)
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1752:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(fitsString, getDeviceName(), MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1756:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(ActiveDeviceT[0].text) > 0)
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1758:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(fitsString, ActiveDeviceT[0].text, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1764:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(fitsString, FITSHeaderT[FITS_OBSERVER].text, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1768:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(fitsString, FITSHeaderT[FITS_OBJECT].text, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1792:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dev_name, getDeviceName(), 32);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1793:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(exp_start, targetChip->getExposureStartTime(), 32);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indiccd.cpp:1811:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(filter, FilterNames.at(CurrentFilterSlot - 1).c_str(), 32);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:51: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(tmp);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:79: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(captureExtention, "raw", MAXINDIBLOBFMT);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:214:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(captureExtention, ext, MAXINDIBLOBFMT);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:481:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(EqNP.device, ActiveDeviceT[0].text, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:696:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(fitsString, getDeviceName(), MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:700:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(fitsString, ActiveDeviceT[0].text, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:704:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(fitsString, FITSHeaderT[FITS_OBSERVER].text, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:708:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(fitsString, FITSHeaderT[FITS_OBJECT].text, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:713:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dev_name, getDeviceName(), 32);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:714:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(exp_start, targetDevice->getCaptureStartTime(), 32);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidetector.cpp:724:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(filter, FilterNames.at(CurrentFilterSlot - 1).c_str(), 32);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidome.cpp:1336:9:  [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(DomeMotionS[DOME_CW].label, "Open", MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidome.cpp:1337:9:  [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(DomeMotionS[DOME_CCW].label, "Close", MAXINDILABEL);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indidustcapinterface.cpp:30:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dustCapName, deviceName, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indifocuserinterface.cpp:32:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(focuserName, deviceName, MAXINDIDEVICE);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.cpp:76: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(tmp);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.cpp:99:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(Tags[customLevel], loggingLevelName, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.cpp:100:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(DebugLevelSInit[customLevel].label, debugLevelName, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/indilogger.cpp:101:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(LoggingLevelSInit[customLevel].label, debugLevelName, MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:504:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(utc, pcdataXMLEle(ep), MAXINDITSTAMP);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:506:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(offset, pcdataXMLEle(ep), MAXINDITSTAMP);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:1666:9:  [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((SlewRateS + (step * 0))->name, "SLEW_GUIDE", MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:1667:9:  [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((SlewRateS + (step * 1))->name, "SLEW_CENTERING", MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:1668:9:  [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((SlewRateS + (step * 2))->name, "SLEW_FIND", MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indibase/inditelescope.cpp:1669:9:  [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((SlewRateS + (nSlewRate - 1))->name, "SLEW_MAX", MAXINDINAME);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:193:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(str, str0, sizeof(str) - 1);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:413:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nbytes = (unsigned int)strlen(buf);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:452:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bytesRead = read(fd, buffer + (*nbytes_read), ((uint32_t)numBytesToRead));
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:509:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bytesRead = read(fd, readBuffer, 255);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:527:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(buf, readBuffer+8, *nbytes_read);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:541:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            bytesRead = read(fd, read_char, 1);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:585:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bytesRead = read(fd, read_char, 1);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1102:13:  [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(err_msg, "No Error", err_msg_len);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1107:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(err_msg, error_string, err_msg_len);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1112:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(err_msg, error_string, err_msg_len);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1117:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(err_msg, error_string, err_msg_len);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1121:13:  [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(err_msg, "Timeout error", err_msg_len);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1134:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(err_msg, error_string, err_msg_len);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1138:13:  [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(err_msg, "Parameter error", err_msg_len);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1143:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(err_msg, error_string, err_msg_len);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1147:13:  [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(err_msg, "Read overflow", err_msg_len);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1151:13:  [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(err_msg, "Error: unrecognized error code", err_msg_len);
data/stellarium-0.20.3/src/external/libindi/libs/indicom.c:1427:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    tp->text = strcpy(realloc(tp->text, strlen(newtext) + 1), newtext);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:508:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int tl = (int)strlen(tag);
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:626:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((c = fgetc(fp)) != EOF)
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:762:19:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
            sl += sprintf(s + sl, "\n");
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:784:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	l += ep->at[i]->name.sl + 4 + (int)strlen(entityXML(ep->at[i]->valu.s));
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:797: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).
	    l += (int)strlen(entityXML(ep->pcdata.s));
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:866:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int nleft = (int)strlen(s) + 1; /* include \0 */
data/stellarium-0.20.3/src/external/libindi/libs/lilxml.c:1251:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int strl = (int)strlen(str);
data/stellarium-0.20.3/src/external/libindi/libs/lx/Lx.cpp:526:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            ret = write(serialfd, LxStartStopCmdT[0].text, strlen(LxStartStopCmdT[0].text));
data/stellarium-0.20.3/src/external/libindi/libs/lx/Lx.cpp:527:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            ret = write(serialfd, eol, strlen(eol));
data/stellarium-0.20.3/src/external/libindi/libs/lx/Lx.cpp:554:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            ret = write(serialfd, LxStartStopCmdT[1].text, strlen(LxStartStopCmdT[1].text));
data/stellarium-0.20.3/src/external/libindi/libs/lx/Lx.cpp:556:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            ret = write(serialfd, eol, strlen(eol));
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:606:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    device->read((char *)tmp, 4);
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:625:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        device->read((char *)&eod, sizeof(EndOfDirectory));
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:638:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    comment = device->read(qMin(comment_length, i));
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:644:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        int read = device->read((char *) &header.h, sizeof(CentralFileHeader));
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:645:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (read < (int)sizeof(CentralFileHeader)) {
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:655:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        header.file_name = device->read(l);
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:661:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        header.extra_field = device->read(l);
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:667:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        header.file_comment = device->read(l);
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:990:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    d->device->read((char *)&lh, sizeof(LocalFileHeader));
data/stellarium-0.20.3/src/external/qtcompress/qzip.cpp:1003:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    QByteArray compressed = d->device->read(compressed_size);
data/stellarium-0.20.3/src/external/qxlsx/xlsxdocument.cpp:450:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
QVariant Document::read(const CellReference &cell) const
data/stellarium-0.20.3/src/external/qxlsx/xlsxdocument.cpp:453:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		return sheet->read(cell);
data/stellarium-0.20.3/src/external/qxlsx/xlsxdocument.cpp:462:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
QVariant Document::read(int row, int col) const
data/stellarium-0.20.3/src/external/qxlsx/xlsxdocument.cpp:465:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		return sheet->read(row, col);
data/stellarium-0.20.3/src/external/qxlsx/xlsxdocument.h:50:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	QVariant read(const CellReference &cell) const;
data/stellarium-0.20.3/src/external/qxlsx/xlsxdocument.h:51:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	QVariant read(int row, int col) const;
data/stellarium-0.20.3/src/external/qxlsx/xlsxworksheet.cpp:491:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
QVariant Worksheet::read(const CellReference &row_column) const
data/stellarium-0.20.3/src/external/qxlsx/xlsxworksheet.cpp:496:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return read(row_column.row(), row_column.column());
data/stellarium-0.20.3/src/external/qxlsx/xlsxworksheet.cpp:502:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
QVariant Worksheet::read(int row, int column) const
data/stellarium-0.20.3/src/external/qxlsx/xlsxworksheet.h:57:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    QVariant read(const CellReference &row_column) const;
data/stellarium-0.20.3/src/external/qxlsx/xlsxworksheet.h:58:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    QVariant read(int row, int column) const;
data/stellarium-0.20.3/src/external/zlib/gzguts.h:54:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#  define read _read
data/stellarium-0.20.3/src/external/zlib/gzlib.c:199:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen((const char *)path);
data/stellarium-0.20.3/src/external/zlib/gzlib.c:605:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((state->msg = (char *)malloc(strlen(state->path) + strlen(msg) + 3)) ==
data/stellarium-0.20.3/src/external/zlib/gzlib.c:605:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((state->msg = (char *)malloc(strlen(state->path) + strlen(msg) + 3)) ==
data/stellarium-0.20.3/src/external/zlib/gzlib.c:611:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void)snprintf(state->msg, strlen(state->path) + strlen(msg) + 3,
data/stellarium-0.20.3/src/external/zlib/gzlib.c:611:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    (void)snprintf(state->msg, strlen(state->path) + strlen(msg) + 3,
data/stellarium-0.20.3/src/external/zlib/gzread.c:35:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = read(state->fd, buf + *have, get);
data/stellarium-0.20.3/src/external/zlib/gzwrite.c:370:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(str);
data/stellarium-0.20.3/src/external/zlib/gzwrite.c:426:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(next);
data/stellarium-0.20.3/src/external/zlib/gzwrite.c:524:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(next);
data/stellarium-0.20.3/src/gui/ConfigurationDialog.cpp:1440:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	currentDownloadFile->write(starCatalogDownloadReply->read(size));

ANALYSIS SUMMARY:

Hits = 1048
Lines analyzed = 647435 in approximately 18.43 seconds (35124 lines/second)
Physical Source Lines of Code (SLOC) = 537076
Hits@level = [0] 955 [1] 277 [2] 639 [3]  26 [4] 106 [5]   0
Hits@level+ = [0+] 2003 [1+] 1048 [2+] 771 [3+] 132 [4+] 106 [5+]   0
Hits/KSLOC@level+ = [0+] 3.72945 [1+] 1.95131 [2+] 1.43555 [3+] 0.245775 [4+] 0.197365 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.