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/kstars-3.4.3/datahandlers/catalogentrydata.h Examining data/kstars-3.4.3/datahandlers/catalogdb.h Examining data/kstars-3.4.3/datahandlers/ksparser.cpp Examining data/kstars-3.4.3/datahandlers/catalogdb.cpp Examining data/kstars-3.4.3/datahandlers/catalogdata.h Examining data/kstars-3.4.3/datahandlers/ksparser.h Examining data/kstars-3.4.3/datahandlers/catalogdata.cpp Examining data/kstars-3.4.3/datahandlers/catalogentrydata.cpp Examining data/kstars-3.4.3/Tests/internalguide/teststarcorrespondence.cpp Examining data/kstars-3.4.3/Tests/internalguide/testguidestars.cpp Examining data/kstars-3.4.3/Tests/polaralign/test_polaralign.h Examining data/kstars-3.4.3/Tests/polaralign/test_polaralign.cpp Examining data/kstars-3.4.3/Tests/kstars_lite_ui/kstars_lite_ui_tests.cpp Examining data/kstars-3.4.3/Tests/kstars_lite_ui/kstars_lite_ui_tests.h Examining data/kstars-3.4.3/Tests/focus/testfocus.cpp Examining data/kstars-3.4.3/Tests/auxiliary/testgeolocation.cpp Examining data/kstars-3.4.3/Tests/auxiliary/testcolorscheme.h Examining data/kstars-3.4.3/Tests/auxiliary/testcachingdms.h Examining data/kstars-3.4.3/Tests/auxiliary/testfwparser.cpp Examining data/kstars-3.4.3/Tests/auxiliary/testbinhelper.cpp Examining data/kstars-3.4.3/Tests/auxiliary/testcolorscheme.cpp Examining data/kstars-3.4.3/Tests/auxiliary/testfov.cpp Examining data/kstars-3.4.3/Tests/auxiliary/testksuserdb.h Examining data/kstars-3.4.3/Tests/auxiliary/testfwparser.h Examining data/kstars-3.4.3/Tests/auxiliary/auxiliary_tests.cpp Examining data/kstars-3.4.3/Tests/auxiliary/testfov.h Examining data/kstars-3.4.3/Tests/auxiliary/testgeolocation.h Examining data/kstars-3.4.3/Tests/auxiliary/testdms.h Examining data/kstars-3.4.3/Tests/auxiliary/testksuserdb.cpp Examining data/kstars-3.4.3/Tests/auxiliary/testcachingdms.cpp Examining data/kstars-3.4.3/Tests/auxiliary/testcsvparser.cpp Examining data/kstars-3.4.3/Tests/auxiliary/testcsvparser.h Examining data/kstars-3.4.3/Tests/auxiliary/testdms.cpp Examining data/kstars-3.4.3/Tests/auxiliary/testbinhelper.h Examining data/kstars-3.4.3/Tests/fitsviewer/testfitsdata.h Examining data/kstars-3.4.3/Tests/fitsviewer/testfitsdata.cpp Examining data/kstars-3.4.3/Tests/kstars_ui/test_ekos_wizard.cpp Examining data/kstars-3.4.3/Tests/kstars_ui/test_ekos_guide.h Examining data/kstars-3.4.3/Tests/kstars_ui/test_ekos_simulator.cpp Examining data/kstars-3.4.3/Tests/kstars_ui/kstars_ui_tests.cpp Examining data/kstars-3.4.3/Tests/kstars_ui/test_ekos_wizard.h Examining data/kstars-3.4.3/Tests/kstars_ui/test_kstars_startup.h Examining data/kstars-3.4.3/Tests/kstars_ui/test_ekos_focus.h Examining data/kstars-3.4.3/Tests/kstars_ui/test_ekos_simulator.h Examining data/kstars-3.4.3/Tests/kstars_ui/test_ekos.h Examining data/kstars-3.4.3/Tests/kstars_ui/kstars_ui_tests.h Examining data/kstars-3.4.3/Tests/kstars_ui/test_kstars_startup.cpp Examining data/kstars-3.4.3/Tests/kstars_ui/test_ekos_guide.cpp Examining data/kstars-3.4.3/Tests/kstars_ui/test_ekos.cpp Examining data/kstars-3.4.3/Tests/kstars_ui/test_ekos_focus.cpp Examining data/kstars-3.4.3/Tests/skyobjects/test_skypoint.h Examining data/kstars-3.4.3/Tests/skyobjects/test_skypoint.cpp Examining data/kstars-3.4.3/kstars/kstarsinit.cpp Examining data/kstars-3.4.3/kstars/xplanet/opsxplanet.h Examining data/kstars-3.4.3/kstars/xplanet/opsxplanet.cpp Examining data/kstars-3.4.3/kstars/skymapliteevents.cpp Examining data/kstars-3.4.3/kstars/skypainter.h Examining data/kstars-3.4.3/kstars/skymap.cpp Examining data/kstars-3.4.3/kstars/kstars.h Examining data/kstars-3.4.3/kstars/kstarssplash.cpp Examining data/kstars-3.4.3/kstars/skymapdrawabstract.cpp Examining data/kstars-3.4.3/kstars/kstarssplash.h Examining data/kstars-3.4.3/kstars/skymaplite.h Examining data/kstars-3.4.3/kstars/skycomponents/solarsystemlistcomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/constellationboundarylines.cpp Examining data/kstars-3.4.3/kstars/skycomponents/horizontalcoordinategrid.cpp Examining data/kstars-3.4.3/kstars/skycomponents/listcomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/ecliptic.cpp Examining data/kstars-3.4.3/kstars/skycomponents/notifyupdatesui.cpp Examining data/kstars-3.4.3/kstars/skycomponents/highpmstarlist.h Examining data/kstars-3.4.3/kstars/skycomponents/skymesh.h Examining data/kstars-3.4.3/kstars/skycomponents/linelistindex.h Examining data/kstars-3.4.3/kstars/skycomponents/asteroidscomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/milkyway.cpp Examining data/kstars-3.4.3/kstars/skycomponents/coordinategrid.h Examining data/kstars-3.4.3/kstars/skycomponents/artificialhorizoncomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/binarylistcomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/horizoncomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/flagcomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/pointlistcomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/satellitescomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/linelistindex.cpp Examining data/kstars-3.4.3/kstars/skycomponents/supernovaecomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/skylabeler.cpp Examining data/kstars-3.4.3/kstars/skycomponents/asteroidscomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/supernovaecomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/constellationboundarylines.h Examining data/kstars-3.4.3/kstars/skycomponents/starblockfactory.cpp Examining data/kstars-3.4.3/kstars/skycomponents/polylist.h Examining data/kstars-3.4.3/kstars/skycomponents/constellationlines.h Examining data/kstars-3.4.3/kstars/skycomponents/equatorialcoordinategrid.cpp Examining data/kstars-3.4.3/kstars/skycomponents/localmeridiancomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/earthshadowcomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/earthshadowcomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/starcomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/equator.cpp Examining data/kstars-3.4.3/kstars/skycomponents/skymapcomposite.h Examining data/kstars-3.4.3/kstars/skycomponents/highpmstarlist.cpp Examining data/kstars-3.4.3/kstars/skycomponents/deepstarcomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/syncedcatalogcomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/satellitescomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/targetlistcomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/milkyway.h Examining data/kstars-3.4.3/kstars/skycomponents/horizoncomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/starblocklist.h Examining data/kstars-3.4.3/kstars/skycomponents/culturelist.cpp Examining data/kstars-3.4.3/kstars/skycomponents/syncedcatalogcomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/ecliptic.h Examining data/kstars-3.4.3/kstars/skycomponents/artificialhorizoncomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/constellationartcomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/solarsystemcomposite.h Examining data/kstars-3.4.3/kstars/skycomponents/solarsystemsinglecomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/hipscomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/starblock.cpp Examining data/kstars-3.4.3/kstars/skycomponents/catalogcomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/pointlistcomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/starblockfactory.h Examining data/kstars-3.4.3/kstars/skycomponents/constellationnamescomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/catalogcomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/starblocklist.cpp Examining data/kstars-3.4.3/kstars/skycomponents/flagcomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/skylabel.h Examining data/kstars-3.4.3/kstars/skycomponents/equatorialcoordinategrid.h Examining data/kstars-3.4.3/kstars/skycomponents/starblock.h Examining data/kstars-3.4.3/kstars/skycomponents/solarsystemsinglecomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/hipscomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/skycomposite.cpp Examining data/kstars-3.4.3/kstars/skycomponents/skycomposite.h Examining data/kstars-3.4.3/kstars/skycomponents/constellationlines.cpp Examining data/kstars-3.4.3/kstars/skycomponents/constellationartcomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/skymapcomposite.cpp Examining data/kstars-3.4.3/kstars/skycomponents/solarsystemlistcomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/solarsystemcomposite.cpp Examining data/kstars-3.4.3/kstars/skycomponents/skycomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/noprecessindex.cpp Examining data/kstars-3.4.3/kstars/skycomponents/horizontalcoordinategrid.h Examining data/kstars-3.4.3/kstars/skycomponents/notifyupdatesui.h Examining data/kstars-3.4.3/kstars/skycomponents/linelistlabel.h Examining data/kstars-3.4.3/kstars/skycomponents/typedef.h Examining data/kstars-3.4.3/kstars/skycomponents/culturelist.h Examining data/kstars-3.4.3/kstars/skycomponents/constellationnamescomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/planetmoonscomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/skymesh.cpp Examining data/kstars-3.4.3/kstars/skycomponents/coordinategrid.cpp Examining data/kstars-3.4.3/kstars/skycomponents/targetlistcomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/equator.h Examining data/kstars-3.4.3/kstars/skycomponents/deepskycomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/linelist.h Examining data/kstars-3.4.3/kstars/skycomponents/listcomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/localmeridiancomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/deepskycomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/cometscomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/planetmoonscomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/starcomponent.cpp Examining data/kstars-3.4.3/kstars/skycomponents/deepstarcomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/cometscomponent.h Examining data/kstars-3.4.3/kstars/skycomponents/skylabeler.h Examining data/kstars-3.4.3/kstars/skycomponents/linelistlabel.cpp Examining data/kstars-3.4.3/kstars/skycomponents/noprecessindex.h Examining data/kstars-3.4.3/kstars/skycomponents/skiphashlist.h Examining data/kstars-3.4.3/kstars/skycomponents/skycomponent.cpp Examining data/kstars-3.4.3/kstars/skymapgldraw.cpp Examining data/kstars-3.4.3/kstars/kspopupmenu.cpp Examining data/kstars-3.4.3/kstars/skypainter.cpp Examining data/kstars-3.4.3/kstars/time/simclock.cpp Examining data/kstars-3.4.3/kstars/time/kstarsdatetime.cpp Examining data/kstars-3.4.3/kstars/time/kstarsdatetime.h Examining data/kstars-3.4.3/kstars/time/timezonerule.h Examining data/kstars-3.4.3/kstars/time/timezonerule.cpp Examining data/kstars-3.4.3/kstars/time/simclock.h Examining data/kstars-3.4.3/kstars/skymapevents.cpp Examining data/kstars-3.4.3/kstars/skymapqdraw.h Examining data/kstars-3.4.3/kstars/texturemanager.cpp Examining data/kstars-3.4.3/kstars/kstarsdata.cpp Examining data/kstars-3.4.3/kstars/kstars.cpp Examining data/kstars-3.4.3/kstars/nan.h Examining data/kstars-3.4.3/kstars/oal/observation.cpp Examining data/kstars-3.4.3/kstars/oal/filter.h Examining data/kstars-3.4.3/kstars/oal/filter.cpp Examining data/kstars-3.4.3/kstars/oal/observation.h Examining data/kstars-3.4.3/kstars/oal/session.cpp Examining data/kstars-3.4.3/kstars/oal/session.h Examining data/kstars-3.4.3/kstars/oal/scope.h Examining data/kstars-3.4.3/kstars/oal/observer.cpp Examining data/kstars-3.4.3/kstars/oal/site.cpp Examining data/kstars-3.4.3/kstars/oal/log.h Examining data/kstars-3.4.3/kstars/oal/observer.h Examining data/kstars-3.4.3/kstars/oal/equipmentwriter.cpp Examining data/kstars-3.4.3/kstars/oal/equipmentwriter.h Examining data/kstars-3.4.3/kstars/oal/lens.cpp Examining data/kstars-3.4.3/kstars/oal/execute.h Examining data/kstars-3.4.3/kstars/oal/scope.cpp Examining data/kstars-3.4.3/kstars/oal/log.cpp Examining data/kstars-3.4.3/kstars/oal/execute.cpp Examining data/kstars-3.4.3/kstars/oal/observeradd.cpp Examining data/kstars-3.4.3/kstars/oal/site.h Examining data/kstars-3.4.3/kstars/oal/eyepiece.h Examining data/kstars-3.4.3/kstars/oal/lens.h Examining data/kstars-3.4.3/kstars/oal/eyepiece.cpp Examining data/kstars-3.4.3/kstars/oal/oal.h Examining data/kstars-3.4.3/kstars/oal/observeradd.h Examining data/kstars-3.4.3/kstars/ksnumbers.cpp Examining data/kstars-3.4.3/kstars/byteorder.h Examining data/kstars-3.4.3/kstars/skymapdrawabstract.h Examining data/kstars-3.4.3/kstars/auxiliary/cachingdms.h Examining data/kstars-3.4.3/kstars/auxiliary/xplanetimageviewer.cpp Examining data/kstars-3.4.3/kstars/auxiliary/geolocation.h Examining data/kstars-3.4.3/kstars/auxiliary/ksdssimage.cpp Examining data/kstars-3.4.3/kstars/auxiliary/colorscheme.h Examining data/kstars-3.4.3/kstars/auxiliary/fov.cpp Examining data/kstars-3.4.3/kstars/auxiliary/ksfilereader.h Examining data/kstars-3.4.3/kstars/auxiliary/qcustomplot.h Examining data/kstars-3.4.3/kstars/auxiliary/ksnotification.h Examining data/kstars-3.4.3/kstars/auxiliary/QRoundProgressBar.cpp Examining data/kstars-3.4.3/kstars/auxiliary/thumbnaileditor.cpp Examining data/kstars-3.4.3/kstars/auxiliary/ksutils.cpp Examining data/kstars-3.4.3/kstars/auxiliary/thememanager.cpp Examining data/kstars-3.4.3/kstars/auxiliary/QProgressIndicator.cpp Examining data/kstars-3.4.3/kstars/auxiliary/skyobjectlistmodel.cpp Examining data/kstars-3.4.3/kstars/auxiliary/schememanager.h Examining data/kstars-3.4.3/kstars/auxiliary/ksnotification.cpp Examining data/kstars-3.4.3/kstars/auxiliary/downloadhelper.h Examining data/kstars-3.4.3/kstars/auxiliary/nonlineardoublespinbox.cpp Examining data/kstars-3.4.3/kstars/auxiliary/nonlineardoublespinbox.h Examining data/kstars-3.4.3/kstars/auxiliary/dms.h Examining data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp Examining data/kstars-3.4.3/kstars/auxiliary/QRoundProgressBar.h Examining data/kstars-3.4.3/kstars/auxiliary/ksdssimage.h Examining data/kstars-3.4.3/kstars/auxiliary/colorscheme.cpp Examining data/kstars-3.4.3/kstars/auxiliary/imageviewer.h Examining data/kstars-3.4.3/kstars/auxiliary/kswizard.cpp Examining data/kstars-3.4.3/kstars/auxiliary/kspaths.h Examining data/kstars-3.4.3/kstars/auxiliary/fov.h Examining data/kstars-3.4.3/kstars/auxiliary/binfilehelper.h Examining data/kstars-3.4.3/kstars/auxiliary/imageviewer.cpp Examining data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp Examining data/kstars-3.4.3/kstars/auxiliary/thumbnaileditor.h Examining data/kstars-3.4.3/kstars/auxiliary/QProgressIndicator.h Examining data/kstars-3.4.3/kstars/auxiliary/cachingdms.cpp Examining data/kstars-3.4.3/kstars/auxiliary/xplanetimageviewer.h Examining data/kstars-3.4.3/kstars/auxiliary/dms.cpp Examining data/kstars-3.4.3/kstars/auxiliary/ksutils.h Examining data/kstars-3.4.3/kstars/auxiliary/ctkrangeslider.cpp Examining data/kstars-3.4.3/kstars/auxiliary/thumbnailpicker.h Examining data/kstars-3.4.3/kstars/auxiliary/ctkrangeslider.h Examining data/kstars-3.4.3/kstars/auxiliary/downloadhelper.cpp Examining data/kstars-3.4.3/kstars/auxiliary/ksmessagebox.cpp Examining data/kstars-3.4.3/kstars/auxiliary/skyobjectlistmodel.h Examining data/kstars-3.4.3/kstars/auxiliary/geolocation.cpp Examining data/kstars-3.4.3/kstars/auxiliary/filedownloader.cpp Examining data/kstars-3.4.3/kstars/auxiliary/profileinfo.h Examining data/kstars-3.4.3/kstars/auxiliary/filedownloader.h Examining data/kstars-3.4.3/kstars/auxiliary/thememanager.h Examining data/kstars-3.4.3/kstars/auxiliary/binfilehelper.cpp Examining data/kstars-3.4.3/kstars/auxiliary/kswizard.h Examining data/kstars-3.4.3/kstars/auxiliary/thumbnailpicker.cpp Examining data/kstars-3.4.3/kstars/auxiliary/ksmessagebox.h Examining data/kstars-3.4.3/kstars/auxiliary/profileinfo.cpp Examining data/kstars-3.4.3/kstars/auxiliary/imageexporter.cpp Examining data/kstars-3.4.3/kstars/auxiliary/imageexporter.h Examining data/kstars-3.4.3/kstars/auxiliary/kspaths.cpp Examining data/kstars-3.4.3/kstars/auxiliary/schememanager.cpp Examining data/kstars-3.4.3/kstars/auxiliary/ksfilereader.cpp Examining data/kstars-3.4.3/kstars/auxiliary/ksdssdownloader.cpp Examining data/kstars-3.4.3/kstars/auxiliary/ksdssdownloader.h Examining data/kstars-3.4.3/kstars/auxiliary/ksuserdb.h Examining data/kstars-3.4.3/kstars/skyqpainter.cpp Examining data/kstars-3.4.3/kstars/kspopupmenu.h Examining data/kstars-3.4.3/kstars/hips/hipsrenderer.cpp Examining data/kstars-3.4.3/kstars/hips/hipsmanager.h Examining data/kstars-3.4.3/kstars/hips/hips.h Examining data/kstars-3.4.3/kstars/hips/hipsmanager.cpp Examining data/kstars-3.4.3/kstars/hips/scanrender.cpp Examining data/kstars-3.4.3/kstars/hips/pixcache.h Examining data/kstars-3.4.3/kstars/hips/hipsrenderer.h Examining data/kstars-3.4.3/kstars/hips/opships.cpp Examining data/kstars-3.4.3/kstars/hips/healpix.h Examining data/kstars-3.4.3/kstars/hips/healpix.cpp Examining data/kstars-3.4.3/kstars/hips/urlfiledownload.h Examining data/kstars-3.4.3/kstars/hips/pixcache.cpp Examining data/kstars-3.4.3/kstars/hips/urlfiledownload.cpp Examining data/kstars-3.4.3/kstars/hips/opships.h Examining data/kstars-3.4.3/kstars/hips/scanrender.h Examining data/kstars-3.4.3/kstars/htmesh/MeshBuffer.cpp Examining data/kstars-3.4.3/kstars/htmesh/SpatialConstraint.h Examining data/kstars-3.4.3/kstars/htmesh/MeshIterator.h Examining data/kstars-3.4.3/kstars/htmesh/RangeConvex.h Examining data/kstars-3.4.3/kstars/htmesh/MeshIterator.cpp Examining data/kstars-3.4.3/kstars/htmesh/SpatialGeneral.h Examining data/kstars-3.4.3/kstars/htmesh/RangeConvex.cpp Examining data/kstars-3.4.3/kstars/htmesh/HtmRange.h Examining data/kstars-3.4.3/kstars/htmesh/SpatialVector.h Examining data/kstars-3.4.3/kstars/htmesh/SpatialException.h Examining data/kstars-3.4.3/kstars/htmesh/SkipListElement.cpp Examining data/kstars-3.4.3/kstars/htmesh/test-htmesh.cpp Examining data/kstars-3.4.3/kstars/htmesh/SpatialEdge.cpp Examining data/kstars-3.4.3/kstars/htmesh/MeshBuffer.h Examining data/kstars-3.4.3/kstars/htmesh/SpatialIndex.cpp Examining data/kstars-3.4.3/kstars/htmesh/SpatialEdge.h Examining data/kstars-3.4.3/kstars/htmesh/HTMesh.h Examining data/kstars-3.4.3/kstars/htmesh/SpatialConstraint.cpp Examining data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp Examining data/kstars-3.4.3/kstars/htmesh/HtmRangeIterator.h Examining data/kstars-3.4.3/kstars/htmesh/typedef.h Examining data/kstars-3.4.3/kstars/htmesh/HtmRangeIterator.cpp Examining data/kstars-3.4.3/kstars/htmesh/cc_aux.c Examining data/kstars-3.4.3/kstars/htmesh/HTMesh.cpp Examining data/kstars-3.4.3/kstars/htmesh/SpatialSign.h Examining data/kstars-3.4.3/kstars/htmesh/SkipList.h Examining data/kstars-3.4.3/kstars/htmesh/SkipListElement.h Examining data/kstars-3.4.3/kstars/htmesh/HtmRange.cpp Examining data/kstars-3.4.3/kstars/htmesh/SpatialVector.cpp Examining data/kstars-3.4.3/kstars/htmesh/SpatialIndex.h Examining data/kstars-3.4.3/kstars/htmesh/SkipList.cpp Examining data/kstars-3.4.3/kstars/kstarsliteinit.cpp Examining data/kstars-3.4.3/kstars/widgets/moonphasecalendarwidget.cpp Examining data/kstars-3.4.3/kstars/widgets/dmsbox.cpp Examining data/kstars-3.4.3/kstars/widgets/mapcanvas.h Examining data/kstars-3.4.3/kstars/widgets/thumbimage.cpp Examining data/kstars-3.4.3/kstars/widgets/magnitudespinbox.h Examining data/kstars-3.4.3/kstars/widgets/kshelplabel.cpp Examining data/kstars-3.4.3/kstars/widgets/thumbimage.h Examining data/kstars-3.4.3/kstars/widgets/dmsbox.h Examining data/kstars-3.4.3/kstars/widgets/fovwidget.h Examining data/kstars-3.4.3/kstars/widgets/moonphasecalendarwidget.h Examining data/kstars-3.4.3/kstars/widgets/infoboxwidget.cpp Examining data/kstars-3.4.3/kstars/widgets/logedit.h Examining data/kstars-3.4.3/kstars/widgets/genericcalendarwidget.h Examining data/kstars-3.4.3/kstars/widgets/timestepbox.h Examining data/kstars-3.4.3/kstars/widgets/genericcalendarwidget.cpp Examining data/kstars-3.4.3/kstars/widgets/draglistbox.cpp Examining data/kstars-3.4.3/kstars/widgets/timespinbox.cpp Examining data/kstars-3.4.3/kstars/widgets/kshelplabel.h Examining data/kstars-3.4.3/kstars/widgets/logedit.cpp Examining data/kstars-3.4.3/kstars/widgets/fovwidget.cpp Examining data/kstars-3.4.3/kstars/widgets/timeunitbox.h Examining data/kstars-3.4.3/kstars/widgets/draglistbox.h Examining data/kstars-3.4.3/kstars/widgets/unitspinboxwidget.h Examining data/kstars-3.4.3/kstars/widgets/timespinbox.h Examining data/kstars-3.4.3/kstars/widgets/magnitudespinbox.cpp Examining data/kstars-3.4.3/kstars/widgets/timeunitbox.cpp Examining data/kstars-3.4.3/kstars/widgets/clicklabel.h Examining data/kstars-3.4.3/kstars/widgets/unitspinboxwidget.cpp Examining data/kstars-3.4.3/kstars/widgets/infoboxwidget.h Examining data/kstars-3.4.3/kstars/widgets/mapcanvas.cpp Examining data/kstars-3.4.3/kstars/widgets/timestepbox.cpp Examining data/kstars-3.4.3/kstars/widgets/clicklabel.cpp Examining data/kstars-3.4.3/kstars/printing/pwizfovmanual.h Examining data/kstars-3.4.3/kstars/printing/loggingform.cpp Examining data/kstars-3.4.3/kstars/printing/pwizfovconfig.h Examining data/kstars-3.4.3/kstars/printing/printingwizard.h Examining data/kstars-3.4.3/kstars/printing/pwizobjectselection.cpp Examining data/kstars-3.4.3/kstars/printing/finderchart.h Examining data/kstars-3.4.3/kstars/printing/pwizobjectselection.h Examining data/kstars-3.4.3/kstars/printing/pwizfovsh.h Examining data/kstars-3.4.3/kstars/printing/pwizchartcontents.cpp Examining data/kstars-3.4.3/kstars/printing/printingwizard.cpp Examining data/kstars-3.4.3/kstars/printing/pwizfovsh.cpp Examining data/kstars-3.4.3/kstars/printing/simplefovexporter.h Examining data/kstars-3.4.3/kstars/printing/pwizchartcontents.h Examining data/kstars-3.4.3/kstars/printing/detailstable.h Examining data/kstars-3.4.3/kstars/printing/foveditordialog.h Examining data/kstars-3.4.3/kstars/printing/simplefovexporter.cpp Examining data/kstars-3.4.3/kstars/printing/pwizprint.cpp Examining data/kstars-3.4.3/kstars/printing/legend.cpp Examining data/kstars-3.4.3/kstars/printing/legend.h Examining data/kstars-3.4.3/kstars/printing/pwizfovtypeselection.h Examining data/kstars-3.4.3/kstars/printing/pwizfovtypeselection.cpp Examining data/kstars-3.4.3/kstars/printing/pwizfovconfig.cpp Examining data/kstars-3.4.3/kstars/printing/shfovexporter.cpp Examining data/kstars-3.4.3/kstars/printing/shfovexporter.h Examining data/kstars-3.4.3/kstars/printing/pwizchartconfig.h Examining data/kstars-3.4.3/kstars/printing/detailstable.cpp Examining data/kstars-3.4.3/kstars/printing/foveditordialog.cpp Examining data/kstars-3.4.3/kstars/printing/fovsnapshot.h Examining data/kstars-3.4.3/kstars/printing/pwizfovbrowse.h Examining data/kstars-3.4.3/kstars/printing/pwizfovmanual.cpp Examining data/kstars-3.4.3/kstars/printing/kstarsdocument.h Examining data/kstars-3.4.3/kstars/printing/pwizfovbrowse.cpp Examining data/kstars-3.4.3/kstars/printing/fovsnapshot.cpp Examining data/kstars-3.4.3/kstars/printing/finderchart.cpp Examining data/kstars-3.4.3/kstars/printing/kstarsdocument.cpp Examining data/kstars-3.4.3/kstars/printing/loggingform.h Examining data/kstars-3.4.3/kstars/printing/pwizprint.h Examining data/kstars-3.4.3/kstars/printing/pwizchartconfig.cpp Examining data/kstars-3.4.3/kstars/libtess/geom.c Examining data/kstars-3.4.3/kstars/libtess/priorityq.c Examining data/kstars-3.4.3/kstars/libtess/tessellate.c Examining data/kstars-3.4.3/kstars/libtess/mesh.c Examining data/kstars-3.4.3/kstars/libtess/memalloc.c Examining data/kstars-3.4.3/kstars/libtess/priorityq-heap.c Examining data/kstars-3.4.3/kstars/libtess/sweep.c Examining data/kstars-3.4.3/kstars/libtess/gluos.h Examining data/kstars-3.4.3/kstars/libtess/tessmono.c Examining data/kstars-3.4.3/kstars/libtess/geom.h Examining data/kstars-3.4.3/kstars/libtess/dict.c Examining data/kstars-3.4.3/kstars/libtess/dict-list.h Examining data/kstars-3.4.3/kstars/libtess/dict.h Examining data/kstars-3.4.3/kstars/libtess/priorityq.h Examining data/kstars-3.4.3/kstars/libtess/tessmono.h Examining data/kstars-3.4.3/kstars/libtess/mesh.h Examining data/kstars-3.4.3/kstars/libtess/render.h Examining data/kstars-3.4.3/kstars/libtess/src/geom.c Examining data/kstars-3.4.3/kstars/libtess/src/priorityq.c Examining data/kstars-3.4.3/kstars/libtess/src/tessellate.c Examining data/kstars-3.4.3/kstars/libtess/src/mesh.c Examining data/kstars-3.4.3/kstars/libtess/src/memalloc.c Examining data/kstars-3.4.3/kstars/libtess/src/priorityq-heap.c Examining data/kstars-3.4.3/kstars/libtess/src/sweep.c Examining data/kstars-3.4.3/kstars/libtess/src/gluos.h Examining data/kstars-3.4.3/kstars/libtess/src/tessmono.c Examining data/kstars-3.4.3/kstars/libtess/src/geom.h Examining data/kstars-3.4.3/kstars/libtess/src/dict.c Examining data/kstars-3.4.3/kstars/libtess/src/dict-list.h Examining data/kstars-3.4.3/kstars/libtess/src/dict.h Examining data/kstars-3.4.3/kstars/libtess/src/priorityq.h Examining data/kstars-3.4.3/kstars/libtess/src/tessmono.h Examining data/kstars-3.4.3/kstars/libtess/src/mesh.h Examining data/kstars-3.4.3/kstars/libtess/src/main.c Examining data/kstars-3.4.3/kstars/libtess/src/render.h Examining data/kstars-3.4.3/kstars/libtess/src/tessellate.h Examining data/kstars-3.4.3/kstars/libtess/src/sweep.h Examining data/kstars-3.4.3/kstars/libtess/src/memalloc.h Examining data/kstars-3.4.3/kstars/libtess/src/render.c Examining data/kstars-3.4.3/kstars/libtess/src/normal.h Examining data/kstars-3.4.3/kstars/libtess/src/priorityq-heap.h Examining data/kstars-3.4.3/kstars/libtess/src/normal.c Examining data/kstars-3.4.3/kstars/libtess/src/tess.h Examining data/kstars-3.4.3/kstars/libtess/src/priorityq-sort.h Examining data/kstars-3.4.3/kstars/libtess/src/glu.h Examining data/kstars-3.4.3/kstars/libtess/src/tess.c Examining data/kstars-3.4.3/kstars/libtess/tessellate.h Examining data/kstars-3.4.3/kstars/libtess/sweep.h Examining data/kstars-3.4.3/kstars/libtess/memalloc.h Examining data/kstars-3.4.3/kstars/libtess/render.c Examining data/kstars-3.4.3/kstars/libtess/normal.h Examining data/kstars-3.4.3/kstars/libtess/priorityq-heap.h Examining data/kstars-3.4.3/kstars/libtess/normal.c Examining data/kstars-3.4.3/kstars/libtess/tess.h Examining data/kstars-3.4.3/kstars/libtess/priorityq-sort.h Examining data/kstars-3.4.3/kstars/libtess/glu.h Examining data/kstars-3.4.3/kstars/libtess/tess.c Examining data/kstars-3.4.3/kstars/kstarsdata.h Examining data/kstars-3.4.3/kstars/skyglpainter.cpp Examining data/kstars-3.4.3/kstars/dialogs/addlinkdialog.cpp Examining data/kstars-3.4.3/kstars/dialogs/finddialog.h Examining data/kstars-3.4.3/kstars/dialogs/finddialog.cpp Examining data/kstars-3.4.3/kstars/dialogs/addcatdialog.cpp Examining data/kstars-3.4.3/kstars/dialogs/addlinkdialog.h Examining data/kstars-3.4.3/kstars/dialogs/locationdialog.h Examining data/kstars-3.4.3/kstars/dialogs/exportimagedialog.h Examining data/kstars-3.4.3/kstars/dialogs/locationdialog.cpp Examining data/kstars-3.4.3/kstars/dialogs/fovdialog.cpp Examining data/kstars-3.4.3/kstars/dialogs/fovdialog.h Examining data/kstars-3.4.3/kstars/dialogs/addcatdialog.h Examining data/kstars-3.4.3/kstars/dialogs/timedialog.h Examining data/kstars-3.4.3/kstars/dialogs/focusdialog.h Examining data/kstars-3.4.3/kstars/dialogs/focusdialog.cpp Examining data/kstars-3.4.3/kstars/dialogs/exportimagedialog.cpp Examining data/kstars-3.4.3/kstars/dialogs/timedialog.cpp Examining data/kstars-3.4.3/kstars/dialogs/detaildialog.h Examining data/kstars-3.4.3/kstars/dialogs/detaildialog.cpp Examining data/kstars-3.4.3/kstars/texturemanager.h Examining data/kstars-3.4.3/kstars/main.cpp Examining data/kstars-3.4.3/kstars/options/opssupernovae.h Examining data/kstars-3.4.3/kstars/options/opssolarsystem.h Examining data/kstars-3.4.3/kstars/options/opscatalog.h Examining data/kstars-3.4.3/kstars/options/opscatalog.cpp Examining data/kstars-3.4.3/kstars/options/opsguides.cpp Examining data/kstars-3.4.3/kstars/options/opssatellites.cpp Examining data/kstars-3.4.3/kstars/options/opsguides.h Examining data/kstars-3.4.3/kstars/options/opssolarsystem.cpp Examining data/kstars-3.4.3/kstars/options/opssupernovae.cpp Examining data/kstars-3.4.3/kstars/options/opscolors.cpp Examining data/kstars-3.4.3/kstars/options/opssatellites.h Examining data/kstars-3.4.3/kstars/options/opsadvanced.h Examining data/kstars-3.4.3/kstars/options/opscolors.h Examining data/kstars-3.4.3/kstars/options/opsadvanced.cpp Examining data/kstars-3.4.3/kstars/kstarslite.h Examining data/kstars-3.4.3/kstars/fitsviewer/opsfits.h Examining data/kstars-3.4.3/kstars/fitsviewer/fitsview.h Examining data/kstars-3.4.3/kstars/fitsviewer/fitscentroiddetector.h Examining data/kstars-3.4.3/kstars/fitsviewer/fitscentroiddetector.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fitsbahtinovdetector.h Examining data/kstars-3.4.3/kstars/fitsviewer/fitssepdetector.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fitslabel.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fitsviewer.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/hough/houghline.h Examining data/kstars-3.4.3/kstars/fitsviewer/hough/houghline.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fitsstardetector.h Examining data/kstars-3.4.3/kstars/fitsviewer/fitstab.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fitsskyobject.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fitstab.h Examining data/kstars-3.4.3/kstars/fitsviewer/starprofileviewer.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fitsoverlay.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fitsgradientdetector.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fitsview.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fitsviewer.h Examining data/kstars-3.4.3/kstars/fitsviewer/stretch.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fitsthresholddetector.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fitshistogram.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fpack.c Examining data/kstars-3.4.3/kstars/fitsviewer/fitsdebayer.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fitsdata.h Examining data/kstars-3.4.3/kstars/fitsviewer/sep/extract.h Examining data/kstars-3.4.3/kstars/fitsviewer/sep/overlap.h Examining data/kstars-3.4.3/kstars/fitsviewer/sep/deblend.c Examining data/kstars-3.4.3/kstars/fitsviewer/sep/extract.c Examining data/kstars-3.4.3/kstars/fitsviewer/sep/sepcore.h Examining data/kstars-3.4.3/kstars/fitsviewer/sep/sep.h Examining data/kstars-3.4.3/kstars/fitsviewer/sep/convolve.c Examining data/kstars-3.4.3/kstars/fitsviewer/sep/util.c Examining data/kstars-3.4.3/kstars/fitsviewer/sep/analyse.c Examining data/kstars-3.4.3/kstars/fitsviewer/sep/lutz.c Examining data/kstars-3.4.3/kstars/fitsviewer/sep/aperture.c Examining data/kstars-3.4.3/kstars/fitsviewer/sep/background.c Examining data/kstars-3.4.3/kstars/fitsviewer/fitsskyobject.h Examining data/kstars-3.4.3/kstars/fitsviewer/fitshistogram.h Examining data/kstars-3.4.3/kstars/fitsviewer/fitssepdetector.h Examining data/kstars-3.4.3/kstars/fitsviewer/fitsbahtinovdetector.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/bayer.h Examining data/kstars-3.4.3/kstars/fitsviewer/fitsoverlay.h Examining data/kstars-3.4.3/kstars/fitsviewer/fpack.h Examining data/kstars-3.4.3/kstars/fitsviewer/fitsstardetector.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c Examining data/kstars-3.4.3/kstars/fitsviewer/fitsgradientdetector.h Examining data/kstars-3.4.3/kstars/fitsviewer/fitsdebayer.h Examining data/kstars-3.4.3/kstars/fitsviewer/stretch.h Examining data/kstars-3.4.3/kstars/fitsviewer/fitslabel.h Examining data/kstars-3.4.3/kstars/fitsviewer/fitsthresholddetector.h Examining data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/bayer.c Examining data/kstars-3.4.3/kstars/fitsviewer/starprofileviewer.h Examining data/kstars-3.4.3/kstars/fitsviewer/opsfits.cpp Examining data/kstars-3.4.3/kstars/fitsviewer/fitscommon.h Examining data/kstars-3.4.3/kstars/skymapgldraw.h Examining data/kstars-3.4.3/kstars/skyqpainter.h Examining data/kstars-3.4.3/kstars/kstarsdbus.cpp Examining data/kstars-3.4.3/kstars/skyobjects/satellitegroup.cpp Examining data/kstars-3.4.3/kstars/skyobjects/jupitermoons.cpp Examining data/kstars-3.4.3/kstars/skyobjects/planetmoons.cpp Examining data/kstars-3.4.3/kstars/skyobjects/ksasteroid.cpp Examining data/kstars-3.4.3/kstars/skyobjects/ksmoon.cpp Examining data/kstars-3.4.3/kstars/skyobjects/starobject.h Examining data/kstars-3.4.3/kstars/skyobjects/starobject.cpp Examining data/kstars-3.4.3/kstars/skyobjects/kscomet.cpp Examining data/kstars-3.4.3/kstars/skyobjects/kssun.h Examining data/kstars-3.4.3/kstars/skyobjects/kspluto.cpp Examining data/kstars-3.4.3/kstars/skyobjects/ksasteroid.h Examining data/kstars-3.4.3/kstars/skyobjects/ksplanet.h Examining data/kstars-3.4.3/kstars/skyobjects/supernova.h Examining data/kstars-3.4.3/kstars/skyobjects/constellationsart.h Examining data/kstars-3.4.3/kstars/skyobjects/ksplanetbase.h Examining data/kstars-3.4.3/kstars/skyobjects/planetmoons.h Examining data/kstars-3.4.3/kstars/skyobjects/ksplanet.cpp Examining data/kstars-3.4.3/kstars/skyobjects/supernova.cpp Examining data/kstars-3.4.3/kstars/skyobjects/ksmoon.h Examining data/kstars-3.4.3/kstars/skyobjects/satellite.h Examining data/kstars-3.4.3/kstars/skyobjects/constellationsart.cpp Examining data/kstars-3.4.3/kstars/skyobjects/skyobject.h Examining data/kstars-3.4.3/kstars/skyobjects/deepstardata.h Examining data/kstars-3.4.3/kstars/skyobjects/skypoint.h Examining data/kstars-3.4.3/kstars/skyobjects/deepskyobject.h Examining data/kstars-3.4.3/kstars/skyobjects/auxinfo.h Examining data/kstars-3.4.3/kstars/skyobjects/kscomet.h Examining data/kstars-3.4.3/kstars/skyobjects/satellite.cpp Examining data/kstars-3.4.3/kstars/skyobjects/deepskyobject.cpp Examining data/kstars-3.4.3/kstars/skyobjects/kssun.cpp Examining data/kstars-3.4.3/kstars/skyobjects/skyline.cpp Examining data/kstars-3.4.3/kstars/skyobjects/deepskyobjectdata.h Examining data/kstars-3.4.3/kstars/skyobjects/ksearthshadow.h Examining data/kstars-3.4.3/kstars/skyobjects/jupitermoons.h Examining data/kstars-3.4.3/kstars/skyobjects/skyline.h Examining data/kstars-3.4.3/kstars/skyobjects/ksplanetbase.cpp Examining data/kstars-3.4.3/kstars/skyobjects/satellitegroup.h Examining data/kstars-3.4.3/kstars/skyobjects/trailobject.h Examining data/kstars-3.4.3/kstars/skyobjects/skypoint.cpp Examining data/kstars-3.4.3/kstars/skyobjects/skyobject.cpp Examining data/kstars-3.4.3/kstars/skyobjects/kspluto.h Examining data/kstars-3.4.3/kstars/skyobjects/trailobject.cpp Examining data/kstars-3.4.3/kstars/skyobjects/stardata.h Examining data/kstars-3.4.3/kstars/skyobjects/ksearthshadow.cpp Examining data/kstars-3.4.3/kstars/ksnumbers.h Examining data/kstars-3.4.3/kstars/libindi_strings.cpp Examining data/kstars-3.4.3/kstars/kstarslite.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyobjectlite.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/horizonitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/deepstaritem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/cometsitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skyitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/cometsitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/asteroidsitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/supernovaeitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/staritem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/satellitesitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/horizonitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/telescopesymbolsitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/deepskyitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/lines/equatoritem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/lines/eclipticitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/lines/eclipticitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/lines/linesitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/lines/milkywayitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/lines/equatoritem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/lines/milkywayitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/lines/linesitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/planetsitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/labelsitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/planetsitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/rootnode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/fovitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/typedeflite.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/satellitesitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/labelsitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/constellationartitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/fovitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/syncedcatalogitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/rootnode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skyitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/deepstaritem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skyopacitynode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/constellationartitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skyopacitynode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/deepskyitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/supernovaeitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/skypolygonnode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/fovsymbolnode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/guidelabelnode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/nodes/ellipsenode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/nodes/linenode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/nodes/linenode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/nodes/rectnode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/nodes/ellipsenode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/nodes/rectnode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/nodes/polynode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/nodes/pointnode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/nodes/pointnode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/nodes/polynode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/crosshairnode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/constellationartnode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/planetmoonsnode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/horizonnode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/trixelnode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/satellitenode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/horizonnode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/dsosymbolnode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/fovsymbolnode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/skypolygonnode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/dsosymbolnode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/supernovanode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/supernovanode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/labelnode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/pointsourcenode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/planetnode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/constellationartnode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/planetmoonsnode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/labelnode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/trixelnode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/deepskynode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/guidelabelnode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/material/dashedshader.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/material/dashedshader.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/planetnode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/skynode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/crosshairnode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/deepskynode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/pointsourcenode.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/skynode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/skynodes/satellitenode.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/syncedcatalogitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/asteroidsitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/telescopesymbolsitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/constellationnamesitem.cpp Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/constellationnamesitem.h Examining data/kstars-3.4.3/kstars/kstarslite/skyitems/staritem.h Examining data/kstars-3.4.3/kstars/kstarslite/imageprovider.cpp Examining data/kstars-3.4.3/kstars/kstarslite/imageprovider.h Examining data/kstars-3.4.3/kstars/kstarslite/skypointlite.h Examining data/kstars-3.4.3/kstars/kstarslite/dialogs/locationdialoglite.cpp Examining data/kstars-3.4.3/kstars/kstarslite/dialogs/finddialoglite.cpp Examining data/kstars-3.4.3/kstars/kstarslite/dialogs/detaildialoglite.cpp Examining data/kstars-3.4.3/kstars/kstarslite/dialogs/detaildialoglite.h Examining data/kstars-3.4.3/kstars/kstarslite/dialogs/finddialoglite.h Examining data/kstars-3.4.3/kstars/kstarslite/dialogs/locationdialoglite.h Examining data/kstars-3.4.3/kstars/kstarslite/skyobjectlite.h Examining data/kstars-3.4.3/kstars/kstarslite/deviceorientation.cpp Examining data/kstars-3.4.3/kstars/kstarslite/deviceorientation.h Examining data/kstars-3.4.3/kstars/kstarslite/skypointlite.cpp Examining data/kstars-3.4.3/kstars/kstarsactions.cpp Examining data/kstars-3.4.3/kstars/projections/stereographicprojector.h Examining data/kstars-3.4.3/kstars/projections/equirectangularprojector.cpp Examining data/kstars-3.4.3/kstars/projections/orthographicprojector.cpp Examining data/kstars-3.4.3/kstars/projections/projector.cpp Examining data/kstars-3.4.3/kstars/projections/equirectangularprojector.h Examining data/kstars-3.4.3/kstars/projections/stereographicprojector.cpp Examining data/kstars-3.4.3/kstars/projections/gnomonicprojector.h Examining data/kstars-3.4.3/kstars/projections/lambertprojector.h Examining data/kstars-3.4.3/kstars/projections/gnomonicprojector.cpp Examining data/kstars-3.4.3/kstars/projections/projector.h Examining data/kstars-3.4.3/kstars/projections/lambertprojector.cpp Examining data/kstars-3.4.3/kstars/projections/azimuthalequidistantprojector.h Examining data/kstars-3.4.3/kstars/projections/orthographicprojector.h Examining data/kstars-3.4.3/kstars/projections/azimuthalequidistantprojector.cpp Examining data/kstars-3.4.3/kstars/indi/drivermanager.h Examining data/kstars-3.4.3/kstars/indi/deviceinfo.h Examining data/kstars-3.4.3/kstars/indi/indifocuser.h Examining data/kstars-3.4.3/kstars/indi/indicap.cpp Examining data/kstars-3.4.3/kstars/indi/indilightbox.h Examining data/kstars-3.4.3/kstars/indi/videowg.cpp Examining data/kstars-3.4.3/kstars/indi/indifilter.cpp Examining data/kstars-3.4.3/kstars/indi/deviceinfo.cpp Examining data/kstars-3.4.3/kstars/indi/customdrivers.cpp Examining data/kstars-3.4.3/kstars/indi/indielement.h Examining data/kstars-3.4.3/kstars/indi/videowg.h Examining data/kstars-3.4.3/kstars/indi/opsindi.h Examining data/kstars-3.4.3/kstars/indi/opsindi.cpp Examining data/kstars-3.4.3/kstars/indi/indielement.cpp Examining data/kstars-3.4.3/kstars/indi/telescopewizardprocess.h Examining data/kstars-3.4.3/kstars/indi/driverinfo.h Examining data/kstars-3.4.3/kstars/indi/devicemanager.cpp Examining data/kstars-3.4.3/kstars/indi/indidbus.h Examining data/kstars-3.4.3/kstars/indi/telescopewizardprocess.cpp Examining data/kstars-3.4.3/kstars/indi/indiproperty.h Examining data/kstars-3.4.3/kstars/indi/devicemanager.h Examining data/kstars-3.4.3/kstars/indi/indicommon.h Examining data/kstars-3.4.3/kstars/indi/driverinfo.cpp Examining data/kstars-3.4.3/kstars/indi/indilistener.cpp Examining data/kstars-3.4.3/kstars/indi/inditelescopelite.h Examining data/kstars-3.4.3/kstars/indi/indiweather.cpp Examining data/kstars-3.4.3/kstars/indi/indilistener.h Examining data/kstars-3.4.3/kstars/indi/indiproperty.cpp Examining data/kstars-3.4.3/kstars/indi/indistd.h Examining data/kstars-3.4.3/kstars/indi/indiwebmanager.cpp Examining data/kstars-3.4.3/kstars/indi/indiweather.h Examining data/kstars-3.4.3/kstars/indi/indifocuser.cpp Examining data/kstars-3.4.3/kstars/indi/indidriver.h Examining data/kstars-3.4.3/kstars/indi/indilightbox.cpp Examining data/kstars-3.4.3/kstars/indi/indigroup.cpp Examining data/kstars-3.4.3/kstars/indi/indifilter.h Examining data/kstars-3.4.3/kstars/indi/indidome.h Examining data/kstars-3.4.3/kstars/indi/indiccd.cpp Examining data/kstars-3.4.3/kstars/indi/clientmanagerlite.cpp Examining data/kstars-3.4.3/kstars/indi/indistd.cpp Examining data/kstars-3.4.3/kstars/indi/customdrivers.h Examining data/kstars-3.4.3/kstars/indi/blobmanager.h Examining data/kstars-3.4.3/kstars/indi/indidome.cpp Examining data/kstars-3.4.3/kstars/indi/indidriver.cpp Examining data/kstars-3.4.3/kstars/indi/streamwg.cpp Examining data/kstars-3.4.3/kstars/indi/indidevice.h Examining data/kstars-3.4.3/kstars/indi/blobmanager.cpp Examining data/kstars-3.4.3/kstars/indi/clientmanagerlite.h Examining data/kstars-3.4.3/kstars/indi/guimanager.cpp Examining data/kstars-3.4.3/kstars/indi/indigroup.h Examining data/kstars-3.4.3/kstars/indi/indiccd.h Examining data/kstars-3.4.3/kstars/indi/inditelescope.h Examining data/kstars-3.4.3/kstars/indi/streamwg.h Examining data/kstars-3.4.3/kstars/indi/wsmedia.h Examining data/kstars-3.4.3/kstars/indi/servermanager.h Examining data/kstars-3.4.3/kstars/indi/wsmedia.cpp Examining data/kstars-3.4.3/kstars/indi/indidevice.cpp Examining data/kstars-3.4.3/kstars/indi/indicap.h Examining data/kstars-3.4.3/kstars/indi/indidbus.cpp Examining data/kstars-3.4.3/kstars/indi/drivermanager.cpp Examining data/kstars-3.4.3/kstars/indi/guimanager.h Examining data/kstars-3.4.3/kstars/indi/clientmanager.cpp Examining data/kstars-3.4.3/kstars/indi/servermanager.cpp Examining data/kstars-3.4.3/kstars/indi/inditelescope.cpp Examining data/kstars-3.4.3/kstars/indi/inditelescopelite.cpp Examining data/kstars-3.4.3/kstars/indi/clientmanager.h Examining data/kstars-3.4.3/kstars/indi/indiwebmanager.h Examining data/kstars-3.4.3/kstars/ksalmanac.h Examining data/kstars-3.4.3/kstars/tools/modcalcvizequinox.cpp Examining data/kstars-3.4.3/kstars/tools/obslistwizard.h Examining data/kstars-3.4.3/kstars/tools/exporteyepieceview.h Examining data/kstars-3.4.3/kstars/tools/modcalcvlsr.h Examining data/kstars-3.4.3/kstars/tools/horizonmanager.h Examining data/kstars-3.4.3/kstars/tools/modcalcgeodcoord.cpp Examining data/kstars-3.4.3/kstars/tools/avtplotwidget.h Examining data/kstars-3.4.3/kstars/tools/wutdialog.h Examining data/kstars-3.4.3/kstars/tools/eclipsehandler.h Examining data/kstars-3.4.3/kstars/tools/modcalcapcoord.h Examining data/kstars-3.4.3/kstars/tools/ksconjunct.h Examining data/kstars-3.4.3/kstars/tools/eclipsetool.cpp Examining data/kstars-3.4.3/kstars/tools/modcalceclipticcoords.h Examining data/kstars-3.4.3/kstars/tools/altvstime.cpp Examining data/kstars-3.4.3/kstars/tools/jmoontool.h Examining data/kstars-3.4.3/kstars/tools/eclipsehandler.cpp Examining data/kstars-3.4.3/kstars/tools/starhopper.cpp Examining data/kstars-3.4.3/kstars/tools/jmoontool.cpp Examining data/kstars-3.4.3/kstars/tools/modcalcangdist.h Examining data/kstars-3.4.3/kstars/tools/eqplotwidget.cpp Examining data/kstars-3.4.3/kstars/tools/starhopper.h Examining data/kstars-3.4.3/kstars/tools/ksconjunct.cpp Examining data/kstars-3.4.3/kstars/tools/eclipsetool.h Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/wiview.cpp Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/skyobjdescription.h Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/modelmanager.cpp Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/wilpsettings.cpp Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/wiview.h Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/skyobjlistmodel.cpp Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/obsconditions.cpp Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/wiequipsettings.h Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/obsconditions.h Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/skyobjlistmodel.h Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/skyobjitem.h Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/wilpsettings.h Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/skyobjitem.cpp Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/wiequipsettings.cpp Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/modelmanager.h Examining data/kstars-3.4.3/kstars/tools/whatsinteresting/skyobjdescription.cpp Examining data/kstars-3.4.3/kstars/tools/pvplotwidget.h Examining data/kstars-3.4.3/kstars/tools/conjunctions.h Examining data/kstars-3.4.3/kstars/tools/skycalendar.h Examining data/kstars-3.4.3/kstars/tools/modcalcjd.h Examining data/kstars-3.4.3/kstars/tools/wutdialog.cpp Examining data/kstars-3.4.3/kstars/tools/modcalcgalcoord.h Examining data/kstars-3.4.3/kstars/tools/modcalcdaylength.h Examining data/kstars-3.4.3/kstars/tools/moonphasetool.cpp Examining data/kstars-3.4.3/kstars/tools/modcalcangdist.cpp Examining data/kstars-3.4.3/kstars/tools/modcalcgeodcoord.h Examining data/kstars-3.4.3/kstars/tools/modcalcdaylength.cpp Examining data/kstars-3.4.3/kstars/tools/nameresolver.cpp Examining data/kstars-3.4.3/kstars/tools/modcalcjd.cpp Examining data/kstars-3.4.3/kstars/tools/flagmanager.cpp Examining data/kstars-3.4.3/kstars/tools/avtplotwidget.cpp Examining data/kstars-3.4.3/kstars/tools/starhopperdialog.cpp Examining data/kstars-3.4.3/kstars/tools/modcalcsidtime.cpp Examining data/kstars-3.4.3/kstars/tools/modcalcaltaz.cpp Examining data/kstars-3.4.3/kstars/tools/calendarwidget.h Examining data/kstars-3.4.3/kstars/tools/eclipsetool/lunareclipsehandler.cpp Examining data/kstars-3.4.3/kstars/tools/eclipsetool/lunareclipsehandler.h Examining data/kstars-3.4.3/kstars/tools/pvplotwidget.cpp Examining data/kstars-3.4.3/kstars/tools/observinglist.h Examining data/kstars-3.4.3/kstars/tools/modcalcvlsr.cpp Examining data/kstars-3.4.3/kstars/tools/polarishourangle.h Examining data/kstars-3.4.3/kstars/tools/scriptargwidgets.cpp Examining data/kstars-3.4.3/kstars/tools/modcalcgalcoord.cpp Examining data/kstars-3.4.3/kstars/tools/sessionsortfilterproxymodel.cpp Examining data/kstars-3.4.3/kstars/tools/obslistpopupmenu.cpp Examining data/kstars-3.4.3/kstars/tools/calendarwidget.cpp Examining data/kstars-3.4.3/kstars/tools/sessionsortfilterproxymodel.h Examining data/kstars-3.4.3/kstars/tools/conjunctions.cpp Examining data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp Examining data/kstars-3.4.3/kstars/tools/horizonmanager.cpp Examining data/kstars-3.4.3/kstars/tools/planetviewer.cpp Examining data/kstars-3.4.3/kstars/tools/moonphasetool.h Examining data/kstars-3.4.3/kstars/tools/modcalcsidtime.h Examining data/kstars-3.4.3/kstars/tools/astrocalc.h Examining data/kstars-3.4.3/kstars/tools/adddeepskyobject.cpp Examining data/kstars-3.4.3/kstars/tools/scriptargwidgets.h Examining data/kstars-3.4.3/kstars/tools/obslistwizard.cpp Examining data/kstars-3.4.3/kstars/tools/modcalcplanets.h Examining data/kstars-3.4.3/kstars/tools/modcalceclipticcoords.cpp Examining data/kstars-3.4.3/kstars/tools/approachsolver.h Examining data/kstars-3.4.3/kstars/tools/eyepiecefield.h Examining data/kstars-3.4.3/kstars/tools/planetviewer.h Examining data/kstars-3.4.3/kstars/tools/approachsolver.cpp Examining data/kstars-3.4.3/kstars/tools/modcalcapcoord.cpp Examining data/kstars-3.4.3/kstars/tools/nameresolver.h Examining data/kstars-3.4.3/kstars/tools/obslistpopupmenu.h Examining data/kstars-3.4.3/kstars/tools/astrocalc.cpp Examining data/kstars-3.4.3/kstars/tools/modcalcvizequinox.h Examining data/kstars-3.4.3/kstars/tools/observinglist.cpp Examining data/kstars-3.4.3/kstars/tools/polarishourangle.cpp Examining data/kstars-3.4.3/kstars/tools/eyepiecefield.cpp Examining data/kstars-3.4.3/kstars/tools/eqplotwidget.h Examining data/kstars-3.4.3/kstars/tools/flagmanager.h Examining data/kstars-3.4.3/kstars/tools/starhopperdialog.h Examining data/kstars-3.4.3/kstars/tools/skycalendar.cpp Examining data/kstars-3.4.3/kstars/tools/altvstime.h Examining data/kstars-3.4.3/kstars/tools/scriptbuilder.h Examining data/kstars-3.4.3/kstars/tools/scriptfunction.cpp Examining data/kstars-3.4.3/kstars/tools/modcalcplanets.cpp Examining data/kstars-3.4.3/kstars/tools/exporteyepieceview.cpp Examining data/kstars-3.4.3/kstars/tools/scriptfunction.h Examining data/kstars-3.4.3/kstars/tools/adddeepskyobject.h Examining data/kstars-3.4.3/kstars/tools/modcalcaltaz.h Examining data/kstars-3.4.3/kstars/skymap.h Examining data/kstars-3.4.3/kstars/ksalmanac.cpp Examining data/kstars-3.4.3/kstars/skymaplite.cpp Examining data/kstars-3.4.3/kstars/data/tools/binfile.h Examining data/kstars-3.4.3/kstars/data/tools/mysql2bin.c Examining data/kstars-3.4.3/kstars/data/tools/readnomadbindump.c Examining data/kstars-3.4.3/kstars/data/tools/binfiletester.c Examining data/kstars-3.4.3/kstars/data/tools/nomadbinfiletester.c Examining data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin.c Examining data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.h Examining data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin-split.c Examining data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.cpp Examining data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.h Examining data/kstars-3.4.3/kstars/data/tools/HTMesh-0.01/ppport.h Examining data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin-merge.c Examining data/kstars-3.4.3/kstars/data/tools/angconversion.h Examining data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp Examining data/kstars-3.4.3/kstars/ekos/ekoslive/media.h Examining data/kstars-3.4.3/kstars/ekos/ekoslive/message.cpp Examining data/kstars-3.4.3/kstars/ekos/ekoslive/message.h Examining data/kstars-3.4.3/kstars/ekos/ekoslive/cloud.h Examining data/kstars-3.4.3/kstars/ekos/ekoslive/ekosliveclient.h Examining data/kstars-3.4.3/kstars/ekos/ekoslive/cloud.cpp Examining data/kstars-3.4.3/kstars/ekos/ekoslive/ekosliveclient.cpp Examining data/kstars-3.4.3/kstars/ekos/ekoslive/media.cpp Examining data/kstars-3.4.3/kstars/ekos/ekoslive/commands.h Examining data/kstars-3.4.3/kstars/ekos/observatory/observatorydomemodel.h Examining data/kstars-3.4.3/kstars/ekos/observatory/observatorydomemodel.cpp Examining data/kstars-3.4.3/kstars/ekos/observatory/observatorymodel.cpp Examining data/kstars-3.4.3/kstars/ekos/observatory/observatory.cpp Examining data/kstars-3.4.3/kstars/ekos/observatory/observatory.h Examining data/kstars-3.4.3/kstars/ekos/observatory/observatoryweathermodel.h Examining data/kstars-3.4.3/kstars/ekos/observatory/observatorymodel.h Examining data/kstars-3.4.3/kstars/ekos/observatory/observatoryweathermodel.cpp Examining data/kstars-3.4.3/kstars/ekos/qMDNS.h Examining data/kstars-3.4.3/kstars/ekos/profilewizard.cpp Examining data/kstars-3.4.3/kstars/ekos/opsekos.h Examining data/kstars-3.4.3/kstars/ekos/mount/mount.h Examining data/kstars-3.4.3/kstars/ekos/mount/mount.cpp Examining data/kstars-3.4.3/kstars/ekos/focus/focus.h Examining data/kstars-3.4.3/kstars/ekos/focus/polynomialfit.cpp Examining data/kstars-3.4.3/kstars/ekos/focus/polynomialfit.h Examining data/kstars-3.4.3/kstars/ekos/focus/focus.cpp Examining data/kstars-3.4.3/kstars/ekos/focus/focusalgorithms.h Examining data/kstars-3.4.3/kstars/ekos/focus/focusalgorithms.cpp Examining data/kstars-3.4.3/kstars/ekos/profilewizard.h Examining data/kstars-3.4.3/kstars/ekos/indihub.h Examining data/kstars-3.4.3/kstars/ekos/auxiliary/filterdelegate.h Examining data/kstars-3.4.3/kstars/ekos/auxiliary/dome.cpp Examining data/kstars-3.4.3/kstars/ekos/auxiliary/opslogs.cpp Examining data/kstars-3.4.3/kstars/ekos/auxiliary/filtermanager.cpp Examining data/kstars-3.4.3/kstars/ekos/auxiliary/serialportassistant.cpp Examining data/kstars-3.4.3/kstars/ekos/auxiliary/darklibrary.h Examining data/kstars-3.4.3/kstars/ekos/auxiliary/filtermanager.h Examining data/kstars-3.4.3/kstars/ekos/auxiliary/dome.h Examining data/kstars-3.4.3/kstars/ekos/auxiliary/opslogs.h Examining data/kstars-3.4.3/kstars/ekos/auxiliary/dustcap.h Examining data/kstars-3.4.3/kstars/ekos/auxiliary/weather.h Examining data/kstars-3.4.3/kstars/ekos/auxiliary/dustcap.cpp Examining data/kstars-3.4.3/kstars/ekos/auxiliary/weather.cpp Examining data/kstars-3.4.3/kstars/ekos/auxiliary/filterdelegate.cpp Examining data/kstars-3.4.3/kstars/ekos/auxiliary/serialportassistant.h Examining data/kstars-3.4.3/kstars/ekos/auxiliary/darklibrary.cpp Examining data/kstars-3.4.3/kstars/ekos/capture/customproperties.h Examining data/kstars-3.4.3/kstars/ekos/capture/sequencejob.h Examining data/kstars-3.4.3/kstars/ekos/capture/customproperties.cpp Examining data/kstars-3.4.3/kstars/ekos/capture/rotatorsettings.h Examining data/kstars-3.4.3/kstars/ekos/capture/dslrinfodialog.cpp Examining data/kstars-3.4.3/kstars/ekos/capture/capture.cpp Examining data/kstars-3.4.3/kstars/ekos/capture/dslrinfodialog.h Examining data/kstars-3.4.3/kstars/ekos/capture/sequencejob.cpp Examining data/kstars-3.4.3/kstars/ekos/capture/capture.h Examining data/kstars-3.4.3/kstars/ekos/capture/rotatorsettings.cpp Examining data/kstars-3.4.3/kstars/ekos/ekos.h Examining data/kstars-3.4.3/kstars/ekos/ekos.cpp Examining data/kstars-3.4.3/kstars/ekos/manager.cpp Examining data/kstars-3.4.3/kstars/ekos/opsekos.cpp Examining data/kstars-3.4.3/kstars/ekos/align/remoteastrometryparser.h Examining data/kstars-3.4.3/kstars/ekos/align/polaralign.h Examining data/kstars-3.4.3/kstars/ekos/align/offlineastrometryparser.cpp Examining data/kstars-3.4.3/kstars/ekos/align/polaralign.cpp Examining data/kstars-3.4.3/kstars/ekos/align/align.cpp Examining data/kstars-3.4.3/kstars/ekos/align/astrometryparser.h Examining data/kstars-3.4.3/kstars/ekos/align/opsastrometry.h Examining data/kstars-3.4.3/kstars/ekos/align/remoteastrometryparser.cpp Examining data/kstars-3.4.3/kstars/ekos/align/opsastrometrycfg.h Examining data/kstars-3.4.3/kstars/ekos/align/opsastrometryindexfiles.cpp Examining data/kstars-3.4.3/kstars/ekos/align/astrometryparser.cpp Examining data/kstars-3.4.3/kstars/ekos/align/opsastrometry.cpp Examining data/kstars-3.4.3/kstars/ekos/align/alignview.h Examining data/kstars-3.4.3/kstars/ekos/align/opsastrometrycfg.cpp Examining data/kstars-3.4.3/kstars/ekos/align/onlineastrometryparser.h Examining data/kstars-3.4.3/kstars/ekos/align/opsastap.cpp Examining data/kstars-3.4.3/kstars/ekos/align/opsastap.h Examining data/kstars-3.4.3/kstars/ekos/align/opsastrometryindexfiles.h Examining data/kstars-3.4.3/kstars/ekos/align/offlineastrometryparser.h Examining data/kstars-3.4.3/kstars/ekos/align/astapastrometryparser.h Examining data/kstars-3.4.3/kstars/ekos/align/opsalign.cpp Examining data/kstars-3.4.3/kstars/ekos/align/opsalign.h Examining data/kstars-3.4.3/kstars/ekos/align/align.h Examining data/kstars-3.4.3/kstars/ekos/align/astapastrometryparser.cpp Examining data/kstars-3.4.3/kstars/ekos/align/alignview.cpp Examining data/kstars-3.4.3/kstars/ekos/align/onlineastrometryparser.cpp Examining data/kstars-3.4.3/kstars/ekos/qMDNS.cpp Examining data/kstars-3.4.3/kstars/ekos/profileeditor.cpp Examining data/kstars-3.4.3/kstars/ekos/profileeditor.h Examining data/kstars-3.4.3/kstars/ekos/scheduler/mosaic.h Examining data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.h Examining data/kstars-3.4.3/kstars/ekos/scheduler/schedulerjob.h Examining data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp Examining data/kstars-3.4.3/kstars/ekos/scheduler/schedulerjob.cpp Examining data/kstars-3.4.3/kstars/ekos/scheduler/mosaic.cpp Examining data/kstars-3.4.3/kstars/ekos/manager.h Examining data/kstars-3.4.3/kstars/ekos/guide/opsguide.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/gpg.h Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/vect.h Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/guidelog.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/gpg.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/imageautoguiding.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/internalguider.h Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/imageautoguiding.h Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/starcorrespondence.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/vect.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/calibration.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/calibration.h Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/gmath.h Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/tests/gaussian_process/evaluate_performance.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/tests/gaussian_process/gp_guider_test.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/tests/gaussian_process/guide_performance_tools.h Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/tests/gaussian_process/math_tools_test.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/tests/gaussian_process/gaussian_process_test.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/tests/gaussian_process/guide_performance_test.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/math_tools.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/math_tools.h Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/gaussian_process_guider.h Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/covariance_functions.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/covariance_functions.h Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/gaussian_process.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/gaussian_process.h Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/gaussian_process_guider.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/tools/math_tools.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/tools/math_tools.h Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/starcorrespondence.h Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/matr.h Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/guidestars.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/internalguider.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/gmath.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/guidestars.h Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/matr.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/internalguide/guidelog.h Examining data/kstars-3.4.3/kstars/ekos/guide/guideinterface.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/opscalibration.h Examining data/kstars-3.4.3/kstars/ekos/guide/guideinterface.h Examining data/kstars-3.4.3/kstars/ekos/guide/guideview.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/guideview.h Examining data/kstars-3.4.3/kstars/ekos/guide/guide.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/externalguide/linguider.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/externalguide/phd2.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/externalguide/phd2.h Examining data/kstars-3.4.3/kstars/ekos/guide/externalguide/linguider.h Examining data/kstars-3.4.3/kstars/ekos/guide/guide.h Examining data/kstars-3.4.3/kstars/ekos/guide/opscalibration.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/opsgpg.h Examining data/kstars-3.4.3/kstars/ekos/guide/opsgpg.cpp Examining data/kstars-3.4.3/kstars/ekos/guide/opsguide.h Examining data/kstars-3.4.3/kstars/skymapqdraw.cpp Examining data/kstars-3.4.3/kstars/skyglpainter.h FINAL RESULTS: data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:948:9: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. chmod(fname.toLatin1(), S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:1031:5: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. chmod(QFile::encodeName(f.fileName()), S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); data/kstars-3.4.3/kstars/auxiliary/dms.cpp:327:26: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. return dummy.sprintf("%c%1d%c %02d\' %05.2f\"", pm, dd, 176, dm, sec); data/kstars-3.4.3/kstars/auxiliary/dms.cpp:330:22: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. return dummy.sprintf("%c%1d%c %02d\' %02d\"", pm, dd, 176, dm, ds); data/kstars-3.4.3/kstars/auxiliary/dms.cpp:338:26: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. return dummy.sprintf("%c%2d%c %02d\' %05.2f\"", pm, dd, 176, dm, sec); data/kstars-3.4.3/kstars/auxiliary/dms.cpp:341:22: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. return dummy.sprintf("%c%2d%c %02d\' %02d\"", pm, dd, 176, dm, ds); data/kstars-3.4.3/kstars/auxiliary/dms.cpp:344:22: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. return dummy.sprintf("%c%02d:%02d:%02d", pm, dd, dm, ds); data/kstars-3.4.3/kstars/auxiliary/dms.cpp:351:26: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. return dummy.sprintf("%c%3d%c %02d\' %05.2f\"", pm, dd, 176, dm, sec); data/kstars-3.4.3/kstars/auxiliary/dms.cpp:354:26: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. return dummy.sprintf("%c%3d%c %02d\' %02d\"", pm, dd, 176, dm, ds); data/kstars-3.4.3/kstars/auxiliary/dms.cpp:357:22: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. return dummy.sprintf("%c%03d:%02d:%02d", pm, dd, dm, ds); data/kstars-3.4.3/kstars/auxiliary/dms.cpp:388:26: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. return dummy.sprintf("%02dh %02dm %05.2f", hour(), minute(), sec); data/kstars-3.4.3/kstars/auxiliary/dms.cpp:391:26: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. return dummy.sprintf("%02dh %02dm %02ds", hour(), minute(), second()); data/kstars-3.4.3/kstars/auxiliary/dms.cpp:394:22: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. return dummy.sprintf("%02d:%02d:%02d", hour(), minute(), second()); data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:343:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(query, data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.cpp:44: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(db_tbl, _db_tbl); data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.cpp:70:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(create_query, data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.cpp:189:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(query, data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.cpp:210:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(query, "TRUNCATE TABLE `%s`", db_tbl); data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.cpp:346:21: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(query, data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.cpp:444: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(db_tbl, argv[5]); data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.cpp:445: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(db_name, argv[4]); data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:45: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(db_tbl, _db_tbl); data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:73:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(create_query, data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:87:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(index_query, "CREATE INDEX IF NOT EXISTS `TrixelIndex` ON `%s`(`Trixel`)", db_tbl); data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:198:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(query, data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:249:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(query, "DELETE FROM `%s`; VACUUM;", db_tbl); data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:289:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(query, data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:537: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(db_name, argv[2]); data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:538: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(db_tbl, argv[3]); data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin-merge.c:177:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(fname, "%s%d", argv[3], current_trixel); data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin-split.c:130:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(query, data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin.c:208:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(query, data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:129: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 (tmpnam, rootname); /* start with rootname */ data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:130: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(tmpnam, suffix); /* append the suffix */ data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:448:17: [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(outfits,fpptr->prefix); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:455:17: [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(outfits, infits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:537:17: [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(outfits, infits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:640:17: [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(outfits, fpvar.outfile); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:645:21: [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(outfits,fpvar.prefix); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:653:21: [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(outfits, output_filename); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:681:21: [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(outfits, output_filename); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:720:17: [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(tempfilename, outfits); /* store temp file name, in case of abort */ data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:818: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(outfits, temp); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:869:13: [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(temp,outfits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:870:22: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. int rc = system(temp); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:985: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(hduname, hduloc); /* copy the first name into temporary string */ data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1047:17: [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(hduname, hduloc); /* copy the next name into temporary string */ data/kstars-3.4.3/kstars/fitsviewer/sep/sepcore.h:57:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(errtext, #ptr " (" #nel "=%lu elements) " \ data/kstars-3.4.3/kstars/fitsviewer/sep/sepcore.h:70:2: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(errtext, #ptr " (" #nel "=%lu elements) " \ data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:307:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(errtext, _errdetail_buffer); data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:313:4: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(_errdetail_buffer, errtext); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:52: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(str_, cstr); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:57:13: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s : %s", defaultstr[CONTEXT], defaultstr[defIndex]); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:74:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s : %s", tmpc, tmpb); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:89: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(str_, oldX.str_); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:107:17: [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(str_, oldX.str_); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:184:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s: ", context); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:187:13: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s %s failed ", str_, operation); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:192:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s on \"%s\"", str_, resource); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:194:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s trouble with \"%s\"", str_, resource); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:199:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s because %s", str_, because); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:201:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s %s", str_, because); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:228:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s[%d]", str_, index); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:230:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s array index %d ", str_, index); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:233:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s over upper bound by %d", str_, index - limit); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:237:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s under lower bound by %d", str_, limit - index); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:271:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s: ", context); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:274:13: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s argument \"%s\" is invalid because %s ", str_, argument, because); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:278:13: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s invalid argument \"%s\" ", str_, argument); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:283:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s %s", str_, because); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:285:17: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(str_, "%s interface violation", str_); data/kstars-3.4.3/kstars/indi/devicemanager.cpp:594:31: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. serverFP << QString().sprintf(" %.72s\n", blobBuffer + i); data/kstars-3.4.3/kstars/indi/indiccd.cpp:512: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(n.name, expProp->np[0].name); data/kstars-3.4.3/kstars/indi/telescopewizardprocess.cpp:47:36: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. ui->timeOut->setText(QString().sprintf("%02d:%02d:%02d", newTime.hour(), newTime.minute(), newTime.second())); data/kstars-3.4.3/kstars/indi/telescopewizardprocess.cpp:48:36: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. ui->dateOut->setText(QString().sprintf("%d-%02d-%02d", newDate.year(), newDate.month(), newDate.day())); data/kstars-3.4.3/kstars/indi/telescopewizardprocess.cpp:186:23: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. QString().sprintf("%02d:%02d:%02d", dt.time().hour(), dt.time().minute(), dt.time().second())); data/kstars-3.4.3/kstars/indi/telescopewizardprocess.cpp:187:40: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. ui->dateOut->setText(QString().sprintf("%d-%02d-%02d", dt.date().year(), dt.date().month(), dt.date().day())); data/kstars-3.4.3/kstars/indi/telescopewizardprocess.cpp:197:36: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. ui->timeOut->setText(QString().sprintf("%02d:%02d:%02d", KStars::Instance()->data()->lt().time().hour(), data/kstars-3.4.3/kstars/indi/telescopewizardprocess.cpp:200:36: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. ui->dateOut->setText(QString().sprintf("%d-%02d-%02d", KStars::Instance()->data()->lt().date().year(), data/kstars-3.4.3/kstars/kstarslite/dialogs/detaildialoglite.cpp:524:43: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. setProperty("timeRise", QString().sprintf("%02d:%02d", rt.hour(), rt.minute())); data/kstars-3.4.3/kstars/kstarslite/dialogs/detaildialoglite.cpp:525:42: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. setProperty("timeSet", QString().sprintf("%02d:%02d", st.hour(), st.minute())); data/kstars-3.4.3/kstars/kstarslite/dialogs/detaildialoglite.cpp:546:42: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. setProperty("timeTransit", QString().sprintf("%02d:%02d", tt.hour(), tt.minute())); data/kstars-3.4.3/kstars/tools/wutdialog.cpp:471:19: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sRise.sprintf("%02d:%02d", tRise.hour(), tRise.minute()); data/kstars-3.4.3/kstars/tools/wutdialog.cpp:473:18: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sSet.sprintf("%02d:%02d", tSet.hour(), tSet.minute()); data/kstars-3.4.3/kstars/tools/wutdialog.cpp:481:18: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sTransit.sprintf("%02d:%02d", tTransit.hour(), tTransit.minute()); data/kstars-3.4.3/kstars/widgets/moonphasecalendarwidget.cpp:70:36: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. QString imName = QString().sprintf("moon%02d", i); data/kstars-3.4.3/Tests/auxiliary/testcachingdms.cpp:249:10: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. std::srand(std::time(nullptr)); data/kstars-3.4.3/Tests/internalguide/teststarcorrespondence.cpp:83:5: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(21); data/kstars-3.4.3/Tests/kstars_lite_ui/kstars_lite_ui_tests.cpp:40:5: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand((int)time(nullptr)); data/kstars-3.4.3/Tests/kstars_ui/kstars_ui_tests.cpp:63:5: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand((unsigned int)time(nullptr)); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:51:37: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). #define fp_tmpnam(suffix, rootname, tmpnam) _fp_tmpnam((char *)suffix, (char *)rootname, (char *)tmpnam) data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:51:98: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). #define fp_tmpnam(suffix, rootname, tmpnam) _fp_tmpnam((char *)suffix, (char *)rootname, (char *)tmpnam) data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:119:52: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). int _fp_tmpnam(char *suffix, char *rootname, char *tmpnam) data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:129:13: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). strcpy (tmpnam, rootname); /* start with rootname */ data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:130:12: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). strcat(tmpnam, suffix); /* append the suffix */ data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:132:30: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). maxtry = SZ_STR - strlen(tmpnam) - 1; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:135:23: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). if (fp_access(tmpnam)) break; /* good, the file does not exist */ data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:136:20: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). if (strlen(tmpnam) > SZ_STR-2) data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:139:21: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). fp_msg (tmpnam); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:143:16: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). strcat(tmpnam, "x"); /* append an x to the name, and try again */ data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:148:17: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). fp_msg (tmpnam); data/kstars-3.4.3/kstars/fitsviewer/sep/extract.c:233:3: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(1); data/kstars-3.4.3/kstars/htmesh/SkipList.cpp:22:8: [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. double drand48() data/kstars-3.4.3/kstars/htmesh/SkipList.cpp:29:34: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. result = static_cast<double>(random()); data/kstars-3.4.3/kstars/htmesh/SkipList.cpp:42:42: [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. while ((newLevel < maxLevel - 1) && (drand48() < probability)) // fast hack. fix later data/kstars-3.4.3/kstars/libtess/geom.c:199:19: [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.1; data/kstars-3.4.3/kstars/libtess/normal.c:206:38: [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.0) data/kstars-3.4.3/kstars/libtess/normal.c:207:38: [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.0) data/kstars-3.4.3/kstars/libtess/src/geom.c:199:19: [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.1; data/kstars-3.4.3/kstars/libtess/src/normal.c:206:38: [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.0) data/kstars-3.4.3/kstars/libtess/src/normal.c:207:38: [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.0) data/kstars-3.4.3/Tests/auxiliary/testcsvparser.cpp:94: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). QVERIFY(temp_file.open()); data/kstars-3.4.3/Tests/auxiliary/testfwparser.cpp:37: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). QVERIFY(temp_file.open()); data/kstars-3.4.3/datahandlers/catalogdb.cpp:50: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 (!skydb_.open()) data/kstars-3.4.3/datahandlers/catalogdb.cpp:142: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). skydb_.open(); data/kstars-3.4.3/datahandlers/catalogdb.cpp:165: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). skydb_.open(); data/kstars-3.4.3/datahandlers/catalogdb.cpp:187: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). skydb_.open(); data/kstars-3.4.3/datahandlers/catalogdb.cpp:214: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). skydb_.open(); data/kstars-3.4.3/datahandlers/catalogdb.cpp:233: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). skydb_.open(); data/kstars-3.4.3/datahandlers/catalogdb.cpp:293: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 (!skydb_.open()) data/kstars-3.4.3/datahandlers/catalogdb.cpp:403: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 (!skydb_.open()) data/kstars-3.4.3/datahandlers/catalogdb.cpp:436: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 (!skydb_.open()) data/kstars-3.4.3/datahandlers/catalogdb.cpp:470: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 (ccFile.open(QIODevice::ReadOnly)) data/kstars-3.4.3/datahandlers/catalogdb.cpp:504: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 (ccFile.open(QIODevice::ReadOnly)) data/kstars-3.4.3/datahandlers/catalogdb.cpp:543: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). skydb_.open(); data/kstars-3.4.3/datahandlers/catalogdb.cpp:870: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). skydb_.open(); data/kstars-3.4.3/datahandlers/catalogdb.cpp:895: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). skydb_.open(); data/kstars-3.4.3/kstars/auxiliary/binfilehelper.cpp:74:28: [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(filepath, "rb"); data/kstars-3.4.3/kstars/auxiliary/binfilehelper.cpp:91:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fileHandle = fopen(filepath, "rb"); data/kstars-3.4.3/kstars/auxiliary/binfilehelper.cpp:104:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ASCII_text[125]; data/kstars-3.4.3/kstars/auxiliary/binfilehelper.h:33:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[10] = ""; /**< Field name (eg. RA) */ data/kstars-3.4.3/kstars/auxiliary/colorscheme.cpp:279: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 (!file.open(QIODevice::ReadWrite)) data/kstars-3.4.3/kstars/auxiliary/colorscheme.cpp:297: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 (!file.open(QIODevice::ReadWrite)) data/kstars-3.4.3/kstars/auxiliary/downloadhelper.cpp:9: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 (!file.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/auxiliary/filedownloader.cpp:178:42: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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 rc= m_downloadTemporaryFile.open(); data/kstars-3.4.3/kstars/auxiliary/fov.cpp:67: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 (!f.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/auxiliary/fov.cpp:102: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 (f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/auxiliary/imageexporter.cpp:205:24: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). QTemporaryFile tmpfile; data/kstars-3.4.3/kstars/auxiliary/imageexporter.cpp:216:13: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). tmpfile.open(); data/kstars-3.4.3/kstars/auxiliary/imageexporter.cpp:216: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). tmpfile.open(); data/kstars-3.4.3/kstars/auxiliary/imageexporter.cpp:217:21: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). fname = tmpfile.fileName(); data/kstars-3.4.3/kstars/auxiliary/imageexporter.cpp:235:68: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). KIO::StoredTransferJob *put_job = KIO::storedHttpPost(&tmpfile, fileURL, -1); data/kstars-3.4.3/kstars/auxiliary/imageviewer.cpp:115: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). tempfile.open(); data/kstars-3.4.3/kstars/auxiliary/imageviewer.cpp:221: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 (file.open(QFile::WriteOnly)) data/kstars-3.4.3/kstars/auxiliary/ksdssdownloader.cpp:37: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). m_TempFile.open(); data/kstars-3.4.3/kstars/auxiliary/ksdssdownloader.cpp:55: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). m_TempFile.open(); data/kstars-3.4.3/kstars/auxiliary/ksdssdownloader.cpp:260: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). m_TempFile.open(); data/kstars-3.4.3/kstars/auxiliary/ksdssdownloader.cpp:290: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). m_TempFile.open(); data/kstars-3.4.3/kstars/auxiliary/ksfilereader.cpp:42: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). bool KSFileReader::open(const QString &fname) data/kstars-3.4.3/kstars/auxiliary/ksfilereader.cpp:59: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 (!m_file.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/auxiliary/ksfilereader.h:92: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). bool open(const QString &fname); data/kstars-3.4.3/kstars/auxiliary/ksmessagebox.cpp:77:5: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open(); data/kstars-3.4.3/kstars/auxiliary/ksmessagebox.cpp:96:5: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open(); data/kstars-3.4.3/kstars/auxiliary/ksmessagebox.cpp:115:5: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open(); data/kstars-3.4.3/kstars/auxiliary/ksmessagebox.cpp:200:5: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open(); data/kstars-3.4.3/kstars/auxiliary/ksmessagebox.cpp:232:5: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:58: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 (!userdb_.open()) data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:396: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:426: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:442: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:459: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:465: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:491: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:515: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:534: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:557: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:579: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:598: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:620: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:646: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:665: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:687: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:706: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:725: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:748: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:767: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:782: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:801: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:825: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:841: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:863: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:898: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:913: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:932: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:953: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:979: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1009: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1029: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1054: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1082: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1099: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1121: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1147: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1187: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1215: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1287: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( ! usersfile.open( QIODevice::ReadOnly ) ) data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1362: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( ! equipfile.open( QIODevice::ReadOnly ) ) data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1647: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1695: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1720: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1762: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1780: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1800: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1892: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1943: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksuserdb.cpp:1982: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). userdb_.open(); data/kstars-3.4.3/kstars/auxiliary/ksutils.cpp:61: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). return file.open(QIODevice::ReadOnly); data/kstars-3.4.3/kstars/auxiliary/ksutils.cpp:934: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). file.open(QFile::WriteOnly); data/kstars-3.4.3/kstars/auxiliary/ksutils.cpp:945: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 (file.open(QFile::Append | QIODevice::Text)) data/kstars-3.4.3/kstars/auxiliary/ksutils.cpp:1294: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 (confFile.open(QIODevice::ReadOnly) == false) data/kstars-3.4.3/kstars/auxiliary/ksutils.cpp:1306: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 (confFile.open(QIODevice::WriteOnly) == false) data/kstars-3.4.3/kstars/auxiliary/ksutils.cpp:1412: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 (localConf.open(QFile::ReadWrite)) data/kstars-3.4.3/kstars/auxiliary/ksutils.cpp:1460: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 (confFile.open(QIODevice::ReadOnly) == false) data/kstars-3.4.3/kstars/auxiliary/ksutils.cpp:1467: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 (confFile.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/auxiliary/ksutils.cpp:1511: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 (confFile.open(QIODevice::ReadOnly) == false) data/kstars-3.4.3/kstars/auxiliary/ksutils.cpp:1553: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 (confFile.open(QIODevice::WriteOnly) == false) data/kstars-3.4.3/kstars/auxiliary/ksutils.cpp:1575: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 (confFile.open(QIODevice::ReadOnly) == false) data/kstars-3.4.3/kstars/auxiliary/ksutils.cpp:1595: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 (confFile.open(QIODevice::WriteOnly) == false) data/kstars-3.4.3/kstars/auxiliary/kswizard.cpp:418: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 (!file.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:20089: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(pixels.at(y), pixels.first(), n * sizeof(QRgb)); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:25914: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(mData, other.mData, sizeof(mData[0]) * keySize * valueSize); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:25916:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(mAlpha, other.mAlpha, sizeof(mAlpha[0]) * keySize * valueSize); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27074:48: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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() : key(0), open(0), high(0), low(0), close(0) data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27081: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/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27082: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). : key(key), open(open), high(high), low(low), close(close) data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27082: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). : key(key), open(open), high(high), low(low), close(close) data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27204:80: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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> &keys, const QVector<double> &open, const QVector<double> &high, data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27208: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). addData(keys, open, high, low, close, alreadySorted); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27326:80: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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> &keys, const QVector<double> &open, const QVector<double> &high, data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27329:24: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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 (keys.size() != open.size() || open.size() != high.size() || high.size() != low.size() || data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27329: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). if (keys.size() != open.size() || open.size() != high.size() || high.size() != low.size() || data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27331:107: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). qDebug() << Q_FUNC_INFO << "keys, open, high, low, close have different sizes:" << keys.size() << open.size() data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27333:42: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const int n = qMin(keys.size(), qMin(open.size(), qMin(high.size(), qMin(low.size(), close.size())))); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27341: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). it->open = open[i]; data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27361: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/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27363: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). mDataContainer->add(QCPFinancialData(key, open, high, low, close)); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27650: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). painter->setPen(it->close >= it->open ? mPenPositive : mPenNegative); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27654: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->open); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27674: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). painter->setPen(it->close >= it->open ? mPenPositive : mPenNegative); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27678: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->open); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27721: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). painter->setPen(it->close >= it->open ? mPenPositive : mPenNegative); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27722:52: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). painter->setBrush(it->close >= it->open ? mBrushPositive : mBrushNegative); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27730: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->open); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27734:82: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). QPointF(keyPixel, valueAxis->coordToPixel(qMax(it->open, it->close)))); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27737:82: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). QPointF(keyPixel, valueAxis->coordToPixel(qMin(it->open, it->close)))); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27755: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). painter->setPen(it->close >= it->open ? mPenPositive : mPenNegative); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27756:52: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). painter->setBrush(it->close >= it->open ? mBrushPositive : mBrushNegative); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27764: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->open); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27768:72: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). QPointF(valueAxis->coordToPixel(qMax(it->open, it->close)), keyPixel)); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27771:72: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). QPointF(valueAxis->coordToPixel(qMin(it->open, it->close)), keyPixel)); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27915:51: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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->close, it->open); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27928:76: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). QCPVector2D(keyPixel, valueAxis->coordToPixel(qMax(it->open, it->close)))); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27931:76: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). QCPVector2D(keyPixel, valueAxis->coordToPixel(qMin(it->open, it->close)))); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27948:51: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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->close, it->open); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27961:66: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). QCPVector2D(valueAxis->coordToPixel(qMax(it->open, it->close)), keyPixel)); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.cpp:27964:66: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). QCPVector2D(valueAxis->coordToPixel(qMin(it->open, it->close)), keyPixel)); data/kstars-3.4.3/kstars/auxiliary/qcustomplot.h:7138:45: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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/kstars-3.4.3/kstars/auxiliary/qcustomplot.h:7159: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). return open; data/kstars-3.4.3/kstars/auxiliary/qcustomplot.h:7167: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). double key, open, high, low, close; data/kstars-3.4.3/kstars/auxiliary/qcustomplot.h:7268:74: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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> &keys, const QVector<double> &open, const QVector<double> &high, data/kstars-3.4.3/kstars/auxiliary/qcustomplot.h:7280:74: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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> &keys, const QVector<double> &open, const QVector<double> &high, data/kstars-3.4.3/kstars/auxiliary/qcustomplot.h:7282:41: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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/kstars-3.4.3/kstars/data/tools/HTMesh-0.01/ppport.h:3278:27: [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 CopyD(s, d, n, t) memcpy((char *)(d), (char *)(s), (n) * sizeof(t)) data/kstars-3.4.3/kstars/data/tools/HTMesh-0.01/ppport.h:4942:80: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. if (*s == '_' && len && allow_underscores && s[1] && (xdigit = strchr((char *)PL_hexdigit, s[1]))) data/kstars-3.4.3/kstars/data/tools/binfile.h:72:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[10]; data/kstars-3.4.3/kstars/data/tools/binfile.h:92:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[11]; data/kstars-3.4.3/kstars/data/tools/binfile.h:122: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(ptr, (void *)destptr, nbytes); data/kstars-3.4.3/kstars/data/tools/binfiletester.c:45:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char spec_type[2]; data/kstars-3.4.3/kstars/data/tools/binfiletester.c:241:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bayerName[8]; data/kstars-3.4.3/kstars/data/tools/binfiletester.c:242:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char longName[32]; data/kstars-3.4.3/kstars/data/tools/binfiletester.c:320:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ASCII_text[125]; data/kstars-3.4.3/kstars/data/tools/binfiletester.c:377: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(argv[1], "rb"); data/kstars-3.4.3/kstars/data/tools/binfiletester.c:404:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). readStarList(f, atoi(argv[2]), names); data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:55:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char spec_type[2]; data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:66:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bayerName[BAYER_LIMIT]; data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:67:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char longName[LONG_NAME_LIMIT]; data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:80:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ASCII_text[124]; data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:125:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ASCII_text[124]; data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:170:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char query[512]; data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:204: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). usf = fopen(argv[4], "wb"); data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:211: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). usfhead = fopen(argv[5], "wb"); data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:219: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). dsf = fopen(argv[6], "wb"); data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:227: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). dsfhead = fopen(argv[7], "wb"); data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:236: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). nsf = fopen(argv[8], "wb"); data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:244: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). nsfhead = fopen(argv[9], "wb"); data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:252: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). namefile = fopen(argv[10], "wb"); data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:260: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). hdindex = fopen(argv[11], "wb"); data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:382:26: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). new_trixel = atoi(row[0]); data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.cpp:69:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char create_query[2048]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.cpp:122:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char query[2048]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.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 query[60]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.cpp:269: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 query[2048]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.cpp: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 ASCII_text[125]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.cpp:435:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char db_tbl[20]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.cpp:436:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char db_name[20]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.cpp:447: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(argv[1], "r"); data/kstars-3.4.3/kstars/data/tools/nomadbinfile2mysql.h:119:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char db_tbl[20]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:70:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char create_query[2048]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.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 index_query[2048]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:132:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char query[2048]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:247:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char query[60]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:287:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char query[2048]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:466:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ASCII_text[125]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:527:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char db_tbl[20]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:528:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char db_name[20]; data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.cpp:540: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(argv[1], "r"); data/kstars-3.4.3/kstars/data/tools/nomadbinfile2sqlite.h:119:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char db_tbl[20]; data/kstars-3.4.3/kstars/data/tools/nomadbinfiletester.c:239:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bayerName[8]; data/kstars-3.4.3/kstars/data/tools/nomadbinfiletester.c:240:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char longName[32]; data/kstars-3.4.3/kstars/data/tools/nomadbinfiletester.c:241:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[6]; data/kstars-3.4.3/kstars/data/tools/nomadbinfiletester.c:315:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ASCII_text[125]; data/kstars-3.4.3/kstars/data/tools/nomadbinfiletester.c:373: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(argv[1], "r"); data/kstars-3.4.3/kstars/data/tools/nomadbinfiletester.c:399:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). readStarList(f, atoi(argv[2]), names); data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin-merge.c:61:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ASCII_text[124]; data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin-merge.c:108:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char query[512]; data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin-merge.c:133: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). usf = fopen(argv[1], "wb"); data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin-merge.c:140: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). usfhead = fopen(argv[2], "wb"); data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin-merge.c:176: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 fname[256]; data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin-merge.c:179: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). trixdump = fopen(fname, "rb"); data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin-split.c:70:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char query[512]; data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin-split.c:93: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). usf = fopen(argv[3], "wb"); data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin-split.c:100: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). trixel_number = atoi(argv[4]); data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin.c:63:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ASCII_text[124]; data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin.c:110:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char query[512]; data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin.c:136: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). usf = fopen(argv[3], "wb"); data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin.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). usfhead = fopen(argv[4], "wb"); data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin.c:247: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). u_int32_t new_trixel = atoi(row[0]); data/kstars-3.4.3/kstars/data/tools/readnomadbindump.c:63: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). f = fopen(argv[1], "rb"); data/kstars-3.4.3/kstars/dialogs/addcatdialog.cpp:121: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 (dataFile.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/dialogs/addcatdialog.cpp:204:52: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!acd->DataURL->url().isEmpty() && dataFile.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/dialogs/addcatdialog.cpp:240: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 (!OutFile.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/dialogs/detaildialog.cpp:693: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 (!file.open(QIODevice::ReadWrite | QIODevice::Append)) data/kstars-3.4.3/kstars/dialogs/detaildialog.cpp:719: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 (!file.open(QIODevice::ReadWrite | QIODevice::Append)) data/kstars-3.4.3/kstars/dialogs/detaildialog.cpp:948: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). TempFile.open(); data/kstars-3.4.3/kstars/dialogs/detaildialog.cpp:1013: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). TempFile.open(); data/kstars-3.4.3/kstars/dialogs/detaildialog.cpp:1042: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 (!URLFile.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/dialogs/locationdialog.cpp:363: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). mycitydb.open(); data/kstars-3.4.3/kstars/dialogs/locationdialog.cpp:382: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). else if (mycitydb.open() == false) data/kstars-3.4.3/kstars/ekos/align/align.cpp:1175: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 (!sFile.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/ekos/align/align.cpp:1186:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/kstars-3.4.3/kstars/ekos/align/align.cpp:1313: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 (!file.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/ekos/align/align.cpp:1469: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 (!file.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/ekos/align/align.cpp:4954:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char comment[128], error_status[512]; data/kstars-3.4.3/kstars/ekos/align/align.cpp:5035:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char objectra_str[32]; data/kstars-3.4.3/kstars/ekos/align/align.cpp:5056:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char objectde_str[32]; data/kstars-3.4.3/kstars/ekos/align/astapastrometryparser.cpp:91: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 (!solution.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/ekos/align/offlineastrometryparser.cpp:281: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 (paramFile.open(QIODevice::WriteOnly) == false) data/kstars-3.4.3/kstars/ekos/align/offlineastrometryparser.cpp:300: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 (convFile.open(QIODevice::WriteOnly) == false) data/kstars-3.4.3/kstars/ekos/align/onlineastrometryparser.cpp:194:33: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). bool rc = fitsFile->open(QIODevice::ReadOnly); data/kstars-3.4.3/kstars/ekos/align/opsastrometrycfg.cpp:57: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 (confFile.open(QIODevice::ReadOnly) == false) data/kstars-3.4.3/kstars/ekos/align/opsastrometrycfg.cpp:64: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 (confFile.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/ekos/align/opsastrometrycfg.cpp:132: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 (confFile.open(QIODevice::WriteOnly) == false) data/kstars-3.4.3/kstars/ekos/align/opsastrometryindexfiles.cpp:404: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 (!file.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/ekos/align/remoteastrometryparser.cpp:50: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 (fp.open(QIODevice::ReadOnly) == false) data/kstars-3.4.3/kstars/ekos/align/remoteastrometryparser.cpp:91: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(bp->blob, fp.readAll().constData(), bp->size); data/kstars-3.4.3/kstars/ekos/auxiliary/dome.cpp:180:32: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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 Dome::controlShutter(bool open) data/kstars-3.4.3/kstars/ekos/auxiliary/dome.cpp:185: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). qCDebug(KSTARS_EKOS) << (open ? "Opening" : "Closing") << " shutter..."; data/kstars-3.4.3/kstars/ekos/auxiliary/dome.cpp:186: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). return currentDome->ControlShutter(open); data/kstars-3.4.3/kstars/ekos/auxiliary/dome.h:109: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). Q_SCRIPTABLE bool controlShutter(bool open); data/kstars-3.4.3/kstars/ekos/auxiliary/filtermanager.cpp:45: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). userdb.open(); data/kstars-3.4.3/kstars/ekos/auxiliary/filtermanager.cpp:105: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). userdb.open(); data/kstars-3.4.3/kstars/ekos/capture/capture.cpp:3796: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 (!sFile.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/ekos/capture/capture.cpp:3808:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/kstars-3.4.3/kstars/ekos/capture/capture.cpp:4196: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 (!file.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/ekos/ekoslive/cloud.cpp:62: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). m_WebSocket.open(requestURL); data/kstars-3.4.3/kstars/ekos/ekoslive/cloud.cpp:205: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 (image.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/ekos/ekoslive/media.cpp:59: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). m_WebSocket.open(requestURL); data/kstars-3.4.3/kstars/ekos/ekoslive/media.cpp:136: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). file.open(); data/kstars-3.4.3/kstars/ekos/ekoslive/media.cpp:157: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 (!jpegFile.open(QFile::ReadOnly)) data/kstars-3.4.3/kstars/ekos/ekoslive/media.cpp:197: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/kstars-3.4.3/kstars/ekos/ekoslive/media.cpp:243: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/kstars-3.4.3/kstars/ekos/ekoslive/message.cpp:56: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). m_WebSocket.open(requestURL); data/kstars-3.4.3/kstars/ekos/ekoslive/message.cpp:705: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). file.open(); data/kstars-3.4.3/kstars/ekos/focus/focus.cpp:2579:48: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). m_FocusLogEnabled = m_FocusLogFile.open(QIODevice::WriteOnly | QIODevice::Text); data/kstars-3.4.3/kstars/ekos/guide/externalguide/linguider.cpp:314: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(cmd.data() + 4, &len, 4); data/kstars-3.4.3/kstars/ekos/guide/externalguide/linguider.cpp:318: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(cmd.data() + 8, args.toLatin1().data(), args.size()); data/kstars-3.4.3/kstars/ekos/guide/externalguide/phd2.cpp:982:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[512] = {0}; data/kstars-3.4.3/kstars/ekos/guide/guide.cpp:675: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 (!file.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/gaussian_process_guider.cpp:676: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). outfile.open("spectrum_data.csv", std::ios_base::out); data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/gaussian_process_guider.cpp:823: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). outfile.open("measurement_data.csv", std::ios_base::out); data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/src/gaussian_process_guider.cpp:834: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). outfile.open("gp_data.csv", std::ios_base::out); data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/tests/gaussian_process/gp_guider_test.cpp:534: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). outfile.open("period_lengths_reg_int_kf.csv", std::ios_base::out); data/kstars-3.4.3/kstars/ekos/guide/internalguide/MPI_IS_gaussian_process/tests/gaussian_process/guide_performance_tools.h:115: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). file.open(filename); data/kstars-3.4.3/kstars/ekos/guide/internalguide/gmath.cpp:138: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). logFile.open(QIODevice::WriteOnly | QIODevice::Text); data/kstars-3.4.3/kstars/ekos/guide/internalguide/gmath.cpp:459:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(oneRegionPtr, imgFloatPtr, regionAxis); data/kstars-3.4.3/kstars/ekos/guide/internalguide/gmath.h:54:11: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char name[32]; data/kstars-3.4.3/kstars/ekos/guide/internalguide/guidelog.cpp:102: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). logFile.open(QIODevice::WriteOnly | QIODevice::Text); data/kstars-3.4.3/kstars/ekos/opsekos.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). userdb.open(); data/kstars-3.4.3/kstars/ekos/opsekos.cpp:115: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). userdb.open(); data/kstars-3.4.3/kstars/ekos/opsekos.cpp:129: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). userdb.open(); data/kstars-3.4.3/kstars/ekos/opsekos.cpp:149: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). userdb.open(); data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:481:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char comment[128], error_status[512]; data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:502:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char objectra_str[32] = {0}; data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:521:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char objectde_str[32] = {0}; data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:542:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char object_str[256] = {0}; data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:3731: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 (!sFile.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:3749:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:3886: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). prioritySpin->setValue(atoi(pcdataXMLEle(ep))); data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:4060: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 (!file.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:6068: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 (!sFile.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:6076:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:6098: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 (!sFile.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:6133:24: [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 *outputFile = fopen(filename.toLatin1().constData(), "w"); data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:6369: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 (!sFile.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:6377:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:6474:27: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). job->setCount(atoi(pcdataXMLEle(ep))); data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:6478:27: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). job->setDelay(atoi(pcdataXMLEle(ep))); data/kstars-3.4.3/kstars/ekos/scheduler/scheduler.cpp:6490:66: [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). job->setUploadMode(static_cast<ISD::CCD::UploadMode>(atoi(pcdataXMLEle(ep)))); data/kstars-3.4.3/kstars/fitsviewer/bayer.c:1905:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(brow[2][col], pix, 3 * sizeof *dst); /* [FD] */ data/kstars-3.4.3/kstars/fitsviewer/bayer.c:1932: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(dst + 3 * ((row - 2) * width + 2), brow[0] + 2, (width - 4) * 3 * sizeof *dst); /* [FD] */ data/kstars-3.4.3/kstars/fitsviewer/bayer.c:1936: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(dst + 3 * ((row - 2) * width + 2), brow[0] + 2, (width - 4) * 3 * sizeof *dst); data/kstars-3.4.3/kstars/fitsviewer/bayer.c:1937: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(dst + 3 * ((row - 1) * width + 2), brow[1] + 2, (width - 4) * 3 * sizeof *dst); data/kstars-3.4.3/kstars/fitsviewer/bayer.c:2050:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(brow[2][col], pix, 3 * sizeof *dst); /* [FD] */ data/kstars-3.4.3/kstars/fitsviewer/bayer.c:2077: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(dst + 3 * ((row - 2) * width + 2), brow[0] + 2, (width - 4) * 3 * sizeof *dst); /* [FD] */ data/kstars-3.4.3/kstars/fitsviewer/bayer.c:2081: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(dst + 3 * ((row - 2) * width + 2), brow[0] + 2, (width - 4) * 3 * sizeof *dst); data/kstars-3.4.3/kstars/fitsviewer/bayer.c:2082: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(dst + 3 * ((row - 1) * width + 2), brow[1] + 2, (width - 4) * 3 * sizeof *dst); data/kstars-3.4.3/kstars/fitsviewer/fitsbahtinovdetector.cpp:119: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(buffer, image_data->getImageBuffer(), size * BBP); data/kstars-3.4.3/kstars/fitsviewer/fitsbahtinovdetector.cpp:129: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(dataPtr, origDataPtr + lineOffset, subW * BBP); data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:88: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(m_ImageBuffer, other->m_ImageBuffer, stats.samples_per_channel * m_Channels * stats.bytesPerPixel); data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:170:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char error_status[512]; data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:1482: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(extension + (N + 2) * (i + 1) + 1, image + (N * i) + offset, N * BBP); data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:1487:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(extension, extension + N + 2, (N + 2) * BBP); data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:1489:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(extension + (N + 2) * (M + 1), extension + (N + 2) * M, (N + 2) * BBP); data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:1597: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[512]; data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:1669: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[512]; data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:1836:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char date[64]; data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:2203:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char comment[100]; data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:2467: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 keyword[16]; data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:2471: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(keyword, "CO1_%d", i); data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:2476: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(keyword, "CO2_%d", i); data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:2502:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bayerPattern[64], roworder[64]; data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:2960:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char error_status[512] = {0}; data/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:3062:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:3182:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:3183:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:3184:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:3261:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:3262:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/kstars-3.4.3/kstars/fitsviewer/fitsdata.cpp:3263:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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/kstars-3.4.3/kstars/fitsviewer/fitsgradientdetector.cpp:91: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(buffer, data->getImageBuffer(), size * BBP); data/kstars-3.4.3/kstars/fitsviewer/fitsgradientdetector.cpp:101: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(dataPtr, origDataPtr + lineOffset, subW * BBP); data/kstars-3.4.3/kstars/fitsviewer/fitshistogram.cpp:670: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(buffer, image_buffer, size * BBP); data/kstars-3.4.3/kstars/fitsviewer/fitsoverlay.cpp:36: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). tempfile.open(); data/kstars-3.4.3/kstars/fitsviewer/fitssepdetector.cpp:102: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, image_data->getImageBuffer(), sizeof(float)*w * h); data/kstars-3.4.3/kstars/fitsviewer/fitssepdetector.cpp:221: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 errorMessage[512]; data/kstars-3.4.3/kstars/fitsviewer/fitstab.cpp:690: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 err_text[FLEN_STATUS]; data/kstars-3.4.3/kstars/fitsviewer/fitsviewer.cpp:131: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). action = KStandardAction::open(this, SLOT(openFile()), actionCollection()); data/kstars-3.4.3/kstars/fitsviewer/fpack.c:42:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[SZ_STR], tile[SZ_STR]; data/kstars-3.4.3/kstars/fitsviewer/fpack.c:151:24: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). doffset = atoi(argv[iarg]+3); data/kstars-3.4.3/kstars/fitsviewer/fpack.c:167:24: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). doffset = atoi(argv[iarg]+2); data/kstars-3.4.3/kstars/fitsviewer/fpack.c:303:24: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). fpptr->ntile[ndim] = atol (&tile[ii]); data/kstars-3.4.3/kstars/fitsviewer/fpack.h:124:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char prefix[SZ_STR]; data/kstars-3.4.3/kstars/fitsviewer/fpack.h:125:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char extname[SZ_STR]; data/kstars-3.4.3/kstars/fitsviewer/fpack.h:127:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char outfile[SZ_STR]; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:23:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tempfilename[SZ_STR]; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:24:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tempfilename2[SZ_STR]; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:25:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tempfilename3[SZ_STR]; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:63:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[SZ_STR]; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.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 cfitsioversion[40]; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:109: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). diskfile = fopen(filename, "r"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:208:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char infits[SZ_STR], msg[SZ_STR]; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:264:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[SZ_STR], val[SZ_CARD], com[SZ_CARD]; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c: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 infits[SZ_STR], outfits[SZ_STR]; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:398:21: [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(infits, ".fz"); /* a .fz version exsits */ data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:407:21: [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(infits, ".fz"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:453:17: [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(outfits, "output.fits"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:492:17: [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(outfits, ".gz"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:511:21: [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(infits, ".gz"); /* a gzipped version exsits */ data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:535:17: [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(outfits, "input.fits"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:550:17: [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(outfits, ".fits"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:555:17: [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(outfits, ".fz"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:576:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char infits[SZ_STR], outfits[SZ_STR]; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:577:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char temp[SZ_STR], answer[30]; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:588: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). outreport = fopen(fpvar.outfile, "w"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:632:21: [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(infits, ".fz"); /* a .fz version must exsit */ data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:650:21: [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(outfits, "output.fits"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:679:21: [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(outfits, "input.fits"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:694:21: [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(outfits, ".fits"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:701:21: [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(outfits, ".fz"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:854: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(temp, "gzip -1 "); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:872:13: [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(outfits, ".gz"); /* only possibible with funpack */ data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:967:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *loc, *hduloc, hduname[SZ_STR]; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1117:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char dtype[8], dimen[100]; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1210:17: [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(dtype, "8 "); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1214:17: [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(dtype, "16 "); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1218:17: [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(dtype, "32 "); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1222:17: [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(dtype, "64 "); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1225:17: [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(dtype, "-32"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1229:17: [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(dtype, "-64"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1421:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char outfits[SZ_STR], fzalgor[FLEN_VALUE]; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1802:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ctype[20], lossless[4]; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1818: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(ctype, "RICE"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1820: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(ctype, "GZIP1"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1822: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(ctype, "GZIP2");/* data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1827: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(ctype, "PLIO"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1829: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(ctype, "HCOMP"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1831: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(ctype, "NONE"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1885: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(lossless, "Yes"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1887: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(lossless, "No"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1926:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fzalgor[FLEN_VALUE]; data/kstars-3.4.3/kstars/fitsviewer/sep/background.c:564: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(back, back2, (size_t)np*sizeof(float)); data/kstars-3.4.3/kstars/fitsviewer/sep/background.c:608: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(back, back2, np*sizeof(float)); data/kstars-3.4.3/kstars/fitsviewer/sep/background.c:612: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(sigma, sigma2, np*sizeof(float)); data/kstars-3.4.3/kstars/fitsviewer/sep/deblend.c:323:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pixt2, pixt, (size_t)plistsize); data/kstars-3.4.3/kstars/fitsviewer/sep/extract.c:119: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(line, line + buf->bw, sizeof(PIXTYPE) * buf->bw); data/kstars-3.4.3/kstars/fitsviewer/sep/extract.c:203:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char errtext[512]; data/kstars-3.4.3/kstars/fitsviewer/sep/extract.c:511: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(errtext, data/kstars-3.4.3/kstars/fitsviewer/sep/extract.c:857: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(plist2, plist1+i, (size_t)plistsize); data/kstars-3.4.3/kstars/fitsviewer/sep/lutz.c:198:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pixel, plistint, (size_t)plistsize); data/kstars-3.4.3/kstars/fitsviewer/sep/sepcore.h:56:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char errtext[160]; \ data/kstars-3.4.3/kstars/fitsviewer/sep/sepcore.h:69:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char errtext[160]; \ data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:28:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char _errdetail_buffer[DETAILSIZE] = ""; data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:227:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char errtext[80]; data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:249:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(errtext, "in get_array_subtractor(): %d", dtype); data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:267:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(errtext, "OK - no error"); data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:270:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(errtext, "memory allocation"); data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:273:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(errtext, "internal pixel buffer full"); data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:276:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(errtext, "object deblending overflow"); data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:279:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(errtext, "dtype not recognized/unsupported"); data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:282:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(errtext, "subpix value must be nonnegative"); data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:285:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(errtext, "parameters do not describe ellipse"); data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:288:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(errtext, "invalid aperture parameters"); data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:291:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(errtext, "array line out of buffer"); data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:294:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(errtext, "relative threshold but image has noise_type of NONE"); data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:297:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(errtext, "image has unknown noise_type"); data/kstars-3.4.3/kstars/fitsviewer/sep/util.c:300: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. strcpy(errtext, "unknown error status"); data/kstars-3.4.3/kstars/hips/hipsmanager.cpp:243: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(QFile::ReadOnly | QFile::Text)) data/kstars-3.4.3/kstars/htmesh/SpatialIndex.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 name[HTMNAMEMAX]; data/kstars-3.4.3/kstars/htmesh/SpatialIndex.cpp:546:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[HTMNAMEMAX]; data/kstars-3.4.3/kstars/indi/clientmanagerlite.cpp:430: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 iNumber[MAXINDIFORMAT]; data/kstars-3.4.3/kstars/indi/clientmanagerlite.cpp:1042: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 (!tmpFile.open()) data/kstars-3.4.3/kstars/indi/clientmanagerlite.cpp:1094:24: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). jpgPreview.open(); data/kstars-3.4.3/kstars/indi/clientmanagerlite.cpp:1114: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). jpgPreview.open(); data/kstars-3.4.3/kstars/indi/clientmanagerlite.cpp:1192:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[MAXINDIFORMAT]; data/kstars-3.4.3/kstars/indi/clientmanagerlite.h:254: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 BLOBFilename[MAXINDIFILENAME]; data/kstars-3.4.3/kstars/indi/customdrivers.cpp:26: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). userdb.open(); data/kstars-3.4.3/kstars/indi/devicemanager.cpp:222:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[ERRMSG_SIZE]; data/kstars-3.4.3/kstars/indi/drivermanager.cpp:858:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[1024]; data/kstars-3.4.3/kstars/indi/drivermanager.cpp:867: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 (file.fileName().isEmpty() || !file.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/indi/drivermanager.cpp:998: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 (!file.open(QIODevice::ReadOnly | QIODevice::Text)) data/kstars-3.4.3/kstars/indi/drivermanager.cpp:1004:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[ERRMSG_SIZE]; data/kstars-3.4.3/kstars/indi/drivermanager.cpp:1499: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 (!file.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/indi/indiccd.cpp:84: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 (!file.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/indi/indiccd.cpp:111: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 (!tmpFile.open()) data/kstars-3.4.3/kstars/indi/indiccd.cpp:1454: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 (!test_file.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/indi/indiccd.cpp:1494: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(fileWriteBuffer, bp->blob, bp->size); data/kstars-3.4.3/kstars/indi/indiccd.cpp:1641:24: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). imgPreview.open(); data/kstars-3.4.3/kstars/indi/indiccd.h:395: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 BLOBFilename[MAXINDIFILENAME + 1]; data/kstars-3.4.3/kstars/indi/indidome.cpp:481:32: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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 Dome::ControlShutter(bool open) data/kstars-3.4.3/kstars/indi/indidome.cpp:488: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). ISwitch *shutterSW = IUFindSwitch(shutterSP, open ? "SHUTTER_OPEN" : "SHUTTER_CLOSE"); data/kstars-3.4.3/kstars/indi/indidome.h:127: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). bool ControlShutter(bool open); data/kstars-3.4.3/kstars/indi/indidriver.cpp:538: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 (!file.open(QIODevice::ReadOnly | QIODevice::Text)) data/kstars-3.4.3/kstars/indi/indidriver.cpp:544:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[ERRMSG_SIZE]; data/kstars-3.4.3/kstars/indi/indidriver.cpp:929: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 (!file.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/indi/indielement.cpp:272:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char iNumber[MAXINDIFORMAT]; data/kstars-3.4.3/kstars/indi/indielement.cpp:382:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char iNumber[MAXINDIFORMAT]; data/kstars-3.4.3/kstars/indi/indielement.cpp:631: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 (!fp.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/indi/indielement.cpp:647: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(bp->blob, fp.readAll().constData(), bp->size); data/kstars-3.4.3/kstars/indi/indilistener.cpp:37:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static const char *indi_std[NINDI_STD] = { "CONNECTION", data/kstars-3.4.3/kstars/indi/indistd.cpp:117:57: [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). driverInterface = static_cast<uint32_t>(atoi(tp->text)); data/kstars-3.4.3/kstars/indi/indistd.cpp:412: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). if (!ascii_data_file->open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/indi/indistd.cpp:433:29: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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 (!fits_temp_file.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/indi/indistd.h:224: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 BLOBFilename[MAXINDIFILENAME + 1]; data/kstars-3.4.3/kstars/indi/servermanager.cpp:60: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). serverBuffer.open(); data/kstars-3.4.3/kstars/indi/servermanager.cpp:101: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 (!indiFIFO.open(QIODevice::ReadWrite | QIODevice::Text)) data/kstars-3.4.3/kstars/indi/servermanager.cpp:424: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). serverBuffer.open(); data/kstars-3.4.3/kstars/indi/wsmedia.cpp:33: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). m_WebSocket.open(requestURL); data/kstars-3.4.3/kstars/kstars.cpp:117: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 (file.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/kstars.cpp:137: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::WriteOnly)) data/kstars-3.4.3/kstars/kstarsactions.cpp:1276: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 (!f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/kstarsdata.cpp:160: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). fixcitydb.open(); data/kstars-3.4.3/kstars/kstarsdata.cpp:442: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 (citydb.open() == false) data/kstars-3.4.3/kstars/kstarsdata.cpp:483: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 (mycitydb.open()) data/kstars-3.4.3/kstars/kstarsdata.cpp:564: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/kstars-3.4.3/kstars/kstarsdata.cpp:592: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 (globalFile.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/kstarsdata.cpp:639: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 (file.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/kstarsdata.cpp:650: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 (file.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/kstarsdata.cpp:661:32: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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 (localeFile.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/kstarsdata.cpp:899: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 (!f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/kstarsdbus.cpp:913: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). tempFile.open(); data/kstars-3.4.3/kstars/kstarsinit.cpp:351: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 (file.exists() && file.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/kstarslite/dialogs/detaildialoglite.cpp:616: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). TempFile.open(); data/kstars-3.4.3/kstars/kstarslite/dialogs/detaildialoglite.cpp:634: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 (!URLFile.open(QIODevice::ReadWrite)) data/kstars-3.4.3/kstars/kstarslite/dialogs/detaildialoglite.cpp:693: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 (!file.open(QIODevice::ReadWrite | QIODevice::Append)) data/kstars-3.4.3/kstars/kstarslite/dialogs/detaildialoglite.cpp:718: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 (!file.open(QIODevice::ReadWrite | QIODevice::Append)) data/kstars-3.4.3/kstars/kstarslite/dialogs/detaildialoglite.cpp:744: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). TempFile.open(); data/kstars-3.4.3/kstars/kstarslite/dialogs/locationdialoglite.cpp:444: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). mycitydb.open(); data/kstars-3.4.3/kstars/kstarslite/dialogs/locationdialoglite.cpp:461: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). else if (mycitydb.open() == false) data/kstars-3.4.3/kstars/oal/execute.cpp:329: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/kstars-3.4.3/kstars/options/opscolors.cpp:82: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 (file.exists() && file.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/options/opscolors.cpp:262:41: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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 (!cdatFile.exists() || !cdatFile.open(QIODevice::ReadWrite)) data/kstars-3.4.3/kstars/options/opscolors.cpp:304: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). cdatFile.open(QIODevice::ReadWrite); data/kstars-3.4.3/kstars/printing/foveditordialog.cpp:144:20: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). QTemporaryFile tmpfile; data/kstars-3.4.3/kstars/printing/foveditordialog.cpp:145:5: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). tmpfile.open(); data/kstars-3.4.3/kstars/printing/foveditordialog.cpp:145: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). tmpfile.open(); data/kstars-3.4.3/kstars/printing/foveditordialog.cpp:157:21: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). fname = tmpfile.fileName(); data/kstars-3.4.3/kstars/printing/foveditordialog.cpp:201:9: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). if (tmpfile.fileName() == fname) data/kstars-3.4.3/kstars/printing/foveditordialog.cpp:204:60: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). KIO::TransferJob *uploadJob = KIO::storedHttpPost(&tmpfile, fileUrl); data/kstars-3.4.3/kstars/printing/pwizprint.cpp:100:20: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). QTemporaryFile tmpfile; data/kstars-3.4.3/kstars/printing/pwizprint.cpp:101:5: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). tmpfile.open(); data/kstars-3.4.3/kstars/printing/pwizprint.cpp:101: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). tmpfile.open(); data/kstars-3.4.3/kstars/printing/pwizprint.cpp:113:21: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). fname = tmpfile.fileName(); data/kstars-3.4.3/kstars/printing/pwizprint.cpp:131:13: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). if (tmpfile.fileName() == fname) data/kstars-3.4.3/kstars/printing/pwizprint.cpp:134:38: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). if (KIO::storedHttpPost(&tmpfile, url)->exec() == false) data/kstars-3.4.3/kstars/skycomponents/asteroidscomponent.cpp:291: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). file.open(QIODevice::WriteOnly | QIODevice::Truncate | QIODevice::Text); data/kstars-3.4.3/kstars/skycomponents/binarylistcomponent.h:202: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). binfile.open(QIODevice::ReadOnly); data/kstars-3.4.3/kstars/skycomponents/binarylistcomponent.h:233: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). binfile.open(QIODevice::WriteOnly | QIODevice::Truncate); data/kstars-3.4.3/kstars/skycomponents/cometscomponent.cpp:247: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). file.open(QIODevice::WriteOnly | QIODevice::Truncate | QIODevice::Text); data/kstars-3.4.3/kstars/skycomponents/constellationartcomponent.cpp:58: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 (skydb.open() == false) data/kstars-3.4.3/kstars/skycomponents/constellationboundarylines.cpp:61: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 (idxReader.open(idxFname)) data/kstars-3.4.3/kstars/skycomponents/constellationboundarylines.cpp:69: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 (!fileReader.open(fname)) data/kstars-3.4.3/kstars/skycomponents/constellationlines.cpp:60: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 (!fileReader.open("clines.dat")) data/kstars-3.4.3/kstars/skycomponents/constellationnamescomponent.cpp:45: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 (!fileReader.open("cnames.dat")) data/kstars-3.4.3/kstars/skycomponents/culturelist.cpp:25: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 (!fileReader.open("cnames.dat")) data/kstars-3.4.3/kstars/skycomponents/deepskycomponent.cpp:396: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 (f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/skycomponents/deepskycomponent.cpp:410: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 (fout.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/skycomponents/milkyway.cpp:93: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 (!fileReader.open(fname)) data/kstars-3.4.3/kstars/skycomponents/satellitescomponent.cpp:51: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 (!fileReader.open("satellites.dat")) data/kstars-3.4.3/kstars/skycomponents/satellitescomponent.cpp:180: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 (file.open(QFile::WriteOnly)) data/kstars-3.4.3/kstars/skycomponents/starcomponent.h:204: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 bayerName[8]; data/kstars-3.4.3/kstars/skycomponents/starcomponent.h:205: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 longName[32]; data/kstars-3.4.3/kstars/skycomponents/supernovaecomponent.cpp:76: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 (sNovaFile.open(QIODevice::ReadOnly) == false) data/kstars-3.4.3/kstars/skyobjects/skyobject.cpp:493: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 (file.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/skyobjects/skyobject.cpp:518: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 (!file.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/skyobjects/stardata.h:38:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char spec_type[2]; data/kstars-3.4.3/kstars/skyobjects/starobject.h:311:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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[2]; data/kstars-3.4.3/kstars/tools/conjunctions.cpp:221: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). file.open(QIODevice::WriteOnly | QIODevice::Text); data/kstars-3.4.3/kstars/tools/eclipsetool.cpp:241: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). file.open(QIODevice::WriteOnly | QIODevice::Text); data/kstars-3.4.3/kstars/tools/eyepiecefield.cpp:349: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). myTempSvgFile.open(); data/kstars-3.4.3/kstars/tools/eyepiecefield.cpp:573: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). m_tempFile.open(); data/kstars-3.4.3/kstars/tools/modcalcangdist.cpp:140: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 (!f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/tools/modcalcangdist.cpp:173: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). fOut.open(QIODevice::WriteOnly); data/kstars-3.4.3/kstars/tools/modcalcapcoord.cpp:151: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 (!f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/tools/modcalcapcoord.cpp:182: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). fOut.open(QIODevice::WriteOnly); data/kstars-3.4.3/kstars/tools/modcalcdaylength.cpp:262: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 (!f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/tools/modcalcdaylength.cpp:286: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). fOut.open(QIODevice::WriteOnly); data/kstars-3.4.3/kstars/tools/modcalcdaylength.cpp:348: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). fOut.open(QIODevice::ReadOnly); data/kstars-3.4.3/kstars/tools/modcalcgalcoord.cpp:200: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 (!f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/tools/modcalcgalcoord.cpp:227: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). fOut.open(QIODevice::WriteOnly); data/kstars-3.4.3/kstars/tools/modcalcgeodcoord.cpp:239: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 (!f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/tools/modcalcgeodcoord.cpp:267: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). fOut.open(QIODevice::WriteOnly); data/kstars-3.4.3/kstars/tools/modcalcjd.cpp:122: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 (!f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/tools/modcalcjd.cpp:146: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). fOut.open(QIODevice::WriteOnly); data/kstars-3.4.3/kstars/tools/modcalcjd.cpp:243: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). fOut.open(QIODevice::ReadOnly); data/kstars-3.4.3/kstars/tools/modcalcplanets.cpp:203: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 (!f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/tools/modcalcplanets.cpp:246: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). fOut.open(QIODevice::WriteOnly); data/kstars-3.4.3/kstars/tools/modcalcsidtime.cpp:210: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 (!f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/tools/modcalcsidtime.cpp:237: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). fOut.open(QIODevice::WriteOnly); data/kstars-3.4.3/kstars/tools/modcalcsidtime.cpp:361: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). fOut.open(QIODevice::ReadOnly); data/kstars-3.4.3/kstars/tools/modcalcvizequinox.cpp:77: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 (!f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/tools/modcalcvizequinox.cpp:102: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). fOut.open(QIODevice::WriteOnly); data/kstars-3.4.3/kstars/tools/modcalcvizequinox.cpp:138: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). fOut.open(QIODevice::ReadOnly); data/kstars-3.4.3/kstars/tools/modcalcvlsr.cpp:298: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 (!f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/tools/modcalcvlsr.cpp:325: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). fOut.open(QIODevice::WriteOnly); data/kstars-3.4.3/kstars/tools/observinglist.cpp:855: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 (!f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/tools/observinglist.cpp:994: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 (!f.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/tools/observinglist.cpp:1008: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 (!f.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/tools/observinglist.cpp:1066: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 (!f.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:787: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 (file.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:825:20: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). QTemporaryFile tmpfile; data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:826:5: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). tmpfile.open(); data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:826: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). tmpfile.open(); data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:848:25: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). fname = tmpfile.fileName(); data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:855: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::ReadOnly)) data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:878:20: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). QTemporaryFile tmpfile; data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:879:5: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). tmpfile.open(); data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:879: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). tmpfile.open(); data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:927:21: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). fname = tmpfile.fileName(); data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:934: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 (!f.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:951:13: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). if (tmpfile.fileName() == fname) data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:955:38: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). if (KIO::storedHttpPost(&tmpfile, currentFileURL)->exec() == false) data/kstars-3.4.3/kstars/tools/scriptbuilder.cpp:1017: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 (!f.open(QIODevice::WriteOnly)) data/kstars-3.4.3/kstars/tools/whatsinteresting/modelmanager.cpp:90: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 (!fileReader.open("Interesting.dat")) data/kstars-3.4.3/kstars/tools/whatsinteresting/skyobjitem.cpp:229: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/kstars-3.4.3/kstars/tools/whatsinteresting/wiview.cpp:690: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/kstars-3.4.3/kstars/tools/whatsinteresting/wiview.cpp:721: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/kstars-3.4.3/kstars/tools/whatsinteresting/wiview.cpp:917: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 (file.open(QIODevice::WriteOnly) == false) data/kstars-3.4.3/kstars/tools/whatsinteresting/wiview.cpp:937: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 (file.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/tools/whatsinteresting/wiview.cpp:953: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 (!file.open(QIODevice::ReadWrite | QIODevice::Append)) data/kstars-3.4.3/kstars/tools/whatsinteresting/wiview.cpp:973: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 (file.open(QIODevice::ReadOnly)) data/kstars-3.4.3/kstars/tools/whatsinteresting/wiview.cpp:989: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 (!file.open(QIODevice::ReadWrite | QIODevice::Append)) data/kstars-3.4.3/Tests/kstars_lite_ui/kstars_lite_ui_tests.cpp:97:9: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(20*1000); data/kstars-3.4.3/kstars/auxiliary/ksdssimage.cpp:44:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). m_Image = reader.read(); data/kstars-3.4.3/kstars/data/tools/HTMesh-0.01/ppport.h:3803:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV **), 0, Null(bool *)); data/kstars-3.4.3/kstars/data/tools/HTMesh-0.01/ppport.h:3812:56: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define sv_vcatpvf(sv, pat, args) sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV **), 0, Null(bool *)) data/kstars-3.4.3/kstars/data/tools/HTMesh-0.01/ppport.h:3817:56: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). #define sv_vsetpvf(sv, pat, args) sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV **), 0, Null(bool *)) data/kstars-3.4.3/kstars/data/tools/HTMesh-0.01/ppport.h:3837:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV **), 0, Null(bool *)); data/kstars-3.4.3/kstars/data/tools/HTMesh-0.01/ppport.h:3865:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV **), 0, Null(bool *)); data/kstars-3.4.3/kstars/data/tools/HTMesh-0.01/ppport.h:3887:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV **), 0, Null(bool *)); \ data/kstars-3.4.3/kstars/data/tools/HTMesh-0.01/ppport.h:3910:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV **), 0, Null(bool *)); data/kstars-3.4.3/kstars/data/tools/HTMesh-0.01/ppport.h:3938:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV **), 0, Null(bool *)); data/kstars-3.4.3/kstars/data/tools/HTMesh-0.01/ppport.h:3960:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV **), 0, Null(bool *)); \ data/kstars-3.4.3/kstars/data/tools/HTMesh-0.01/ppport.h:4459:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). STRLEN len = strlen(radix); data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:354: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). mysql_real_query(&link, query, (unsigned int)strlen(query)); data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:433:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(row[13]) > LONG_NAME_LIMIT) data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:435:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(row[13]), LONG_NAME_LIMIT); data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:436:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(row[14]) > BAYER_LIMIT) data/kstars-3.4.3/kstars/data/tools/mysql2bin.c:438:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strlen(row[14]), BAYER_LIMIT); data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin-split.c:141:50: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). mysql_real_query(&link, query, (unsigned int)strlen(query)); data/kstars-3.4.3/kstars/data/tools/nomadmysql2bin.c:219: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). mysql_real_query(&link, query, (unsigned int)strlen(query)); data/kstars-3.4.3/kstars/ekos/capture/capture.cpp:1476:54: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if (currentFilter == nullptr && strlen(activeFilter->text) > 0) data/kstars-3.4.3/kstars/fitsviewer/fpack.c:53:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ((argv[iarg][0] == '-' && strlen (argv[iarg]) == 2) || data/kstars-3.4.3/kstars/fitsviewer/fpack.c:216:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (tile, argv[iarg], SZ_STR); /* checked below */ data/kstars-3.4.3/kstars/fitsviewer/fpack.c:254:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (fpptr->outfile, argv[iarg], SZ_STR); data/kstars-3.4.3/kstars/fitsviewer/fpack.c:294:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen (tile); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:125: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(suffix) + strlen(rootname) > SZ_STR-5) { data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:125:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(suffix) + strlen(rootname) > SZ_STR-5) { data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:132:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). maxtry = SZ_STR - strlen(tmpnam) - 1; data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:136:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(tmpnam) > SZ_STR-2) data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:143:9: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(tmpnam, "x"); /* append an x to the name, and try again */ data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:217:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (infits, argv[iarg], SZ_STR-1); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:375:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(argv[iarg]) > SZ_STR - 4) { /* allow for .fz or .gz suffix */ data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:380:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (infits, argv[iarg], SZ_STR); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:400:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). namelen = strlen(infits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:406:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). namelen = strlen(infits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:444:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(fpptr->prefix) + strlen(infits) > SZ_STR - 1) { data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:444:45: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(fpptr->prefix) + strlen(infits) > SZ_STR - 1) { data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:459:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). namelen = strlen(outfits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:467:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). namelen = strlen(outfits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:487:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(outfits)+3 > SZ_STR-1) data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:497:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). namelen = strlen(outfits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:506:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(infits)+3 > SZ_STR-1) data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:513:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). namelen = strlen(infits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:522:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). namelen = strlen(infits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:541:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). namelen = strlen(outfits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:547:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). namelen = strlen(outfits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:623:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (infits, argv[iarg], SZ_STR - 1); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:637:17: [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(outfits, "-"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:657:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). namelen = strlen(outfits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:664:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). namelen = strlen(outfits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:674:17: [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(outfits, "-"); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:685:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). namelen = strlen(outfits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:691:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). namelen = strlen(outfits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:705:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(temp, outfits, SZ_STR-1); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:855: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). outlen = strlen(outfits); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:990:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). hduloc += strlen(hduname); /* end of the list */ data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1245:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len =strlen(dimen); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1249: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). len =strlen(dimen); data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1251: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(dimen)<99) data/kstars-3.4.3/kstars/fitsviewer/fpackutil.c:1252:17: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(dimen, ")"); data/kstars-3.4.3/kstars/htmesh/SpatialException.cpp:133:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return strlen(str); data/kstars-3.4.3/kstars/htmesh/SpatialIndex.cpp:351:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size = strlen(name); // determine string length data/kstars-3.4.3/kstars/htmesh/SpatialIndex.cpp:548:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(name); data/kstars-3.4.3/kstars/indi/clientmanagerlite.cpp:415:100: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). emit createINDIText(property->getDeviceName(), property->getName(), label, name, text, read, write); data/kstars-3.4.3/kstars/indi/clientmanagerlite.cpp:480:102: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). emit createINDINumber(property->getDeviceName(), property->getName(), label, name, text, read, write, data/kstars-3.4.3/kstars/indi/clientmanagerlite.cpp:1063:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(BLOBFilename, filename.toLatin1(), MAXINDIFILENAME); data/kstars-3.4.3/kstars/indi/clientmanagerlite.h:210:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bool read, bool write); data/kstars-3.4.3/kstars/indi/clientmanagerlite.h:213:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bool read, bool write, bool scale); data/kstars-3.4.3/kstars/indi/clientmanagerlite.h:215:112: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void createINDIButton(QString deviceName, QString propName, QString propText, QString switchName, bool read, data/kstars-3.4.3/kstars/indi/clientmanagerlite.h:217:111: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void createINDIRadio(QString deviceName, QString propName, QString propText, QString switchName, bool read, data/kstars-3.4.3/kstars/indi/devicemanager.cpp:146:9: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(100000); data/kstars-3.4.3/kstars/indi/drivermanager.cpp:413:22: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. QThread::usleep(100000); data/kstars-3.4.3/kstars/indi/drivermanager.cpp:735:18: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. QThread::usleep(100000); data/kstars-3.4.3/kstars/indi/drivermanager.cpp:1059: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(tagXMLEle(root)) > 1024) data/kstars-3.4.3/kstars/indi/indiccd.cpp:516:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(newExpProp->device, expProp->device, MAXINDIDEVICE); data/kstars-3.4.3/kstars/indi/indiccd.cpp:517:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(newExpProp->name, expProp->name, MAXINDINAME); data/kstars-3.4.3/kstars/indi/indiccd.cpp:518:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(newExpProp->label, expProp->label, MAXINDILABEL); data/kstars-3.4.3/kstars/indi/indiccd.cpp:1380:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(primaryCCDBLOB->format, extension.toLatin1().constData(), MAXINDIFORMAT); data/kstars-3.4.3/kstars/indi/indiccd.cpp:1607:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(BLOBFilename, filename.toLatin1(), MAXINDIFILENAME); data/kstars-3.4.3/kstars/indi/indidriver.cpp:585: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(tagXMLEle(root)) > 1024) data/kstars-3.4.3/kstars/indi/indistd.cpp:402:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(BLOBFilename, filename.toLatin1(), MAXINDIFILENAME); ANALYSIS SUMMARY: Hits = 761 Lines analyzed = 329270 in approximately 25.69 seconds (12816 lines/second) Physical Source Lines of Code (SLOC) = 213051 Hits@level = [0] 426 [1] 80 [2] 570 [3] 25 [4] 84 [5] 2 Hits@level+ = [0+] 1187 [1+] 761 [2+] 681 [3+] 111 [4+] 86 [5+] 2 Hits/KSLOC@level+ = [0+] 5.57144 [1+] 3.57191 [2+] 3.19642 [3+] 0.521002 [4+] 0.403659 [5+] 0.00938742 Dot directories skipped = 2 (--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.