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/scotch-6.1.0/src/esmumps/symbol_check.c Examining data/scotch-6.1.0/src/esmumps/esmumps_f.c Examining data/scotch-6.1.0/src/esmumps/esmumps.c Examining data/scotch-6.1.0/src/esmumps/symbol_cost.c Examining data/scotch-6.1.0/src/esmumps/order.h Examining data/scotch-6.1.0/src/esmumps/symbol.c Examining data/scotch-6.1.0/src/esmumps/module.h Examining data/scotch-6.1.0/src/esmumps/symbol.h Examining data/scotch-6.1.0/src/esmumps/graph_graph.c Examining data/scotch-6.1.0/src/esmumps/symbol_cost.h Examining data/scotch-6.1.0/src/esmumps/dof.h Examining data/scotch-6.1.0/src/esmumps/esmumps.h Examining data/scotch-6.1.0/src/esmumps/order_check.c Examining data/scotch-6.1.0/src/esmumps/esmumps_strats.c Examining data/scotch-6.1.0/src/esmumps/main_esmumps.c Examining data/scotch-6.1.0/src/esmumps/symbol_fax.h Examining data/scotch-6.1.0/src/esmumps/order_scotch_graph.c Examining data/scotch-6.1.0/src/esmumps/symbol_fax_graph.c Examining data/scotch-6.1.0/src/esmumps/symbol_fax.c Examining data/scotch-6.1.0/src/esmumps/graph.h Examining data/scotch-6.1.0/src/esmumps/fax.h Examining data/scotch-6.1.0/src/esmumps/dof.c Examining data/scotch-6.1.0/src/esmumps/order.c Examining data/scotch-6.1.0/src/misc/pthread.h Examining data/scotch-6.1.0/src/misc/semaphore.h Examining data/scotch-6.1.0/src/libscotchmetis/parmetis_dgraph_order.c Examining data/scotch-6.1.0/src/libscotchmetis/parmetis_dgraph_part_f.c Examining data/scotch-6.1.0/src/libscotchmetis/metis_graph_order.c Examining data/scotch-6.1.0/src/libscotchmetis/parmetis_dgraph_order_f.c Examining data/scotch-6.1.0/src/libscotchmetis/metis_graph_part_f.c Examining data/scotch-6.1.0/src/libscotchmetis/metis_graph_part.c Examining data/scotch-6.1.0/src/libscotchmetis/parmetis_dgraph_part.c Examining data/scotch-6.1.0/src/libscotchmetis/library_parmetis.h Examining data/scotch-6.1.0/src/libscotchmetis/metis_graph_order_f.c Examining data/scotch-6.1.0/src/libscotchmetis/library_metis.h Examining data/scotch-6.1.0/src/libscotch/kdgraph_map_st.c Examining data/scotch-6.1.0/src/libscotch/vmesh_separate_st.h Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_fm.c Examining data/scotch-6.1.0/src/libscotch/hgraph_order_hx.h Examining data/scotch-6.1.0/src/libscotch/dgraph_band.c Examining data/scotch-6.1.0/src/libscotch/arch_cmpltw.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_order_io_f.c Examining data/scotch-6.1.0/src/libscotch/arch_hcub.c Examining data/scotch-6.1.0/src/libscotch/hgraph_induce.c Examining data/scotch-6.1.0/src/libscotch/library_graph_io_habo.c Examining data/scotch-6.1.0/src/libscotch/bdgraph_bipart_df.c Examining data/scotch-6.1.0/src/libscotch/dgraph_ghst.h Examining data/scotch-6.1.0/src/libscotch/hall_order_hf.h Examining data/scotch-6.1.0/src/libscotch/hgraph_order_kp.h Examining data/scotch-6.1.0/src/libscotch/library_mesh_io_habo_f.c Examining data/scotch-6.1.0/src/libscotch/library_graph_base_f.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_gather_f.c Examining data/scotch-6.1.0/src/libscotch/dgraph_io_load.h Examining data/scotch-6.1.0/src/libscotch/graph_list.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_build_grid3d.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_ml.c Examining data/scotch-6.1.0/src/libscotch/arch_torus.h Examining data/scotch-6.1.0/src/libscotch/library_arch_f.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_check.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_vw.c Examining data/scotch-6.1.0/src/libscotch/library_graph_io_scot_f.c Examining data/scotch-6.1.0/src/libscotch/hgraph_induce.h Examining data/scotch-6.1.0/src/libscotch/bdgraph_bipart_ex.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_zr.h Examining data/scotch-6.1.0/src/libscotch/arch_build.h Examining data/scotch-6.1.0/src/libscotch/hdgraph_check.c Examining data/scotch-6.1.0/src/libscotch/library_memory_f.c Examining data/scotch-6.1.0/src/libscotch/library_graph_map_f.c Examining data/scotch-6.1.0/src/libscotch/hmesh_order_st.c Examining data/scotch-6.1.0/src/libscotch/graph_list.h Examining data/scotch-6.1.0/src/libscotch/hmesh_order_nd.c Examining data/scotch-6.1.0/src/libscotch/hall_order_hx.c Examining data/scotch-6.1.0/src/libscotch/hmesh_order_bl.c Examining data/scotch-6.1.0/src/libscotch/vdgraph_separate_st.c Examining data/scotch-6.1.0/src/libscotch/dgraph_match.h Examining data/scotch-6.1.0/src/libscotch/hmesh_order_st.h Examining data/scotch-6.1.0/src/libscotch/wgraph_part_es.c Examining data/scotch-6.1.0/src/libscotch/graph_check.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_scatter.c Examining data/scotch-6.1.0/src/libscotch/bgraph_check.c Examining data/scotch-6.1.0/src/libscotch/kdgraph_map_rb.c Examining data/scotch-6.1.0/src/libscotch/library_version_f.c Examining data/scotch-6.1.0/src/libscotch/hdgraph_order_sq.h Examining data/scotch-6.1.0/src/libscotch/geom.h Examining data/scotch-6.1.0/src/libscotch/kgraph_map_rb.c Examining data/scotch-6.1.0/src/libscotch/hgraph_order_cp.h Examining data/scotch-6.1.0/src/libscotch/graph.c Examining data/scotch-6.1.0/src/libscotch/hmesh_order_hd.h Examining data/scotch-6.1.0/src/libscotch/hdgraph_order_nd.c Examining data/scotch-6.1.0/src/libscotch/library_mesh_io_habo.c Examining data/scotch-6.1.0/src/libscotch/mesh_graph.h Examining data/scotch-6.1.0/src/libscotch/bgraph.c Examining data/scotch-6.1.0/src/libscotch/arch_sub.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_zr.c Examining data/scotch-6.1.0/src/libscotch/vmesh_separate_zr.c Examining data/scotch-6.1.0/src/libscotch/dummysizes.c Examining data/scotch-6.1.0/src/libscotch/dorder_gather.h Examining data/scotch-6.1.0/src/libscotch/hgraph_order_gp.h Examining data/scotch-6.1.0/src/libscotch/dgraph_match_sync_coll.c Examining data/scotch-6.1.0/src/libscotch/mesh.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_th.c Examining data/scotch-6.1.0/src/libscotch/wgraph_part_gg.h Examining data/scotch-6.1.0/src/libscotch/vmesh_separate_gr.c Examining data/scotch-6.1.0/src/libscotch/hgraph_order_cc.h Examining data/scotch-6.1.0/src/libscotch/dgraph_view.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_order_io_block_f.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_halo_f.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_order_io.c Examining data/scotch-6.1.0/src/libscotch/kdgraph.c Examining data/scotch-6.1.0/src/libscotch/comm.c Examining data/scotch-6.1.0/src/libscotch/hall_order_hx.h Examining data/scotch-6.1.0/src/libscotch/dgraph_halo.c Examining data/scotch-6.1.0/src/libscotch/vmesh_separate_fm.c Examining data/scotch-6.1.0/src/libscotch/hgraph_order_hd.c Examining data/scotch-6.1.0/src/libscotch/hmesh_hgraph.h Examining data/scotch-6.1.0/src/libscotch/wgraph_part_zr.h Examining data/scotch-6.1.0/src/libscotch/dgraph_induce.c Examining data/scotch-6.1.0/src/libscotch/hdgraph_fold.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_order_perm.c Examining data/scotch-6.1.0/src/libscotch/arch.c Examining data/scotch-6.1.0/src/libscotch/common_file_compress.h Examining data/scotch-6.1.0/src/libscotch/mesh_induce_sepa.c Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_ml.h Examining data/scotch-6.1.0/src/libscotch/mesh_io.h Examining data/scotch-6.1.0/src/libscotch/kdgraph_gather.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_stat_f.c Examining data/scotch-6.1.0/src/libscotch/arch_cmplt.c Examining data/scotch-6.1.0/src/libscotch/kgraph_map_df.h Examining data/scotch-6.1.0/src/libscotch/hgraph.h Examining data/scotch-6.1.0/src/libscotch/dgraph_build_hcub.c Examining data/scotch-6.1.0/src/libscotch/library_graph_io_scot.c Examining data/scotch-6.1.0/src/libscotch/common_file.c Examining data/scotch-6.1.0/src/libscotch/wgraph_part_st.h Examining data/scotch-6.1.0/src/libscotch/library_memory.c Examining data/scotch-6.1.0/src/libscotch/fibo.c Examining data/scotch-6.1.0/src/libscotch/library_arch_dom_f.c Examining data/scotch-6.1.0/src/libscotch/mesh_coarsen.c Examining data/scotch-6.1.0/src/libscotch/library_mesh_graph_f.c Examining data/scotch-6.1.0/src/libscotch/mapping_io.c Examining data/scotch-6.1.0/src/libscotch/hdgraph_order_sq.c Examining data/scotch-6.1.0/src/libscotch/library_graph_io_mmkt.c Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_df.h Examining data/scotch-6.1.0/src/libscotch/dgraph_coarsen.h Examining data/scotch-6.1.0/src/libscotch/hmesh_order_hx.c Examining data/scotch-6.1.0/src/libscotch/arch_dist.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph.c Examining data/scotch-6.1.0/src/libscotch/library_arch_build.c Examining data/scotch-6.1.0/src/libscotch/kgraph_map_ex.h Examining data/scotch-6.1.0/src/libscotch/order.h Examining data/scotch-6.1.0/src/libscotch/geom.c Examining data/scotch-6.1.0/src/libscotch/library_graph_io_habo_f.c Examining data/scotch-6.1.0/src/libscotch/arch_dist.h Examining data/scotch-6.1.0/src/libscotch/library_mesh_graph.c Examining data/scotch-6.1.0/src/libscotch/library_random_f.c Examining data/scotch-6.1.0/src/libscotch/hgraph_induce_edge.c Examining data/scotch-6.1.0/src/libscotch/dmapping.c Examining data/scotch-6.1.0/src/libscotch/library_graph_map_io.c Examining data/scotch-6.1.0/src/libscotch/hgraph_dump.c Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_gp.c Examining data/scotch-6.1.0/src/libscotch/dgraph_allreduce.c Examining data/scotch-6.1.0/src/libscotch/dgraph_match_scan.c Examining data/scotch-6.1.0/src/libscotch/library_f.h Examining data/scotch-6.1.0/src/libscotch/mesh_io.c Examining data/scotch-6.1.0/src/libscotch/hgraph_order_si.h Examining data/scotch-6.1.0/src/libscotch/graph_diam.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_io_save.c Examining data/scotch-6.1.0/src/libscotch/vgraph.c Examining data/scotch-6.1.0/src/libscotch/library_graph_map_io.h Examining data/scotch-6.1.0/src/libscotch/vgraph_check.c Examining data/scotch-6.1.0/src/libscotch/arch_build2.h Examining data/scotch-6.1.0/src/libscotch/hdgraph_order_nd.h Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_gg.h Examining data/scotch-6.1.0/src/libscotch/library_mesh_f.c Examining data/scotch-6.1.0/src/libscotch/arch_sub.h Examining data/scotch-6.1.0/src/libscotch/hgraph_order_hx.c Examining data/scotch-6.1.0/src/libscotch/kgraph_map_rb_map.h Examining data/scotch-6.1.0/src/libscotch/vdgraph_gather_all.c Examining data/scotch-6.1.0/src/libscotch/kgraph_map_df_loop.c Examining data/scotch-6.1.0/src/libscotch/library_error_exit.c Examining data/scotch-6.1.0/src/libscotch/gain.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_f.c Examining data/scotch-6.1.0/src/libscotch/kgraph_map_rb_part.c Examining data/scotch-6.1.0/src/libscotch/order_io.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_build_f.c Examining data/scotch-6.1.0/src/libscotch/mapping.h Examining data/scotch-6.1.0/src/libscotch/kgraph_map_rb_part.h Examining data/scotch-6.1.0/src/libscotch/kgraph_check.c Examining data/scotch-6.1.0/src/libscotch/mesh_coarsen.h Examining data/scotch-6.1.0/src/libscotch/vdgraph_separate_sq.c Examining data/scotch-6.1.0/src/libscotch/dorder_io_tree.c Examining data/scotch-6.1.0/src/libscotch/arch_cmpltw.h Examining data/scotch-6.1.0/src/libscotch/library_graph_dump.c Examining data/scotch-6.1.0/src/libscotch/vmesh_separate_ml.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_df.h Examining data/scotch-6.1.0/src/libscotch/parser.h Examining data/scotch-6.1.0/src/libscotch/library_common_f.c Examining data/scotch-6.1.0/src/libscotch/gain.h Examining data/scotch-6.1.0/src/libscotch/hgraph_order_hf.h Examining data/scotch-6.1.0/src/libscotch/hgraph_order_st.h Examining data/scotch-6.1.0/src/libscotch/library_dgraph_check_f.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_redist_f.c Examining data/scotch-6.1.0/src/libscotch/graph_io_scot.h Examining data/scotch-6.1.0/src/libscotch/dgraph_gather.c Examining data/scotch-6.1.0/src/libscotch/graph_ielo.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_df.c Examining data/scotch-6.1.0/src/libscotch/vdgraph_check.c Examining data/scotch-6.1.0/src/libscotch/library_version.c Examining data/scotch-6.1.0/src/libscotch/common_memory.c Examining data/scotch-6.1.0/src/libscotch/library_graph_map.c Examining data/scotch-6.1.0/src/libscotch/bdgraph_bipart_ex.h Examining data/scotch-6.1.0/src/libscotch/dgraph_fold_dup.h Examining data/scotch-6.1.0/src/libscotch/vmesh.h Examining data/scotch-6.1.0/src/libscotch/dgraph_fold_comm.h Examining data/scotch-6.1.0/src/libscotch/kgraph.h Examining data/scotch-6.1.0/src/libscotch/library_dgraph_band.c Examining data/scotch-6.1.0/src/libscotch/library_graph_check.c Examining data/scotch-6.1.0/src/libscotch/wgraph_part_fm.h Examining data/scotch-6.1.0/src/libscotch/kdgraph_map_rb_map.c Examining data/scotch-6.1.0/src/libscotch/library_mesh_io_scot.c Examining data/scotch-6.1.0/src/libscotch/dgraph_build_grid3d.h Examining data/scotch-6.1.0/src/libscotch/library_graph_diam.c Examining data/scotch-6.1.0/src/libscotch/dgraph_halo_fill.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_build_grid3d_f.c Examining data/scotch-6.1.0/src/libscotch/graph_base.c Examining data/scotch-6.1.0/src/libscotch/hgraph_check.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_induce_f.c Examining data/scotch-6.1.0/src/libscotch/dmapping.h Examining data/scotch-6.1.0/src/libscotch/graph_clone.c Examining data/scotch-6.1.0/src/libscotch/module.h Examining data/scotch-6.1.0/src/libscotch/library_mesh_io_scot_f.c Examining data/scotch-6.1.0/src/libscotch/hmesh_order_si.c Examining data/scotch-6.1.0/src/libscotch/graph_diam.h Examining data/scotch-6.1.0/src/libscotch/library_dgraph_order_io_block.c Examining data/scotch-6.1.0/src/libscotch/library_order.h Examining data/scotch-6.1.0/src/libscotch/graph_induce.c Examining data/scotch-6.1.0/src/libscotch/vdgraph_separate_st.h Examining data/scotch-6.1.0/src/libscotch/arch_tleaf.h Examining data/scotch-6.1.0/src/libscotch/vmesh_separate_ml.h Examining data/scotch-6.1.0/src/libscotch/hmesh_order_hf.h Examining data/scotch-6.1.0/src/libscotch/wgraph_part_ml.h Examining data/scotch-6.1.0/src/libscotch/wgraph_part_es.h Examining data/scotch-6.1.0/src/libscotch/graph_io.c Examining data/scotch-6.1.0/src/libscotch/common_thread.c Examining data/scotch-6.1.0/src/libscotch/hmesh_order_hx.h Examining data/scotch-6.1.0/src/libscotch/library_graph_io_chac.c Examining data/scotch-6.1.0/src/libscotch/kgraph_map_df.c Examining data/scotch-6.1.0/src/libscotch/mesh_io_scot.h Examining data/scotch-6.1.0/src/libscotch/dorder_io.c Examining data/scotch-6.1.0/src/libscotch/hdgraph.h Examining data/scotch-6.1.0/src/libscotch/library_dgraph_coarsen_f.c Examining data/scotch-6.1.0/src/libscotch/library_graph_coarsen.c Examining data/scotch-6.1.0/src/libscotch/dorder_gather.c Examining data/scotch-6.1.0/src/libscotch/hmesh_mesh.c Examining data/scotch-6.1.0/src/libscotch/library_mapping.h Examining data/scotch-6.1.0/src/libscotch/kgraph_map_rb.h Examining data/scotch-6.1.0/src/libscotch/mapping.c Examining data/scotch-6.1.0/src/libscotch/library_order.c Examining data/scotch-6.1.0/src/libscotch/library_graph_color_f.c Examining data/scotch-6.1.0/src/libscotch/library_graph_map_view.h Examining data/scotch-6.1.0/src/libscotch/vdgraph_separate_ml.c Examining data/scotch-6.1.0/src/libscotch/hdgraph_gather.c Examining data/scotch-6.1.0/src/libscotch/graph_induce.h Examining data/scotch-6.1.0/src/libscotch/hmesh_hgraph.c Examining data/scotch-6.1.0/src/libscotch/bdgraph.c Examining data/scotch-6.1.0/src/libscotch/wgraph_part_gg.c Examining data/scotch-6.1.0/src/libscotch/mesh_io_habo.c Examining data/scotch-6.1.0/src/libscotch/arch_vhcub.c Examining data/scotch-6.1.0/src/libscotch/vmesh_separate_gg.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_gather.c Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_gg.c Examining data/scotch-6.1.0/src/libscotch/hgraph_order_cp.c Examining data/scotch-6.1.0/src/libscotch/library_graph_io_mmkt_f.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_stat.h Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_ml.c Examining data/scotch-6.1.0/src/libscotch/hgraph_order_nd.c Examining data/scotch-6.1.0/src/libscotch/hdgraph_order_si.c Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_st.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_band_f.c Examining data/scotch-6.1.0/src/libscotch/library_graph_map_io_f.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_coarsen.c Examining data/scotch-6.1.0/src/libscotch/vmesh_separate_gr.h Examining data/scotch-6.1.0/src/libscotch/kgraph_band.h Examining data/scotch-6.1.0/src/libscotch/arch_deco.h Examining data/scotch-6.1.0/src/libscotch/vmesh_separate_zr.h Examining data/scotch-6.1.0/src/libscotch/library_graph_diam_f.c Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_st.h Examining data/scotch-6.1.0/src/libscotch/library_dgraph_order_f.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_st.c Examining data/scotch-6.1.0/src/libscotch/library_graph.c Examining data/scotch-6.1.0/src/libscotch/hdgraph.c Examining data/scotch-6.1.0/src/libscotch/library_graph_io_chac_f.c Examining data/scotch-6.1.0/src/libscotch/library_graph_order.c Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_ex.h Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_bd.h Examining data/scotch-6.1.0/src/libscotch/dgraph_build.c Examining data/scotch-6.1.0/src/libscotch/hmesh_order_hd.c Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_gg.h Examining data/scotch-6.1.0/src/libscotch/graph_match.c Examining data/scotch-6.1.0/src/libscotch/graph_io_habo.h Examining data/scotch-6.1.0/src/libscotch/graph_io_mmkt.h Examining data/scotch-6.1.0/src/libscotch/mesh_induce_sepa.h Examining data/scotch-6.1.0/src/libscotch/dgraph_match.c Examining data/scotch-6.1.0/src/libscotch/vdgraph_separate_zr.c Examining data/scotch-6.1.0/src/libscotch/library_mesh_order.c Examining data/scotch-6.1.0/src/libscotch/arch_tleaf.c Examining data/scotch-6.1.0/src/libscotch/bdgraph_bipart_st.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_order.c Examining data/scotch-6.1.0/src/libscotch/graph_match.h Examining data/scotch-6.1.0/src/libscotch/dgraph_gather_all.c Examining data/scotch-6.1.0/src/libscotch/library_pt_f.h Examining data/scotch-6.1.0/src/libscotch/dgraph_band_grow.h Examining data/scotch-6.1.0/src/libscotch/graph_io_scot.c Examining data/scotch-6.1.0/src/libscotch/arch_cmplt.h Examining data/scotch-6.1.0/src/libscotch/library_dgraph_map_view_f.c Examining data/scotch-6.1.0/src/libscotch/kdgraph_map_rb_map.h Examining data/scotch-6.1.0/src/libscotch/dgraph_build.h Examining data/scotch-6.1.0/src/libscotch/kgraph_map_bd.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_io_load.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_gp.c Examining data/scotch-6.1.0/src/libscotch/library_parser_f.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_vw.h Examining data/scotch-6.1.0/src/libscotch/arch_deco2.h Examining data/scotch-6.1.0/src/libscotch/graph_io_habo.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_ml.h Examining data/scotch-6.1.0/src/libscotch/hgraph_order_hd.h Examining data/scotch-6.1.0/src/libscotch/wgraph_part_fm.c Examining data/scotch-6.1.0/src/libscotch/parser.c Examining data/scotch-6.1.0/src/libscotch/vdgraph_separate_ml.h Examining data/scotch-6.1.0/src/libscotch/graph_match_scan.c Examining data/scotch-6.1.0/src/libscotch/library_graph_part_ovl_f.c Examining data/scotch-6.1.0/src/libscotch/kgraph_map_ex.c Examining data/scotch-6.1.0/src/libscotch/common_file_compress.c Examining data/scotch-6.1.0/src/libscotch/hdgraph_induce.c Examining data/scotch-6.1.0/src/libscotch/hmesh_order_gr.h Examining data/scotch-6.1.0/src/libscotch/order_check.c Examining data/scotch-6.1.0/src/libscotch/graph_io_mmkt.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_map_f.c Examining data/scotch-6.1.0/src/libscotch/kgraph_map_bd.h Examining data/scotch-6.1.0/src/libscotch/hgraph_order_si.c Examining data/scotch-6.1.0/src/libscotch/vdgraph_separate_bd.c Examining data/scotch-6.1.0/src/libscotch/mesh.h Examining data/scotch-6.1.0/src/libscotch/vdgraph_separate_df.h Examining data/scotch-6.1.0/src/libscotch/library_geom_f.c Examining data/scotch-6.1.0/src/libscotch/hmesh_induce.c Examining data/scotch-6.1.0/src/libscotch/dgraph_fold_comm.c Examining data/scotch-6.1.0/src/libscotch/library_graph_color.c Examining data/scotch-6.1.0/src/libscotch/hmesh_order_cp.c Examining data/scotch-6.1.0/src/libscotch/dgraph_io_save.c Examining data/scotch-6.1.0/src/libscotch/graph_coarsen.h Examining data/scotch-6.1.0/src/libscotch/wgraph_part_rb.c Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_ex.c Examining data/scotch-6.1.0/src/libscotch/kdgraph_map_st.h Examining data/scotch-6.1.0/src/libscotch/dgraph_allreduce.h Examining data/scotch-6.1.0/src/libscotch/bdgraph_bipart_sq.c Examining data/scotch-6.1.0/src/libscotch/arch_deco.c Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_df.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_gg.c Examining data/scotch-6.1.0/src/libscotch/common_integer.c Examining data/scotch-6.1.0/src/libscotch/dorder.h Examining data/scotch-6.1.0/src/libscotch/dgraph_halo.h Examining data/scotch-6.1.0/src/libscotch/wgraph.h Examining data/scotch-6.1.0/src/libscotch/library_dgraph_halo.c Examining data/scotch-6.1.0/src/libscotch/library_errcom.c Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_df_loop.c Examining data/scotch-6.1.0/src/libscotch/hmesh.h Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_es.c Examining data/scotch-6.1.0/src/libscotch/hgraph_order_bl.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_grow.c Examining data/scotch-6.1.0/src/libscotch/graph_coarsen.c Examining data/scotch-6.1.0/src/libscotch/dgraph_build_grid3d.c Examining data/scotch-6.1.0/src/libscotch/hgraph_order_bl.h Examining data/scotch-6.1.0/src/libscotch/dorder_io_block.c Examining data/scotch-6.1.0/src/libscotch/hgraph_order_kp.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_th.h Examining data/scotch-6.1.0/src/libscotch/kgraph_map_ml.c Examining data/scotch-6.1.0/src/libscotch/hgraph_order_st.c Examining data/scotch-6.1.0/src/libscotch/arch_torus.c Examining data/scotch-6.1.0/src/libscotch/hdgraph_order_st.c Examining data/scotch-6.1.0/src/libscotch/dgraph_scatter.c Examining data/scotch-6.1.0/src/libscotch/bdgraph_bipart_bd.c Examining data/scotch-6.1.0/src/libscotch/hmesh_order_gr.c Examining data/scotch-6.1.0/src/libscotch/dgraph.h Examining data/scotch-6.1.0/src/libscotch/arch.h Examining data/scotch-6.1.0/src/libscotch/kgraph_map_fm.h Examining data/scotch-6.1.0/src/libscotch/hmesh_order_hf.c Examining data/scotch-6.1.0/src/libscotch/library_mesh_order_f.c Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_bd.c Examining data/scotch-6.1.0/src/libscotch/wgraph_part_zr.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_order_tree_dist_f.c Examining data/scotch-6.1.0/src/libscotch/vmesh_separate_st.c Examining data/scotch-6.1.0/src/libscotch/library_graph_part_ovl.c Examining data/scotch-6.1.0/src/libscotch/arch_vcmplt.h Examining data/scotch-6.1.0/src/libscotch/bdgraph_bipart_sq.h Examining data/scotch-6.1.0/src/libscotch/dorder.c Examining data/scotch-6.1.0/src/libscotch/hgraph_order_hf.c Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_zr.c Examining data/scotch-6.1.0/src/libscotch/dgraph_ghst.c Examining data/scotch-6.1.0/src/libscotch/hgraph.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_io_save_f.c Examining data/scotch-6.1.0/src/libscotch/bdgraph.h Examining data/scotch-6.1.0/src/libscotch/arch_hcub.h Examining data/scotch-6.1.0/src/libscotch/common_file.h Examining data/scotch-6.1.0/src/libscotch/vdgraph_separate_bd.h Examining data/scotch-6.1.0/src/libscotch/hmesh_order_si.h Examining data/scotch-6.1.0/src/libscotch/parser_yy.h Examining data/scotch-6.1.0/src/libscotch/kdgraph_map_rb.h Examining data/scotch-6.1.0/src/libscotch/dgraph_match_check.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_fm.c Examining data/scotch-6.1.0/src/libscotch/vmesh_check.c Examining data/scotch-6.1.0/src/libscotch/hgraph_order_nd.h Examining data/scotch-6.1.0/src/libscotch/library_graph_check_f.c Examining data/scotch-6.1.0/src/libscotch/library_error.c Examining data/scotch-6.1.0/src/libscotch/bdgraph_gather_all.c Examining data/scotch-6.1.0/src/libscotch/kdgraph_map_rb_part.c Examining data/scotch-6.1.0/src/libscotch/bdgraph_bipart_df.h Examining data/scotch-6.1.0/src/libscotch/dgraph_redist.c Examining data/scotch-6.1.0/src/libscotch/wgraph_check.c Examining data/scotch-6.1.0/src/libscotch/vmesh_store.c Examining data/scotch-6.1.0/src/libscotch/hgraph_order_gp.c Examining data/scotch-6.1.0/src/libscotch/dorder_perm.h Examining data/scotch-6.1.0/src/libscotch/graph_io.h Examining data/scotch-6.1.0/src/libscotch/kgraph_map_cp.c Examining data/scotch-6.1.0/src/libscotch/arch_deco2.c Examining data/scotch-6.1.0/src/libscotch/common_string.c Examining data/scotch-6.1.0/src/libscotch/dgraph_fold.c Examining data/scotch-6.1.0/src/libscotch/graph_coarsen_edge.c Examining data/scotch-6.1.0/src/libscotch/bdgraph_store.c Examining data/scotch-6.1.0/src/libscotch/vgraph.h Examining data/scotch-6.1.0/src/libscotch/library_dorder.c Examining data/scotch-6.1.0/src/libscotch/dgraph_match_sync_ptop.c Examining data/scotch-6.1.0/src/libscotch/hmesh_order_gp.c Examining data/scotch-6.1.0/src/libscotch/arch_vcmplt.c Examining data/scotch-6.1.0/src/libscotch/library_graph_coarsen_f.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_induce.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_bd.c Examining data/scotch-6.1.0/src/libscotch/library_mapping.c Examining data/scotch-6.1.0/src/libscotch/vdgraph_store.c Examining data/scotch-6.1.0/src/libscotch/library_dmapping.h Examining data/scotch-6.1.0/src/libscotch/library_parser.c Examining data/scotch-6.1.0/src/libscotch/library_graph_map_view_f.c Examining data/scotch-6.1.0/src/libscotch/dorder_perm.c Examining data/scotch-6.1.0/src/libscotch/library_geom.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_redist.c Examining data/scotch-6.1.0/src/libscotch/arch_build.c Examining data/scotch-6.1.0/src/libscotch/library_strat.c Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_fm.h Examining data/scotch-6.1.0/src/libscotch/dgraph_fold_dup.c Examining data/scotch-6.1.0/src/libscotch/kdgraph.h Examining data/scotch-6.1.0/src/libscotch/bgraph.h Examining data/scotch-6.1.0/src/libscotch/common.c Examining data/scotch-6.1.0/src/libscotch/library_graph_induce.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_order_gather_f.c Examining data/scotch-6.1.0/src/libscotch/mesh_io_scot.c Examining data/scotch-6.1.0/src/libscotch/dmapping_io.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_stat.c Examining data/scotch-6.1.0/src/libscotch/graph_band.c Examining data/scotch-6.1.0/src/libscotch/kgraph_map_fm.c Examining data/scotch-6.1.0/src/libscotch/mesh_check.c Examining data/scotch-6.1.0/src/libscotch/library_graph_f.c Examining data/scotch-6.1.0/src/libscotch/bdgraph_bipart_bd.h Examining data/scotch-6.1.0/src/libscotch/kgraph_store.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_build.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_order_gather.c Examining data/scotch-6.1.0/src/libscotch/vdgraph_separate_df.c Examining data/scotch-6.1.0/src/libscotch/bdgraph_bipart_st.h Examining data/scotch-6.1.0/src/libscotch/bdgraph_bipart_ml.c Examining data/scotch-6.1.0/src/libscotch/library_arch_dom.c Examining data/scotch-6.1.0/src/libscotch/library_random.c Examining data/scotch-6.1.0/src/libscotch/arch_vhcub.h Examining data/scotch-6.1.0/src/libscotch/library_mesh.c Examining data/scotch-6.1.0/src/libscotch/bgraph_store.c Examining data/scotch-6.1.0/src/libscotch/library_graph_induce_f.c Examining data/scotch-6.1.0/src/libscotch/comm.h Examining data/scotch-6.1.0/src/libscotch/library_dmapping.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_st.h Examining data/scotch-6.1.0/src/libscotch/last_resort/parser_yy.c Examining data/scotch-6.1.0/src/libscotch/last_resort/parser_ll.c Examining data/scotch-6.1.0/src/libscotch/last_resort/parser_ly.h Examining data/scotch-6.1.0/src/libscotch/kgraph.c Examining data/scotch-6.1.0/src/libscotch/vdgraph_separate_sq.h Examining data/scotch-6.1.0/src/libscotch/hmesh_order_bl.h Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_gp.h Examining data/scotch-6.1.0/src/libscotch/hall_order_hd.c Examining data/scotch-6.1.0/src/libscotch/library.h Examining data/scotch-6.1.0/src/libscotch/hdgraph_order_st.h Examining data/scotch-6.1.0/src/libscotch/bdgraph_bipart_zr.c Examining data/scotch-6.1.0/src/libscotch/wgraph_part_rb.h Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_gp.h Examining data/scotch-6.1.0/src/libscotch/mapping_io.h Examining data/scotch-6.1.0/src/libscotch/library_graph_map_view.c Examining data/scotch-6.1.0/src/libscotch/wgraph_part_ml.c Examining data/scotch-6.1.0/src/libscotch/vmesh.c Examining data/scotch-6.1.0/src/libscotch/graph_io_chac.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_fm.h Examining data/scotch-6.1.0/src/libscotch/common_stub.c Examining data/scotch-6.1.0/src/libscotch/library_arch_build_f.c Examining data/scotch-6.1.0/src/libscotch/hdgraph_fold.h Examining data/scotch-6.1.0/src/libscotch/hall_order_hf.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_scatter_f.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_bd.h Examining data/scotch-6.1.0/src/libscotch/wgraph.c Examining data/scotch-6.1.0/src/libscotch/mesh_graph.c Examining data/scotch-6.1.0/src/libscotch/hdgraph_order_si.h Examining data/scotch-6.1.0/src/libscotch/kgraph_band.c Examining data/scotch-6.1.0/src/libscotch/graph_dump.c Examining data/scotch-6.1.0/src/libscotch/common.h Examining data/scotch-6.1.0/src/libscotch/arch_mesh.h Examining data/scotch-6.1.0/src/libscotch/graph.h Examining data/scotch-6.1.0/src/libscotch/common_file_decompress.c Examining data/scotch-6.1.0/src/libscotch/library_graph_order_f.c Examining data/scotch-6.1.0/src/libscotch/dgraph_band_grow.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_map_view.c Examining data/scotch-6.1.0/src/libscotch/dgraph_io_load.c Examining data/scotch-6.1.0/src/libscotch/graph_dump.h Examining data/scotch-6.1.0/src/libscotch/library_dgraph_order_perm_f.c Examining data/scotch-6.1.0/src/libscotch/bdgraph_check.c Examining data/scotch-6.1.0/src/libscotch/arch_mesh.c Examining data/scotch-6.1.0/src/libscotch/dgraph_check.c Examining data/scotch-6.1.0/src/libscotch/parser_ll.h Examining data/scotch-6.1.0/src/libscotch/wgraph_part_st.c Examining data/scotch-6.1.0/src/libscotch/dorder_tree_dist.c Examining data/scotch-6.1.0/src/libscotch/kgraph_map_st.h Examining data/scotch-6.1.0/src/libscotch/kgraph_map_rb_map.c Examining data/scotch-6.1.0/src/libscotch/order.c Examining data/scotch-6.1.0/src/libscotch/hgraph_order_cc.c Examining data/scotch-6.1.0/src/libscotch/common_error.c Examining data/scotch-6.1.0/src/libscotch/dgraph_coarsen.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_io_load_f.c Examining data/scotch-6.1.0/src/libscotch/hmesh_order_cp.h Examining data/scotch-6.1.0/src/libscotch/bdgraph_bipart_ml.h Examining data/scotch-6.1.0/src/libscotch/hmesh_order_nd.h Examining data/scotch-6.1.0/src/libscotch/hgraph_dump.h Examining data/scotch-6.1.0/src/libscotch/dgraph_redist.h Examining data/scotch-6.1.0/src/libscotch/wgraph_store.c Examining data/scotch-6.1.0/src/libscotch/library_graph_base.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_order_tree_dist.c Examining data/scotch-6.1.0/src/libscotch/bdgraph_bipart_zr.h Examining data/scotch-6.1.0/src/libscotch/bgraph_bipart_zr.h Examining data/scotch-6.1.0/src/libscotch/hmesh_check.c Examining data/scotch-6.1.0/src/libscotch/library_dgraph_map.c Examining data/scotch-6.1.0/src/libscotch/vdgraph_separate_zr.h Examining data/scotch-6.1.0/src/libscotch/dgraph.c Examining data/scotch-6.1.0/src/libscotch/vdgraph.h Examining data/scotch-6.1.0/src/libscotch/vgraph_store.c Examining data/scotch-6.1.0/src/libscotch/fibo.h Examining data/scotch-6.1.0/src/libscotch/arch_build2.c Examining data/scotch-6.1.0/src/libscotch/vgraph_separate_es.h Examining data/scotch-6.1.0/src/libscotch/kgraph_map_cp.h Examining data/scotch-6.1.0/src/libscotch/kgraph_map_st.c Examining data/scotch-6.1.0/src/libscotch/hmesh_order_gp.h Examining data/scotch-6.1.0/src/libscotch/vmesh_separate_fm.h Examining data/scotch-6.1.0/src/libscotch/common_sort.c Examining data/scotch-6.1.0/src/libscotch/hall_order_hd.h Examining data/scotch-6.1.0/src/libscotch/dgraph_fold.h Examining data/scotch-6.1.0/src/libscotch/vmesh_separate_gg.h Examining data/scotch-6.1.0/src/libscotch/kdgraph_map_rb_part.h Examining data/scotch-6.1.0/src/libscotch/library_arch.c Examining data/scotch-6.1.0/src/libscotch/vdgraph.c Examining data/scotch-6.1.0/src/libscotch/hmesh.c Examining data/scotch-6.1.0/src/libscotch/kgraph_map_ml.h Examining data/scotch-6.1.0/src/libscotch/library_pt.h Examining data/scotch-6.1.0/src/scotch/mmk_m3.h Examining data/scotch-6.1.0/src/scotch/amk_hy.h Examining data/scotch-6.1.0/src/scotch/gcv.c Examining data/scotch-6.1.0/src/scotch/mmk_m3.c Examining data/scotch-6.1.0/src/scotch/gmk_hy.c Examining data/scotch-6.1.0/src/scotch/gmk_m3.c Examining data/scotch-6.1.0/src/scotch/gout_o.c Examining data/scotch-6.1.0/src/scotch/amk_p2.h Examining data/scotch-6.1.0/src/scotch/amk_fft2.h Examining data/scotch-6.1.0/src/scotch/mcv.c Examining data/scotch-6.1.0/src/scotch/dgord.c Examining data/scotch-6.1.0/src/scotch/amk_ccc.c Examining data/scotch-6.1.0/src/scotch/mcv.h Examining data/scotch-6.1.0/src/scotch/gtst.c Examining data/scotch-6.1.0/src/scotch/gscat.c Examining data/scotch-6.1.0/src/scotch/dgmap.c Examining data/scotch-6.1.0/src/scotch/acpl.h Examining data/scotch-6.1.0/src/scotch/amk_grf.h Examining data/scotch-6.1.0/src/scotch/gmk_hy.h Examining data/scotch-6.1.0/src/scotch/gdump.c Examining data/scotch-6.1.0/src/scotch/dggath.c Examining data/scotch-6.1.0/src/scotch/mmk_m2.c Examining data/scotch-6.1.0/src/scotch/dgmap.h Examining data/scotch-6.1.0/src/scotch/gcv.h Examining data/scotch-6.1.0/src/scotch/dgtst.c Examining data/scotch-6.1.0/src/scotch/gmk_ub2.h Examining data/scotch-6.1.0/src/scotch/gmtst.h Examining data/scotch-6.1.0/src/scotch/gmk_m2.h Examining data/scotch-6.1.0/src/scotch/acpl.c Examining data/scotch-6.1.0/src/scotch/gmtst.c Examining data/scotch-6.1.0/src/scotch/gdump.h Examining data/scotch-6.1.0/src/scotch/dggath.h Examining data/scotch-6.1.0/src/scotch/amk_grf.c Examining data/scotch-6.1.0/src/scotch/gotst.c Examining data/scotch-6.1.0/src/scotch/mord.c Examining data/scotch-6.1.0/src/scotch/gmap.h Examining data/scotch-6.1.0/src/scotch/gmap.c Examining data/scotch-6.1.0/src/scotch/amk_ccc.h Examining data/scotch-6.1.0/src/scotch/amk_m2.c Examining data/scotch-6.1.0/src/scotch/gbase.h Examining data/scotch-6.1.0/src/scotch/amk_p2.c Examining data/scotch-6.1.0/src/scotch/dgtst.h Examining data/scotch-6.1.0/src/scotch/gmk_msh.c Examining data/scotch-6.1.0/src/scotch/gtst.h Examining data/scotch-6.1.0/src/scotch/mtst.h Examining data/scotch-6.1.0/src/scotch/dgscat.c Examining data/scotch-6.1.0/src/scotch/amk_hy.c Examining data/scotch-6.1.0/src/scotch/gout_c.h Examining data/scotch-6.1.0/src/scotch/atst.c Examining data/scotch-6.1.0/src/scotch/gord.h Examining data/scotch-6.1.0/src/scotch/mtst.c Examining data/scotch-6.1.0/src/scotch/gord.c Examining data/scotch-6.1.0/src/scotch/dgscat.h Examining data/scotch-6.1.0/src/scotch/gmk_ub2.c Examining data/scotch-6.1.0/src/scotch/amk_m2.h Examining data/scotch-6.1.0/src/scotch/gout_o.h Examining data/scotch-6.1.0/src/scotch/gout_c.c Examining data/scotch-6.1.0/src/scotch/dgord.h Examining data/scotch-6.1.0/src/scotch/gmk_m3.h Examining data/scotch-6.1.0/src/scotch/mmk_m2.h Examining data/scotch-6.1.0/src/scotch/gotst.h Examining data/scotch-6.1.0/src/scotch/gmk_msh.h Examining data/scotch-6.1.0/src/scotch/gscat.h Examining data/scotch-6.1.0/src/scotch/atst.h Examining data/scotch-6.1.0/src/scotch/gbase.c Examining data/scotch-6.1.0/src/scotch/mord.h Examining data/scotch-6.1.0/src/scotch/amk_fft2.c Examining data/scotch-6.1.0/src/scotch/gmk_m2.c Examining data/scotch-6.1.0/src/check/test_common_random.c Examining data/scotch-6.1.0/src/check/test_scotch_dgraph_redist.c Examining data/scotch-6.1.0/src/check/test_scotch_dgraph_band.c Examining data/scotch-6.1.0/src/check/test_scotch_graph_map_copy.c Examining data/scotch-6.1.0/src/check/test_strat_par.c Examining data/scotch-6.1.0/src/check/test_scotch_graph_diam.c Examining data/scotch-6.1.0/src/check/test_scotch_dgraph_grow.c Examining data/scotch-6.1.0/src/check/test_scotch_mesh_graph.c Examining data/scotch-6.1.0/src/check/test_multilib.c Examining data/scotch-6.1.0/src/check/test_scotch_graph_coarsen.c Examining data/scotch-6.1.0/src/check/test_fibo.c Examining data/scotch-6.1.0/src/check/test_scotch_arch.c Examining data/scotch-6.1.0/src/check/test_strat_seq.c Examining data/scotch-6.1.0/src/check/test_libmetis.c Examining data/scotch-6.1.0/src/check/test_scotch_dgraph_coarsen.c Examining data/scotch-6.1.0/src/check/test_common_thread.c Examining data/scotch-6.1.0/src/check/test_scotch_graph_induce.c Examining data/scotch-6.1.0/src/check/test_scotch_graph_part_ovl.c Examining data/scotch-6.1.0/src/check/test_scotch_dgraph_check.c Examining data/scotch-6.1.0/src/check/test_libesmumps.c Examining data/scotch-6.1.0/src/check/test_scotch_graph_order.c Examining data/scotch-6.1.0/src/check/test_scotch_graph_dump.c Examining data/scotch-6.1.0/src/check/test_scotch_graph_map.c Examining data/scotch-6.1.0/src/check/test_scotch_arch_deco.c Examining data/scotch-6.1.0/src/check/test_common_file_compress.c Examining data/scotch-6.1.0/src/check/test_scotch_dgraph_induce.c Examining data/scotch-6.1.0/src/check/test_scotch_graph_color.c Examining data/scotch-6.1.0/workshop/halo-ordering/test_hamf.c Examining data/scotch-6.1.0/workshop/halo-ordering/test_hamf_graph.c FINAL RESULTS: data/scotch-6.1.0/src/libscotch/arch_cmplt.c:135:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING "\n", (Anum) archptr->termnbr) == EOF) { data/scotch-6.1.0/src/libscotch/arch_cmplt.c:369:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING " " ANUMSTRING " ", data/scotch-6.1.0/src/libscotch/arch_cmpltw.c:277:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING, (Anum) archptr->vertnbr) == EOF) { data/scotch-6.1.0/src/libscotch/arch_cmpltw.c:287:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, " " ANUMSTRING, (Anum) archptr->velotab[verttmp].veloval) == EOF) { data/scotch-6.1.0/src/libscotch/arch_cmpltw.c:498:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING " " ANUMSTRING " ", data/scotch-6.1.0/src/libscotch/arch_deco.c:405:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING "\t" ANUMSTRING "\t" ANUMSTRING "\n", data/scotch-6.1.0/src/libscotch/arch_deco.c:416:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING "%c", data/scotch-6.1.0/src/libscotch/arch_deco.c:567:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING " ", data/scotch-6.1.0/src/libscotch/arch_deco2.c:308:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING "\t" ANUMSTRING "\n", data/scotch-6.1.0/src/libscotch/arch_deco2.c:317:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING "\t" ANUMSTRING "\t" ANUMSTRING "\t" data/scotch-6.1.0/src/libscotch/arch_deco2.c:339:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING "\n", data/scotch-6.1.0/src/libscotch/arch_deco2.c:348:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING "\t", (Anum) vnumtab[vnumnum]) == EOF) { data/scotch-6.1.0/src/libscotch/arch_deco2.c:354:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING "\n", (Anum) vnumtab[vnumnum]) == EOF) data/scotch-6.1.0/src/libscotch/arch_deco2.c:783:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING " ", data/scotch-6.1.0/src/libscotch/arch_dist.c:119:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING "\t", data/scotch-6.1.0/src/libscotch/arch_hcub.c:134:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING "\n", (Anum) archptr->dimnnbr) == EOF) { data/scotch-6.1.0/src/libscotch/arch_hcub.c:349:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING " " ANUMSTRING " ", data/scotch-6.1.0/src/libscotch/arch_mesh.c:147:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING " " ANUMSTRING "\n", data/scotch-6.1.0/src/libscotch/arch_mesh.c:439:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING " " ANUMSTRING " " ANUMSTRING "\n", data/scotch-6.1.0/src/libscotch/arch_mesh.c:711:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING " ", data/scotch-6.1.0/src/libscotch/arch_mesh.c:718:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING " ", data/scotch-6.1.0/src/libscotch/arch_mesh.c:1027:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING " " ANUMSTRING " ", data/scotch-6.1.0/src/libscotch/arch_sub.c:152:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING, data/scotch-6.1.0/src/libscotch/arch_sub.c:160:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, " " ANUMSTRING, data/scotch-6.1.0/src/libscotch/arch_sub.c:783:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING " ", data/scotch-6.1.0/src/libscotch/arch_tleaf.c:197:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING, data/scotch-6.1.0/src/libscotch/arch_tleaf.c:204:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, " " ANUMSTRING " " ANUMSTRING, data/scotch-6.1.0/src/libscotch/arch_tleaf.c:563:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING " " ANUMSTRING " " ANUMSTRING " ", data/scotch-6.1.0/src/libscotch/arch_tleaf.c:776:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING, data/scotch-6.1.0/src/libscotch/arch_tleaf.c:783:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, " " ANUMSTRING, data/scotch-6.1.0/src/libscotch/arch_vcmplt.c:218:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING " ", data/scotch-6.1.0/src/libscotch/arch_vhcub.c:218:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, ANUMSTRING " ", data/scotch-6.1.0/src/libscotch/common_error.c:97:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, errstr, errlist); /* Print arguments */ data/scotch-6.1.0/src/libscotch/common_error.c:119:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, errstr, errlist); /* Print arguments */ data/scotch-6.1.0/src/libscotch/common_file.c:96:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (naexptr, FILENAMEDISTEXPANDSTR, procnbr); /* TRICK: Test if FILENAMEDISTEXPANDNBR is a size large enough */ data/scotch-6.1.0/src/libscotch/common_file.c:149:9: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (&naexptr[naexnum], FILENAMEDISTEXPANDSTR, dataval); /* TRICK: Change format string if FILENAMEDISTEXPANDNBR changes */ data/scotch-6.1.0/src/libscotch/common_integer.c:134:12: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. return ((fprintf (stream, INTSTRING, (INT) val) == EOF) ? 0 : 1); data/scotch-6.1.0/src/libscotch/common_integer.c:406:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, UINTSTRING "\n", (UINT) randptr->randtab[i]) == EOF) { data/scotch-6.1.0/src/libscotch/common_integer.c:412:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, INTSTRING "\n", (INT) randptr->randnum) == EOF) { data/scotch-6.1.0/src/libscotch/dgraph_io_save.c:139:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o = (fprintf (stream, GNUMSTRING "\t", (Gnum) vlblgsttax[vertlocnum]) == EOF); data/scotch-6.1.0/src/libscotch/dgraph_io_save.c:141:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (stream, GNUMSTRING "\t", (Gnum) grafptr->veloloctax[vertlocnum]) == EOF); data/scotch-6.1.0/src/libscotch/dgraph_io_save.c:143:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (stream, GNUMSTRING, (Gnum) (grafptr->vendloctax[vertlocnum] - grafptr->vertloctax[vertlocnum])) == EOF); /* Write vertex degree */ data/scotch-6.1.0/src/libscotch/dgraph_io_save.c:150:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (stream, GNUMSTRING, (Gnum) ((vlblgsttax != NULL) /* Write edge end */ data/scotch-6.1.0/src/libscotch/dgraph_view.c:110:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stream, " " GNUMSTRING, data/scotch-6.1.0/src/libscotch/dgraph_view.c:116:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stream, " " GNUMSTRING, data/scotch-6.1.0/src/libscotch/dgraph_view.c:120:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stream, " " GNUMSTRING, data/scotch-6.1.0/src/libscotch/dgraph_view.c:130:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stream, " " GNUMSTRING, data/scotch-6.1.0/src/libscotch/dgraph_view.c:137:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stream, " " GNUMSTRING, data/scotch-6.1.0/src/libscotch/dgraph_view.c:142:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stream, " " GNUMSTRING, data/scotch-6.1.0/src/libscotch/dgraph_view.c:160:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stream, "\n degrglbmax: " GNUMSTRING, data/scotch-6.1.0/src/libscotch/dmapping_io.c:141:14: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. else if (fprintf (stream, GNUMSTRING "\n", (Gnum) vertglbnbr) == EOF) { data/scotch-6.1.0/src/libscotch/dmapping_io.c:197:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\t" GNUMSTRING "\n", data/scotch-6.1.0/src/libscotch/dmapping_io.c:225:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\t" GNUMSTRING "\n", data/scotch-6.1.0/src/libscotch/dorder_io.c:194:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\n", (Gnum) ordeptr->vnodglbnbr) == EOF) { data/scotch-6.1.0/src/libscotch/dorder_io.c:206:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\t" GNUMSTRING "\n", data/scotch-6.1.0/src/libscotch/dorder_io.c:217:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\t" GNUMSTRING "\n", data/scotch-6.1.0/src/libscotch/dummysizes.c:145:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (subsptr, "%s%s", nameptr, suffptr); data/scotch-6.1.0/src/libscotch/dummysizes.c:327: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 (chartmp, charptr + subslen); /* Save remaining of line */ data/scotch-6.1.0/src/libscotch/dummysizes.c:328:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (charptr, "%s%s", substab[subsnum][1], chartmp); /* Replace remaining of line with substituted token */ data/scotch-6.1.0/src/libscotch/dummysizes.c:335: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 (chartmp, chartab + matcdat.rm_eo); /* Save remaining of line */ data/scotch-6.1.0/src/libscotch/dummysizes.c:336:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf (chartab + matcdat.rm_eo, "%s%s", suffptr, chartmp); /* Add suffix to name */ data/scotch-6.1.0/src/libscotch/graph_dump.c:169:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (fileptr, "%s" GNUMSTRING, data/scotch-6.1.0/src/libscotch/graph_io.c:359:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o = (fprintf (stream, GNUMSTRING "\t", (Gnum) grafptr->vlbltax[vertnum]) == EOF); data/scotch-6.1.0/src/libscotch/graph_io.c:361:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (stream, GNUMSTRING "\t", (Gnum) grafptr->velotax[vertnum]) == EOF); data/scotch-6.1.0/src/libscotch/graph_io.c:363:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (stream, GNUMSTRING, (Gnum) (grafptr->vendtax[vertnum] - grafptr->verttax[vertnum])) == EOF); /* Write vertex degree */ data/scotch-6.1.0/src/libscotch/graph_io.c:371:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (stream, GNUMSTRING "\t", (Gnum) grafptr->edlotax[edgenum]) == EOF); data/scotch-6.1.0/src/libscotch/graph_io.c:373:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (stream, GNUMSTRING, (Gnum) ((grafptr->vlbltax != NULL) ? grafptr->vlbltax[vertend] : vertend)) == EOF); /* Write edge end */ data/scotch-6.1.0/src/libscotch/graph_io_chac.c:285:8: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o = (fprintf (filesrcptr, GNUMSTRING "\t" GNUMSTRING "\t%c%c%c\n", /* Write graph header */ data/scotch-6.1.0/src/libscotch/graph_io_chac.c:296:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (filesrcptr, GNUMSTRING, (Gnum) (grafptr->vlbltax[vertnum] + baseadj)) < 0); data/scotch-6.1.0/src/libscotch/graph_io_chac.c:300:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (filesrcptr, "%s" GNUMSTRING, data/scotch-6.1.0/src/libscotch/graph_io_chac.c:309:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (filesrcptr, "%s" GNUMSTRING, data/scotch-6.1.0/src/libscotch/graph_io_chac.c:313:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (filesrcptr, "%s" GNUMSTRING, data/scotch-6.1.0/src/libscotch/graph_io_chac.c:318:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (filesrcptr, " " GNUMSTRING, (Gnum) grafptr->edlotax[edgenum]) < 0); data/scotch-6.1.0/src/libscotch/graph_io_mmkt.c:288:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (filesrcptr, GNUMSTRING " " GNUMSTRING "\n", /* Write diagonal term */ data/scotch-6.1.0/src/libscotch/graph_io_mmkt.c:304:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (filesrcptr, GNUMSTRING " " GNUMSTRING "\n", data/scotch-6.1.0/src/libscotch/graph_io_scot.c:233:10: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o = (fprintf (filegeoptr, GNUMSTRING "\n" GNUMSTRING "\n", /* Output file header */ data/scotch-6.1.0/src/libscotch/graph_io_scot.c:240:17: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (filegeoptr, GNUMSTRING "\t%lf\n", data/scotch-6.1.0/src/libscotch/graph_io_scot.c:246:17: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (filegeoptr, GNUMSTRING "\t%lf\t%lf\n", data/scotch-6.1.0/src/libscotch/graph_io_scot.c:253:17: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (filegeoptr, GNUMSTRING "\t%lf\t%lf\t%lf\n", data/scotch-6.1.0/src/libscotch/graph_list.c:230:10: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o = (fprintf (stream, "%c" GNUMSTRING, data/scotch-6.1.0/src/libscotch/last_resort/parser_yy.c:770:21: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define YYFPRINTF fprintf data/scotch-6.1.0/src/libscotch/last_resort/parser_yy.c:1753:19: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ((char *) ((byte *) &parserstratcurr->data.method.data + data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:297:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (verttab, GNUMSTRING, vertnbr); data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:373:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (pwgttab, GNUMSTRING, pwgtval); data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:377:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (verttab, GNUMSTRING, vertnbr); data/scotch-6.1.0/src/libscotch/library_dgraph_order.c:275:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (levltab, GNUMSTRING, levlnbr); data/scotch-6.1.0/src/libscotch/library_dgraph_order.c:276:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (verttab, GNUMSTRING, vertnbr); data/scotch-6.1.0/src/libscotch/library_errcom.c:86:3: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf (errbuf, 1023, errstr, errlist); /* Write result to buffer */ data/scotch-6.1.0/src/libscotch/library_errcom.c:88:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf (errbuf, errstr, errlist); /* Write result to buffer */ data/scotch-6.1.0/src/libscotch/library_errcom.c:114:3: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf (errbuf, 1023, errstr, errlist); /* Write result to buffer */ data/scotch-6.1.0/src/libscotch/library_errcom.c:116:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf (errbuf, errstr, errlist); /* Write result to buffer */ data/scotch-6.1.0/src/libscotch/library_error.c:131:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, errstr, errlist); /* Print arguments */ data/scotch-6.1.0/src/libscotch/library_error.c:168:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, errstr, errlist); /* Print arguments */ data/scotch-6.1.0/src/libscotch/library_error_exit.c:133:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, errstr, errlist); /* Print arguments */ data/scotch-6.1.0/src/libscotch/library_error_exit.c:176:3: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf (stderr, errstr, errlist); /* Print arguments */ data/scotch-6.1.0/src/libscotch/library_f.h:12:28: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. !* As a counterpart to the access to the source code and rights to copy, data/scotch-6.1.0/src/libscotch/library_graph_map.c:650:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (kmovtab, GNUMSTRING, (Gnum) (((flagval & SCOTCH_STRATQUALITY) != 0) ? 200 : 80)); data/scotch-6.1.0/src/libscotch/library_graph_map.c:651:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (mvrttab, GNUMSTRING, (Gnum) (MAX ((20 * partnbr), 10000))); data/scotch-6.1.0/src/libscotch/library_graph_map.c:653: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 (bufftab, ((flagval & SCOTCH_STRATRECURSIVE) != 0) data/scotch-6.1.0/src/libscotch/library_graph_map.c:716:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (pwgttab, GNUMSTRING, pwgtval); data/scotch-6.1.0/src/libscotch/library_graph_map_io.c:98:8: [4] (buffer) fscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. if ((fscanf (stream, GNUMSTRING, &mappfileval) != 1) || /* Read number of mapping pairs */ data/scotch-6.1.0/src/libscotch/library_graph_map_io.c:119:9: [4] (buffer) fscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. if (fscanf (stream, GNUMSTRING GNUMSTRING, data/scotch-6.1.0/src/libscotch/library_graph_map_io.c:209:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\n", (Gnum) grafptr->vertnbr) == EOF) { data/scotch-6.1.0/src/libscotch/library_graph_map_io.c:215:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\t" GNUMSTRING "\n", data/scotch-6.1.0/src/libscotch/library_graph_order.c:500:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (levltab, GNUMSTRING, levlnbr); data/scotch-6.1.0/src/libscotch/library_graph_order.c:502:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf (bufftab, (((flagval & SCOTCH_STRATDISCONNECTED) != 0) ? "o{strat=%s}" : "%s"), data/scotch-6.1.0/src/libscotch/library_pt_f.h:12:28: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. !* As a counterpart to the access to the source code and rights to copy, data/scotch-6.1.0/src/libscotch/mapping_io.c:223:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\n", data/scotch-6.1.0/src/libscotch/mapping_io.c:230:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\t" ANUMSTRING "\n", data/scotch-6.1.0/src/libscotch/mesh_io.c:383:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o = (fprintf (stream, GNUMSTRING "\t", (Gnum) meshptr->vlbltax[vertnum]) == EOF); data/scotch-6.1.0/src/libscotch/mesh_io.c:385:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (stream, GNUMSTRING "\t", (Gnum) ((velotax != NULL) ? velotax[vertnum] : 1)) == EOF); data/scotch-6.1.0/src/libscotch/mesh_io.c:386:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (stream, GNUMSTRING, (Gnum) (meshptr->vendtax[vertnum] - meshptr->verttax[vertnum])) == EOF); /* Write vertex degree */ data/scotch-6.1.0/src/libscotch/mesh_io_scot.c:229:10: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o = (fprintf (filegeoptr, GNUMSTRING "\n" GNUMSTRING "\n", /* Output file header */ data/scotch-6.1.0/src/libscotch/mesh_io_scot.c:236:17: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (filegeoptr, GNUMSTRING "\t%lf\n", data/scotch-6.1.0/src/libscotch/mesh_io_scot.c:242:17: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (filegeoptr, GNUMSTRING "\t%lf\t%lf\n", data/scotch-6.1.0/src/libscotch/mesh_io_scot.c:249:17: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o |= (fprintf (filegeoptr, GNUMSTRING "\t%lf\t%lf\t%lf\n", data/scotch-6.1.0/src/libscotch/order_io.c:145:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\n", data/scotch-6.1.0/src/libscotch/order_io.c:156:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\t" GNUMSTRING "\n", data/scotch-6.1.0/src/libscotch/order_io.c:167:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\t" GNUMSTRING "\n", data/scotch-6.1.0/src/libscotch/order_io.c:202:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\n", data/scotch-6.1.0/src/libscotch/order_io.c:226:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\t" GNUMSTRING "\n", data/scotch-6.1.0/src/libscotch/order_io.c:261:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\n", data/scotch-6.1.0/src/libscotch/order_io.c:287:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (stream, GNUMSTRING "\t" GNUMSTRING "\n", data/scotch-6.1.0/src/libscotch/parser.c:266:20: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o = (fprintf (stream, INTSTRING, *((INT *) paraofft)) == EOF); data/scotch-6.1.0/src/libscotch/parser.c:634:16: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. o = (fprintf (stream, INTSTRING, (INT) test->data.val.valint) == EOF); data/scotch-6.1.0/src/libscotch/vgraph_separate_vw.c:96:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (fileptr, GNUMSTRING "\n", /* Output size of mapping; test if failure later, in main loop */ data/scotch-6.1.0/src/libscotch/vgraph_separate_vw.c:100:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. if (fprintf (fileptr, GNUMSTRING "\t%d\n", data/scotch-6.1.0/src/scotch/acpl.c:127:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/acpl.c:128:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/amk_ccc.c:146:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/amk_ccc.c:147:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/amk_ccc.c:182:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrarcout, SCOTCH_NUMSTRING "\t1\t" SCOTCH_NUMSTRING "\n", data/scotch-6.1.0/src/scotch/amk_ccc.c:214:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrarcout, SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/amk_ccc.c:217:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrarcout, " " SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/amk_fft2.c:143:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/amk_fft2.c:144:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/amk_fft2.c:183:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrarcout, SCOTCH_NUMSTRING "\t1\t" SCOTCH_NUMSTRING "\n", data/scotch-6.1.0/src/scotch/amk_fft2.c:228:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrarcout, SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/amk_fft2.c:231:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrarcout, " " SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/amk_grf.c:160:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/amk_grf.c:161:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/amk_hy.c:138:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/amk_hy.c:139:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/amk_hy.c:157:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrtgtout, SCOTCH_NUMSTRING "\t1\t" SCOTCH_NUMSTRING "\n", data/scotch-6.1.0/src/scotch/amk_hy.c:165:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrtgtout, data/scotch-6.1.0/src/scotch/amk_m2.c:178:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/amk_m2.c:179:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/amk_m2.c:208:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrarcout, ANUMSTRING "\t1\t" ANUMSTRING "\n", /* Print terminal data */ data/scotch-6.1.0/src/scotch/amk_m2.c:215:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrarcout, data/scotch-6.1.0/src/scotch/amk_p2.c:126:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/amk_p2.c:127:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/atst.c:136:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/atst.c:137:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/dggath.c:166:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/dggath.c:167:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/dgmap.c:296:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/dgmap.c:297:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/dgord.c:244:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/dgord.c:245:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/dgscat.c:163:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/dgscat.c:164:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/dgtst.c:177:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/dgtst.c:178:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/gbase.c:127:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/gbase.c:128:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/gcv.c:192:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/gcv.c:193:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/gdump.c:127:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/gdump.c:128:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/gmap.c:317:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/gmap.c:318:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/gmk_hy.c:135:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/gmk_hy.c:136:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/gmk_hy.c:157:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, /* Write corresponding neighbor */ data/scotch-6.1.0/src/scotch/gmk_m2.c:168:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/gmk_m2.c:169:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/gmk_m2.c:192:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m2.c:196:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, /* Output the neighbors */ data/scotch-6.1.0/src/scotch/gmk_m2.c:199:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m2.c:202:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m2.c:205:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m2.c:225:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m2.c:228:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m2.c:231:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m2.c:234:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m2.c:247:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrgeoout, SCOTCH_NUMSTRING "\t" SCOTCH_NUMSTRING "\t" SCOTCH_NUMSTRING "\n", data/scotch-6.1.0/src/scotch/gmk_m3.c:156:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/gmk_m3.c:157:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/gmk_m3.c:179:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m3.c:184:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, /* Output the neighbors */ data/scotch-6.1.0/src/scotch/gmk_m3.c:187:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m3.c:190:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m3.c:193:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m3.c:196:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m3.c:199:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m3.c:223:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m3.c:226:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m3.c:229:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m3.c:232:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m3.c:235:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m3.c:238:13: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmk_m3.c:253:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrgeoout, SCOTCH_NUMSTRING "\t" SCOTCH_NUMSTRING "\t" SCOTCH_NUMSTRING "\t" SCOTCH_NUMSTRING "\n", data/scotch-6.1.0/src/scotch/gmk_msh.c:117:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/gmk_msh.c:118:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/gmk_ub2.c:153:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/gmk_ub2.c:154:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/gmk_ub2.c:180:7: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrsrcout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gmtst.c:137:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/gmtst.c:138:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/gord.c:198:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/gord.c:199:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/gotst.c:143:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/gotst.c:144:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/gout_c.c:189:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/gout_c.c:190:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/gout_c.c:339:8: [4] (buffer) fscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. if ((fscanf (stream, "%d" SCOTCH_NUMSTRING, /* Read type and number of geometry items */ data/scotch-6.1.0/src/scotch/gout_c.c:363:13: [4] (buffer) fscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. if (fscanf (stream, SCOTCH_NUMSTRING "%lf", data/scotch-6.1.0/src/scotch/gout_c.c:387:13: [4] (buffer) fscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. if (fscanf (stream, SCOTCH_NUMSTRING "%lf%lf", data/scotch-6.1.0/src/scotch/gout_c.c:411:13: [4] (buffer) fscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. if (fscanf (stream, SCOTCH_NUMSTRING "%lf%lf%lf", data/scotch-6.1.0/src/scotch/gout_c.c:557:8: [4] (buffer) fscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. if ((fscanf (stream, SCOTCH_NUMSTRING, /* Read number of mapping pairs */ data/scotch-6.1.0/src/scotch/gout_c.c:575:9: [4] (buffer) fscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. if (fscanf (stream, SCOTCH_NUMSTRING SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/gout_c.c:709:13: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. if (sscanf (argequ, /* Try to read the argument value */ data/scotch-6.1.0/src/scotch/gout_o.c:464:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stream, SCOTCH_NUMSTRING "\n", /* Set column value */ data/scotch-6.1.0/src/scotch/gout_o.c:477:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stream, SCOTCH_NUMSTRING " " SCOTCH_NUMSTRING " b\n", data/scotch-6.1.0/src/scotch/gout_o.c:481:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stream, SCOTCH_NUMSTRING " c\n", data/scotch-6.1.0/src/scotch/gout_o.c:836:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stream, SCOTCH_NUMSTRING "%c", data/scotch-6.1.0/src/scotch/gout_o.c:839:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stream, SCOTCH_NUMSTRING ")\n", data/scotch-6.1.0/src/scotch/gscat.c:119:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/gscat.c:120:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/gtst.c:142:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/gtst.c:143:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/mcv.c:165:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/mcv.c:166:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/mmk_m2.c:144:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/mmk_m2.c:145:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/mmk_m2.c:181:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrmshout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/mmk_m2.c:184:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrmshout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/mmk_m2.c:189:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrmshout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/mmk_m2.c:192:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrmshout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/mmk_m2.c:205:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrgeoout, SCOTCH_NUMSTRING "\t" SCOTCH_NUMSTRING ".5\t" SCOTCH_NUMSTRING ".5\n", data/scotch-6.1.0/src/scotch/mmk_m2.c:212:9: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrgeoout, SCOTCH_NUMSTRING "\t" SCOTCH_NUMSTRING "\t" SCOTCH_NUMSTRING "\n", data/scotch-6.1.0/src/scotch/mmk_m3.c:145:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/mmk_m3.c:146:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/mmk_m3.c:193:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrmshout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/mmk_m3.c:196:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrmshout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/mmk_m3.c:201:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrmshout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/mmk_m3.c:204:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrmshout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/mmk_m3.c:211:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrmshout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/mmk_m3.c:214:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrmshout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/mmk_m3.c:219:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrmshout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/mmk_m3.c:222:15: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrmshout, "\t" SCOTCH_NUMSTRING, data/scotch-6.1.0/src/scotch/mmk_m3.c:238:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrgeoout, SCOTCH_NUMSTRING "\t" SCOTCH_NUMSTRING ".5\t" SCOTCH_NUMSTRING ".5\t" SCOTCH_NUMSTRING ".5\n", data/scotch-6.1.0/src/scotch/mmk_m3.c:248:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (C_filepntrgeoout, SCOTCH_NUMSTRING "\t" SCOTCH_NUMSTRING "\t" SCOTCH_NUMSTRING "\t" SCOTCH_NUMSTRING "\n", data/scotch-6.1.0/src/scotch/mord.c:184:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/mord.c:185:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/scotch/mtst.c:132:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_COPYRIGHT_STRING "\n"); data/scotch-6.1.0/src/scotch/mtst.c:133:11: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf (stderr, SCOTCH_LICENSE_STRING "\n"); data/scotch-6.1.0/src/libscotch/common.h:459:54: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. #define intRandVal(ival) ((UINT) (((UINT) random ()) % ((UINT) (ival)))) data/scotch-6.1.0/src/libscotch/common_integer.c:260: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 ((unsigned int) randtmp); data/scotch-6.1.0/src/libscotch/common_integer.c:262:3: [3] (random) srandom: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srandom ((unsigned int) randtmp); data/scotch-6.1.0/src/check/test_common_random.c:101:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). passnum = (atoi (argv[2]) == 0); /* First pass to write file; second pass to read it */ data/scotch-6.1.0/src/check/test_common_random.c:103: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). if ((fileptr = fopen (argv[1], (passnum) ? "w+" : "r")) == NULL) { data/scotch-6.1.0/src/check/test_fibo.c:136:28: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). intRandSeed (MAX (0, atoi (argv[3]))); data/scotch-6.1.0/src/check/test_fibo.c:138: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). passnbr = MAX (1, atoi (argv[2])); data/scotch-6.1.0/src/check/test_fibo.c:140: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). nodesiz = MAX (1, atoi (argv[1])); data/scotch-6.1.0/src/check/test_libesmumps.c:101: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). if ((fileptr = fopen (argv[1], "r")) == NULL) { data/scotch-6.1.0/src/check/test_libesmumps.c:124: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 (petab, verttab, vertnbr * sizeof (SCOTCH_Num)); /* Prepare graph topology arrays */ data/scotch-6.1.0/src/check/test_libesmumps.c:135: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 (petab, verttab, vertnbr * sizeof (SCOTCH_Num)); /* Prepare graph topology arrays */ data/scotch-6.1.0/src/check/test_libesmumps.c:139: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 (nvtab, velotab, vertnbr * sizeof (SCOTCH_Num)); /* Prepare node multiplicity array */ data/scotch-6.1.0/src/check/test_libmetis.c:107: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). if ((fileptr = fopen (argv[1], "r")) == NULL) { data/scotch-6.1.0/src/check/test_multilib.c:90: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). if ((fileptr = fopen (argv[1], "r")) == NULL) { data/scotch-6.1.0/src/check/test_multilib.c:102: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). if ((fileptr = fopen (argv[1], "r")) == NULL) { data/scotch-6.1.0/src/check/test_scotch_arch.c:146: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). if ((fileptr = fopen (argv[1], "w+")) == NULL) { /* Write all architectures to file */ data/scotch-6.1.0/src/check/test_scotch_arch.c:163: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). if ((fileptr = fopen (argv[1], "r")) == NULL) { /* Read all architectures from file where they were written to */ data/scotch-6.1.0/src/check/test_scotch_arch_deco.c:99: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). if ((fileptr = fopen (argv[1], "r")) == NULL) { data/scotch-6.1.0/src/check/test_scotch_arch_deco.c:117: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). if ((fileptr = fopen (argv[2], "w")) == NULL) { data/scotch-6.1.0/src/check/test_scotch_arch_deco.c:172: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). if ((fileptr = fopen (argv[2], "r")) == NULL) { /* Read all architectures from file where they were written to */ data/scotch-6.1.0/src/check/test_scotch_dgraph_band.c:139:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). ((file = fopen (argv[1], "r")) == NULL)) { data/scotch-6.1.0/src/check/test_scotch_dgraph_band.c:186:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((file = fopen ("/tmp/test_scotch_dgraph_band.map", (procnum == 0) ? "w" : "a+")) == NULL) { data/scotch-6.1.0/src/check/test_scotch_dgraph_check.c:130:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). ((file = fopen (argv[1], "r")) == NULL)) { data/scotch-6.1.0/src/check/test_scotch_dgraph_coarsen.c:137:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). ((file = fopen (argv[1], "r")) == NULL)) { data/scotch-6.1.0/src/check/test_scotch_dgraph_grow.c:143:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). ((file = fopen (argv[1], "r")) == NULL)) { data/scotch-6.1.0/src/check/test_scotch_dgraph_grow.c:202:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((file = fopen ("/tmp/test_scotch_dgraph_grow.map", (procnum == 0) ? "w" : "a+")) == NULL) { data/scotch-6.1.0/src/check/test_scotch_dgraph_induce.c:140:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). ((fileptr = fopen (argv[1], "r")) == NULL)) { data/scotch-6.1.0/src/check/test_scotch_dgraph_redist.c:138:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). ((file = fopen (argv[1], "r")) == NULL)) { data/scotch-6.1.0/src/check/test_scotch_graph_coarsen.c:100: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). if ((fileptr = fopen (argv[1], "r")) == NULL) { /* Open fine graph file */ data/scotch-6.1.0/src/check/test_scotch_graph_color.c: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). if ((fileptr = fopen (argv[1], "r")) == NULL) { data/scotch-6.1.0/src/check/test_scotch_graph_diam.c:89: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). if ((fileptr = fopen (argv[1], "r")) == NULL) { data/scotch-6.1.0/src/check/test_scotch_graph_dump.c:87: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). if ((fileptr = fopen (argv[1], "w")) == NULL) { data/scotch-6.1.0/src/check/test_scotch_graph_induce.c:97: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). if ((fileptr = fopen (argv[1], "r")) == NULL) { data/scotch-6.1.0/src/check/test_scotch_graph_map.c:105: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). if ((fileptr = fopen (argv[1], "r")) == NULL) { /* Read a square 2D grid graph */ data/scotch-6.1.0/src/check/test_scotch_graph_map.c:154:18: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). if ((fileptr = tmpfile ()) == NULL) { /* Open temporary file for resulting output */ data/scotch-6.1.0/src/check/test_scotch_graph_map.c:202: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 (parotab, parttab, vertnbr * sizeof (SCOTCH_Num)); /* Use plain mapping as old mapping in the following */ data/scotch-6.1.0/src/check/test_scotch_graph_map_copy.c:98: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). if ((fileptr = fopen (argv[1], "r")) == NULL) { /* Read the givel graph */ data/scotch-6.1.0/src/check/test_scotch_graph_map_copy.c:147:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (parotab, parttab, vertnbr * sizeof (SCOTCH_Num)); /* Use plain mapping as old mapping in the following */ data/scotch-6.1.0/src/check/test_scotch_graph_order.c:94: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). if ((fileptr = fopen (argv[1], "r")) == NULL) { data/scotch-6.1.0/src/check/test_scotch_graph_order.c:117:18: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). if ((fileptr = tmpfile ()) == NULL) { /* Open temporary file for resulting output */ data/scotch-6.1.0/src/check/test_scotch_graph_part_ovl.c:99:31: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ((partnbr = (SCOTCH_Num) atoi (argv[1])) < 1) { data/scotch-6.1.0/src/check/test_scotch_graph_part_ovl.c:120: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). if ((fileptr = fopen (argv[2], "r")) == NULL) { data/scotch-6.1.0/src/check/test_scotch_graph_part_ovl.c:201: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). if ((fileptr = fopen (argv[3], "w")) == NULL) { data/scotch-6.1.0/src/check/test_scotch_mesh_graph.c: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). if ((fileptr = fopen (argv[1], "r")) == NULL) { data/scotch-6.1.0/src/esmumps/esmumps_strats.c:123:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (straptr, "c{rat=0.7,cpr=n{sep=/((levl<%ld)|(vert>%ld))?m{type=h,rat=0.7,vert=100,low=h{pass=10},asc=b{width=3,bnd=f{bal=0.2},org=h{pass=10}f{bal=0.2}}}|m{type=h,rat=0.7,vert=100,low=h{pass=10},asc=b{width=3,bnd=f{bal=0.2},org=h{pass=10}f{bal=0.2}}};,ole=%c{cmin=%ld,cmax=%ld,frat=%lf},ose=s},unc=n{sep=/(levl<%ld)?(m{type=h,rat=0.7,vert=100,low=h{pass=10},asc=b{width=3,bnd=f{bal=0.2},org=h{pass=10}f{bal=0.2}}})|m{type=h,rat=0.7,vert=100,low=h{pass=10},asc=b{width=3,bnd=f{bal=0.2},org=h{pass=10}f{bal=0.2}}};,ole=%c{cmin=%ld,cmax=%ld,frat=%lf},ose=s}}", data/scotch-6.1.0/src/esmumps/main_esmumps.c:95:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((stream = fopen (argv[1], "r")) == NULL) { data/scotch-6.1.0/src/libscotch/arch.c:191:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[256]; /* Architecture name string */ data/scotch-6.1.0/src/libscotch/common.h:149:37: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. #define memCpy(dst,src,siz) memcpy ((void *) (dst), (void *) (src), (siz)) data/scotch-6.1.0/src/libscotch/common_error.c:63: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 errorProgName[32] = ""; data/scotch-6.1.0/src/libscotch/common_error.c:77:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat (errorProgName, ": "); data/scotch-6.1.0/src/libscotch/common_file.c:97:7: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (atoi (naexptr) != procnbr) { data/scotch-6.1.0/src/libscotch/common_file.c:216:35: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((filetab[i].fileptr = fopen (filetab[i].nameptr, ((filetab[i].flagval & FILEMODE) == FILEMODER) ? "r" : "w")) == NULL) { /* Open the file */ data/scotch-6.1.0/src/libscotch/common_memory.c:80: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 memorycheckmagktab[16] = { 0123, 0156, 0371, 0012, 0345, 0272, 0301, 0234, data/scotch-6.1.0/src/libscotch/dgraph_io_load.c:199:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char proptab[4]; /* Property string array */ data/scotch-6.1.0/src/libscotch/dgraph_io_load.c:247:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (proptab, "%3.3d", (int) reduglbtab[4]); /* Compute file properties */ data/scotch-6.1.0/src/libscotch/dgraph_io_load.c:669:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char proptab[4]; /* Property string array */ data/scotch-6.1.0/src/libscotch/dgraph_io_load.c:743:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (proptab, "%3.3d", (int) reduglbtab[9]); /* Compute file properties */ data/scotch-6.1.0/src/libscotch/dgraph_io_save.c:78:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char propstr[4]; /* Property string */ data/scotch-6.1.0/src/libscotch/dummysizes.c:132:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (subsptr, "%d", (int) ((subsval + sizeof (double) - 1) / sizeof (double))); data/scotch-6.1.0/src/libscotch/dummysizes.c:165:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char chartab[CHARMAX]; data/scotch-6.1.0/src/libscotch/dummysizes.c:166:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char chartmp[CHARMAX]; data/scotch-6.1.0/src/libscotch/dummysizes.c:167:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char * substab[SUBSMAX][2]; /* Substitution array */ data/scotch-6.1.0/src/libscotch/dummysizes.c:216:35: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((C_fileTab[i].fileptr = fopen (C_fileTab[i].nameptr, ((C_fileTab[i].flagval & FILEMODE) == FILEMODER) ? "r" : "w")) == NULL) { /* Open the file */ data/scotch-6.1.0/src/libscotch/graph_io.c:108:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char proptab[4]; data/scotch-6.1.0/src/libscotch/graph_io.c:131:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (proptab, "%3.3d", (int) propval); /* Compute file properties */ data/scotch-6.1.0/src/libscotch/graph_io.c:337:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char propstr[4]; /* Property string */ data/scotch-6.1.0/src/libscotch/graph_io_chac.c:84:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char chalinetab[80]; /* Header line */ data/scotch-6.1.0/src/libscotch/graph_io_chac.c:89:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char chaflagstr[4]; /* Flag for optional data */ data/scotch-6.1.0/src/libscotch/graph_io_habo.c:86:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char habmatbuf[4][84]; /* Matrix header line buffers */ data/scotch-6.1.0/src/libscotch/graph_io_habo.c:87:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char habmattype[3]; /* Matrix type */ data/scotch-6.1.0/src/libscotch/graph_io_habo.c:112:28: [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). ((habmattag = (Gnum) atol (dataptr)) == 0) && /* Get tag value */ data/scotch-6.1.0/src/libscotch/graph_io_habo.c:131: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). habrhsnbr = (Gnum) atol (&habmatbuf[1][56]); data/scotch-6.1.0/src/libscotch/graph_io_habo.c:133: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). habcrdnbr = (Gnum) atol (&habmatbuf[1][00]); data/scotch-6.1.0/src/libscotch/graph_io_habo.c:138: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). habnzrnbr = (Gnum) atol (&habmatbuf[2][43]); data/scotch-6.1.0/src/libscotch/graph_io_habo.c:140: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). habcolnbr = (Gnum) atol (&habmatbuf[2][29]); data/scotch-6.1.0/src/libscotch/graph_io_habo.c:143: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). habrownbr = (Gnum) atol (&habmatbuf[2][14]); data/scotch-6.1.0/src/libscotch/graph_io_mmkt.c:99:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char linetab[1025]; data/scotch-6.1.0/src/libscotch/graph_io_mmkt.c:107:26: [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). ((baseval = (Gnum) atol (dataptr)) == 0) && /* Get base value */ data/scotch-6.1.0/src/libscotch/last_resort/parser_ll.c:932:54: [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). yylval.INTEGER = (INT) atol (scotchyytext); data/scotch-6.1.0/src/libscotch/last_resort/parser_ll.c:959:54: [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). yylval.INTEGER = (INT) atol (scotchyytext); data/scotch-6.1.0/src/libscotch/last_resort/parser_ly.h:82:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char STRING[PARSERSTRINGLEN]; /* Character string */ data/scotch-6.1.0/src/libscotch/last_resort/parser_yy.c:233:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char STRING[PARSERSTRINGLEN]; /* Character string */ data/scotch-6.1.0/src/libscotch/last_resort/parser_yy.c:1016:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; data/scotch-6.1.0/src/libscotch/last_resort/parser_yy.c:1203:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char yymsgbuf[128]; data/scotch-6.1.0/src/libscotch/last_resort/parser_yy.c:1572:19: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (&strat->data.method.data, /* Set values to default */ data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:281:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bufftab[8192]; /* Should be enough */ data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:282:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bbaltab[32]; data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:283:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char kbaltab[32]; data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:284:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char verttab[32]; data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:292:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (kbaltab, "%lf", kbalval); data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:293:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (bbaltab, "%lf", kbalval); data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:299:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (bufftab, "r{bal=<KBAL>,sep=m{vert=<VERT>,asc=b{bnd=<DIFP><MUCE><EXAP>,org=<MUCE><EXAP>},low=q{strat=(<BIPA>m{vert=80,low=h{pass=10}f{bal=<BBAL>,move=80},asc=b{bnd=<DIFS>f{bal=<BBAL>,move=80},org=f{bal=<BBAL>,move=80}}})<EXAS>},seq=q{strat=(<BIPA>m{vert=80,low=h{pass=10}f{bal=<BBAL>,move=80},asc=b{bnd=<DIFS>f{bal=<BBAL>,move=80},org=f{bal=<BBAL>,move=80}}})<EXAS>}},seq=r{bal=<KBAL>,poli=S,sep=(<BIPA>m{vert=80,low=h{pass=10}f{bal=<BBAL>,move=80},asc=b{bnd=<DIFS>f{bal=<BBAL>,move=80},org=f{bal=<BBAL>,move=80}}})<EXAS>}}"); data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:359:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bufftab[8192]; /* Should be enough */ data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:360:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bbaltab[32]; data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:361:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char denstab[32]; data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:362:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char pwgttab[32]; data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:363:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char verttab[32]; data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:371:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (bbaltab, "%lf", bbalval); data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:372:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (denstab, "%lf", densval); data/scotch-6.1.0/src/libscotch/library_dgraph_map.c:379:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (bufftab, "r{sep=/((load><PWGT>)&!(edge>vert*<DENS>*(vert-1)))?m{vert=<VERT>,asc=b{bnd=<DIFP><MUCE><EXAP>,org=<MUCE><EXAP>},low=q{strat=(<BIPA>m{vert=80,low=h{pass=10}f{bal=<BBAL>,move=80},asc=b{bnd=<DIFS>f{bal=<BBAL>,move=80},org=f{bal=<BBAL>,move=80}}})<EXAS>},seq=q{strat=/((load><PWGT>)&!(edge>vert*<DENS>*(vert-1)))?(<BIPA>m{vert=80,low=h{pass=10}f{bal=<BBAL>,move=80},asc=b{bnd=<DIFS>f{bal=<BBAL>,move=80},org=f{bal=<BBAL>,move=80}}})<EXAS>;}};,seq=r{sep=/((load><PWGT>)&!(edge>vert*<DENS>*(vert-1)))?(<BIPA>m{vert=80,low=h{pass=10}f{bal=<BBAL>,move=80},asc=b{bnd=<DIFS>f{bal=<BBAL>,move=80},org=f{bal=<BBAL>,move=80}}})<EXAS>;}}"); data/scotch-6.1.0/src/libscotch/library_dgraph_order.c:261:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bufftab[8192]; /* Should be enough */ data/scotch-6.1.0/src/libscotch/library_dgraph_order.c:262:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bbaltab[32]; data/scotch-6.1.0/src/libscotch/library_dgraph_order.c:263:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char levltab[32]; data/scotch-6.1.0/src/libscotch/library_dgraph_order.c:264:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char verttab[32]; data/scotch-6.1.0/src/libscotch/library_dgraph_order.c:274:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (bbaltab, "%lf", balrat); data/scotch-6.1.0/src/libscotch/library_dgraph_order.c:278:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (bufftab, "n{sep=/(<TSTP>)?m{vert=<VERT>,asc=b{width=3,strat=q{strat=f}},low=q{strat=h},seq=q{strat=m{vert=120,low=h{pass=10},asc=b{width=3,bnd=f{bal=<BBAL>},org=h{pass=10}f{bal=<BBAL>}}}}};,ole=q{strat=n{sep=/(<TSTS>)?m{vert=120,low=h{pass=10},asc=b{width=3,bnd=f{bal=<BBAL>},org=h{pass=10}f{bal=<BBAL>}}};,ole=<OLEA>,ose=<OSEP>}},ose=s,osq=n{sep=/(<TSTS>)?m{vert=120,low=h{pass=10},asc=b{width=3,bnd=f{bal=<BBAL>},org=h{pass=10}f{bal=<BBAL>}}};,ole=<OLEA>,ose=<OSEP>}}"); data/scotch-6.1.0/src/libscotch/library_errcom.c:82:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char errbuf[1024]; /* Error buffer */ data/scotch-6.1.0/src/libscotch/library_errcom.c:110:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char errbuf[1024]; /* Error buffer */ data/scotch-6.1.0/src/libscotch/library_error.c:69: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 _SCOTCHerrorProgName[32] = ""; data/scotch-6.1.0/src/libscotch/library_error_exit.c:71: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 _SCOTCHerrorProgName[32] = ""; data/scotch-6.1.0/src/libscotch/library_graph_map.c:638:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bufftab[8192]; /* Should be enough */ data/scotch-6.1.0/src/libscotch/library_graph_map.c:639:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bbaltab[64]; data/scotch-6.1.0/src/libscotch/library_graph_map.c:640:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char kbaltab[64]; data/scotch-6.1.0/src/libscotch/library_graph_map.c:641:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char kmovtab[64]; data/scotch-6.1.0/src/libscotch/library_graph_map.c:642:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char mvrttab[64]; data/scotch-6.1.0/src/libscotch/library_graph_map.c:648:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (bbaltab, "%lf", kbalval); data/scotch-6.1.0/src/libscotch/library_graph_map.c:649:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (kbaltab, "%lf", kbalval); data/scotch-6.1.0/src/libscotch/library_graph_map.c:707:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bufftab[8192]; /* Should be enough */ data/scotch-6.1.0/src/libscotch/library_graph_map.c:708:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bbaltab[32]; data/scotch-6.1.0/src/libscotch/library_graph_map.c:709:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char pwgttab[32]; data/scotch-6.1.0/src/libscotch/library_graph_map.c:710:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char denstab[32]; data/scotch-6.1.0/src/libscotch/library_graph_map.c:714:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (bbaltab, "%lf", bbalval); data/scotch-6.1.0/src/libscotch/library_graph_map.c:715:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (denstab, "%lf", densval); data/scotch-6.1.0/src/libscotch/library_graph_map.c:718:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (bufftab, "r{job=u,map=t,poli=L,sep=/((load><PWGT>)&!(edge>vert*<DENS>*(vert-1)))?(<BIPA>m{vert=80,low=h{pass=10}f{bal=<BBAL>,move=80},asc=b{bnd=<DIFS>f{bal=<BBAL>,move=80},org=f{bal=<BBAL>,move=80}}})<EXAS>;}"); data/scotch-6.1.0/src/libscotch/library_graph_order.c:491:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bufftab[8192]; /* Should be enough */ data/scotch-6.1.0/src/libscotch/library_graph_order.c:492:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char levltab[32]; data/scotch-6.1.0/src/libscotch/library_graph_order.c:493:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bbaltab[32]; data/scotch-6.1.0/src/libscotch/library_graph_order.c:499:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (bbaltab, "%lf", balrat); data/scotch-6.1.0/src/libscotch/library_graph_part_ovl.c:150:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bufftab[8192]; /* Should be enough */ data/scotch-6.1.0/src/libscotch/library_graph_part_ovl.c:151:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char kbaltab[64]; data/scotch-6.1.0/src/libscotch/library_graph_part_ovl.c:153:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (bufftab, "m{vert=%ld,low=r{sep=m{rat=0.7,vert=100,low=h{pass=10},asc=b{width=3,bnd=f{bal=<KBAL>},org=(|h{pass=10})f{bal=<KBAL>}}}|m{rat=0.7,vert=100,low=h{pass=10},asc=b{width=3,bnd=f{bal=<KBAL>},org=(|h{pass=10})f{bal=<KBAL>}}}},asc=f{bal=<KBAL>}}", data/scotch-6.1.0/src/libscotch/library_graph_part_ovl.c:156:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (kbaltab, "%lf", balrat); data/scotch-6.1.0/src/libscotch/library_mesh_order.c:396:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bufftab[8192]; /* Should be enough */ data/scotch-6.1.0/src/libscotch/library_mesh_order.c:397:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char bbaltab[32]; data/scotch-6.1.0/src/libscotch/library_mesh_order.c:399:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy (bufftab, "c{rat=0.7,cpr=n{sep=/(vnod>120)?m{vnod=100,low=h{pass=10},asc=f{bal=<BBAL>}}:;,ole=v{strat=d{cmin=0,cmax=10000000,frat=0}},ose=g},unc=n{sep=/(vnod>120)?m{vnod=100,low=h{pass=10},asc=f{bal=<BBAL>}}:;,ole=v{strat=d{cmin=0,cmax=10000000,frat=0}},ose=g}}"); data/scotch-6.1.0/src/libscotch/library_mesh_order.c:401:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (bbaltab, "%lf", balrat); data/scotch-6.1.0/src/libscotch/mesh_io.c:102:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char proptab[4]; data/scotch-6.1.0/src/libscotch/mesh_io.c:133:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (proptab, "%3.3d", (int) propval); /* Compute file properties */ data/scotch-6.1.0/src/libscotch/mesh_io.c:325:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char propstr[4]; /* Property string */ data/scotch-6.1.0/src/libscotch/mesh_io_habo.c:78:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char habmatbuf[4][84]; /* Matrix header line buffers */ data/scotch-6.1.0/src/libscotch/mesh_io_habo.c:79:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char habmattype[3]; /* Matrix type */ data/scotch-6.1.0/src/libscotch/mesh_io_habo.c:94:21: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (((habmattag = atol (dataptr)) == 0) && /* Get tag value */ data/scotch-6.1.0/src/libscotch/mesh_io_habo.c:110:17: [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). habrhsnbr = atol (&habmatbuf[1][56]); data/scotch-6.1.0/src/libscotch/mesh_io_habo.c:112:17: [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). habcrdnbr = atol (&habmatbuf[1][00]); data/scotch-6.1.0/src/libscotch/mesh_io_habo.c:118: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). habevlnbr = (Gnum) atol (&habmatbuf[2][57]); /* NELTVL: number of element matrix values (not used) */ data/scotch-6.1.0/src/libscotch/mesh_io_habo.c:121: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). habvixnbr = (Gnum) atol (&habmatbuf[2][43]); /* VARIX */ data/scotch-6.1.0/src/libscotch/mesh_io_habo.c:123: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). habeltnbr = (Gnum) atol (&habmatbuf[2][29]); /* NELT */ data/scotch-6.1.0/src/libscotch/mesh_io_habo.c:125: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). habvarnbr = (Gnum) atol (&habmatbuf[2][14]); /* NVAR */ data/scotch-6.1.0/src/libscotch/parser.c:263:31: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. ((char *) paratab[i].datasltr)[*((unsigned int *) paraofft)]) == EOF); data/scotch-6.1.0/src/libscotch/parser.c:581: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 strattestsaveop[STRATTESTNBR] = "|&!=><+-*%##"; data/scotch-6.1.0/src/libscotch/parser.c:582: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 * strattestsavepa[2][2] = { { "(", ")" }, { "", "" } }; data/scotch-6.1.0/src/libscotch/vgraph_separate_vw.c:86:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char nametab[64]; /* File name */ data/scotch-6.1.0/src/libscotch/vgraph_separate_vw.c:90:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (nametab, "vgraphseparatevw_output_%08d.map", vgraphseparatevwfilenum ++); data/scotch-6.1.0/src/libscotch/vgraph_separate_vw.c: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). if ((fileptr = fopen (nametab, "w+")) == NULL) { data/scotch-6.1.0/src/scotch/amk_ccc.c:128:22: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ((ccdim = atoi (argv[i])) < 1) /* Get the dimension */ data/scotch-6.1.0/src/scotch/amk_fft2.c:125: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). if ((fdim = atoi (argv[i])) < 1) /* Get the dimension */ data/scotch-6.1.0/src/scotch/amk_hy.c:120: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). if ((hdim = atoi (argv[i])) < 1) /* Get the dimension */ data/scotch-6.1.0/src/scotch/amk_m2.c:146:37: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ((arch.c[C_paraNum ++] = atoi (argv[i])) < 1) /* Get the dimension */ data/scotch-6.1.0/src/scotch/amk_p2.c:109:35: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ((wght[C_paraNum ++] = atoi (argv[i])) < 1) /* Get vertex weights */ data/scotch-6.1.0/src/scotch/dggath.c:156: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). protglbnum = atoi (&argv[i][2]); data/scotch-6.1.0/src/scotch/dgmap.c:186:26: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ((C_partNbr = atoi (argv[i])) < 1) /* Get the number of parts */ data/scotch-6.1.0/src/scotch/dgmap.c:265:30: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ((C_partNbr = atoi (argv[i] + 2)) < 1) /* Get maximum cluster load */ data/scotch-6.1.0/src/scotch/dgmap.c:271: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). protglbnum = atoi (&argv[i][2]); data/scotch-6.1.0/src/scotch/dgord.c:230: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). protglbnum = atoi (&argv[i][2]); data/scotch-6.1.0/src/scotch/dgscat.c:154: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). protglbnum = atoi (&argv[i][2]); data/scotch-6.1.0/src/scotch/dgtst.c:168: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). protglbnum = atoi (&argv[i][2]); data/scotch-6.1.0/src/scotch/gbase.c:109:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). baseval = atoi (argv[i]); /* Get the base value */ data/scotch-6.1.0/src/scotch/gmap.c:191:26: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ((C_partNbr = atoi (argv[i])) < 1) /* Get the number of parts */ data/scotch-6.1.0/src/scotch/gmap.c:270:30: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ((C_partNbr = atoi (argv[i] + 2)) < 1) /* Get maximum cluster load */ data/scotch-6.1.0/src/scotch/gmk_hy.c:117: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). if ((hdim = atoi (argv[i])) < 1) /* Get the dimension */ data/scotch-6.1.0/src/scotch/gmk_m2.c:130:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ((d[C_paraNum ++] = atoi (argv[i])) < 1) /* Get the dimension */ data/scotch-6.1.0/src/scotch/gmk_m2.c:143:34: [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). baseval = (SCOTCH_Num) atol (&argv[i][2]); data/scotch-6.1.0/src/scotch/gmk_m3.c:122:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ((d[C_paraNum ++] = atoi (argv[i])) < 1) /* Get the dimension */ data/scotch-6.1.0/src/scotch/gmk_m3.c:135:34: [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). baseval = (SCOTCH_Num) atol (&argv[i][2]); data/scotch-6.1.0/src/scotch/gmk_ub2.c:135:35: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ((ubdim = (SCOTCH_Num) atol (argv[i])) < 1) /* Get dimension */ data/scotch-6.1.0/src/scotch/gout_c.c:657:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char argbuf[128]; /* Buffer for argument scanning */ data/scotch-6.1.0/src/scotch/gout_c.c:720:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. *((char *) argptr[j].ptr) = argbuf[0]; /* Copy the first argument char */ data/scotch-6.1.0/src/scotch/gout_o.c:807:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char pictimestr[64]; data/scotch-6.1.0/src/scotch/gscat.c:102:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ((p[C_paraNum ++] = atoi (argv[i])) < 1) /* Get number of parts */ data/scotch-6.1.0/src/scotch/gscat.c:146:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char proptab[4]; data/scotch-6.1.0/src/scotch/gscat.c:171:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (proptab, "%3.3d", (int) propval); /* Compute file properties */ data/scotch-6.1.0/src/scotch/gscat.c:194: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). ostream = fopen (naexptr, "w+"); data/scotch-6.1.0/src/scotch/mmk_m2.c:121:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ((e[C_paraNum ++] = atoi (argv[i])) < 1) /* Get the dimension */ data/scotch-6.1.0/src/scotch/mmk_m3.c:122:32: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if ((e[C_paraNum ++] = atoi (argv[i])) < 1) /* Get the dimension */ data/scotch-6.1.0/workshop/halo-ordering/test_hamf.c:301: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). if ((fileptr = fopen (argv[1 + flagval], "r")) == NULL) { data/scotch-6.1.0/workshop/halo-ordering/test_hamf_graph.c:533:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). methval = atoi (argv[1]); data/scotch-6.1.0/src/check/test_common_random.c:178:15: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc (fileptr); data/scotch-6.1.0/src/libscotch/arch.c:193:7: [1] (buffer) fscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. if (fscanf (stream, "%255s", name) != 1) { /* Read architecture name */ data/scotch-6.1.0/src/libscotch/common_error.c:75:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (errorProgName, progstr, 29); data/scotch-6.1.0/src/libscotch/common_file.c:89: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). namemax = strlen (nameptr); data/scotch-6.1.0/src/libscotch/common_file_compress.c:142: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). namelen = strlen (nameptr); data/scotch-6.1.0/src/libscotch/common_file_compress.c:146:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). extnlen = strlen (filetab[i].name); data/scotch-6.1.0/src/libscotch/common_file_compress.c:294:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((bytenbr = read (compptr->infdnum, compptr->bufftab, FILECOMPRESSDATASIZE)) > 0) { /* Read from pipe */ data/scotch-6.1.0/src/libscotch/common_file_compress.c:333:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((bytenbr = read (compptr->infdnum, compptr->bufftab, FILECOMPRESSDATASIZE)) > 0) { /* Read from pipe */ data/scotch-6.1.0/src/libscotch/common_file_compress.c:384:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bytenbr = read (compptr->infdnum, compptr->bufftab, FILECOMPRESSDATASIZE); /* Read from pipe */ data/scotch-6.1.0/src/libscotch/common_file_decompress.c:119: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). namelen = strlen (nameptr); data/scotch-6.1.0/src/libscotch/common_file_decompress.c:123:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). extnlen = strlen (filetab[i].name); data/scotch-6.1.0/src/libscotch/common_integer.c:91:11: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). car = getc (stream); data/scotch-6.1.0/src/libscotch/common_integer.c:98:14: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). car = getc (stream); data/scotch-6.1.0/src/libscotch/common_integer.c:102:13: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). car = getc (stream); data/scotch-6.1.0/src/libscotch/common_integer.c:111:11: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). car = getc (stream); data/scotch-6.1.0/src/libscotch/common_string.c:79:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pattidx = (pattptr == NULL) ? (strlen (bsrcptr) + 1): (pattptr - bsrcptr); /* Get length of unchanged part */ data/scotch-6.1.0/src/libscotch/common_string.c:105: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). pattsiz = strlen (pattstr); data/scotch-6.1.0/src/libscotch/common_string.c:106: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). replsiz = strlen (replstr); data/scotch-6.1.0/src/libscotch/dummysizes.c:308: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 (((charnbr = strlen (chartab)) >= (CHARMAX - 1)) && /* If line read is at least as long as maximum size */ data/scotch-6.1.0/src/libscotch/dummysizes.c:321:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). subslen = strlen (substab[subsnum][0]); data/scotch-6.1.0/src/libscotch/dummysizes.c:329:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). charptr += strlen (substab[subsnum][1]); /* Restart search from end of substituted token */ data/scotch-6.1.0/src/libscotch/graph_io_chac.c:102:18: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). chabuffcar = getc (filesrcptr); /* Read first character */ data/scotch-6.1.0/src/libscotch/graph_io_chac.c:105:7: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc (filesrcptr); /* Purge newline */ data/scotch-6.1.0/src/libscotch/graph_io_chac.c:119:3: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc (filesrcptr); /* Purge newline; cannot be merged with fscanf above */ data/scotch-6.1.0/src/libscotch/graph_io_chac.c:175:20: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). chabuffcar = getc (filesrcptr); /* Read first character */ data/scotch-6.1.0/src/libscotch/graph_io_chac.c:178:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc (filesrcptr); /* Purge newline */ data/scotch-6.1.0/src/libscotch/graph_io_chac.c:207:20: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). chabuffcar = getc (filesrcptr); /* Read next char */ data/scotch-6.1.0/src/libscotch/graph_io_habo.c:158:19: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = getc (filesrcptr)) != '\n'){ /* Skip RHS format line */ data/scotch-6.1.0/src/libscotch/graph_io_habo.c:168:21: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = getc (filesrcptr)) != '\n') { /* Skip line */ data/scotch-6.1.0/src/libscotch/graph_io_habo.c:218:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc (filesrcptr); data/scotch-6.1.0/src/libscotch/graph_io_habo.c:223:13: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc (filesrcptr); data/scotch-6.1.0/src/libscotch/graph_io_habo.c:224:20: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (((c = getc (filesrcptr)) == '\n') || (c == '\r')) ; /* Read till end of line */ data/scotch-6.1.0/src/libscotch/graph_io_habo.c:227:13: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc (filesrcptr); data/scotch-6.1.0/src/libscotch/graph_io_habo.c:232:16: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((c = getc (filesrcptr)) != ' ') data/scotch-6.1.0/src/libscotch/graph_io_habo.c:256:11: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc (filesrcptr); data/scotch-6.1.0/src/libscotch/graph_io_habo.c:261:15: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc (filesrcptr); data/scotch-6.1.0/src/libscotch/graph_io_habo.c:262:22: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (((c = getc (filesrcptr)) == '\n') || (c == '\r')) ; /* Read till end of line */ data/scotch-6.1.0/src/libscotch/graph_io_habo.c:265:15: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc (filesrcptr); data/scotch-6.1.0/src/libscotch/graph_io_habo.c:269:18: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((c = getc (filesrcptr)) != ' ') data/scotch-6.1.0/src/libscotch/graph_io_mmkt.c:130:15: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = fgetc (filesrcptr)) == '%') { /* Skip additional comment lines */ data/scotch-6.1.0/src/libscotch/last_resort/parser_ll.c:587:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #undef getc /* Redirect I/O functions */ data/scotch-6.1.0/src/libscotch/last_resort/parser_ll.c:588:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #define getc yygetc data/scotch-6.1.0/src/libscotch/last_resort/parser_ll.c:728:14: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). (c = getc( scotchyyin )) != EOF && c != '\n'; ++n ) \ data/scotch-6.1.0/src/libscotch/last_resort/parser_ll.c:898:31: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (yylval.STRING, scotchyytext, PARSERSTRINGLEN); data/scotch-6.1.0/src/libscotch/last_resort/parser_ll.c:907:31: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (yylval.STRING, scotchyytext, PARSERSTRINGLEN); data/scotch-6.1.0/src/libscotch/last_resort/parser_ll.c:950:31: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (yylval.STRING, scotchyytext + 1, PARSERSTRINGLEN); data/scotch-6.1.0/src/libscotch/last_resort/parser_ll.c:975:31: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (yylval.STRING, scotchyytext, PARSERSTRINGLEN); data/scotch-6.1.0/src/libscotch/last_resort/parser_ll.c:1757:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return scotchyy_scan_bytes(yystr,(int) strlen(yystr) ); data/scotch-6.1.0/src/libscotch/last_resort/parser_yy.c:916: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). # define yystrlen strlen data/scotch-6.1.0/src/libscotch/last_resort/parser_yy.c:1552:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). j = strlen (methtab[i].name)) == 0) && data/scotch-6.1.0/src/libscotch/last_resort/parser_yy.c:1635:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). j = strlen (paratab[i].name)) == 0) && data/scotch-6.1.0/src/libscotch/last_resort/parser_yy.c:1747:80: [1] (buffer) strlen: Does not handle 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 ((parserparamcurr->dataofft - parserparamcurr->database + strlen ((yyvsp[0].STRING)) + 1) > sizeof (StratNodeMethodData)) { data/scotch-6.1.0/src/libscotch/last_resort/parser_yy.c:2075:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). j = strlen (condtab[i].name)) == 0) && data/scotch-6.1.0/src/libscotch/library_arch_f.c:184:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (chartab, nameptr, *charptr); /* Copy architecture name */ data/scotch-6.1.0/src/libscotch/library_error.c:87: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). charnbr = strlen (progstr); data/scotch-6.1.0/src/libscotch/library_error.c:96:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (ndstptr, nsrcptr, charnbr); data/scotch-6.1.0/src/libscotch/library_error_exit.c:89: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). charnbr = strlen (progstr); data/scotch-6.1.0/src/libscotch/library_error_exit.c:98:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (ndstptr, nsrcptr, charnbr); data/scotch-6.1.0/src/libscotch/mesh_io_habo.c:135:19: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = getc (filesrcptr)) != '\n'){ /* Skip RHS format line */ data/scotch-6.1.0/src/libscotch/mesh_io_habo.c:145:21: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = getc (filesrcptr)) != '\n') { /* Skip line */ data/scotch-6.1.0/src/libscotch/mesh_io_habo.c:192:18: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (((c = getc (filesrcptr)) == '\n') || (c == '\r')) ; data/scotch-6.1.0/src/libscotch/mesh_io_habo.c:195:16: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((c = getc (filesrcptr)) != ' ') data/scotch-6.1.0/src/libscotch/mesh_io_habo.c:224:18: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (((c = getc (filesrcptr)) == '\n') || (c == '\r')) ; data/scotch-6.1.0/src/libscotch/mesh_io_habo.c:227:16: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((c = getc (filesrcptr)) != ' ') data/scotch-6.1.0/src/scotch/gout_c.c:669: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). j = strlen (codeptr[i].name)) == 0) && data/scotch-6.1.0/src/scotch/gout_c.c:690:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (argbuf, argbeg, arglen); /* Copy the argument to the buffer */ data/scotch-6.1.0/src/scotch/gout_o.c:821:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy (pictimestr, pictimeptr, 63); data/scotch-6.1.0/src/scotch/gout_o.c:823:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). pictimestr[strlen (pictimestr) - 1] = '\0'; ANALYSIS SUMMARY: Hits = 511 Lines analyzed = 147813 in approximately 4.82 seconds (30647 lines/second) Physical Source Lines of Code (SLOC) = 82890 Hits@level = [0] 472 [1] 68 [2] 183 [3] 3 [4] 257 [5] 0 Hits@level+ = [0+] 983 [1+] 511 [2+] 443 [3+] 260 [4+] 257 [5+] 0 Hits/KSLOC@level+ = [0+] 11.8591 [1+] 6.1648 [2+] 5.34443 [3+] 3.13669 [4+] 3.10049 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.