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/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_bond.cpp
Examining data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_bond.h
Examining data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_full.cpp
Examining data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_full.h
Examining data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_molecular.cpp
Examining data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_molecular.h
Examining data/liggghts-3.8.0+repack1/src/MOLECULE/bond_harmonic.cpp
Examining data/liggghts-3.8.0+repack1/src/MOLECULE/bond_harmonic.h
Examining data/liggghts-3.8.0+repack1/src/PASCAL/fix_pascal_couple.cpp
Examining data/liggghts-3.8.0+repack1/src/PASCAL/fix_pascal_couple.h
Examining data/liggghts-3.8.0+repack1/src/POEMS/fix_poems.cpp
Examining data/liggghts-3.8.0+repack1/src/POEMS/fix_poems.h
Examining data/liggghts-3.8.0+repack1/src/STUBS/mpi.c
Examining data/liggghts-3.8.0+repack1/src/STUBS/mpi.h
Examining data/liggghts-3.8.0+repack1/src/VORONOI/compute_voronoi_atom.cpp
Examining data/liggghts-3.8.0+repack1/src/VORONOI/compute_voronoi_atom.h
Examining data/liggghts-3.8.0+repack1/src/abstract_mesh.h
Examining data/liggghts-3.8.0+repack1/src/accelerator_cuda.h
Examining data/liggghts-3.8.0+repack1/src/accelerator_omp.h
Examining data/liggghts-3.8.0+repack1/src/angle.cpp
Examining data/liggghts-3.8.0+repack1/src/angle.h
Examining data/liggghts-3.8.0+repack1/src/angle_hybrid.cpp
Examining data/liggghts-3.8.0+repack1/src/angle_hybrid.h
Examining data/liggghts-3.8.0+repack1/src/associative_pointer_array.h
Examining data/liggghts-3.8.0+repack1/src/associative_pointer_array_I.h
Examining data/liggghts-3.8.0+repack1/src/atom.cpp
Examining data/liggghts-3.8.0+repack1/src/atom.h
Examining data/liggghts-3.8.0+repack1/src/atom_map.cpp
Examining data/liggghts-3.8.0+repack1/src/atom_masks.h
Examining data/liggghts-3.8.0+repack1/src/atom_vec.cpp
Examining data/liggghts-3.8.0+repack1/src/atom_vec.h
Examining data/liggghts-3.8.0+repack1/src/atom_vec_atomic.cpp
Examining data/liggghts-3.8.0+repack1/src/atom_vec_atomic.h
Examining data/liggghts-3.8.0+repack1/src/atom_vec_charge.cpp
Examining data/liggghts-3.8.0+repack1/src/atom_vec_charge.h
Examining data/liggghts-3.8.0+repack1/src/atom_vec_convexhull.h
Examining data/liggghts-3.8.0+repack1/src/atom_vec_ellipsoid.cpp
Examining data/liggghts-3.8.0+repack1/src/atom_vec_ellipsoid.h
Examining data/liggghts-3.8.0+repack1/src/atom_vec_full.cpp
Examining data/liggghts-3.8.0+repack1/src/atom_vec_full.h
Examining data/liggghts-3.8.0+repack1/src/atom_vec_hybrid.cpp
Examining data/liggghts-3.8.0+repack1/src/atom_vec_hybrid.h
Examining data/liggghts-3.8.0+repack1/src/atom_vec_line.cpp
Examining data/liggghts-3.8.0+repack1/src/atom_vec_line.h
Examining data/liggghts-3.8.0+repack1/src/atom_vec_molecular.cpp
Examining data/liggghts-3.8.0+repack1/src/atom_vec_molecular.h
Examining data/liggghts-3.8.0+repack1/src/atom_vec_sph.cpp
Examining data/liggghts-3.8.0+repack1/src/atom_vec_sph.h
Examining data/liggghts-3.8.0+repack1/src/atom_vec_sph_var.cpp
Examining data/liggghts-3.8.0+repack1/src/atom_vec_sph_var.h
Examining data/liggghts-3.8.0+repack1/src/atom_vec_sphere.cpp
Examining data/liggghts-3.8.0+repack1/src/atom_vec_sphere.h
Examining data/liggghts-3.8.0+repack1/src/atom_vec_sphere_w.cpp
Examining data/liggghts-3.8.0+repack1/src/atom_vec_superquadric.cpp
Examining data/liggghts-3.8.0+repack1/src/atom_vec_superquadric.h
Examining data/liggghts-3.8.0+repack1/src/atom_vec_tri.cpp
Examining data/liggghts-3.8.0+repack1/src/atom_vec_tri.h
Examining data/liggghts-3.8.0+repack1/src/bond.cpp
Examining data/liggghts-3.8.0+repack1/src/bond.h
Examining data/liggghts-3.8.0+repack1/src/bond_harmonic.cpp
Examining data/liggghts-3.8.0+repack1/src/bond_harmonic.h
Examining data/liggghts-3.8.0+repack1/src/bond_hybrid.cpp
Examining data/liggghts-3.8.0+repack1/src/bond_hybrid.h
Examining data/liggghts-3.8.0+repack1/src/bounding_box.cpp
Examining data/liggghts-3.8.0+repack1/src/bounding_box.h
Examining data/liggghts-3.8.0+repack1/src/cfd_datacoupling.cpp
Examining data/liggghts-3.8.0+repack1/src/cfd_datacoupling.h
Examining data/liggghts-3.8.0+repack1/src/cfd_datacoupling_file.cpp
Examining data/liggghts-3.8.0+repack1/src/cfd_datacoupling_file.h
Examining data/liggghts-3.8.0+repack1/src/cfd_datacoupling_mpi.cpp
Examining data/liggghts-3.8.0+repack1/src/cfd_datacoupling_mpi.h
Examining data/liggghts-3.8.0+repack1/src/cfd_datacoupling_simple.h
Examining data/liggghts-3.8.0+repack1/src/cfd_regionmodel.h
Examining data/liggghts-3.8.0+repack1/src/cfd_regionmodel_none.cpp
Examining data/liggghts-3.8.0+repack1/src/cfd_regionmodel_none.h
Examining data/liggghts-3.8.0+repack1/src/change_box.cpp
Examining data/liggghts-3.8.0+repack1/src/change_box.h
Examining data/liggghts-3.8.0+repack1/src/citeme.cpp
Examining data/liggghts-3.8.0+repack1/src/citeme.h
Examining data/liggghts-3.8.0+repack1/src/cohesion_model_base.h
Examining data/liggghts-3.8.0+repack1/src/cohesion_model_easo_capillary_viscous.h
Examining data/liggghts-3.8.0+repack1/src/cohesion_model_sjkr.h
Examining data/liggghts-3.8.0+repack1/src/cohesion_model_sjkr2.h
Examining data/liggghts-3.8.0+repack1/src/cohesion_model_washino_capillary_viscous.h
Examining data/liggghts-3.8.0+repack1/src/comm.cpp
Examining data/liggghts-3.8.0+repack1/src/comm.h
Examining data/liggghts-3.8.0+repack1/src/comm_I.h
Examining data/liggghts-3.8.0+repack1/src/compute.cpp
Examining data/liggghts-3.8.0+repack1/src/compute.h
Examining data/liggghts-3.8.0+repack1/src/compute_atom_molecule.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_atom_molecule.h
Examining data/liggghts-3.8.0+repack1/src/compute_bond_local.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_bond_local.h
Examining data/liggghts-3.8.0+repack1/src/compute_centro_atom.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_centro_atom.h
Examining data/liggghts-3.8.0+repack1/src/compute_cluster_atom.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_cluster_atom.h
Examining data/liggghts-3.8.0+repack1/src/compute_cna_atom.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_cna_atom.h
Examining data/liggghts-3.8.0+repack1/src/compute_com.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_com.h
Examining data/liggghts-3.8.0+repack1/src/compute_com_molecule.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_com_molecule.h
Examining data/liggghts-3.8.0+repack1/src/compute_contact_atom.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_contact_atom.h
Examining data/liggghts-3.8.0+repack1/src/compute_contact_atom_gran.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_contact_atom_gran.h
Examining data/liggghts-3.8.0+repack1/src/compute_coord_atom.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_coord_atom.h
Examining data/liggghts-3.8.0+repack1/src/compute_displace_atom.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_displace_atom.h
Examining data/liggghts-3.8.0+repack1/src/compute_erotate.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_erotate.h
Examining data/liggghts-3.8.0+repack1/src/compute_erotate_asphere.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_erotate_asphere.h
Examining data/liggghts-3.8.0+repack1/src/compute_erotate_multisphere.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_erotate_multisphere.h
Examining data/liggghts-3.8.0+repack1/src/compute_erotate_sphere.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_erotate_sphere.h
Examining data/liggghts-3.8.0+repack1/src/compute_erotate_sphere_atom.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_erotate_sphere_atom.h
Examining data/liggghts-3.8.0+repack1/src/compute_erotate_superquadric.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_erotate_superquadric.h
Examining data/liggghts-3.8.0+repack1/src/compute_group_group.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_group_group.h
Examining data/liggghts-3.8.0+repack1/src/compute_gyration.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_gyration.h
Examining data/liggghts-3.8.0+repack1/src/compute_gyration_molecule.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_gyration_molecule.h
Examining data/liggghts-3.8.0+repack1/src/compute_inertia_molecule.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_inertia_molecule.h
Examining data/liggghts-3.8.0+repack1/src/compute_ke.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_ke.h
Examining data/liggghts-3.8.0+repack1/src/compute_ke_atom.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_ke_atom.h
Examining data/liggghts-3.8.0+repack1/src/compute_ke_multisphere.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_ke_multisphere.h
Examining data/liggghts-3.8.0+repack1/src/compute_msd.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_msd.h
Examining data/liggghts-3.8.0+repack1/src/compute_msd_molecule.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_msd_molecule.h
Examining data/liggghts-3.8.0+repack1/src/compute_nparticles_tracer_region.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_nparticles_tracer_region.h
Examining data/liggghts-3.8.0+repack1/src/compute_pair_gran_local.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_pair_gran_local.h
Examining data/liggghts-3.8.0+repack1/src/compute_pe.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_pe.h
Examining data/liggghts-3.8.0+repack1/src/compute_pe_atom.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_pe_atom.h
Examining data/liggghts-3.8.0+repack1/src/compute_pressure.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_pressure.h
Examining data/liggghts-3.8.0+repack1/src/compute_property_atom.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_property_atom.h
Examining data/liggghts-3.8.0+repack1/src/compute_property_local.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_property_local.h
Examining data/liggghts-3.8.0+repack1/src/compute_property_molecule.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_property_molecule.h
Examining data/liggghts-3.8.0+repack1/src/compute_rdf.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_rdf.h
Examining data/liggghts-3.8.0+repack1/src/compute_reduce.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_reduce.h
Examining data/liggghts-3.8.0+repack1/src/compute_reduce_region.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_reduce_region.h
Examining data/liggghts-3.8.0+repack1/src/compute_rigid.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_rigid.h
Examining data/liggghts-3.8.0+repack1/src/compute_slice.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_slice.h
Examining data/liggghts-3.8.0+repack1/src/compute_stress_atom.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_stress_atom.h
Examining data/liggghts-3.8.0+repack1/src/compute_temp.cpp
Examining data/liggghts-3.8.0+repack1/src/compute_temp.h
Examining data/liggghts-3.8.0+repack1/src/contact_interface.h
Examining data/liggghts-3.8.0+repack1/src/contact_model_base.h
Examining data/liggghts-3.8.0+repack1/src/contact_model_constants.h
Examining data/liggghts-3.8.0+repack1/src/contact_models.cpp
Examining data/liggghts-3.8.0+repack1/src/contact_models.h
Examining data/liggghts-3.8.0+repack1/src/container.h
Examining data/liggghts-3.8.0+repack1/src/container_base.cpp
Examining data/liggghts-3.8.0+repack1/src/container_base.h
Examining data/liggghts-3.8.0+repack1/src/container_base_I.h
Examining data/liggghts-3.8.0+repack1/src/create_atoms.cpp
Examining data/liggghts-3.8.0+repack1/src/create_atoms.h
Examining data/liggghts-3.8.0+repack1/src/create_box.cpp
Examining data/liggghts-3.8.0+repack1/src/create_box.h
Examining data/liggghts-3.8.0+repack1/src/custom_value_tracker.cpp
Examining data/liggghts-3.8.0+repack1/src/custom_value_tracker.h
Examining data/liggghts-3.8.0+repack1/src/custom_value_tracker_I.h
Examining data/liggghts-3.8.0+repack1/src/debug_liggghts.h
Examining data/liggghts-3.8.0+repack1/src/delete_atoms.cpp
Examining data/liggghts-3.8.0+repack1/src/delete_atoms.h
Examining data/liggghts-3.8.0+repack1/src/delete_bonds.cpp
Examining data/liggghts-3.8.0+repack1/src/delete_bonds.h
Examining data/liggghts-3.8.0+repack1/src/dihedral.cpp
Examining data/liggghts-3.8.0+repack1/src/dihedral.h
Examining data/liggghts-3.8.0+repack1/src/dihedral_hybrid.cpp
Examining data/liggghts-3.8.0+repack1/src/dihedral_hybrid.h
Examining data/liggghts-3.8.0+repack1/src/displace_atoms.cpp
Examining data/liggghts-3.8.0+repack1/src/displace_atoms.h
Examining data/liggghts-3.8.0+repack1/src/domain.cpp
Examining data/liggghts-3.8.0+repack1/src/domain.h
Examining data/liggghts-3.8.0+repack1/src/domain_I.h
Examining data/liggghts-3.8.0+repack1/src/domain_definitions.h
Examining data/liggghts-3.8.0+repack1/src/domain_wedge.h
Examining data/liggghts-3.8.0+repack1/src/domain_wedge_dummy.h
Examining data/liggghts-3.8.0+repack1/src/dump.cpp
Examining data/liggghts-3.8.0+repack1/src/dump.h
Examining data/liggghts-3.8.0+repack1/src/dump_atom_vtk.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_atom_vtk.h
Examining data/liggghts-3.8.0+repack1/src/dump_custom.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_custom.h
Examining data/liggghts-3.8.0+repack1/src/dump_custom_vtk.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_custom_vtk.h
Examining data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_custom_vtm.h
Examining data/liggghts-3.8.0+repack1/src/dump_decomposition_vtk.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_decomposition_vtk.h
Examining data/liggghts-3.8.0+repack1/src/dump_euler_vtk.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_euler_vtk.h
Examining data/liggghts-3.8.0+repack1/src/dump_image.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_image.h
Examining data/liggghts-3.8.0+repack1/src/dump_local.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_local.h
Examining data/liggghts-3.8.0+repack1/src/dump_local_gran.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_local_gran.h
Examining data/liggghts-3.8.0+repack1/src/dump_local_gran_vtk.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_local_gran_vtk.h
Examining data/liggghts-3.8.0+repack1/src/dump_mesh.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_mesh.h
Examining data/liggghts-3.8.0+repack1/src/dump_mesh_stl.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_mesh_stl.h
Examining data/liggghts-3.8.0+repack1/src/dump_mesh_vtk.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_mesh_vtk.h
Examining data/liggghts-3.8.0+repack1/src/dump_mesh_vtm.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_mesh_vtm.h
Examining data/liggghts-3.8.0+repack1/src/dump_movie.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_movie.h
Examining data/liggghts-3.8.0+repack1/src/dump_particle.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_particle.h
Examining data/liggghts-3.8.0+repack1/src/dump_vtk.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_vtk.h
Examining data/liggghts-3.8.0+repack1/src/dump_xyz.cpp
Examining data/liggghts-3.8.0+repack1/src/dump_xyz.h
Examining data/liggghts-3.8.0+repack1/src/error.cpp
Examining data/liggghts-3.8.0+repack1/src/error.h
Examining data/liggghts-3.8.0+repack1/src/error_special.h
Examining data/liggghts-3.8.0+repack1/src/finish.cpp
Examining data/liggghts-3.8.0+repack1/src/finish.h
Examining data/liggghts-3.8.0+repack1/src/fix.cpp
Examining data/liggghts-3.8.0+repack1/src/fix.h
Examining data/liggghts-3.8.0+repack1/src/fix_adapt.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_adapt.h
Examining data/liggghts-3.8.0+repack1/src/fix_addforce.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_addforce.h
Examining data/liggghts-3.8.0+repack1/src/fix_ave_atom.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_ave_atom.h
Examining data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_ave_correlate.h
Examining data/liggghts-3.8.0+repack1/src/fix_ave_euler.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_ave_euler.h
Examining data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_ave_histo.h
Examining data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_ave_spatial.h
Examining data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_ave_time.h
Examining data/liggghts-3.8.0+repack1/src/fix_aveforce.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_aveforce.h
Examining data/liggghts-3.8.0+repack1/src/fix_base_liggghts.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_base_liggghts.h
Examining data/liggghts-3.8.0+repack1/src/fix_box_relax.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_box_relax.h
Examining data/liggghts-3.8.0+repack1/src/fix_buoyancy.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_buoyancy.h
Examining data/liggghts-3.8.0+repack1/src/fix_calculate_energy_wall.h
Examining data/liggghts-3.8.0+repack1/src/fix_cfd_coupling.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_cfd_coupling.h
Examining data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection.h
Examining data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_impl.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_impl.h
Examining data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.h
Examining data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_force.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_force.h
Examining data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_force_implicit.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_force_implicit.h
Examining data/liggghts-3.8.0+repack1/src/fix_check_timestep_gran.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_check_timestep_gran.h
Examining data/liggghts-3.8.0+repack1/src/fix_check_timestep_sph.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_check_timestep_sph.h
Examining data/liggghts-3.8.0+repack1/src/fix_contact_atom_counter.h
Examining data/liggghts-3.8.0+repack1/src/fix_contact_atom_counter_dummy.h
Examining data/liggghts-3.8.0+repack1/src/fix_contact_atom_counter_wall.h
Examining data/liggghts-3.8.0+repack1/src/fix_contact_atom_counter_wall_dummy.h
Examining data/liggghts-3.8.0+repack1/src/fix_contact_history.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_contact_history.h
Examining data/liggghts-3.8.0+repack1/src/fix_contact_history_mesh.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_contact_history_mesh.h
Examining data/liggghts-3.8.0+repack1/src/fix_contact_history_mesh_I.h
Examining data/liggghts-3.8.0+repack1/src/fix_contact_property_atom.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_contact_property_atom.h
Examining data/liggghts-3.8.0+repack1/src/fix_contact_property_atom_wall.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_contact_property_atom_wall.h
Examining data/liggghts-3.8.0+repack1/src/fix_continuum_weighted.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_continuum_weighted.h
Examining data/liggghts-3.8.0+repack1/src/fix_deform.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_deform.h
Examining data/liggghts-3.8.0+repack1/src/fix_deform_check.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_deform_check.h
Examining data/liggghts-3.8.0+repack1/src/fix_diam_max.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_diam_max.h
Examining data/liggghts-3.8.0+repack1/src/fix_drag.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_drag.h
Examining data/liggghts-3.8.0+repack1/src/fix_dt_reset.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_dt_reset.h
Examining data/liggghts-3.8.0+repack1/src/fix_dummy.h
Examining data/liggghts-3.8.0+repack1/src/fix_dummy2.h
Examining data/liggghts-3.8.0+repack1/src/fix_efield.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_efield.h
Examining data/liggghts-3.8.0+repack1/src/fix_enforce2d.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_enforce2d.h
Examining data/liggghts-3.8.0+repack1/src/fix_external.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_external.h
Examining data/liggghts-3.8.0+repack1/src/fix_fiber_spring_simple.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_fiber_spring_simple.h
Examining data/liggghts-3.8.0+repack1/src/fix_freeze.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_freeze.h
Examining data/liggghts-3.8.0+repack1/src/fix_gravity.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_gravity.h
Examining data/liggghts-3.8.0+repack1/src/fix_heat_gran.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_heat_gran.h
Examining data/liggghts-3.8.0+repack1/src/fix_heat_gran_conduction.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_heat_gran_conduction.h
Examining data/liggghts-3.8.0+repack1/src/fix_insert.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_insert.h
Examining data/liggghts-3.8.0+repack1/src/fix_insert_pack.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_insert_pack.h
Examining data/liggghts-3.8.0+repack1/src/fix_insert_rate_region.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_insert_rate_region.h
Examining data/liggghts-3.8.0+repack1/src/fix_insert_stream.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_insert_stream.h
Examining data/liggghts-3.8.0+repack1/src/fix_insert_stream_predefined.h
Examining data/liggghts-3.8.0+repack1/src/fix_lb_coupling_onetoone.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_lb_coupling_onetoone.h
Examining data/liggghts-3.8.0+repack1/src/fix_lineforce.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_lineforce.h
Examining data/liggghts-3.8.0+repack1/src/fix_massflow_mesh.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_massflow_mesh.h
Examining data/liggghts-3.8.0+repack1/src/fix_massflow_mesh_sieve.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_massflow_mesh_sieve.h
Examining data/liggghts-3.8.0+repack1/src/fix_mesh.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_mesh.h
Examining data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_mesh_surface.h
Examining data/liggghts-3.8.0+repack1/src/fix_minimize.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_minimize.h
Examining data/liggghts-3.8.0+repack1/src/fix_mixing.h
Examining data/liggghts-3.8.0+repack1/src/fix_momentum.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_momentum.h
Examining data/liggghts-3.8.0+repack1/src/fix_move.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_move.h
Examining data/liggghts-3.8.0+repack1/src/fix_move_mesh.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_move_mesh.h
Examining data/liggghts-3.8.0+repack1/src/fix_multicontact_halfspace.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_multicontact_halfspace.h
Examining data/liggghts-3.8.0+repack1/src/fix_multisphere.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_multisphere.h
Examining data/liggghts-3.8.0+repack1/src/fix_multisphere_break.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_multisphere_break.h
Examining data/liggghts-3.8.0+repack1/src/fix_multisphere_comm.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_multisphere_comm_I.h
Examining data/liggghts-3.8.0+repack1/src/fix_neighlist_mesh.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_neighlist_mesh.h
Examining data/liggghts-3.8.0+repack1/src/fix_nve.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_nve.h
Examining data/liggghts-3.8.0+repack1/src/fix_nve_asphere.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_nve_asphere.h
Examining data/liggghts-3.8.0+repack1/src/fix_nve_asphere_base.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_nve_asphere_base.h
Examining data/liggghts-3.8.0+repack1/src/fix_nve_asphere_noforce.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_nve_asphere_noforce.h
Examining data/liggghts-3.8.0+repack1/src/fix_nve_limit.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_nve_limit.h
Examining data/liggghts-3.8.0+repack1/src/fix_nve_line.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_nve_line.h
Examining data/liggghts-3.8.0+repack1/src/fix_nve_noforce.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_nve_noforce.h
Examining data/liggghts-3.8.0+repack1/src/fix_nve_sph.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_nve_sph.h
Examining data/liggghts-3.8.0+repack1/src/fix_nve_sph_stationary.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_nve_sph_stationary.h
Examining data/liggghts-3.8.0+repack1/src/fix_nve_sphere.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_nve_sphere.h
Examining data/liggghts-3.8.0+repack1/src/fix_nve_superquadric.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_nve_superquadric.h
Examining data/liggghts-3.8.0+repack1/src/fix_particledistribution_discrete.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_particledistribution_discrete.h
Examining data/liggghts-3.8.0+repack1/src/fix_planeforce.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_planeforce.h
Examining data/liggghts-3.8.0+repack1/src/fix_print.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_print.h
Examining data/liggghts-3.8.0+repack1/src/fix_property_atom.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_property_atom.h
Examining data/liggghts-3.8.0+repack1/src/fix_property_atom_region_tracer.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_property_atom_region_tracer.h
Examining data/liggghts-3.8.0+repack1/src/fix_property_atom_tracer.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_property_atom_tracer.h
Examining data/liggghts-3.8.0+repack1/src/fix_property_atom_tracer_stream.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_property_atom_tracer_stream.h
Examining data/liggghts-3.8.0+repack1/src/fix_property_global.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_property_global.h
Examining data/liggghts-3.8.0+repack1/src/fix_read_restart.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_read_restart.h
Examining data/liggghts-3.8.0+repack1/src/fix_region_variable.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_region_variable.h
Examining data/liggghts-3.8.0+repack1/src/fix_relax_contacts.h
Examining data/liggghts-3.8.0+repack1/src/fix_remove.h
Examining data/liggghts-3.8.0+repack1/src/fix_respa.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_respa.h
Examining data/liggghts-3.8.0+repack1/src/fix_rigid.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_rigid.h
Examining data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.h
Examining data/liggghts-3.8.0+repack1/src/fix_setforce.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_setforce.h
Examining data/liggghts-3.8.0+repack1/src/fix_sph.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_sph.h
Examining data/liggghts-3.8.0+repack1/src/fix_sph_density_continuity.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_sph_density_continuity.h
Examining data/liggghts-3.8.0+repack1/src/fix_sph_density_corr.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_sph_density_corr.h
Examining data/liggghts-3.8.0+repack1/src/fix_sph_density_summation.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_sph_density_summation.h
Examining data/liggghts-3.8.0+repack1/src/fix_sph_pressure.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_sph_pressure.h
Examining data/liggghts-3.8.0+repack1/src/fix_spring.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_spring.h
Examining data/liggghts-3.8.0+repack1/src/fix_spring_rg.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_spring_rg.h
Examining data/liggghts-3.8.0+repack1/src/fix_spring_self.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_spring_self.h
Examining data/liggghts-3.8.0+repack1/src/fix_store.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_store.h
Examining data/liggghts-3.8.0+repack1/src/fix_store_force.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_store_force.h
Examining data/liggghts-3.8.0+repack1/src/fix_store_state.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_store_state.h
Examining data/liggghts-3.8.0+repack1/src/fix_template_multiplespheres.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_template_multiplespheres.h
Examining data/liggghts-3.8.0+repack1/src/fix_template_multisphere.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_template_multisphere.h
Examining data/liggghts-3.8.0+repack1/src/fix_template_sphere.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_template_sphere.h
Examining data/liggghts-3.8.0+repack1/src/fix_template_superquadric.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_template_superquadric.h
Examining data/liggghts-3.8.0+repack1/src/fix_viscous.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_viscous.h
Examining data/liggghts-3.8.0+repack1/src/fix_wall.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_wall.h
Examining data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_wall_gran.h
Examining data/liggghts-3.8.0+repack1/src/fix_wall_gran_base.h
Examining data/liggghts-3.8.0+repack1/src/fix_wall_region.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_wall_region.h
Examining data/liggghts-3.8.0+repack1/src/fix_wall_region_sph.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_wall_region_sph.h
Examining data/liggghts-3.8.0+repack1/src/fix_wall_sph.cpp
Examining data/liggghts-3.8.0+repack1/src/fix_wall_sph.h
Examining data/liggghts-3.8.0+repack1/src/force.cpp
Examining data/liggghts-3.8.0+repack1/src/force.h
Examining data/liggghts-3.8.0+repack1/src/general_container.h
Examining data/liggghts-3.8.0+repack1/src/general_container_I.h
Examining data/liggghts-3.8.0+repack1/src/global_properties.cpp
Examining data/liggghts-3.8.0+repack1/src/global_properties.h
Examining data/liggghts-3.8.0+repack1/src/granular_pair_style.cpp
Examining data/liggghts-3.8.0+repack1/src/granular_pair_style.h
Examining data/liggghts-3.8.0+repack1/src/granular_styles.h
Examining data/liggghts-3.8.0+repack1/src/granular_wall.cpp
Examining data/liggghts-3.8.0+repack1/src/granular_wall.h
Examining data/liggghts-3.8.0+repack1/src/group.cpp
Examining data/liggghts-3.8.0+repack1/src/group.h
Examining data/liggghts-3.8.0+repack1/src/histogram.h
Examining data/liggghts-3.8.0+repack1/src/image.cpp
Examining data/liggghts-3.8.0+repack1/src/image.h
Examining data/liggghts-3.8.0+repack1/src/improper.cpp
Examining data/liggghts-3.8.0+repack1/src/improper.h
Examining data/liggghts-3.8.0+repack1/src/improper_hybrid.cpp
Examining data/liggghts-3.8.0+repack1/src/improper_hybrid.h
Examining data/liggghts-3.8.0+repack1/src/info.cpp
Examining data/liggghts-3.8.0+repack1/src/info.h
Examining data/liggghts-3.8.0+repack1/src/input.cpp
Examining data/liggghts-3.8.0+repack1/src/input.h
Examining data/liggghts-3.8.0+repack1/src/input_mesh_tet.cpp
Examining data/liggghts-3.8.0+repack1/src/input_mesh_tet.h
Examining data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp
Examining data/liggghts-3.8.0+repack1/src/input_mesh_tri.h
Examining data/liggghts-3.8.0+repack1/src/input_multisphere.cpp
Examining data/liggghts-3.8.0+repack1/src/input_multisphere.h
Examining data/liggghts-3.8.0+repack1/src/integrate.cpp
Examining data/liggghts-3.8.0+repack1/src/integrate.h
Examining data/liggghts-3.8.0+repack1/src/irregular.cpp
Examining data/liggghts-3.8.0+repack1/src/irregular.h
Examining data/liggghts-3.8.0+repack1/src/kspace.cpp
Examining data/liggghts-3.8.0+repack1/src/kspace.h
Examining data/liggghts-3.8.0+repack1/src/lammps.cpp
Examining data/liggghts-3.8.0+repack1/src/lammps.h
Examining data/liggghts-3.8.0+repack1/src/lattice.cpp
Examining data/liggghts-3.8.0+repack1/src/lattice.h
Examining data/liggghts-3.8.0+repack1/src/library.cpp
Examining data/liggghts-3.8.0+repack1/src/library.h
Examining data/liggghts-3.8.0+repack1/src/library_cfd_coupling.cpp
Examining data/liggghts-3.8.0+repack1/src/library_cfd_coupling.h
Examining data/liggghts-3.8.0+repack1/src/lmptype.h
Examining data/liggghts-3.8.0+repack1/src/lmpwindows.h
Examining data/liggghts-3.8.0+repack1/src/main.cpp
Examining data/liggghts-3.8.0+repack1/src/math_complex.h
Examining data/liggghts-3.8.0+repack1/src/math_const.h
Examining data/liggghts-3.8.0+repack1/src/math_extra.cpp
Examining data/liggghts-3.8.0+repack1/src/math_extra.h
Examining data/liggghts-3.8.0+repack1/src/math_extra_liggghts.h
Examining data/liggghts-3.8.0+repack1/src/math_extra_liggghts_nonspherical.cpp
Examining data/liggghts-3.8.0+repack1/src/math_extra_liggghts_nonspherical.h
Examining data/liggghts-3.8.0+repack1/src/math_extra_liggghts_superquadric.cpp
Examining data/liggghts-3.8.0+repack1/src/math_extra_liggghts_superquadric.h
Examining data/liggghts-3.8.0+repack1/src/math_special.h
Examining data/liggghts-3.8.0+repack1/src/math_vector.h
Examining data/liggghts-3.8.0+repack1/src/memory.cpp
Examining data/liggghts-3.8.0+repack1/src/memory.h
Examining data/liggghts-3.8.0+repack1/src/memory_ns.h
Examining data/liggghts-3.8.0+repack1/src/mesh_module.cpp
Examining data/liggghts-3.8.0+repack1/src/mesh_module.h
Examining data/liggghts-3.8.0+repack1/src/mesh_module_liquidtransfer.cpp
Examining data/liggghts-3.8.0+repack1/src/mesh_module_liquidtransfer.h
Examining data/liggghts-3.8.0+repack1/src/mesh_module_stress.cpp
Examining data/liggghts-3.8.0+repack1/src/mesh_module_stress.h
Examining data/liggghts-3.8.0+repack1/src/mesh_module_stress_servo.cpp
Examining data/liggghts-3.8.0+repack1/src/mesh_module_stress_servo.h
Examining data/liggghts-3.8.0+repack1/src/mesh_mover.h
Examining data/liggghts-3.8.0+repack1/src/mesh_mover_linear.cpp
Examining data/liggghts-3.8.0+repack1/src/mesh_mover_linear.h
Examining data/liggghts-3.8.0+repack1/src/mesh_mover_rotation.cpp
Examining data/liggghts-3.8.0+repack1/src/mesh_mover_rotation.h
Examining data/liggghts-3.8.0+repack1/src/min.cpp
Examining data/liggghts-3.8.0+repack1/src/min.h
Examining data/liggghts-3.8.0+repack1/src/min_cg.cpp
Examining data/liggghts-3.8.0+repack1/src/min_cg.h
Examining data/liggghts-3.8.0+repack1/src/min_linesearch.cpp
Examining data/liggghts-3.8.0+repack1/src/min_linesearch.h
Examining data/liggghts-3.8.0+repack1/src/minimize.cpp
Examining data/liggghts-3.8.0+repack1/src/minimize.h
Examining data/liggghts-3.8.0+repack1/src/modified_andrew.cpp
Examining data/liggghts-3.8.0+repack1/src/modified_andrew.h
Examining data/liggghts-3.8.0+repack1/src/modify.cpp
Examining data/liggghts-3.8.0+repack1/src/modify.h
Examining data/liggghts-3.8.0+repack1/src/modify_liggghts.cpp
Examining data/liggghts-3.8.0+repack1/src/mpi_liggghts.h
Examining data/liggghts-3.8.0+repack1/src/multi_node_mesh.h
Examining data/liggghts-3.8.0+repack1/src/multi_node_mesh_I.h
Examining data/liggghts-3.8.0+repack1/src/multi_node_mesh_parallel.h
Examining data/liggghts-3.8.0+repack1/src/multi_node_mesh_parallel_I.h
Examining data/liggghts-3.8.0+repack1/src/multi_node_mesh_parallel_buffer_I.h
Examining data/liggghts-3.8.0+repack1/src/multi_vector_container.h
Examining data/liggghts-3.8.0+repack1/src/multisphere.cpp
Examining data/liggghts-3.8.0+repack1/src/multisphere.h
Examining data/liggghts-3.8.0+repack1/src/multisphere_I.h
Examining data/liggghts-3.8.0+repack1/src/multisphere_parallel.cpp
Examining data/liggghts-3.8.0+repack1/src/multisphere_parallel.h
Examining data/liggghts-3.8.0+repack1/src/multisphere_parallel_I.h
Examining data/liggghts-3.8.0+repack1/src/my_page.h
Examining data/liggghts-3.8.0+repack1/src/my_pool_chunk.h
Examining data/liggghts-3.8.0+repack1/src/neigh_bond.cpp
Examining data/liggghts-3.8.0+repack1/src/neigh_bond.h
Examining data/liggghts-3.8.0+repack1/src/neigh_derive.cpp
Examining data/liggghts-3.8.0+repack1/src/neigh_derive.h
Examining data/liggghts-3.8.0+repack1/src/neigh_dummy.cpp
Examining data/liggghts-3.8.0+repack1/src/neigh_dummy.h
Examining data/liggghts-3.8.0+repack1/src/neigh_full.cpp
Examining data/liggghts-3.8.0+repack1/src/neigh_full.h
Examining data/liggghts-3.8.0+repack1/src/neigh_gran.cpp
Examining data/liggghts-3.8.0+repack1/src/neigh_gran.h
Examining data/liggghts-3.8.0+repack1/src/neigh_half_bin.cpp
Examining data/liggghts-3.8.0+repack1/src/neigh_half_bin.h
Examining data/liggghts-3.8.0+repack1/src/neigh_half_multi.cpp
Examining data/liggghts-3.8.0+repack1/src/neigh_half_multi.h
Examining data/liggghts-3.8.0+repack1/src/neigh_half_nsq.cpp
Examining data/liggghts-3.8.0+repack1/src/neigh_half_nsq.h
Examining data/liggghts-3.8.0+repack1/src/neigh_list.cpp
Examining data/liggghts-3.8.0+repack1/src/neigh_list.h
Examining data/liggghts-3.8.0+repack1/src/neigh_mlg_dummy.h
Examining data/liggghts-3.8.0+repack1/src/neigh_modify.h
Examining data/liggghts-3.8.0+repack1/src/neigh_multi_level_grid.h
Examining data/liggghts-3.8.0+repack1/src/neigh_request.cpp
Examining data/liggghts-3.8.0+repack1/src/neigh_request.h
Examining data/liggghts-3.8.0+repack1/src/neigh_respa.cpp
Examining data/liggghts-3.8.0+repack1/src/neigh_respa.h
Examining data/liggghts-3.8.0+repack1/src/neigh_stencil.cpp
Examining data/liggghts-3.8.0+repack1/src/neighbor.cpp
Examining data/liggghts-3.8.0+repack1/src/neighbor.h
Examining data/liggghts-3.8.0+repack1/src/normal_model_base.h
Examining data/liggghts-3.8.0+repack1/src/normal_model_edinburgh.h
Examining data/liggghts-3.8.0+repack1/src/normal_model_edinburgh_stiffness.h
Examining data/liggghts-3.8.0+repack1/src/normal_model_hertz.h
Examining data/liggghts-3.8.0+repack1/src/normal_model_hertz_stiffness.h
Examining data/liggghts-3.8.0+repack1/src/normal_model_hooke.h
Examining data/liggghts-3.8.0+repack1/src/normal_model_hooke_hysteresis.h
Examining data/liggghts-3.8.0+repack1/src/normal_model_hooke_stiffness.h
Examining data/liggghts-3.8.0+repack1/src/normal_model_luding.h
Examining data/liggghts-3.8.0+repack1/src/normal_model_thornton_ning.h
Examining data/liggghts-3.8.0+repack1/src/os_specific.h
Examining data/liggghts-3.8.0+repack1/src/output.cpp
Examining data/liggghts-3.8.0+repack1/src/output.h
Examining data/liggghts-3.8.0+repack1/src/pack.h
Examining data/liggghts-3.8.0+repack1/src/pair.cpp
Examining data/liggghts-3.8.0+repack1/src/pair.h
Examining data/liggghts-3.8.0+repack1/src/pair_gran.cpp
Examining data/liggghts-3.8.0+repack1/src/pair_gran.h
Examining data/liggghts-3.8.0+repack1/src/pair_gran_base.h
Examining data/liggghts-3.8.0+repack1/src/pair_gran_proxy.cpp
Examining data/liggghts-3.8.0+repack1/src/pair_gran_proxy.h
Examining data/liggghts-3.8.0+repack1/src/pair_hybrid.cpp
Examining data/liggghts-3.8.0+repack1/src/pair_hybrid.h
Examining data/liggghts-3.8.0+repack1/src/pair_hybrid_overlay.cpp
Examining data/liggghts-3.8.0+repack1/src/pair_hybrid_overlay.h
Examining data/liggghts-3.8.0+repack1/src/pair_line_lj.cpp
Examining data/liggghts-3.8.0+repack1/src/pair_line_lj.h
Examining data/liggghts-3.8.0+repack1/src/pair_soft.cpp
Examining data/liggghts-3.8.0+repack1/src/pair_soft.h
Examining data/liggghts-3.8.0+repack1/src/pair_sph.cpp
Examining data/liggghts-3.8.0+repack1/src/pair_sph.h
Examining data/liggghts-3.8.0+repack1/src/pair_sph_artvisc_tenscorr.cpp
Examining data/liggghts-3.8.0+repack1/src/pair_sph_artvisc_tenscorr.h
Examining data/liggghts-3.8.0+repack1/src/particleToInsert.cpp
Examining data/liggghts-3.8.0+repack1/src/particleToInsert.h
Examining data/liggghts-3.8.0+repack1/src/particleToInsertSuperquadric.cpp
Examining data/liggghts-3.8.0+repack1/src/particleToInsertSuperquadric.h
Examining data/liggghts-3.8.0+repack1/src/particleToInsert_multisphere.cpp
Examining data/liggghts-3.8.0+repack1/src/particleToInsert_multisphere.h
Examining data/liggghts-3.8.0+repack1/src/pointers.h
Examining data/liggghts-3.8.0+repack1/src/primitive_wall.h
Examining data/liggghts-3.8.0+repack1/src/primitive_wall_definitions.h
Examining data/liggghts-3.8.0+repack1/src/probability_distribution.h
Examining data/liggghts-3.8.0+repack1/src/procmap.cpp
Examining data/liggghts-3.8.0+repack1/src/procmap.h
Examining data/liggghts-3.8.0+repack1/src/properties.cpp
Examining data/liggghts-3.8.0+repack1/src/properties.h
Examining data/liggghts-3.8.0+repack1/src/property_registry.cpp
Examining data/liggghts-3.8.0+repack1/src/property_registry.h
Examining data/liggghts-3.8.0+repack1/src/random.cpp
Examining data/liggghts-3.8.0+repack1/src/random.h
Examining data/liggghts-3.8.0+repack1/src/random_mars.cpp
Examining data/liggghts-3.8.0+repack1/src/random_mars.h
Examining data/liggghts-3.8.0+repack1/src/random_park.cpp
Examining data/liggghts-3.8.0+repack1/src/random_park.h
Examining data/liggghts-3.8.0+repack1/src/read_data.cpp
Examining data/liggghts-3.8.0+repack1/src/read_data.h
Examining data/liggghts-3.8.0+repack1/src/read_dump.cpp
Examining data/liggghts-3.8.0+repack1/src/read_dump.h
Examining data/liggghts-3.8.0+repack1/src/read_restart.cpp
Examining data/liggghts-3.8.0+repack1/src/read_restart.h
Examining data/liggghts-3.8.0+repack1/src/reader.cpp
Examining data/liggghts-3.8.0+repack1/src/reader.h
Examining data/liggghts-3.8.0+repack1/src/reader_native.cpp
Examining data/liggghts-3.8.0+repack1/src/reader_native.h
Examining data/liggghts-3.8.0+repack1/src/reader_xyz.cpp
Examining data/liggghts-3.8.0+repack1/src/reader_xyz.h
Examining data/liggghts-3.8.0+repack1/src/region.cpp
Examining data/liggghts-3.8.0+repack1/src/region.h
Examining data/liggghts-3.8.0+repack1/src/region_block.cpp
Examining data/liggghts-3.8.0+repack1/src/region_block.h
Examining data/liggghts-3.8.0+repack1/src/region_cone.cpp
Examining data/liggghts-3.8.0+repack1/src/region_cone.h
Examining data/liggghts-3.8.0+repack1/src/region_cylinder.cpp
Examining data/liggghts-3.8.0+repack1/src/region_cylinder.h
Examining data/liggghts-3.8.0+repack1/src/region_intersect.cpp
Examining data/liggghts-3.8.0+repack1/src/region_intersect.h
Examining data/liggghts-3.8.0+repack1/src/region_mesh_tet.cpp
Examining data/liggghts-3.8.0+repack1/src/region_mesh_tet.h
Examining data/liggghts-3.8.0+repack1/src/region_mesh_tet_I.h
Examining data/liggghts-3.8.0+repack1/src/region_neighbor_list.cpp
Examining data/liggghts-3.8.0+repack1/src/region_neighbor_list.h
Examining data/liggghts-3.8.0+repack1/src/region_neighbor_list_I.h
Examining data/liggghts-3.8.0+repack1/src/region_neighbor_list_base.h
Examining data/liggghts-3.8.0+repack1/src/region_neighbor_list_definitions.h
Examining data/liggghts-3.8.0+repack1/src/region_plane.cpp
Examining data/liggghts-3.8.0+repack1/src/region_plane.h
Examining data/liggghts-3.8.0+repack1/src/region_prism.cpp
Examining data/liggghts-3.8.0+repack1/src/region_prism.h
Examining data/liggghts-3.8.0+repack1/src/region_sphere.cpp
Examining data/liggghts-3.8.0+repack1/src/region_sphere.h
Examining data/liggghts-3.8.0+repack1/src/region_union.cpp
Examining data/liggghts-3.8.0+repack1/src/region_union.h
Examining data/liggghts-3.8.0+repack1/src/region_wedge.cpp
Examining data/liggghts-3.8.0+repack1/src/region_wedge.h
Examining data/liggghts-3.8.0+repack1/src/replicate.cpp
Examining data/liggghts-3.8.0+repack1/src/replicate.h
Examining data/liggghts-3.8.0+repack1/src/respa.cpp
Examining data/liggghts-3.8.0+repack1/src/respa.h
Examining data/liggghts-3.8.0+repack1/src/rolling_model_base.h
Examining data/liggghts-3.8.0+repack1/src/rolling_model_cdt.h
Examining data/liggghts-3.8.0+repack1/src/rolling_model_epsd.h
Examining data/liggghts-3.8.0+repack1/src/rolling_model_epsd2.h
Examining data/liggghts-3.8.0+repack1/src/rolling_model_epsd3.h
Examining data/liggghts-3.8.0+repack1/src/rolling_model_luding.h
Examining data/liggghts-3.8.0+repack1/src/rotate.cpp
Examining data/liggghts-3.8.0+repack1/src/rotate.h
Examining data/liggghts-3.8.0+repack1/src/run.cpp
Examining data/liggghts-3.8.0+repack1/src/run.h
Examining data/liggghts-3.8.0+repack1/src/run_time.cpp
Examining data/liggghts-3.8.0+repack1/src/run_time.h
Examining data/liggghts-3.8.0+repack1/src/scalar_container.h
Examining data/liggghts-3.8.0+repack1/src/set.cpp
Examining data/liggghts-3.8.0+repack1/src/set.h
Examining data/liggghts-3.8.0+repack1/src/settings.h
Examining data/liggghts-3.8.0+repack1/src/signal_handling.cpp
Examining data/liggghts-3.8.0+repack1/src/signal_handling.h
Examining data/liggghts-3.8.0+repack1/src/sort_buffer.cpp
Examining data/liggghts-3.8.0+repack1/src/sort_buffer.h
Examining data/liggghts-3.8.0+repack1/src/special.cpp
Examining data/liggghts-3.8.0+repack1/src/special.h
Examining data/liggghts-3.8.0+repack1/src/sph_kernel_cubicspline.h
Examining data/liggghts-3.8.0+repack1/src/sph_kernel_cubicspline2D.h
Examining data/liggghts-3.8.0+repack1/src/sph_kernel_spiky.h
Examining data/liggghts-3.8.0+repack1/src/sph_kernel_spiky2D.h
Examining data/liggghts-3.8.0+repack1/src/sph_kernel_wendland.h
Examining data/liggghts-3.8.0+repack1/src/sph_kernel_wendland2D.h
Examining data/liggghts-3.8.0+repack1/src/sph_kernels.h
Examining data/liggghts-3.8.0+repack1/src/string_liggghts.h
Examining data/liggghts-3.8.0+repack1/src/suffix.h
Examining data/liggghts-3.8.0+repack1/src/superquadric.cpp
Examining data/liggghts-3.8.0+repack1/src/superquadric.h
Examining data/liggghts-3.8.0+repack1/src/surface_mesh.h
Examining data/liggghts-3.8.0+repack1/src/surface_mesh_I.h
Examining data/liggghts-3.8.0+repack1/src/surface_mesh_feature_remove.h
Examining data/liggghts-3.8.0+repack1/src/surface_mesh_feature_remove_I.h
Examining data/liggghts-3.8.0+repack1/src/surface_model_base.h
Examining data/liggghts-3.8.0+repack1/src/surface_model_default.h
Examining data/liggghts-3.8.0+repack1/src/surface_model_multicontact.h
Examining data/liggghts-3.8.0+repack1/src/surface_model_superquadric.h
Examining data/liggghts-3.8.0+repack1/src/tangential_model_base.h
Examining data/liggghts-3.8.0+repack1/src/tangential_model_history.h
Examining data/liggghts-3.8.0+repack1/src/tangential_model_luding_tn.h
Examining data/liggghts-3.8.0+repack1/src/tangential_model_no_history.h
Examining data/liggghts-3.8.0+repack1/src/tet_mesh.cpp
Examining data/liggghts-3.8.0+repack1/src/tet_mesh.h
Examining data/liggghts-3.8.0+repack1/src/tet_mesh_I.h
Examining data/liggghts-3.8.0+repack1/src/thermo.cpp
Examining data/liggghts-3.8.0+repack1/src/thermo.h
Examining data/liggghts-3.8.0+repack1/src/timer.cpp
Examining data/liggghts-3.8.0+repack1/src/timer.h
Examining data/liggghts-3.8.0+repack1/src/tracking_mesh.h
Examining data/liggghts-3.8.0+repack1/src/tracking_mesh_I.h
Examining data/liggghts-3.8.0+repack1/src/tri_line.h
Examining data/liggghts-3.8.0+repack1/src/tri_mesh.cpp
Examining data/liggghts-3.8.0+repack1/src/tri_mesh.h
Examining data/liggghts-3.8.0+repack1/src/tri_mesh_I.h
Examining data/liggghts-3.8.0+repack1/src/tri_mesh_I_superquadric.h
Examining data/liggghts-3.8.0+repack1/src/tri_mesh_deform.h
Examining data/liggghts-3.8.0+repack1/src/tri_mesh_planar.cpp
Examining data/liggghts-3.8.0+repack1/src/tri_mesh_planar.h
Examining data/liggghts-3.8.0+repack1/src/tri_mesh_planar_I.h
Examining data/liggghts-3.8.0+repack1/src/universe.cpp
Examining data/liggghts-3.8.0+repack1/src/universe.h
Examining data/liggghts-3.8.0+repack1/src/update.cpp
Examining data/liggghts-3.8.0+repack1/src/update.h
Examining data/liggghts-3.8.0+repack1/src/utils.h
Examining data/liggghts-3.8.0+repack1/src/variable.cpp
Examining data/liggghts-3.8.0+repack1/src/variable.h
Examining data/liggghts-3.8.0+repack1/src/vector_container.h
Examining data/liggghts-3.8.0+repack1/src/vector_liggghts.h
Examining data/liggghts-3.8.0+repack1/src/velocity.cpp
Examining data/liggghts-3.8.0+repack1/src/velocity.h
Examining data/liggghts-3.8.0+repack1/src/verlet.cpp
Examining data/liggghts-3.8.0+repack1/src/verlet.h
Examining data/liggghts-3.8.0+repack1/src/version.h
Examining data/liggghts-3.8.0+repack1/src/volume_mesh.h
Examining data/liggghts-3.8.0+repack1/src/volume_mesh_I.h
Examining data/liggghts-3.8.0+repack1/src/write_data.cpp
Examining data/liggghts-3.8.0+repack1/src/write_data.h
Examining data/liggghts-3.8.0+repack1/src/write_dump.cpp
Examining data/liggghts-3.8.0+repack1/src/write_dump.h
Examining data/liggghts-3.8.0+repack1/src/write_restart.cpp
Examining data/liggghts-3.8.0+repack1/src/write_restart.h

FINAL RESULTS:

data/liggghts-3.8.0+repack1/src/PASCAL/fix_pascal_couple.cpp:135:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(runDirectory,"%s", "pascal"); //TODO: add option to specify via parsing
data/liggghts-3.8.0+repack1/src/PASCAL/fix_pascal_couple.cpp:149:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(pascalFile, "./%s/%s", runDirectory, "in.pascal");  //TODO: add option to specify via parsing
data/liggghts-3.8.0+repack1/src/PASCAL/fix_pascal_couple.cpp:329:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(commandstr,"control run %g init %s",
data/liggghts-3.8.0+repack1/src/POEMS/fix_poems.cpp:1152:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Cannot open fix poems file %s",file);
data/liggghts-3.8.0+repack1/src/VORONOI/compute_voronoi_atom.cpp:95:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(radstr,&arg[iarg+1][2]);
data/liggghts-3.8.0+repack1/src/angle_hybrid.cpp:258:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(keywords[nstyles],arg[i]);
data/liggghts-3.8.0+repack1/src/atom.cpp:411:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",style,suffix);
data/liggghts-3.8.0+repack1/src/atom.cpp:414:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(atom_style,estyle);
data/liggghts-3.8.0+repack1/src/atom.cpp:418:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(atom_style,style);
data/liggghts-3.8.0+repack1/src/atom.cpp:436:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",style,suffix);
data/liggghts-3.8.0+repack1/src/atom.cpp:549: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(firstgroupname,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/atom.cpp:649: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(copy,line);
data/liggghts-3.8.0+repack1/src/atom.cpp:1663:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(iname[index],name);
data/liggghts-3.8.0+repack1/src/atom.cpp:1674:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(dname[index],name);
data/liggghts-3.8.0+repack1/src/atom.cpp:1799:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(padded,str);
data/liggghts-3.8.0+repack1/src/atom.cpp:1812:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(memstr,padded);
data/liggghts-3.8.0+repack1/src/atom_vec_hybrid.cpp:105:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(keywords[nstyles],arg[iarg]);
data/liggghts-3.8.0+repack1/src/atom_vec_hybrid.cpp:1065: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(allstyles[nallstyles],#key);       \
data/liggghts-3.8.0+repack1/src/bond_hybrid.cpp:256:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(keywords[nstyles],arg[i]);
data/liggghts-3.8.0+repack1/src/cfd_datacoupling.cpp:248:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(pullnames_[npull_],name);
data/liggghts-3.8.0+repack1/src/cfd_datacoupling.cpp:249:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(pulltypes_[npull_],type);
data/liggghts-3.8.0+repack1/src/cfd_datacoupling.cpp:282:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(pushnames_[npush_],name);
data/liggghts-3.8.0+repack1/src/cfd_datacoupling.cpp:283:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(pushtypes_[npush_],type);
data/liggghts-3.8.0+repack1/src/cfd_datacoupling_file.cpp:86:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(filepath,arg[iarg_]);
data/liggghts-3.8.0+repack1/src/cfd_datacoupling_file.cpp:214:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(file,name);
data/liggghts-3.8.0+repack1/src/cfd_datacoupling_file.cpp:219:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(file,filepath);
data/liggghts-3.8.0+repack1/src/cfd_datacoupling_file.cpp:220:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(file,name);
data/liggghts-3.8.0+repack1/src/change_box.cpp:416:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(str,"Lost atoms via change_box: original " BIGINT_FORMAT
data/liggghts-3.8.0+repack1/src/citeme.cpp:82: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.
  if (screen) fprintf(screen,cite_nagline);
data/liggghts-3.8.0+repack1/src/citeme.cpp:83: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.
  if (logfile) fprintf(logfile,cite_nagline);
data/liggghts-3.8.0+repack1/src/comm.cpp:1988: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(customfile,arg[iarg+2]);
data/liggghts-3.8.0+repack1/src/comm.cpp:2005: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(xyz,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/comm.cpp:2050:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(outfile,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/compute.cpp:79: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(id,arg[0]);
data/liggghts-3.8.0+repack1/src/compute.cpp:92: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(style,arg[2]);
data/liggghts-3.8.0+repack1/src/compute_atom_molecule.cpp:91:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/compute_atom_molecule.cpp:103:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(ids[nvalues],suffix);
data/liggghts-3.8.0+repack1/src/compute_displace_atom.cpp:76: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(id_fix,id);
data/liggghts-3.8.0+repack1/src/compute_group_group.cpp:88: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(group2,arg[iarg]);
data/liggghts-3.8.0+repack1/src/compute_msd.cpp:88: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(id_fix,id);
data/liggghts-3.8.0+repack1/src/compute_nparticles_tracer_region.cpp:114:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(fix_tracer_name_,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/compute_nparticles_tracer_region.cpp:125:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(idregion_count_,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/compute_pressure.cpp:86: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(id_temp,arg[iarg]);
data/liggghts-3.8.0+repack1/src/compute_pressure.cpp:318: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(id_temp,id_new);
data/liggghts-3.8.0+repack1/src/compute_reduce.cpp:92:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(idregion,arg[iarg]);
data/liggghts-3.8.0+repack1/src/compute_reduce.cpp:163:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/compute_reduce.cpp:175:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(ids[nvalues],suffix);
data/liggghts-3.8.0+repack1/src/compute_slice.cpp:93:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/compute_slice.cpp:105:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(ids[nvalues],suffix);
data/liggghts-3.8.0+repack1/src/container_base.cpp:99: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(id_,_id);
data/liggghts-3.8.0+repack1/src/container_base.cpp:155:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(id_,_id);
data/liggghts-3.8.0+repack1/src/container_base_I.h:185:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(_id,id_);
data/liggghts-3.8.0+repack1/src/create_atoms.cpp:130:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(seed_char, arg[2]);
data/liggghts-3.8.0+repack1/src/custom_value_tracker_I.h:70:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(errmsg,"Illegal command, features are incompatible - element property '%s' exists already",_id);
data/liggghts-3.8.0+repack1/src/custom_value_tracker_I.h:87:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(errmsg,"Illegal element property, comm or frame property not set correctly for property '%s'",_id);
data/liggghts-3.8.0+repack1/src/custom_value_tracker_I.h:152:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
         sprintf(errmsg,"Illegal command, features are incompatible - global property '%s' already exists",_id);
data/liggghts-3.8.0+repack1/src/custom_value_tracker_I.h:166:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
         sprintf(errmsg,"Illegal global property, comm or frame property not set correctly for property '%s'",_id);
data/liggghts-3.8.0+repack1/src/dihedral_hybrid.cpp:260:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(keywords[nstyles],arg[i]);
data/liggghts-3.8.0+repack1/src/displace_atoms.cpp:313:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(str,"Lost atoms via displace_atoms: original " BIGINT_FORMAT
data/liggghts-3.8.0+repack1/src/domain.cpp:1543: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(screen,format,
data/liggghts-3.8.0+repack1/src/domain.cpp:1555: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(logfile,format,
data/liggghts-3.8.0+repack1/src/dump.cpp:77: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(id,arg[0]);
data/liggghts-3.8.0+repack1/src/dump.cpp:84: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(style,arg[2]);
data/liggghts-3.8.0+repack1/src/dump.cpp:88: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(filename,arg[4]);
data/liggghts-3.8.0+repack1/src/dump.cpp:161:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(multiname,"%s%d%s",filename,me,ptr+1);
data/liggghts-3.8.0+repack1/src/dump.cpp:436:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(filecurrent,"%s" BIGINT_FORMAT "%s",
data/liggghts-3.8.0+repack1/src/dump.cpp:440:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(bif,BIGINT_FORMAT);
data/liggghts-3.8.0+repack1/src/dump.cpp:441:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(pad,"%%s%%0%d%s%%s",padflag,&bif[1]);
data/liggghts-3.8.0+repack1/src/dump.cpp:442:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(filecurrent,pad,filestar,update->ntimestep,ptr+1);
data/liggghts-3.8.0+repack1/src/dump.cpp:453:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(gzip,"gzip -6 > %s",filecurrent);
data/liggghts-3.8.0+repack1/src/dump.cpp:457:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      fp = popen(gzip,"w");
data/liggghts-3.8.0+repack1/src/dump.cpp:517: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(output->var_dump[idump],&arg[iarg+1][2]);
data/liggghts-3.8.0+repack1/src/dump.cpp:559:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(multiname,"%s%d%s",filename,icluster,ptr+1);
data/liggghts-3.8.0+repack1/src/dump.cpp:578: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(format_user,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/dump.cpp:613:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(multiname,"%s%d%s",filename,icluster,ptr+1);
data/liggghts-3.8.0+repack1/src/dump_atom_vtk.cpp:83: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(format_default,str);
data/liggghts-3.8.0+repack1/src/dump_atom_vtk.cpp:362:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(filecurrent,"%s" BIGINT_FORMAT "%s",
data/liggghts-3.8.0+repack1/src/dump_atom_vtk.cpp:366:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(bif,BIGINT_FORMAT);
data/liggghts-3.8.0+repack1/src/dump_atom_vtk.cpp:367:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(pad,"%%s%%0%d_%%d%s%%s",padflag,&bif[1]);
data/liggghts-3.8.0+repack1/src/dump_atom_vtk.cpp:368:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(filecurrent,pad,filename,comm->me,update->ntimestep,ptr+1);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:182:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(columns,arg[iarg]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:243: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(format,str);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:264:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(vformat[i],ptr);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:381: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(fp,BIGINT_FORMAT "\n",update->ntimestep);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:387: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(fp,BIGINT_FORMAT "\n",ndump);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:400: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(fp,BIGINT_FORMAT "\n",update->ntimestep);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:402: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(fp,BIGINT_FORMAT "\n",ndump);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:989:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        offset += sprintf(&sbuf[offset],vformat[j],static_cast<int> (mybuf[m]));
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:991:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        offset += sprintf(&sbuf[offset],vformat[j],mybuf[m]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:993:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        offset += sprintf(&sbuf[offset],vformat[j],typenames[(int) mybuf[m]]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1034:28:  [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 (vtype[j] == INT) fprintf(fp,vformat[j],static_cast<int> (mybuf[m]));
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1035:36:  [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 (vtype[j] == DOUBLE) fprintf(fp,vformat[j],mybuf[m]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1037: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(fp,vformat[j],typenames[(int) mybuf[m]]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1337:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1373:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1406:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1444: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(id_compute[ncompute],id);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1469: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(id_fix[nfix],id);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1498: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(id_variable[nvariable],id);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1517:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(idregion,arg[1]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1527:6:  [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(label,arg[1]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1545:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(typenames[itype],arg[itype]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1682:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[1][2]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1723:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[1][2]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1760:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[1][2]);
data/liggghts-3.8.0+repack1/src/dump_custom_vtk.cpp:256:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(tmp, filecurrent);
data/liggghts-3.8.0+repack1/src/dump_custom_vtk.cpp:265:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(domainfilecurrent,"%s_boundingBox%s",tmp,bbInsert);
data/liggghts-3.8.0+repack1/src/dump_custom_vtk.cpp:267:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(domainfilecurrent,"%sboundingBox_%s",tmp,bbInsert);
data/liggghts-3.8.0+repack1/src/dump_custom_vtk.cpp:381: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(label,arg[1]);
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:217:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(multiname_ex,"%s_%d%s",filename,me,ptr+1);
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:370:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(multiname_ex,"%s_%d%s",filename,id,ptr+1);
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:380: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(filecurrent, filestar);
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:389:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filecurrent,"%s" BIGINT_FORMAT "%s",
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:395:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(bif,BIGINT_FORMAT);
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:396:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(pad,"%%s%%0%d%s%%s",padflag,&bif[1]);
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:397:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(filecurrent,pad,filestar,update->ntimestep,ptr+1);
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:414:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filestar,"%s%s",filename,ptr+1);
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:426:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(parallelfilecurrent, filestar);
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:434:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(parallelfilecurrent,"%s" BIGINT_FORMAT "%s",
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:439:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(bif,BIGINT_FORMAT);
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:440:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(pad,"%%s%%0%d%s%%s",padflag,&bif[1]);
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:441:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                sprintf(parallelfilecurrent,pad,filestar,update->ntimestep,ptr+1);
data/liggghts-3.8.0+repack1/src/dump_image.cpp:208: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(thetastr,&arg[iarg+1][2]);
data/liggghts-3.8.0+repack1/src/dump_image.cpp:219: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(phistr,&arg[iarg+2][2]);
data/liggghts-3.8.0+repack1/src/dump_image.cpp:235: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(cxstr,&arg[iarg+2][2]);
data/liggghts-3.8.0+repack1/src/dump_image.cpp:241: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(cystr,&arg[iarg+3][2]);
data/liggghts-3.8.0+repack1/src/dump_image.cpp:247: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(czstr,&arg[iarg+4][2]);
data/liggghts-3.8.0+repack1/src/dump_image.cpp:257: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(upxstr,&arg[iarg+1][2]);
data/liggghts-3.8.0+repack1/src/dump_image.cpp:262: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(upystr,&arg[iarg+2][2]);
data/liggghts-3.8.0+repack1/src/dump_image.cpp:267: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(upzstr,&arg[iarg+3][2]);
data/liggghts-3.8.0+repack1/src/dump_image.cpp:276: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(zoomstr,&arg[iarg+1][2]);
data/liggghts-3.8.0+repack1/src/dump_image.cpp:290: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(perspstr,&arg[iarg+1][2]);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:122:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(columns,arg[iarg]);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:131: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(label,str);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:172: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(format,str);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:182:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(vformat[i],ptr);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:228:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(label,arg[1]);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:240: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(fp,BIGINT_FORMAT "\n",update->ntimestep);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:242: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(fp,BIGINT_FORMAT "\n",ndump);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:324:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        offset += sprintf(&sbuf[offset],vformat[j],static_cast<int> (mybuf[m]));
data/liggghts-3.8.0+repack1/src/dump_local.cpp:326:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        offset += sprintf(&sbuf[offset],vformat[j],mybuf[m]);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:358:28:  [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 (vtype[j] == INT) fprintf(fp,vformat[j],static_cast<int> (mybuf[m]));
data/liggghts-3.8.0+repack1/src/dump_local.cpp:359: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.
      else fprintf(fp,vformat[j],mybuf[m]);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:392:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:427:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:479: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(id_compute[ncompute],id);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:504: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(id_fix[nfix],id);
data/liggghts-3.8.0+repack1/src/dump_local_gran.cpp:650:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(idregion,arg[1]);
data/liggghts-3.8.0+repack1/src/dump_local_gran_vtk.cpp:276: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(label,arg[1]);
data/liggghts-3.8.0+repack1/src/dump_mesh.cpp:314:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(container_args_[n_container_bases_-1],arg[iarg++]);
data/liggghts-3.8.0+repack1/src/dump_mesh.cpp:459:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(scalar_container_names_[n_scalar_containers_],cid);
data/liggghts-3.8.0+repack1/src/dump_mesh.cpp:467:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(vector_container_names_[n_vector_containers_],cid);
data/liggghts-3.8.0+repack1/src/dump_mesh_stl.cpp:374: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(fp,format,
data/liggghts-3.8.0+repack1/src/dump_mesh_vtm.cpp:97:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(multiname_ex,"%s_%d%s",filename,me,ptr+1);
data/liggghts-3.8.0+repack1/src/dump_mesh_vtm.cpp:160:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(multiname_ex,"%s_%d%s",filename,id,ptr+1);
data/liggghts-3.8.0+repack1/src/dump_mesh_vtm.cpp:170: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(filecurrent, filestar);
data/liggghts-3.8.0+repack1/src/dump_mesh_vtm.cpp:179:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filecurrent,"%s" BIGINT_FORMAT "%s",
data/liggghts-3.8.0+repack1/src/dump_mesh_vtm.cpp:185:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(bif,BIGINT_FORMAT);
data/liggghts-3.8.0+repack1/src/dump_mesh_vtm.cpp:186:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(pad,"%%s%%0%d%s%%s",padflag,&bif[1]);
data/liggghts-3.8.0+repack1/src/dump_mesh_vtm.cpp:187:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(filecurrent,pad,filestar,update->ntimestep,ptr+1);
data/liggghts-3.8.0+repack1/src/dump_movie.cpp:84:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(moviecmd,"ffmpeg -v error -y -r %.2f -f image2pipe -c:v ppm -i - "
data/liggghts-3.8.0+repack1/src/dump_movie.cpp:93:10:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    fp = popen(moviecmd,"w");
data/liggghts-3.8.0+repack1/src/dump_movie.cpp:98:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Failed to open FFmpeg pipeline to file %s",filename);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:544:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:581:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:615:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:1870:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(id_compute[ncompute],id);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:1895:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(id_fix[nfix],id);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:1924:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(id_variable[nvariable],id);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:1944:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(idregion,arg[1]);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:1963:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(typenames[itype],arg[itype]);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:2094:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(suffix,&arg[1][2]);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:2132:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(suffix,&arg[1][2]);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:2166:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(suffix,&arg[1][2]);
data/liggghts-3.8.0+repack1/src/dump_vtk.cpp:410: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(filecurrent, filename);
data/liggghts-3.8.0+repack1/src/dump_vtk.cpp:420:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(filecurrent,"%s" BIGINT_FORMAT "%s",
data/liggghts-3.8.0+repack1/src/dump_vtk.cpp:426:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(bif,BIGINT_FORMAT);
data/liggghts-3.8.0+repack1/src/dump_vtk.cpp:427:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(pad,"%%s%%0%d%s%%s",padflag,&bif[1]);
data/liggghts-3.8.0+repack1/src/dump_vtk.cpp:428:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(filecurrent,pad,filename,lmp_->update->ntimestep,ptr+1);
data/liggghts-3.8.0+repack1/src/dump_xyz.cpp:77: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(format_default,str);
data/liggghts-3.8.0+repack1/src/dump_xyz.cpp:109: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(format,str);
data/liggghts-3.8.0+repack1/src/dump_xyz.cpp:153:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(typenames[itype],arg[itype]);
data/liggghts-3.8.0+repack1/src/dump_xyz.cpp:167: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(fp,BIGINT_FORMAT "\n",n);
data/liggghts-3.8.0+repack1/src/dump_xyz.cpp:212:15:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    offset += sprintf(&sbuf[offset],format,
data/liggghts-3.8.0+repack1/src/dump_xyz.cpp:241: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(fp,format,
data/liggghts-3.8.0+repack1/src/error.cpp:279:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(catstr,str);
data/liggghts-3.8.0+repack1/src/fix.cpp:80: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(id,arg[0]);
data/liggghts-3.8.0+repack1/src/fix.cpp:92: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(style,arg[2]);
data/liggghts-3.8.0+repack1/src/fix_adapt.cpp:124:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(adapt[nadapt].pstyle,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_adapt.cpp:127:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(adapt[nadapt].pparam,arg[iarg+2]);
data/liggghts-3.8.0+repack1/src/fix_adapt.cpp:135: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(adapt[nadapt].var,&arg[iarg+5][2]);
data/liggghts-3.8.0+repack1/src/fix_adapt.cpp:145: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(adapt[nadapt].var,&arg[iarg+1][2]);
data/liggghts-3.8.0+repack1/src/fix_adapt.cpp:164: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(adapt[nadapt].var,&arg[iarg+2][2]);
data/liggghts-3.8.0+repack1/src/fix_adapt.cpp:226:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(fixid,"adaptProp_%s",id);
data/liggghts-3.8.0+repack1/src/fix_addforce.cpp:85:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(xstr,&arg[3][2]);
data/liggghts-3.8.0+repack1/src/fix_addforce.cpp:93:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(ystr,&arg[4][2]);
data/liggghts-3.8.0+repack1/src/fix_addforce.cpp:101:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(zstr,&arg[5][2]);
data/liggghts-3.8.0+repack1/src/fix_addforce.cpp:122:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(idregion,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_addforce.cpp:129: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(estr,&arg[iarg+1][2]);
data/liggghts-3.8.0+repack1/src/fix_ave_atom.cpp:127:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/fix_ave_atom.cpp:139:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(ids[nvalues],suffix);
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:106:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:118:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(ids[nvalues],suffix);
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:169:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(str,"Cannot open fix ave/correlate file %s",arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:182:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(title1,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:189:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(title2,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:196:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(title3,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:506: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(fp,BIGINT_FORMAT " %d\n",ntimestep,nrepeat);
data/liggghts-3.8.0+repack1/src/fix_ave_euler.cpp:141:8:  [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(idregion_,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_euler.cpp:146:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf(errmsg,"unknown keyword or wrong keyword order: %s", arg[iarg]);
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:201:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:213:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(ids[nvalues],suffix);
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:231:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(ids[nvalues+icol],ids[nvalues]);
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:251:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(ids[nvalues+icol],ids[nvalues]);
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp: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(fp,BIGINT_FORMAT " %d %g %g %g %g\n",ntimestep,nbins,
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:961:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(str,"Cannot open fix ave/histo file %s",arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:1004:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(title1,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:1011:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(title2,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:1018:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(title3,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:173:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:185:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(ids[nvalues],suffix);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:234:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(idregion,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:243:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(str,"Cannot open fix ave/spatial file %s",arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:277:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(title1,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:284:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(title2,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:291:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(title3,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:302:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(str,"Cannot open fix ave/spatial file %s",arg[iarg+3]);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:888:19:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    if(write_ts_) fprintf(fp,BIGINT_FORMAT " %d\n",ntimestep,nbins);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:983: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(fp2,BIGINT_FORMAT " %g %d %g %d %d %d %d %g",
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:125:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:137:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(ids[nvalues],suffix);
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:155:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(ids[nvalues+icol],ids[nvalues]);
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:175:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(ids[nvalues+icol],ids[nvalues]);
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:664: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(fp,BIGINT_FORMAT,ntimestep);
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:807: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(fp,BIGINT_FORMAT " %d\n",ntimestep,nrows);
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:879:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(str,"Cannot open fix ave/time file %s",arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:920:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(title1,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:927:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(title2,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:934:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(title3,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_aveforce.cpp:83:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(xstr,&arg[3][2]);
data/liggghts-3.8.0+repack1/src/fix_aveforce.cpp:93:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(ystr,&arg[4][2]);
data/liggghts-3.8.0+repack1/src/fix_aveforce.cpp:103:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(zstr,&arg[5][2]);
data/liggghts-3.8.0+repack1/src/fix_aveforce.cpp:125:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(idregion,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_base_liggghts.cpp:94:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(idregion_,regid);
data/liggghts-3.8.0+repack1/src/fix_box_relax.cpp:349: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(id_temp,id);
data/liggghts-3.8.0+repack1/src/fix_box_relax.cpp:366: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(id_press,id);
data/liggghts-3.8.0+repack1/src/fix_box_relax.cpp:796:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(id_temp,arg[1]);
data/liggghts-3.8.0+repack1/src/fix_box_relax.cpp:827:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(id_press,arg[1]);
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.cpp:74: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(speciesName_,arg[iarg++]);
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.cpp:75:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(sourceName_,        "%sSource",speciesName_);
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.cpp:76:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(convectiveFluxName_,"%sFlux",speciesName_);
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.cpp:77:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(capacityName_,      "%sCapacity",speciesName_);
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.cpp:78:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(steName_,           "%sSTE",speciesName_);
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.cpp:79:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(totalFluxName_,     "%sTotalFlux",speciesName_);
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.cpp:80:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(speciesFluidName_,      "%sFluid",speciesName_);
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.cpp:81:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(speciesTransCoeffName_, "%sTransCoeff",speciesName_);
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_force.cpp:178:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(property_name,"%s",arg[iarg++]);
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_force.cpp:181:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(property_type,"%s",arg[iarg++]);
data/liggghts-3.8.0+repack1/src/fix_check_timestep_gran.cpp:121:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(errmsg,"unknown keyword or wrong keyword order: %s", arg[iarg]);
data/liggghts-3.8.0+repack1/src/fix_contact_history.cpp:121:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(variablename_,arg[iarg_]);
data/liggghts-3.8.0+repack1/src/fix_contact_history.cpp:158:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(history_id_[i],arg[iarg_++]);
data/liggghts-3.8.0+repack1/src/fix_contact_history_mesh.cpp:160:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(fix_nneighs_name,"n_neighs_mesh_%s",mesh_->mesh_id());
data/liggghts-3.8.0+repack1/src/fix_contact_property_atom.cpp:88:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(errmsg,"unknown keyword or wrong keyword order: %s", arg[iarg_]);
data/liggghts-3.8.0+repack1/src/fix_continuum_weighted.cpp:127:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(errmsg,"unknown keyword or wrong keyword order: %s", arg[iarg]);
data/liggghts-3.8.0+repack1/src/fix_continuum_weighted.cpp:248:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(fixid,"contactforces_stress_%s",(fwg->mesh_list())[imesh]->id);
data/liggghts-3.8.0+repack1/src/fix_continuum_weighted.cpp:261:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(fixid,"contactforces_stress_%s",fwg->id);
data/liggghts-3.8.0+repack1/src/fix_deform.cpp:170: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(set[index].hstr,&arg[iarg+2][2]);
data/liggghts-3.8.0+repack1/src/fix_deform.cpp:173: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(set[index].hratestr,&arg[iarg+3][2]);
data/liggghts-3.8.0+repack1/src/fix_deform.cpp:232: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(set[index].hstr,&arg[iarg+2][2]);
data/liggghts-3.8.0+repack1/src/fix_deform.cpp:235: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(set[index].hratestr,&arg[iarg+3][2]);
data/liggghts-3.8.0+repack1/src/fix_efield.cpp:82:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(xstr,&arg[3][2]);
data/liggghts-3.8.0+repack1/src/fix_efield.cpp:91:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(ystr,&arg[4][2]);
data/liggghts-3.8.0+repack1/src/fix_efield.cpp:100:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(zstr,&arg[5][2]);
data/liggghts-3.8.0+repack1/src/fix_fiber_spring_simple.cpp:117:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(group2,arg[4]);
data/liggghts-3.8.0+repack1/src/fix_gravity.cpp:94:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(mstr,&arg[3][2]);
data/liggghts-3.8.0+repack1/src/fix_gravity.cpp:107:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(vstr,&arg[5][2]);
data/liggghts-3.8.0+repack1/src/fix_gravity.cpp:120:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(pstr,&arg[5][2]);
data/liggghts-3.8.0+repack1/src/fix_gravity.cpp:129:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(tstr,&arg[6][2]);
data/liggghts-3.8.0+repack1/src/fix_gravity.cpp:142:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(xstr,&arg[5][2]);
data/liggghts-3.8.0+repack1/src/fix_gravity.cpp:151:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(ystr,&arg[6][2]);
data/liggghts-3.8.0+repack1/src/fix_gravity.cpp:160:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(zstr,&arg[7][2]);
data/liggghts-3.8.0+repack1/src/fix_heat_gran.cpp:233:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(emsg, "Fix %s does not implement cpl_evaluate().\n", mystyle);
data/liggghts-3.8.0+repack1/src/fix_heat_gran.cpp:244:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(emsg, "Fix %s does not implement register_compute_pair_local().\n", mystyle);
data/liggghts-3.8.0+repack1/src/fix_heat_gran.cpp:255:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(emsg, "Fix %s does not implement unregister_compute_pair_local().\n", mystyle);
data/liggghts-3.8.0+repack1/src/fix_insert.cpp:194:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(property_name,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_insert.cpp:467:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(errstr,"Fix %s, ID %s: Random number generation: It is required that all the random seeds of this fix insert/*, \n"
data/liggghts-3.8.0+repack1/src/fix_insert.cpp:727:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(msg,"Particle insertion on proc %d: sub-domain is smaller than the bounding radius of insert particles to insert: \nMax. bounding "
data/liggghts-3.8.0+repack1/src/fix_insert_pack.cpp:90:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(idregion,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_massflow_mesh.cpp:171:18:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                 sprintf(filecurrent,"%s%s%d",arg[iarg_+1],".",comm->me);
data/liggghts-3.8.0+repack1/src/fix_massflow_mesh.cpp:173:18:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                 sprintf(filecurrent,"%s",arg[iarg_+1]);
data/liggghts-3.8.0+repack1/src/fix_massflow_mesh.cpp:182:16:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
               sprintf(str,"Cannot open file %s",arg[iarg_+1]);
data/liggghts-3.8.0+repack1/src/fix_massflow_mesh.cpp:267:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(fixid_,"massflow_%s",id);
data/liggghts-3.8.0+repack1/src/fix_massflow_mesh.cpp:294:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(property_name,"counter_ms_%s",id);
data/liggghts-3.8.0+repack1/src/fix_massflow_mesh_sieve.cpp:154:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(fixidApplyForce_,"massflowSieve_%s",id);
data/liggghts-3.8.0+repack1/src/fix_mesh.cpp:115:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(mesh_fname,arg[iarg_++]);
data/liggghts-3.8.0+repack1/src/fix_mesh.cpp:411:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(str,"Cannot open mesh file %s. FYI: This file is required, but data will be taken from restart file",mesh_fname);
data/liggghts-3.8.0+repack1/src/fix_mesh.cpp:416:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(str,"INFO: mesh file (%s) is required, but data will be taken from restart file",mesh_fname);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:128:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(vSurfStrX_, &arg[iarg_++][2]);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:139:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(vSurfStrY_, &arg[iarg_++][2]);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:150:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(vSurfStrZ_, &arg[iarg_++][2]);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:181:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(omegaStr_, &arg[iarg_++][2]);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:220:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(errmsg,"unknown keyword or wrong keyword order: %s", arg[iarg_]);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:277:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(errmsg,"unknown keyword in style definition: %s (%s)", arg[2], line.c_str());
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:300:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(errormsg, "Conflicting mesh modules loaded: %s and %s\n", cur_restrict_map->first.c_str(), other_module->c_str());
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:318:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(errmsg,"unknown keyword or wrong keyword order: %s", arg[iarg_]);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:585:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(neighlist_name,"wall_neighlist_%s",id);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:632:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(neighlist_name,"neighlist_%s_%s",nId,id);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:662:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(neighlist_name,"neighlist_%s_%s",nId,id);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:694:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(contacthist_name,"tracker_%s",id);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:695:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(my_id,"%s",id);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:735:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(fixid,"contactforces_%s",id);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:736:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(propertyid,"contactforces_%s",id);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:766:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(fixid,"contactforces_stress_%s",id);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:767:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(propertyid,"contactforces_stress_%s",id);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:806:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(fixid,"multicontactData_%s",id);
data/liggghts-3.8.0+repack1/src/fix_move.cpp:154:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(xvarstr,&arg[4][2]);
data/liggghts-3.8.0+repack1/src/fix_move.cpp:160:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(yvarstr,&arg[5][2]);
data/liggghts-3.8.0+repack1/src/fix_move.cpp:166:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(zvarstr,&arg[6][2]);
data/liggghts-3.8.0+repack1/src/fix_move.cpp:172:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(vxvarstr,&arg[7][2]);
data/liggghts-3.8.0+repack1/src/fix_move.cpp:178:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(vyvarstr,&arg[8][2]);
data/liggghts-3.8.0+repack1/src/fix_move.cpp:184:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(vzvarstr,&arg[9][2]);
data/liggghts-3.8.0+repack1/src/fix_move_mesh.cpp:152:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(refpt_id, "REFPT_%s",id);
data/liggghts-3.8.0+repack1/src/fix_move_mesh.cpp:294:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(refpt_id, "REFPT_%s",id);
data/liggghts-3.8.0+repack1/src/fix_move_mesh.cpp:312:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(refpt_id, "REFPT_%s",id);
data/liggghts-3.8.0+repack1/src/fix_move_mesh.cpp:334:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(refpt_id, "REFPT_%s",id);
data/liggghts-3.8.0+repack1/src/fix_multicontact_halfspace.cpp:90:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(errmsg,"unknown keyword or wrong keyword order: %s", arg[iarg]);
data/liggghts-3.8.0+repack1/src/fix_multicontact_halfspace.cpp:181:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(fixid,"tracker_%s",(fwg->mesh_list())[imesh]->id);
data/liggghts-3.8.0+repack1/src/fix_multicontact_halfspace.cpp:183:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(fixid,"multicontactData_%s",(fwg->mesh_list())[imesh]->id);
data/liggghts-3.8.0+repack1/src/fix_multicontact_halfspace.cpp:197:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(fixid,"history_%s",fwg->id);
data/liggghts-3.8.0+repack1/src/fix_multicontact_halfspace.cpp:199:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(fixid,"multicontactData_%s",fwg->id);
data/liggghts-3.8.0+repack1/src/fix_multisphere.cpp:166:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(errmsg,"unknown keyword or wrong keyword order: %s", arg[iarg]);
data/liggghts-3.8.0+repack1/src/fix_multisphere.cpp:183:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(modarg[2],arg[1]); 
data/liggghts-3.8.0+repack1/src/fix_multisphere.cpp:1403:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(property_name,"counter_ms_%s",id_this);
data/liggghts-3.8.0+repack1/src/fix_multisphere_break.cpp:134:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(suffix, &arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/fix_multisphere_break.cpp:149:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(triggerName_, suffix);
data/liggghts-3.8.0+repack1/src/fix_multisphere_break.cpp:164:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(triggerFixName_,arg[iarg-1]);
data/liggghts-3.8.0+repack1/src/fix_neighlist_mesh.cpp:127:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(fix_nneighs_name_,"n_neighs_mesh_%s_fix_%s",mesh_->mesh_id(),id);
data/liggghts-3.8.0+repack1/src/fix_neighlist_mesh.cpp:130:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(fix_nneighs_name_,"n_neighs_mesh_%s",mesh_->mesh_id());
data/liggghts-3.8.0+repack1/src/fix_print.cpp:73: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(string,arg[4]);
data/liggghts-3.8.0+repack1/src/fix_print.cpp:94:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(str,"Cannot open fix print file %s",arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_print.cpp:110:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(title,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_print.cpp:167: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(copy,string);
data/liggghts-3.8.0+repack1/src/fix_property_atom.cpp:89:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(variablename,arg[3]);
data/liggghts-3.8.0+repack1/src/fix_property_atom.cpp:154:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(propertyname,prop);
data/liggghts-3.8.0+repack1/src/fix_property_atom.cpp:271:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(errmsg,"%s style required for fix property/atom variable %s for usage with caller %s",
data/liggghts-3.8.0+repack1/src/fix_property_atom.cpp:283:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(errmsg,"Fix property/atom variable %s has wrong length (length is %d but length %d expected) for usage with caller %s",
data/liggghts-3.8.0+repack1/src/fix_property_atom.cpp:374:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(errstr,"Property %s not found",propertyname);
data/liggghts-3.8.0+repack1/src/fix_property_atom_region_tracer.cpp:85:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(idreg,arg[iarg_]);
data/liggghts-3.8.0+repack1/src/fix_property_atom_region_tracer.cpp:110:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(tracer_name,id);
data/liggghts-3.8.0+repack1/src/fix_property_atom_tracer.cpp:79:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(tracer_name_,id);
data/liggghts-3.8.0+repack1/src/fix_property_atom_tracer.cpp:107:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(idregion_,arg[iarg_]);
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:81:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(variablename,arg[3]);
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:175:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(errstr,"Property %s is required to be symmetric",variablename);
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:225:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(errmsg,"%s style required for fix property/global variable %s for usage with %s",svmstyle,varname,caller);
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:236:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(errmsg,"Length not sufficient for variable %s for usage with %s",varname,caller);
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:260:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(errmsg,"Fix property/global: Length not correct for variable %s, length should be equal to %d (= number of atom types)",
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:266:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(errmsg,"Fix property/global: Length not correct for variable %s, length should be equal to %d ( = number of atom types * number of atom types)",
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:425:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(filename,arg[1]);
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:427:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(grpname,group->names[igroup]);
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:477: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(id_dilate,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:506:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(infile,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:2125:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Cannot open fix rigid infile %s",infile);
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:2222:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(outfile,"%s.rigid",file);
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:2226:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(str,"Cannot open fix rigid restart file %s",outfile);
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:115: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(equation_id,arg[iarg++]);
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:120: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(quantity_name,arg[iarg++]);
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:129: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(flux_name,arg[iarg++]);
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:134: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(source_name,arg[iarg++]);
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:142:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(capacity_name,arg[iarg++]);
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:175: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(fluid_name_,fluidName);
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:179: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(transCoeff_name_,transCoeffName);
data/liggghts-3.8.0+repack1/src/fix_setforce.cpp:83:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(xstr,&arg[3][2]);
data/liggghts-3.8.0+repack1/src/fix_setforce.cpp:93:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(ystr,&arg[4][2]);
data/liggghts-3.8.0+repack1/src/fix_setforce.cpp:103:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(zstr,&arg[5][2]);
data/liggghts-3.8.0+repack1/src/fix_setforce.cpp:125:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(idregion,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_sph_density_continuity.cpp:80:11:  [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(kernel_style,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_sph_density_corr.cpp:94:11:  [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(kernel_style,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_sph_density_summation.cpp:83:11:  [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(kernel_style,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_spring.cpp:105:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(group2,arg[4]);
data/liggghts-3.8.0+repack1/src/fix_store_state.cpp:240:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,&arg[iarg][2]);
data/liggghts-3.8.0+repack1/src/fix_store_state.cpp:252:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(ids[nvalues],suffix);
data/liggghts-3.8.0+repack1/src/fix_wall.cpp:117: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(xstr[nwall],&arg[iarg+1][2]);
data/liggghts-3.8.0+repack1/src/fix_wall.cpp:126: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(estr[nwall],&arg[iarg+2][2]);
data/liggghts-3.8.0+repack1/src/fix_wall.cpp:136: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(sstr[nwall],&arg[iarg+3][2]);
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:399:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
          strcat(wallforce_name,id);
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:422:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(fixid,"contactforces_%s",id);
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:423:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(ownid,"%s",id);
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:451:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(fixid,"contactforces_stress_%s",id);
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:452:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(ownid,"%s",id);
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:502:11:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
          strcat(hist_name,id);
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:655:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(fixid,"multicontactData_%s",id);
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:656:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(ownid,"%s",id);
data/liggghts-3.8.0+repack1/src/fix_wall_region.cpp:87: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(idregion,arg[3]);
data/liggghts-3.8.0+repack1/src/force.cpp:108: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(pair_style,str);
data/liggghts-3.8.0+repack1/src/force.cpp:110: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(bond_style,str);
data/liggghts-3.8.0+repack1/src/force.cpp:112: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(angle_style,str);
data/liggghts-3.8.0+repack1/src/force.cpp:114: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(dihedral_style,str);
data/liggghts-3.8.0+repack1/src/force.cpp:116: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(improper_style,str);
data/liggghts-3.8.0+repack1/src/force.cpp:118:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(kspace_style,str);
data/liggghts-3.8.0+repack1/src/force.cpp:184:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",style,suffix);
data/liggghts-3.8.0+repack1/src/force.cpp:187:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(pair_style,estyle);
data/liggghts-3.8.0+repack1/src/force.cpp:191:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(pair_style,style);
data/liggghts-3.8.0+repack1/src/force.cpp:209:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",style,suffix);
data/liggghts-3.8.0+repack1/src/force.cpp:212:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(pair_style,estyle);
data/liggghts-3.8.0+repack1/src/force.cpp:216:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(pair_style,style);
data/liggghts-3.8.0+repack1/src/force.cpp:230:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",style,suffix);
data/liggghts-3.8.0+repack1/src/force.cpp:261:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",style,suffix);
data/liggghts-3.8.0+repack1/src/force.cpp:345:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",style,suffix);
data/liggghts-3.8.0+repack1/src/force.cpp:348:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(bond_style,estyle);
data/liggghts-3.8.0+repack1/src/force.cpp:352:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(bond_style,style);
data/liggghts-3.8.0+repack1/src/force.cpp:365:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",style,suffix);
data/liggghts-3.8.0+repack1/src/force.cpp:420:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",style,suffix);
data/liggghts-3.8.0+repack1/src/force.cpp:423:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(angle_style,estyle);
data/liggghts-3.8.0+repack1/src/force.cpp:427:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(angle_style,style);
data/liggghts-3.8.0+repack1/src/force.cpp:440:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",style,suffix);
data/liggghts-3.8.0+repack1/src/force.cpp:481:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",style,suffix);
data/liggghts-3.8.0+repack1/src/force.cpp:484:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(dihedral_style,estyle);
data/liggghts-3.8.0+repack1/src/force.cpp:488:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(dihedral_style,style);
data/liggghts-3.8.0+repack1/src/force.cpp:501:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",style,suffix);
data/liggghts-3.8.0+repack1/src/force.cpp:543:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",style,suffix);
data/liggghts-3.8.0+repack1/src/force.cpp:546:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(improper_style,estyle);
data/liggghts-3.8.0+repack1/src/force.cpp:550:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(improper_style,style);
data/liggghts-3.8.0+repack1/src/force.cpp:563:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",style,suffix);
data/liggghts-3.8.0+repack1/src/force.cpp:604:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",arg[0],suffix);
data/liggghts-3.8.0+repack1/src/force.cpp:607:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(kspace_style,estyle);
data/liggghts-3.8.0+repack1/src/force.cpp:611:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(kspace_style,arg[0]);
data/liggghts-3.8.0+repack1/src/force.cpp:624:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",arg[0],suffix);
data/liggghts-3.8.0+repack1/src/global_properties.cpp:130:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf,"%s requires values between %g and %g \n",name,lo,hi);
data/liggghts-3.8.0+repack1/src/global_properties.cpp:166:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(buf,"%s requires values between %g and %g \n",name,lo,hi);
data/liggghts-3.8.0+repack1/src/global_properties.cpp:212:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf,"%s requires values between %g and %g \n",name,lo,hi);
data/liggghts-3.8.0+repack1/src/global_properties.cpp:1037:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(buffer,"%s > time-step size required",name);
data/liggghts-3.8.0+repack1/src/group.cpp:99: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(names[0],str);
data/liggghts-3.8.0+repack1/src/group.cpp:169:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(names[igroup],arg[0]);
data/liggghts-3.8.0+repack1/src/group.cpp:450:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(names[igroup],name);
data/liggghts-3.8.0+repack1/src/histogram.h:114:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(id_,_id);
data/liggghts-3.8.0+repack1/src/image.cpp:1181: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(username[icolor],name);
data/liggghts-3.8.0+repack1/src/improper_hybrid.cpp:260:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(keywords[nstyles],arg[i]);
data/liggghts-3.8.0+repack1/src/info.cpp:570:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(name_w_suffix,"%s/%s",name,lmp->suffix);
data/liggghts-3.8.0+repack1/src/info.cpp:607:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(name_w_suffix,"%s/%s",name,lmp->suffix);
data/liggghts-3.8.0+repack1/src/info.cpp:627:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(name_w_suffix,"%s/%s",name,lmp->suffix);
data/liggghts-3.8.0+repack1/src/info.cpp:647:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(name_w_suffix,"%s/%s",name,lmp->suffix);
data/liggghts-3.8.0+repack1/src/input.cpp:258:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Unknown command: %s",line);
data/liggghts-3.8.0+repack1/src/input.cpp:284:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Cannot open input script %s",filename);
data/liggghts-3.8.0+repack1/src/input.cpp:303: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(line,single);
data/liggghts-3.8.0+repack1/src/input.cpp:326:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(str,"Unknown command: %s",line);
data/liggghts-3.8.0+repack1/src/input.cpp:349: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(copy,line);
data/liggghts-3.8.0+repack1/src/input.cpp:513:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(str2,value);
data/liggghts-3.8.0+repack1/src/input.cpp:537: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(str,str2);
data/liggghts-3.8.0+repack1/src/input.cpp:712: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(line,arg[0]);
data/liggghts-3.8.0+repack1/src/input.cpp:757:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(commands[ncommands],arg[i]);
data/liggghts-3.8.0+repack1/src/input.cpp:790:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(line,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/input.cpp:816:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(commands[ncommands],arg[i]);
data/liggghts-3.8.0+repack1/src/input.cpp:858:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Cannot open input script %s",arg[0]);
data/liggghts-3.8.0+repack1/src/input.cpp:888:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(str,"Cannot open input script %s",arg[0]);
data/liggghts-3.8.0+repack1/src/input.cpp:900:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(labelstr,arg[1]);
data/liggghts-3.8.0+repack1/src/input.cpp:932:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(str,"Cannot open logfile %s",arg[0]);
data/liggghts-3.8.0+repack1/src/input.cpp:960:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(str,"Cannot open thermo log file %s",arg[0]);
data/liggghts-3.8.0+repack1/src/input.cpp:992: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(copy,line);
data/liggghts-3.8.0+repack1/src/input.cpp:1022:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(line,arg[0]);
data/liggghts-3.8.0+repack1/src/input.cpp:1047:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(str,"Cannot open print file %s",arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/input.cpp:1165:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(work,arg[0]);
data/liggghts-3.8.0+repack1/src/input.cpp:1168:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(work,arg[i]);
data/liggghts-3.8.0+repack1/src/input.cpp:1170:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if (me == 0) system(work);
data/liggghts-3.8.0+repack1/src/input.cpp:1728:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(lmp->suffix,arg[0]);
data/liggghts-3.8.0+repack1/src/input.cpp:1808: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(copy,line);
data/liggghts-3.8.0+repack1/src/input_mesh_tet.cpp:91:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Cannot open mesh file %s",filename);
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:104:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Cannot open mesh file %s",filename);
data/liggghts-3.8.0+repack1/src/input_multisphere.cpp:186:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Cannot open clump file %s",filename);
data/liggghts-3.8.0+repack1/src/lammps.cpp:229:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(suffix,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/lammps.cpp:354:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(str,"Cannot open input script %s",arg[inflag]);
data/liggghts-3.8.0+repack1/src/lammps.cpp:386:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
         sprintf(str,"%s.%d",arg[screenflag],universe->iworld);
data/liggghts-3.8.0+repack1/src/lammps.cpp:394:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(str,"%s.%d",arg[partscreenflag],universe->iworld);
data/liggghts-3.8.0+repack1/src/lammps.cpp:406:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
         sprintf(str,"%s.%d",arg[thermoflag],universe->iworld); 
data/liggghts-3.8.0+repack1/src/lammps.cpp:414:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
         sprintf(str,"%s.%d",arg[logflag],universe->iworld);
data/liggghts-3.8.0+repack1/src/lammps.cpp:417:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
         sprintf(str,"%s.%d",arg[thermoflag],universe->iworld); 
data/liggghts-3.8.0+repack1/src/lammps.cpp:426:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(str,"%s.%d",arg[partlogflag],universe->iworld);
data/liggghts-3.8.0+repack1/src/lammps.cpp:429:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(str,"%s.%d",arg[thermoflag],universe->iworld); 
data/liggghts-3.8.0+repack1/src/lammps.cpp:441:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(str,"Cannot open input script %s",arg[inflag]);
data/liggghts-3.8.0+repack1/src/lammps.cpp:552:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cmd,"read_restart %s\n",rfile);
data/liggghts-3.8.0+repack1/src/lammps.cpp:556:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cmd,"write_data %s\n",dfile);
data/liggghts-3.8.0+repack1/src/lammps.cpp:558:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cmd,"write_data %s tag_offset %d\n",dfile,tag_offset);
data/liggghts-3.8.0+repack1/src/memory.cpp:75:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(str,"Failed to allocate " BIGINT_FORMAT " bytes for array %s",
data/liggghts-3.8.0+repack1/src/memory.cpp:97:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(str,"Failed to reallocate " BIGINT_FORMAT " bytes for array %s.\n"
data/liggghts-3.8.0+repack1/src/memory.cpp:100:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(str,"Failed to reallocate " BIGINT_FORMAT " bytes for array %s",
data/liggghts-3.8.0+repack1/src/memory.cpp:124:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(str,"Cannot create/grow a vector/array of pointers for %s",name);
data/liggghts-3.8.0+repack1/src/mesh_module_stress_servo.cpp:170:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(sp_str_,&arg[iarg_][2]);
data/liggghts-3.8.0+repack1/src/mesh_module_stress_servo.cpp:693:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(sp_str_,&arg[1][2]);
data/liggghts-3.8.0+repack1/src/mesh_mover_linear.cpp:130:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(var1str_,&arg[1][2]);
data/liggghts-3.8.0+repack1/src/mesh_mover_linear.cpp:135:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(var2str_,&arg[2][2]);
data/liggghts-3.8.0+repack1/src/mesh_mover_linear.cpp:140:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(var3str_,&arg[3][2]);
data/liggghts-3.8.0+repack1/src/mesh_mover_rotation.cpp:171:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(var1str_,&arg[10][2]);
data/liggghts-3.8.0+repack1/src/modify.cpp:828:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",arg[2],suffix);
data/liggghts-3.8.0+repack1/src/modify.cpp:849:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(errmsg,"Invalid fix style: \"%s\"",arg[2]);
data/liggghts-3.8.0+repack1/src/modify.cpp:878:25:  [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 (screen) fprintf(screen,str,fix[ifix]->id,fix[ifix]->style);
data/liggghts-3.8.0+repack1/src/modify.cpp:879:26:  [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 (logfile) fprintf(logfile,str,fix[ifix]->id,fix[ifix]->style);
data/liggghts-3.8.0+repack1/src/modify.cpp:902: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.
        if (screen) fprintf(screen,str,fix[ifix]->id,fix[ifix]->style);
data/liggghts-3.8.0+repack1/src/modify.cpp:903:22:  [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 (logfile) fprintf(logfile,str,fix[ifix]->id,fix[ifix]->style);
data/liggghts-3.8.0+repack1/src/modify.cpp:1007:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(estyle,"%s/%s",arg[2],suffix);
data/liggghts-3.8.0+repack1/src/modify_liggghts.cpp:412:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(errmsg,"Could not locate a fix/property storing value(s) for %s as requested by %s.",varname,caller);
data/liggghts-3.8.0+repack1/src/multi_node_mesh_I.h:106:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(mesh_id_,_id);
data/liggghts-3.8.0+repack1/src/multi_node_mesh_parallel_I.h:582:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(errstr,"Mesh (id %s): All %d mesh elements have been lost / left the domain. \n"
data/liggghts-3.8.0+repack1/src/multi_node_mesh_parallel_I.h:595:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(errstr,"Mesh (id %s): %d mesh elements have been lost / left the domain. \n"
data/liggghts-3.8.0+repack1/src/multi_node_mesh_parallel_I.h:677:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(errstr,"Mesh (id %s): Mesh elements have been lost / left the domain. Please use "
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:92:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(str,
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:145:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(str,
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:218:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(str,
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:267:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(str,
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:356:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(str,
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:411:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(str,
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:521:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(str,
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:576:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(str,
data/liggghts-3.8.0+repack1/src/output.cpp:374:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(file,"%s" BIGINT_FORMAT "%s",restart1,ntimestep,ptr+1);
data/liggghts-3.8.0+repack1/src/output.cpp:482:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s" BIGINT_FORMAT "%s",restart1,ntimestep,ptr+1);
data/liggghts-3.8.0+repack1/src/output.cpp:702:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(var_thermo,&arg[0][2]);
data/liggghts-3.8.0+repack1/src/output.cpp:778:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(var_restart_single,&arg[0][2]);
data/liggghts-3.8.0+repack1/src/output.cpp:784:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(restart1,arg[1]);
data/liggghts-3.8.0+repack1/src/output.cpp:795:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(var_restart_double,&arg[0][2]);
data/liggghts-3.8.0+repack1/src/output.cpp:802:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(restart2a,arg[1]);
data/liggghts-3.8.0+repack1/src/output.cpp:805:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(restart2b,arg[2]);
data/liggghts-3.8.0+repack1/src/pair.cpp:1685: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(newpath,path);
data/liggghts-3.8.0+repack1/src/pair.cpp:1693:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(newpath,pot);
data/liggghts-3.8.0+repack1/src/pair_hybrid.cpp:269:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(keywords[nstyles],arg[iarg]);
data/liggghts-3.8.0+repack1/src/pair_sph.cpp:139: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(kernel_style,arg[iarg]);
data/liggghts-3.8.0+repack1/src/read_data.cpp:173: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(fix_header[nfix],arg[iarg+2]);
data/liggghts-3.8.0+repack1/src/read_data.cpp:177:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(fix_section[nfix],arg[iarg+3]);
data/liggghts-3.8.0+repack1/src/read_data.cpp:223:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(file,"%s" BIGINT_FORMAT "%s",arg[0],update->ntimestep,ptr+1);
data/liggghts-3.8.0+repack1/src/read_data.cpp:407:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Unknown identifier in data file: %s",keyword);
data/liggghts-3.8.0+repack1/src/read_data.cpp:515:11:  [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.
          sscanf(line,BIGINT_FORMAT,&atom->natoms);
data/liggghts-3.8.0+repack1/src/read_data.cpp:523:11:  [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.
          sscanf(line,BIGINT_FORMAT,&nellipsoids);
data/liggghts-3.8.0+repack1/src/read_data.cpp:527:11:  [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.
          sscanf(line,BIGINT_FORMAT,&nlines);
data/liggghts-3.8.0+repack1/src/read_data.cpp:529:40:  [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.
        else if (strstr(line,"bonds")) sscanf(line,BIGINT_FORMAT,&atom->nbonds);
data/liggghts-3.8.0+repack1/src/read_data.cpp:530:41:  [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.
        else if (strstr(line,"angles")) sscanf(line,BIGINT_FORMAT,&atom->nangles);
data/liggghts-3.8.0+repack1/src/read_data.cpp:531:44:  [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.
        else if (strstr(line,"dihedrals")) sscanf(line,BIGINT_FORMAT,
data/liggghts-3.8.0+repack1/src/read_data.cpp:533:44:  [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.
        else if (strstr(line,"impropers")) sscanf(line,BIGINT_FORMAT,
data/liggghts-3.8.0+repack1/src/read_data.cpp:562: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.
            sscanf(line,BIGINT_FORMAT,&natoms_add);
data/liggghts-3.8.0+repack1/src/read_data.cpp:641:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(str,"Unknown identifier in data file: %s",keyword);
data/liggghts-3.8.0+repack1/src/read_data.cpp:1449:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Unknown identifier in data file: %s",keyword);
data/liggghts-3.8.0+repack1/src/read_data.cpp:1505:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(gunzip,"gunzip -c %s",file);
data/liggghts-3.8.0+repack1/src/read_data.cpp:1506:10:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    fp = popen(gunzip,"r");
data/liggghts-3.8.0+repack1/src/read_data.cpp:1514:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(str,"Cannot open file %s",file);
data/liggghts-3.8.0+repack1/src/read_data.cpp:1571: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(keyword,&line[start]);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:218:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(files[i],str[i]);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:244:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(dirname,infile);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:245:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(filename,ptr+1);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:249:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(filename,infile);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:253: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(pattern,filename);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:265: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(begin,pattern);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:266: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(end,ptr+1);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:281:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(middle,&ep->d_name[nbegin]);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:290:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(files[nfile-1],"%s/%s%s%s",dirname,begin,middle,end);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:308:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(swapper,files[i+1]);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:309:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(files[i+1],files[i]);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:310:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(files[i],swapper);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:859:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(fieldlabel[i],arg[iarg+2]);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:878:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(readerstyle,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:128:10:  [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).
  } else strcpy(file,arg[0]);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:146:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(hfile,"%s%s%s",file,"base",ptr+1);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:152:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Cannot open restart file %s",hfile);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:263:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(perproc,"%s%d%s",file,iproc,ptr+1);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:268:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(str,"Cannot open restart file %s",perproc);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:419:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(dirname,infile);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:420:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(filename,ptr+1);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:424:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(filename,infile);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:433:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(pattern,"%s%s%s",filename,"base",ptr+1);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:435:10:  [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).
  } else strcpy(pattern,filename);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:447: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(begin,pattern);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:448: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(end,ptr+1);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:462:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(middle,&ep->d_name[nbegin]);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:474:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(outfile,"%s" BIGINT_FORMAT "%s",infile,maxnum,ptr+1);
data/liggghts-3.8.0+repack1/src/reader.cpp:76:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(gunzip,"gzip -c -d %s",file);
data/liggghts-3.8.0+repack1/src/reader.cpp:81:10:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    fp = popen(gunzip,"r");
data/liggghts-3.8.0+repack1/src/reader.cpp:91:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(str,"Cannot open file %s",file);
data/liggghts-3.8.0+repack1/src/reader_native.cpp:94:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  sscanf(line,BIGINT_FORMAT,&ntimestep);
data/liggghts-3.8.0+repack1/src/reader_native.cpp:108:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  sscanf(line,BIGINT_FORMAT,&natoms);
data/liggghts-3.8.0+repack1/src/reader_native.cpp:146:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  sscanf(line,BIGINT_FORMAT,&natoms);
data/liggghts-3.8.0+repack1/src/region.cpp:80: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(id,arg[0]);
data/liggghts-3.8.0+repack1/src/region.cpp:84: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(style,arg[1]);
data/liggghts-3.8.0+repack1/src/region.cpp:408: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(xstr,&arg[iarg+1][2]);
data/liggghts-3.8.0+repack1/src/region.cpp:415: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(ystr,&arg[iarg+2][2]);
data/liggghts-3.8.0+repack1/src/region.cpp:422: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(zstr,&arg[iarg+3][2]);
data/liggghts-3.8.0+repack1/src/region.cpp:433:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(tstr,&arg[iarg+1][2]);
data/liggghts-3.8.0+repack1/src/region_cylinder.cpp:90:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(rstr,&arg[5][2]);
data/liggghts-3.8.0+repack1/src/region_intersect.cpp:76:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(idsub[nregion],arg[iarg+3]);
data/liggghts-3.8.0+repack1/src/region_mesh_tet.cpp:455:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(errstr,"duplicate elements %d and %d in tet for region %s",i,iOverlap,id);
data/liggghts-3.8.0+repack1/src/region_sphere.cpp:75:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(rstr,&arg[5][2]);
data/liggghts-3.8.0+repack1/src/region_union.cpp:78:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(idsub[nregion],arg[iarg+3]);
data/liggghts-3.8.0+repack1/src/run.cpp:184:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(commands[ncommands],arg[i]);
data/liggghts-3.8.0+repack1/src/set.cpp:126: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(id,arg[1]);
data/liggghts-3.8.0+repack1/src/set.cpp:582:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(variablename,arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/set.cpp:1358: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(str,name);
data/liggghts-3.8.0+repack1/src/thermo.cpp:116: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(style,arg[0]);
data/liggghts-3.8.0+repack1/src/thermo.cpp:142:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(line,ONE);
data/liggghts-3.8.0+repack1/src/thermo.cpp:145:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(line,MULTI);
data/liggghts-3.8.0+repack1/src/thermo.cpp:153:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(line,arg[iarg]);
data/liggghts-3.8.0+repack1/src/thermo.cpp:185:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(format_multi,fformat_multi,&bigint_format[1]);
data/liggghts-3.8.0+repack1/src/thermo.cpp:190:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(format_bigint_one_def,"%%8%s",&bigint_format[1]);
data/liggghts-3.8.0+repack1/src/thermo.cpp:191:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(format_bigint_multi_def,"%%14%s",&bigint_format[1]);
data/liggghts-3.8.0+repack1/src/thermo.cpp:259:30:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    if (lineflag == ONELINE) sprintf(&format[i][n],"%s ",ptr);
data/liggghts-3.8.0+repack1/src/thermo.cpp:260:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    else sprintf(&format[i][n],"%-8s = %s ",keyword[i],ptr);
data/liggghts-3.8.0+repack1/src/thermo.cpp:319:16:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        loc += sprintf(&line[loc],"%14s ",keyword[i]);
data/liggghts-3.8.0+repack1/src/thermo.cpp:321:16:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        loc += sprintf(&line[loc],"%8s ",keyword[i]);
data/liggghts-3.8.0+repack1/src/thermo.cpp:375:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    loc = sprintf(&line[loc],format_multi,ntimestep,cpu);
data/liggghts-3.8.0+repack1/src/thermo.cpp:383:14:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      loc += sprintf(&line[loc],format[ifield],dvalue);
data/liggghts-3.8.0+repack1/src/thermo.cpp:385:14:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      loc += sprintf(&line[loc],format[ifield],ivalue);
data/liggghts-3.8.0+repack1/src/thermo.cpp:387:14:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      loc += sprintf(&line[loc],format[ifield],bivalue);
data/liggghts-3.8.0+repack1/src/thermo.cpp:442:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(str,
data/liggghts-3.8.0+repack1/src/thermo.cpp:451:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(str,
data/liggghts-3.8.0+repack1/src/thermo.cpp:511: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(format_int_user,arg[iarg+2]);
data/liggghts-3.8.0+repack1/src/thermo.cpp:520:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(format_bigint_user,"%s%s%s",format_int_user,
data/liggghts-3.8.0+repack1/src/thermo.cpp:527: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(format_float_user,arg[iarg+2]);
data/liggghts-3.8.0+repack1/src/thermo.cpp:535: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(format_user[i],arg[iarg+2]);
data/liggghts-3.8.0+repack1/src/thermo.cpp:734:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(id,&word[2]);
data/liggghts-3.8.0+repack1/src/thermo.cpp:831: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(keyword[nfield],key);
data/liggghts-3.8.0+repack1/src/thermo.cpp:853: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(id_compute[ncompute],id);
data/liggghts-3.8.0+repack1/src/thermo.cpp:867: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(id_fix[nfix],id);
data/liggghts-3.8.0+repack1/src/thermo.cpp:880: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(id_variable[nvariable],id);
data/liggghts-3.8.0+repack1/src/universe.cpp:76:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(version,"Version %s",LIGGGHTS_VERSION); 
data/liggghts-3.8.0+repack1/src/universe.cpp:252: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(universe_id,id);
data/liggghts-3.8.0+repack1/src/update.cpp:333: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(unit_style,style);
data/liggghts-3.8.0+repack1/src/update.cpp:350:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",arg[0],suffix);
data/liggghts-3.8.0+repack1/src/update.cpp:353:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(integrate_style,estyle);
data/liggghts-3.8.0+repack1/src/update.cpp:357:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(integrate_style,arg[0]);
data/liggghts-3.8.0+repack1/src/update.cpp:373:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(estyle,"%s/%s",style,suffix);
data/liggghts-3.8.0+repack1/src/update.cpp:425: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(minimize_style,arg[0]);
data/liggghts-3.8.0+repack1/src/variable.cpp:288:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(filename,"tmp.lammps.variable%s",universe->universe_id?universe->universe_id:"");
data/liggghts-3.8.0+repack1/src/variable.cpp:426: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(names[nvar],arg[0]);
data/liggghts-3.8.0+repack1/src/variable.cpp:527:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(filename_1,"tmp.lammps.variable%s",universe->universe_id?universe->universe_id:"");
data/liggghts-3.8.0+repack1/src/variable.cpp:528:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(filename_2,"tmp.lammps.variable.lock%s",universe->universe_id?universe->universe_id:"");
data/liggghts-3.8.0+repack1/src/variable.cpp:593:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(result,padstr,which[ivar]+1);
data/liggghts-3.8.0+repack1/src/variable.cpp:598:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(data[ivar][0],result);
data/liggghts-3.8.0+repack1/src/variable.cpp:607:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(data[ivar][1],result);
data/liggghts-3.8.0+repack1/src/variable.cpp:615:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(data[ivar][1],result);
data/liggghts-3.8.0+repack1/src/variable.cpp:798:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(to[i],from[i]);
data/liggghts-3.8.0+repack1/src/variable.cpp:938: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(id,&word[2]);
data/liggghts-3.8.0+repack1/src/variable.cpp:1153: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(id,&word[2]);
data/liggghts-3.8.0+repack1/src/variable.cpp:1324: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(id,&word[2]);
data/liggghts-3.8.0+repack1/src/variable.cpp:2515: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(arg1,contents);
data/liggghts-3.8.0+repack1/src/variable.cpp:2520:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(arg2,ptr1+1);
data/liggghts-3.8.0+repack1/src/variable.cpp:2526:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(arg3,ptr2+1);
data/liggghts-3.8.0+repack1/src/variable.cpp:2878: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(arg1,contents);
data/liggghts-3.8.0+repack1/src/variable.cpp:2883:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(arg2,ptr1+1);
data/liggghts-3.8.0+repack1/src/variable.cpp:2889:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(arg3,ptr2+1);
data/liggghts-3.8.0+repack1/src/variable.cpp:3150: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(arg1,contents);
data/liggghts-3.8.0+repack1/src/variable.cpp:3155:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(arg2,ptr1+1);
data/liggghts-3.8.0+repack1/src/variable.cpp:3161:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(arg3,ptr2+1);
data/liggghts-3.8.0+repack1/src/variable.cpp:3883:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(id,&word[2]);
data/liggghts-3.8.0+repack1/src/variable.cpp:3901: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(id,&word[2]);
data/liggghts-3.8.0+repack1/src/variable.cpp:3937:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Cannot open file variable file %s",file);
data/liggghts-3.8.0+repack1/src/variable.cpp:3957:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(id_fix,name);
data/liggghts-3.8.0+repack1/src/velocity.cpp:184:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(xstr,&arg[0][2]);
data/liggghts-3.8.0+repack1/src/velocity.cpp:191:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(ystr,&arg[1][2]);
data/liggghts-3.8.0+repack1/src/velocity.cpp:198:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(zstr,&arg[2][2]);
data/liggghts-3.8.0+repack1/src/velocity.cpp:347:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(xstr,&arg[0][2]);
data/liggghts-3.8.0+repack1/src/velocity.cpp:354:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(ystr,&arg[1][2]);
data/liggghts-3.8.0+repack1/src/velocity.cpp:361:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(zstr,&arg[2][2]);
data/liggghts-3.8.0+repack1/src/write_data.cpp:102:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s" BIGINT_FORMAT "%s",arg[0],update->ntimestep,ptr+1);
data/liggghts-3.8.0+repack1/src/write_data.cpp:103:10:  [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).
  } else strcpy(file,arg[0]);
data/liggghts-3.8.0+repack1/src/write_data.cpp:206:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Cannot open data file %s",file);
data/liggghts-3.8.0+repack1/src/write_data.cpp:253: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(fp,BIGINT_FORMAT " atoms\n",atom->natoms);
data/liggghts-3.8.0+repack1/src/write_data.cpp:257: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(fp,BIGINT_FORMAT " bonds\n",nbonds);
data/liggghts-3.8.0+repack1/src/write_data.cpp:261: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(fp,BIGINT_FORMAT " angles\n",nangles);
data/liggghts-3.8.0+repack1/src/write_data.cpp:265: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(fp,BIGINT_FORMAT " dihedrals\n",atom->ndihedrals);
data/liggghts-3.8.0+repack1/src/write_data.cpp:269: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(fp,BIGINT_FORMAT " impropers\n",atom->nimpropers);
data/liggghts-3.8.0+repack1/src/write_restart.cpp:132:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s" BIGINT_FORMAT "%s",arg[0],update->ntimestep,ptr+1);
data/liggghts-3.8.0+repack1/src/write_restart.cpp:133:10:  [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).
  } else strcpy(file,arg[0]);
data/liggghts-3.8.0+repack1/src/write_restart.cpp:241:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(hfile,"%s%s%s",file,"base",ptr+1);
data/liggghts-3.8.0+repack1/src/write_restart.cpp:247:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Cannot open restart file %s",hfile);
data/liggghts-3.8.0+repack1/src/write_restart.cpp:384:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(perproc,"%s%d%s",file,me,ptr+1);
data/liggghts-3.8.0+repack1/src/write_restart.cpp:389:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(str,"Cannot open restart file %s",perproc);
data/liggghts-3.8.0+repack1/src/comm.cpp:143:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (getenv("OMP_NUM_THREADS") == NULL) {
data/liggghts-3.8.0+repack1/src/create_atoms.cpp:470:10:  [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.
  delete random;
data/liggghts-3.8.0+repack1/src/displace_atoms.cpp:221:12:  [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.
    delete random;
data/liggghts-3.8.0+repack1/src/error_special.h:108:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand (time(NULL));
data/liggghts-3.8.0+repack1/src/fix_insert.cpp:346:10:  [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.
  delete random;
data/liggghts-3.8.0+repack1/src/fix_insert.h:173:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  class RanPark *random;
data/liggghts-3.8.0+repack1/src/fix_insert_pack.cpp:449:53:  [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.
                MathExtraLiggghts::random_unit_quat(random,quat_insert);
data/liggghts-3.8.0+repack1/src/fix_insert_pack.cpp:497:57:  [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.
                    MathExtraLiggghts::random_unit_quat(random,quat_insert);
data/liggghts-3.8.0+repack1/src/fix_insert_stream.cpp:705:61:  [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.
                        MathExtraLiggghts::random_unit_quat(random,quat_insert);
data/liggghts-3.8.0+repack1/src/fix_insert_stream.cpp:740:61:  [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.
                        MathExtraLiggghts::random_unit_quat(random,quat_insert);
data/liggghts-3.8.0+repack1/src/fix_particledistribution_discrete.cpp:256:12:  [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.
    delete random;
data/liggghts-3.8.0+repack1/src/fix_particledistribution_discrete.h:132:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  class RanPark *random;
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:97:3:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  random(NULL)
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:584:10:  [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.
  delete random;
data/liggghts-3.8.0+repack1/src/fix_rigid.h:168:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  class RanMars *random;
data/liggghts-3.8.0+repack1/src/image.cpp:169:7:  [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.
  if (random) delete random;
data/liggghts-3.8.0+repack1/src/image.cpp:169:22:  [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.
  if (random) delete random;
data/liggghts-3.8.0+repack1/src/image.cpp:1920:10:  [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.
    if (!random)
data/liggghts-3.8.0+repack1/src/image.h:150:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  class RanMars *random;
data/liggghts-3.8.0+repack1/src/math_extra_liggghts.h:113:52:  [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.
  inline void random_unit_quat(LAMMPS_NS::RanPark *random,double *quat);
data/liggghts-3.8.0+repack1/src/math_extra_liggghts.h:592:62:  [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.
void MathExtraLiggghts::random_unit_quat(LAMMPS_NS::RanPark *random,double *quat)
data/liggghts-3.8.0+repack1/src/pair.cpp:1675:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *path = getenv("LAMMPS_POTENTIALS");
data/liggghts-3.8.0+repack1/src/region.cpp:108:7:  [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.
  if (random) delete random;
data/liggghts-3.8.0+repack1/src/region.cpp:108:22:  [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.
  if (random) delete random;
data/liggghts-3.8.0+repack1/src/region.cpp:457:8:  [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.
  if (!random)
data/liggghts-3.8.0+repack1/src/region.h:136:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  class RanPark *random;
data/liggghts-3.8.0+repack1/src/set.cpp:1248:10:  [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.
  delete random;
data/liggghts-3.8.0+repack1/src/variable.cpp:610:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char *result = getenv(data[ivar][0]);
data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_bond.cpp:774:17:  [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).
  tag[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_bond.cpp:778: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).
  molecule[nlocal] = atoi(values[1]);
data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_bond.cpp:780:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  type[nlocal] = atoi(values[2]);
data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_bond.cpp:806: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).
  molecule[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_full.cpp:977:17:  [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).
  tag[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_full.cpp:981: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).
  molecule[nlocal] = atoi(values[1]);
data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_full.cpp:983:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  type[nlocal] = atoi(values[2]);
data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_full.cpp:1014: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).
  molecule[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_molecular.cpp:960:17:  [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).
  tag[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_molecular.cpp:964: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).
  molecule[nlocal] = atoi(values[1]);
data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_molecular.cpp:966:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  type[nlocal] = atoi(values[2]);
data/liggghts-3.8.0+repack1/src/MOLECULE/atom_vec_molecular.cpp:995: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).
  molecule[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/PASCAL/fix_pascal_couple.cpp:257: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(map_copy,&(atom->get_map_array()[1]),length*sizeof(int)); //offset by one in LIGGGHTS!
data/liggghts-3.8.0+repack1/src/PASCAL/fix_pascal_couple.cpp:328:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char commandstr[200];
data/liggghts-3.8.0+repack1/src/POEMS/fix_poems.cpp:1149:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(file,"r");
data/liggghts-3.8.0+repack1/src/POEMS/fix_poems.cpp:1151:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[128];
data/liggghts-3.8.0+repack1/src/POEMS/fix_poems.cpp:1176:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      id = atoi(ptr);
data/liggghts-3.8.0+repack1/src/STUBS/mpi.c:89: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(name,host,len+1);
data/liggghts-3.8.0+repack1/src/STUBS/mpi.c:330: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(recvbuf,sendbuf,n);
data/liggghts-3.8.0+repack1/src/STUBS/mpi.c:352: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(recvbuf,sendbuf,n);
data/liggghts-3.8.0+repack1/src/STUBS/mpi.c:372: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(recvbuf,sendbuf,n);
data/liggghts-3.8.0+repack1/src/STUBS/mpi.c:394: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(recvbuf,sendbuf,n);
data/liggghts-3.8.0+repack1/src/STUBS/mpi.c:416: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(recvbuf,sendbuf,n);
data/liggghts-3.8.0+repack1/src/STUBS/mpi.c:437: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(recvbuf,sendbuf,n);
data/liggghts-3.8.0+repack1/src/STUBS/mpi.c:459: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(recvbuf,sendbuf,n);
data/liggghts-3.8.0+repack1/src/STUBS/mpi.c:481: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(recvbuf,sendbuf,n);
data/liggghts-3.8.0+repack1/src/STUBS/mpi.c:503: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(recvbuf,sendbuf,n);
data/liggghts-3.8.0+repack1/src/VORONOI/compute_voronoi_atom.cpp:113:17:  [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).
      maxedge = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/atom.cpp:410:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/atom.cpp:435:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/atom.cpp:753: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).
      imagedata = ((tagint) (atoi(values[iptr]) + IMGMAX) & IMGMASK) |
data/liggghts-3.8.0+repack1/src/atom.cpp:754: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).
        (((tagint) (atoi(values[iptr+1]) + IMGMAX) & IMGMASK) << IMGBITS) |
data/liggghts-3.8.0+repack1/src/atom.cpp:755: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).
        (((tagint) (atoi(values[iptr+2]) + IMGMAX) & IMGMASK) << IMG2BITS);
data/liggghts-3.8.0+repack1/src/atom.cpp:811: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).
    tagdata = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom.cpp:854: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).
    tagdata = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom.cpp:887:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    if (i == 0) tagdata = atoi(strtok(buf," \t\n\r\f"));
data/liggghts-3.8.0+repack1/src/atom.cpp:888:20:  [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).
    else tagdata = atoi(strtok(NULL," \t\n\r\f"));
data/liggghts-3.8.0+repack1/src/atom.cpp:889:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ninteger = atoi(strtok(NULL," \t\n\r\f"));
data/liggghts-3.8.0+repack1/src/atom.cpp:890: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).
    ndouble = atoi(strtok(NULL," \t\n\r\f"));
data/liggghts-3.8.0+repack1/src/atom_vec_atomic.cpp:648:17:  [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).
  tag[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom_vec_atomic.cpp:652:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  type[nlocal] = atoi(values[1]);
data/liggghts-3.8.0+repack1/src/atom_vec_charge.cpp:699:17:  [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).
  tag[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom_vec_charge.cpp:703:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  type[nlocal] = atoi(values[1]);
data/liggghts-3.8.0+repack1/src/atom_vec_ellipsoid.cpp:206:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&bonus[j],&bonus[i],sizeof(Bonus));
data/liggghts-3.8.0+repack1/src/atom_vec_ellipsoid.cpp:1177:17:  [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).
  tag[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom_vec_ellipsoid.cpp:1181:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  type[nlocal] = atoi(values[1]);
data/liggghts-3.8.0+repack1/src/atom_vec_ellipsoid.cpp:1185:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ellipsoid[nlocal] = atoi(values[2]);
data/liggghts-3.8.0+repack1/src/atom_vec_ellipsoid.cpp:1218:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ellipsoid[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom_vec_full.cpp:977:17:  [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).
  tag[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom_vec_full.cpp:981: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).
  molecule[nlocal] = atoi(values[1]);
data/liggghts-3.8.0+repack1/src/atom_vec_full.cpp:983:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  type[nlocal] = atoi(values[2]);
data/liggghts-3.8.0+repack1/src/atom_vec_full.cpp:1014: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).
  molecule[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom_vec_hybrid.cpp:899:17:  [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).
  tag[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom_vec_hybrid.cpp:903:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  type[nlocal] = atoi(values[1]);
data/liggghts-3.8.0+repack1/src/atom_vec_line.cpp:216: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(&bonus[j],&bonus[i],sizeof(Bonus));
data/liggghts-3.8.0+repack1/src/atom_vec_line.cpp:1034:17:  [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).
  tag[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom_vec_line.cpp:1038: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).
  molecule[nlocal] = atoi(values[1]);
data/liggghts-3.8.0+repack1/src/atom_vec_line.cpp:1040:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  type[nlocal] = atoi(values[2]);
data/liggghts-3.8.0+repack1/src/atom_vec_line.cpp:1044:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  line[nlocal] = atoi(values[3]);
data/liggghts-3.8.0+repack1/src/atom_vec_line.cpp:1077: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).
  molecule[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom_vec_line.cpp:1079:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  line[nlocal] = atoi(values[1]);
data/liggghts-3.8.0+repack1/src/atom_vec_molecular.cpp:960:17:  [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).
  tag[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom_vec_molecular.cpp:964: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).
  molecule[nlocal] = atoi(values[1]);
data/liggghts-3.8.0+repack1/src/atom_vec_molecular.cpp:966:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  type[nlocal] = atoi(values[2]);
data/liggghts-3.8.0+repack1/src/atom_vec_molecular.cpp:995: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).
  molecule[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom_vec_sphere.cpp:1060:17:  [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).
  tag[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom_vec_sphere.cpp:1064:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  type[nlocal] = atoi(values[1]);
data/liggghts-3.8.0+repack1/src/atom_vec_superquadric.cpp:1155:17:  [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).
  tag[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom_vec_superquadric.cpp:1159:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  type[nlocal] = atoi(values[1]);
data/liggghts-3.8.0+repack1/src/atom_vec_tri.cpp:218: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(&bonus[j],&bonus[i],sizeof(Bonus));
data/liggghts-3.8.0+repack1/src/atom_vec_tri.cpp:1385:17:  [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).
  tag[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom_vec_tri.cpp:1389: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).
  molecule[nlocal] = atoi(values[1]);
data/liggghts-3.8.0+repack1/src/atom_vec_tri.cpp:1391:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  type[nlocal] = atoi(values[2]);
data/liggghts-3.8.0+repack1/src/atom_vec_tri.cpp:1395:17:  [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).
  tri[nlocal] = atoi(values[3]);
data/liggghts-3.8.0+repack1/src/atom_vec_tri.cpp:1428: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).
  molecule[nlocal] = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/atom_vec_tri.cpp:1430:17:  [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).
  tri[nlocal] = atoi(values[1]);
data/liggghts-3.8.0+repack1/src/change_box.cpp:415:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[512];
data/liggghts-3.8.0+repack1/src/citeme.cpp:99:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen("log.cite","w");
data/liggghts-3.8.0+repack1/src/cohesion_model_easo_capillary_viscous.h:141:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char initstr[200];
data/liggghts-3.8.0+repack1/src/cohesion_model_easo_capillary_viscous.h:142:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(initstr,"%e",surfaceLiquidContentInitial);
data/liggghts-3.8.0+repack1/src/cohesion_model_easo_capillary_viscous.h:144:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char * newarg[15];
data/liggghts-3.8.0+repack1/src/cohesion_model_washino_capillary_viscous.h:169:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char initstr[200];
data/liggghts-3.8.0+repack1/src/cohesion_model_washino_capillary_viscous.h:170:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(initstr,"%e",surfaceLiquidContentInitial);
data/liggghts-3.8.0+repack1/src/cohesion_model_washino_capillary_viscous.h:172:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char * newarg[15];
data/liggghts-3.8.0+repack1/src/comm.cpp:1678:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buf,inbuf,nbytes);
data/liggghts-3.8.0+repack1/src/comm.cpp:1691:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(buf,bufcopy,nbytes);
data/liggghts-3.8.0+repack1/src/comm.cpp:1696:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if (outbuf) memcpy(outbuf,buf,nbytes);
data/liggghts-3.8.0+repack1/src/comm.h: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 xyz[4];                      // xyz mapping of procs to 3d grid
data/liggghts-3.8.0+repack1/src/compute_atom_molecule.cpp:97:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        argindex[nvalues] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/compute_cna_atom.cpp:223:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[512];
data/liggghts-3.8.0+repack1/src/compute_cna_atom.cpp:224:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(str,"Too many neighbors in CNA for %d atoms",nerrorall);
data/liggghts-3.8.0+repack1/src/compute_cna_atom.cpp:384:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[512];
data/liggghts-3.8.0+repack1/src/compute_cna_atom.cpp:385:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(str,"Too many common neighbors in CNA %d times",nerrorall);
data/liggghts-3.8.0+repack1/src/compute_displace_atom.cpp: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(id_fix,"_COMPUTE_STORE");
data/liggghts-3.8.0+repack1/src/compute_displace_atom.cpp:79:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *newarg[5];
data/liggghts-3.8.0+repack1/src/compute_erotate.cpp:122:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char **carg = new char * [cnargs];
data/liggghts-3.8.0+repack1/src/compute_erotate.cpp:140:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char **carg = new char * [cnargs];
data/liggghts-3.8.0+repack1/src/compute_erotate.cpp:158:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char **carg = new char * [cnargs];
data/liggghts-3.8.0+repack1/src/compute_group_group.cpp:168:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[512];
data/liggghts-3.8.0+repack1/src/compute_group_group.cpp:169:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(str,"Both groups in compute group/group have a net charge; "
data/liggghts-3.8.0+repack1/src/compute_msd.cpp:89: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(id_fix,"_COMPUTE_STORE");
data/liggghts-3.8.0+repack1/src/compute_nparticles_tracer_region.cpp:91: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).
            else image_no_ = atoi(arg[iarg]);
data/liggghts-3.8.0+repack1/src/compute_reduce.cpp:169:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        argindex[nvalues] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/compute_reduce.cpp:194:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int col1 = atoi(arg[iarg+1]) - 1;
data/liggghts-3.8.0+repack1/src/compute_reduce.cpp:195:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int col2 = atoi(arg[iarg+2]) - 1;
data/liggghts-3.8.0+repack1/src/compute_rigid.cpp:78:20:  [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).
      id_single_ = atoi(arg[iarg++]);
data/liggghts-3.8.0+repack1/src/compute_slice.cpp:99:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        argindex[nvalues] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/displace_atoms.cpp:312:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[512];
data/liggghts-3.8.0+repack1/src/dump.cpp:439:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char bif[8],pad[16];
data/liggghts-3.8.0+repack1/src/dump.cpp:452:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char gzip[128];
data/liggghts-3.8.0+repack1/src/dump.cpp:463:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen(filecurrent,"wb");
data/liggghts-3.8.0+repack1/src/dump.cpp:466:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen(filecurrent,"a");
data/liggghts-3.8.0+repack1/src/dump.cpp:468:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen(filecurrent,"w");
data/liggghts-3.8.0+repack1/src/dump.h:112:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char boundstr[9];          // encoding of boundary flags
data/liggghts-3.8.0+repack1/src/dump_atom_vtk.cpp:365:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char bif[8],pad[16];
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:169:26:  [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.
    if (vtype[i] == INT) strcat(format_default,"%d ");
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:170:34:  [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.
    else if (vtype[i] == DOUBLE) strcat(format_default,"%g ");
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:171:34:  [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.
    else if (vtype[i] == STRING) strcat(format_default,"%s ");
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1343:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        argindex[i] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1379:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        argindex[i] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1688:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        argindex[nfield+nthresh] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1729:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        argindex[nfield+nthresh] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:265: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).
                int ts = atoi(nr.c_str());
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:276:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            pvdFile.open(pvdFname.c_str(), std::fstream::out);
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:394:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char bif[8],pad[16];
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:438:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char bif[8],pad[16];
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:510:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        configFile.open(config_fname.c_str(), std::fstream::out);
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:558:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        pvdFile.open(pvdFname.c_str(), std::fstream::out);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:110:43:  [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.
    if (vtype[i] == INT) format_default = strcat(format_default,"%d ");
data/liggghts-3.8.0+repack1/src/dump_local.cpp:111:27:  [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.
    else format_default = strcat(format_default,"%g ");
data/liggghts-3.8.0+repack1/src/dump_local.cpp:398:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        argindex[i] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:433:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        argindex[i] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/dump_mesh.cpp:444:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cid[200];
data/liggghts-3.8.0+repack1/src/dump_mesh_stl.cpp:196: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(format,"  facet normal %g %g %g\n");
data/liggghts-3.8.0+repack1/src/dump_mesh_stl.cpp:197: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(format,"    outer loop\n");
data/liggghts-3.8.0+repack1/src/dump_mesh_stl.cpp:198: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(format,"      vertex %g %g %g\n");
data/liggghts-3.8.0+repack1/src/dump_mesh_stl.cpp:199: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(format,"      vertex %g %g %g\n");
data/liggghts-3.8.0+repack1/src/dump_mesh_stl.cpp:200: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(format,"      vertex %g %g %g\n");
data/liggghts-3.8.0+repack1/src/dump_mesh_stl.cpp:201: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(format,"    endloop\n");
data/liggghts-3.8.0+repack1/src/dump_mesh_stl.cpp:202: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(format,"  endfacet\n");
data/liggghts-3.8.0+repack1/src/dump_mesh_stl.cpp:228: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(header,"STL File written by LIGGGHTS");
data/liggghts-3.8.0+repack1/src/dump_mesh_vtm.cpp:184:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char bif[8],pad[16];
data/liggghts-3.8.0+repack1/src/dump_movie.cpp: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 moviecmd[1024];
data/liggghts-3.8.0+repack1/src/dump_movie.cpp:97:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[512];
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:551:46:  [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).
                    argindex[ATTRIBUTES+i] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:587:46:  [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).
                    argindex[ATTRIBUTES+i] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:2100:55:  [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).
                argindex[ATTRIBUTES+nfield+nthresh] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:2138:55:  [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).
                argindex[ATTRIBUTES+nfield+nthresh] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/dump_vtk.cpp:425:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char bif[8],pad[16];
data/liggghts-3.8.0+repack1/src/dump_vtk.h:125:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char * filesuffixes[VTK_FILE_FORMATS::VTK_INVALID];
data/liggghts-3.8.0+repack1/src/dump_xyz.cpp:119:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(typenames[itype],"%d",itype);
data/liggghts-3.8.0+repack1/src/error.cpp:278:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(catstr,"The following model does not yield consistent results with coarse-graining: ");
data/liggghts-3.8.0+repack1/src/fix_adapt.cpp:224:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *fixarg[9];
data/liggghts-3.8.0+repack1/src/fix_adapt.h:102:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fixid[100];
data/liggghts-3.8.0+repack1/src/fix_ave_atom.cpp:133:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        argindex[nvalues] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:112:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        argindex[nvalues] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:166:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(arg[iarg+1],"w");
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:168:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char str[512];
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:207:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        argindex[nvalues] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:958:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(arg[iarg+1],"w");
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:960:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char str[512];
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:179:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        argindex[nvalues] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:240:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(arg[iarg+1],"w");
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:242:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char str[512];
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:296:20:  [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).
      lowerLimit = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:297:20:  [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).
      upperLimit = atoi(arg[iarg+2]);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:299: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).
        fp2 = fopen(arg[iarg+3],"w");
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:301:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char str[512];
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:131:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        argindex[nvalues] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:876:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen(arg[iarg+1],"w");
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:878:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char str[512];
data/liggghts-3.8.0+repack1/src/fix_box_relax.cpp:350: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(id_temp,"_temp");
data/liggghts-3.8.0+repack1/src/fix_box_relax.cpp:367: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(id_press,"_press");
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling.cpp:96: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).
    couple_nevery_ = atoi(arg[iarg_++]);
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection.cpp:134:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *newarg[15];
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection.cpp:143:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char arg8[30];
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection.cpp:144:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(arg8,"%f",T0_);
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_impl.cpp:199:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *newarg[15];
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_impl.cpp:208:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char arg8[30];
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_impl.cpp:209:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(arg8,"%f",T0);
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.cpp:186:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(capacityName_, "none");
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.cpp:192:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *newarg[15];
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.cpp:201:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char arg8[30];
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.cpp:202:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(arg8,"%f",species0);
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.h:75:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   speciesName_[128];
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.h:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   sourceName_[128];
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.h:77:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   convectiveFluxName_[128];
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.h:78:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   capacityName_[128];
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.h: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   steName_[128];
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.h:80:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   totalFluxName_[128];
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.h:81:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char   speciesFluidName_[128];
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_convection_species.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   speciesTransCoeffName_[128];
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_force.h:95:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char property_name[200];
data/liggghts-3.8.0+repack1/src/fix_cfd_coupling_force.h:96:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char property_type[200];
data/liggghts-3.8.0+repack1/src/fix_check_timestep_gran.cpp:82:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      nevery = atoi(arg[4]);
data/liggghts-3.8.0+repack1/src/fix_check_timestep_gran.cpp:89:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      nevery = atoi(arg[3]);
data/liggghts-3.8.0+repack1/src/fix_check_timestep_gran.cpp:192:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char errstr[512];
data/liggghts-3.8.0+repack1/src/fix_check_timestep_gran.cpp:196:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(errstr,"time-step is %f %% of rayleigh time",fraction_rayleigh*100.);
data/liggghts-3.8.0+repack1/src/fix_check_timestep_gran.cpp:204:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(errstr,"time-step is %f %% of hertz time",fraction_hertz*100.);
data/liggghts-3.8.0+repack1/src/fix_check_timestep_gran.cpp:213:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(errstr,"time step too large or skin too small - particles may relatively travel a distance of %f per time-step, but skin is %f",v_rel_max_simulation*dt,skin);
data/liggghts-3.8.0+repack1/src/fix_check_timestep_gran.cpp:222:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(errstr,"time step way too large - particles relativley move further than the minimum radius in one step");
data/liggghts-3.8.0+repack1/src/fix_check_timestep_sph.cpp:73:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  nevery = atoi(arg[iarg]);
data/liggghts-3.8.0+repack1/src/fix_contact_history.cpp:129:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(variablename_,"contacthistory");
data/liggghts-3.8.0+repack1/src/fix_contact_history.cpp:133:11:  [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).
  dnum_ = atoi(arg[iarg_++]);
data/liggghts-3.8.0+repack1/src/fix_contact_history.cpp:159: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).
    newtonflag_[i] = atoi(arg[iarg_++]);
data/liggghts-3.8.0+repack1/src/fix_continuum_weighted.cpp:157:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char * fixarg[17];
data/liggghts-3.8.0+repack1/src/fix_continuum_weighted.cpp:178:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char * fixarg[17];
data/liggghts-3.8.0+repack1/src/fix_continuum_weighted.cpp:199:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char * fixarg[15];
data/liggghts-3.8.0+repack1/src/fix_continuum_weighted.cpp:247:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char fixid[200];
data/liggghts-3.8.0+repack1/src/fix_continuum_weighted.cpp:260:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char fixid[200];
data/liggghts-3.8.0+repack1/src/fix_heat_gran.cpp:111:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char * newarg[15];
data/liggghts-3.8.0+repack1/src/fix_heat_gran.cpp:120:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char arg8[30];
data/liggghts-3.8.0+repack1/src/fix_heat_gran.cpp:121:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(arg8,"%f",T0);
data/liggghts-3.8.0+repack1/src/fix_insert.cpp:128:20:  [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).
      maxattempt = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_insert.cpp:165: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).
          insert_every = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_insert.cpp:171: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).
      first_ins_step = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_insert.cpp:466:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char errstr[1024];
data/liggghts-3.8.0+repack1/src/fix_insert.cpp:726:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char msg[256];
data/liggghts-3.8.0+repack1/src/fix_insert_pack.cpp:104:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ntotal_region = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_insert_pack.cpp:118:17:  [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).
      ntry_mc = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_insert_stream.cpp:116:20:  [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).
        duration = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_insert_stream.cpp:131:17:  [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).
      ntry_mc = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_insert_stream.cpp:220:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const char *fixarg[9];
data/liggghts-3.8.0+repack1/src/fix_massflow_mesh.cpp:176:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                fp_ = fopen(filecurrent,"w");
data/liggghts-3.8.0+repack1/src/fix_massflow_mesh.cpp:178:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                fp_ = fopen(filecurrent,"a");
data/liggghts-3.8.0+repack1/src/fix_massflow_mesh.cpp:181:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
               char str[512];
data/liggghts-3.8.0+repack1/src/fix_massflow_mesh.cpp:265:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char * fixarg[9];
data/liggghts-3.8.0+repack1/src/fix_massflow_mesh.cpp:293:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char property_name[200];
data/liggghts-3.8.0+repack1/src/fix_massflow_mesh.h:104:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fixid_[200];
data/liggghts-3.8.0+repack1/src/fix_massflow_mesh_sieve.cpp:153:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char * fixarg[9];
data/liggghts-3.8.0+repack1/src/fix_massflow_mesh_sieve.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   fixidApplyForce_[200];
data/liggghts-3.8.0+repack1/src/fix_mesh.cpp:110:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mesh_fname[256];
data/liggghts-3.8.0+repack1/src/fix_mesh.cpp:182:43:  [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).
                element_exclusion_list_ = fopen(arg[iarg_++],"w");
data/liggghts-3.8.0+repack1/src/fix_mesh.cpp:189:43:  [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).
                element_exclusion_list_ = fopen(arg[iarg_++],"r");
data/liggghts-3.8.0+repack1/src/fix_mesh.cpp:272:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char read_string[200];
data/liggghts-3.8.0+repack1/src/fix_mesh.cpp:406:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
       char str[512];
data/liggghts-3.8.0+repack1/src/fix_mesh.cpp:407:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
       FILE * test = fopen(mesh_fname,"r");
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:299:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char errormsg[200];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:587:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *fixarg[4];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:637:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *fixarg[5];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:697:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dnum_char[10];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:698:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(dnum_char,"%d",dnum);
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:700:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *fixarg[5];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:733:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *fixarg[19];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:734:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fixid[200],propertyid[200];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:764:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *fixarg[25];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:765:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fixid[200],propertyid[200];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:804:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *fixarg[17];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:805:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fixid[200];
data/liggghts-3.8.0+repack1/src/fix_move_mesh.cpp:151:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char refpt_id[200];
data/liggghts-3.8.0+repack1/src/fix_move_mesh.cpp:293:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char refpt_id[200];
data/liggghts-3.8.0+repack1/src/fix_move_mesh.cpp:310:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char refpt_id[200];
data/liggghts-3.8.0+repack1/src/fix_move_mesh.cpp:332:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char refpt_id[200];
data/liggghts-3.8.0+repack1/src/fix_multicontact_halfspace.cpp:177:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char fixid[200];
data/liggghts-3.8.0+repack1/src/fix_multicontact_halfspace.cpp:193:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char fixid[200];
data/liggghts-3.8.0+repack1/src/fix_multisphere.cpp:117:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(style,"multisphere");
data/liggghts-3.8.0+repack1/src/fix_multisphere.cpp:197:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(accepts_restart_data_from_style,"multisphere/advanced");
data/liggghts-3.8.0+repack1/src/fix_multisphere.cpp:1399:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char property_name[200];
data/liggghts-3.8.0+repack1/src/fix_multisphere_break.cpp:116: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).
            triggerTimeStep_ = atoi(arg[iarg++]);
data/liggghts-3.8.0+repack1/src/fix_multisphere_break.cpp:141:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                triggerIndex_ = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/fix_nve_asphere.cpp:97:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     const char *fixarg[11];
data/liggghts-3.8.0+repack1/src/fix_particledistribution_discrete.cpp:86:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ntemplates = atoi(arg[4]);
data/liggghts-3.8.0+repack1/src/fix_print.cpp:90:49:  [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 (strcmp(arg[iarg],"file") == 0) fp = fopen(arg[iarg+1],"w");
data/liggghts-3.8.0+repack1/src/fix_print.cpp:91: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).
        else fp = fopen(arg[iarg+1],"a");
data/liggghts-3.8.0+repack1/src/fix_print.cpp:93:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char str[512];
data/liggghts-3.8.0+repack1/src/fix_property_atom.cpp:255:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errmsg[400];
data/liggghts-3.8.0+repack1/src/fix_property_atom.cpp:373:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char errstr[200];
data/liggghts-3.8.0+repack1/src/fix_property_atom_region_tracer.cpp:96: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).
            check_every_ = atoi(arg[iarg_]);
data/liggghts-3.8.0+repack1/src/fix_property_atom_tracer.cpp:80:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *baseargs[9];
data/liggghts-3.8.0+repack1/src/fix_property_atom_tracer.cpp:116: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).
            step_ = atoi(arg[iarg_++]);
data/liggghts-3.8.0+repack1/src/fix_property_atom_tracer.cpp:141: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).
            check_every_ = atoi(arg[iarg_]);
data/liggghts-3.8.0+repack1/src/fix_property_atom_tracer_stream.cpp:81:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            n_marker_per_ = atoi(arg[iarg_++]);
data/liggghts-3.8.0+repack1/src/fix_property_atom_tracer_stream.cpp:102: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).
                every_ = atoi(arg[iarg_]);
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:75:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(style,"property/global");
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:174:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char errstr[512];
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:210:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errmsg[400];
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:254:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char errmsg[300];
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:390: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).
    FILE *file = fopen(filename,"w");
data/liggghts-3.8.0+repack1/src/fix_region_variable.cpp:71: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).
  n_regions = atoi(arg[iarg++]);
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:2119:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[MAXLINE];
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:2122:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(infile,"r");
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:2124:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[512];
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:2174:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      id = atoi(values[0]);
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:2221:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char outfile[128];
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:2223:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *fp = fopen(outfile,"w");
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:2225:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[512];
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:169:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *fixarg[9];
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:193:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char arg8[30];
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:194:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(arg8,"%e", fluidQty_0_);
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:211:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char arg8[30];
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:212:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(arg8,"%e", transCoeffQty_0_);
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:278:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *fixarg[9];
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:290:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char arg8[30];
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:291:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(arg8,"%e",quantity_0);
data/liggghts-3.8.0+repack1/src/fix_sph_density_corr.cpp:114: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(quantity_name,"corrKernel");
data/liggghts-3.8.0+repack1/src/fix_sph_density_corr.cpp:168:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char * fixarg[9];
data/liggghts-3.8.0+repack1/src/fix_store_state.cpp:246:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        argindex[nvalues] = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/fix_template_multiplespheres.cpp:91: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).
  nspheres = atoi(arg[iarg++]);
data/liggghts-3.8.0+repack1/src/fix_template_multiplespheres.cpp:117:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ntry = static_cast<int>(atoi(arg[iarg++]));
data/liggghts-3.8.0+repack1/src/fix_template_multisphere.cpp:123: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).
            type_ = atoi(arg[iarg++]);
data/liggghts-3.8.0+repack1/src/fix_template_sphere.cpp:131: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).
        atom_type=atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_template_superquadric.cpp:122:17:  [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).
      atom_type=atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/fix_wall.h:61:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *xstr[6];
data/liggghts-3.8.0+repack1/src/fix_wall.h:85:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *estr[6],*sstr[6];
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:255:41:  [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).
           store_force_contact_every_ = atoi(arg[iarg_+1]);
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:282: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).
          n_FixMesh_ = atoi(arg[iarg_+1]);
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:398:11:  [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(wallforce_name,"force_");
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:400:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          const char *fixarg[11];
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:420:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *fixarg[19];
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:421:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char fixid[200],ownid[200];
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:449:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *fixarg[25];
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:450:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char fixid[200],ownid[200];
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:501:11:  [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(hist_name,"history_");
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:653:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *fixarg[17];
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:654:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char fixid[200], ownid[200];
data/liggghts-3.8.0+repack1/src/force.cpp:183:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/force.cpp:208:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/force.cpp:229:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/force.cpp:260:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/force.cpp:344:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/force.cpp:364:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/force.cpp:419:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/force.cpp:439:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/force.cpp:480:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/force.cpp:500:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/force.cpp:542:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/force.cpp:562:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/force.cpp:603:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/force.cpp:623:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/force.cpp:743:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      special_extra = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/force.cpp:770:17:  [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).
    nlo = nhi = atoi(str);
data/liggghts-3.8.0+repack1/src/force.cpp:776:11:  [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).
    nhi = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/force.cpp:778:11:  [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).
    nlo = atoi(str);
data/liggghts-3.8.0+repack1/src/force.cpp:781:11:  [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).
    nlo = atoi(str);
data/liggghts-3.8.0+repack1/src/force.cpp:782:11:  [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).
    nhi = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/force.cpp:843: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).
    const int val = atoi(istr);
data/liggghts-3.8.0+repack1/src/global_properties.cpp:129:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[200];
data/liggghts-3.8.0+repack1/src/global_properties.cpp:165:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char buf[200];
data/liggghts-3.8.0+repack1/src/global_properties.cpp:211:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char buf[200];
data/liggghts-3.8.0+repack1/src/global_properties.cpp:1036:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char buffer [100];
data/liggghts-3.8.0+repack1/src/group.cpp:267: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).
          start = atoi(strtok(arg[iarg],":"));
data/liggghts-3.8.0+repack1/src/group.cpp:268:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          stop = atoi(strtok(NULL,":"));
data/liggghts-3.8.0+repack1/src/group.cpp:270: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).
          if (ptr) delta = atoi(ptr);
data/liggghts-3.8.0+repack1/src/group.cpp:273: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).
          start = stop = atoi(arg[iarg]);
data/liggghts-3.8.0+repack1/src/image.cpp:1201:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char *name[NCOLORS] = {
data/liggghts-3.8.0+repack1/src/image.cpp:1513:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char *name[NELEMENTS] = {
data/liggghts-3.8.0+repack1/src/image.cpp:1652:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char *name[NELEMENTS] = {
data/liggghts-3.8.0+repack1/src/info.cpp:152:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      out = fopen(arg[idx+2],"a");
data/liggghts-3.8.0+repack1/src/info.cpp:157:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      out = fopen(arg[idx+2],"w");
data/liggghts-3.8.0+repack1/src/input.cpp:281:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    infile = fopen(filename,"r");
data/liggghts-3.8.0+repack1/src/input.cpp:283:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[512];
data/liggghts-3.8.0+repack1/src/input.cpp:446:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char immediate[256];
data/liggghts-3.8.0+repack1/src/input.cpp:492:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(immediate,"%.20g",variable->compute_equal(var));
data/liggghts-3.8.0+repack1/src/input.cpp:855:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    infile = fopen(arg[0],"r");
data/liggghts-3.8.0+repack1/src/input.cpp:857:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[512];
data/liggghts-3.8.0+repack1/src/input.cpp:885: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).
      infile = fopen(arg[0],"r");
data/liggghts-3.8.0+repack1/src/input.cpp:887:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/input.cpp:928:33:  [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 (appendflag) logfile = fopen(arg[0],"a");
data/liggghts-3.8.0+repack1/src/input.cpp:929:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      else logfile = fopen(arg[0],"w");
data/liggghts-3.8.0+repack1/src/input.cpp:931:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/input.cpp:956:36:  [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 (appendflag) thermofile = fopen(arg[0],"a");
data/liggghts-3.8.0+repack1/src/input.cpp:957:25:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      else thermofile = fopen(arg[0],"w");
data/liggghts-3.8.0+repack1/src/input.cpp:959:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/input.cpp:1041:30:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                        fp = fopen(arg[iarg+1],"w");
data/liggghts-3.8.0+repack1/src/input.cpp:1043:30:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                        fp = fopen(arg[iarg+1],"a");
data/liggghts-3.8.0+repack1/src/input.cpp:1046:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char str[512];
data/liggghts-3.8.0+repack1/src/input_mesh_tet.cpp:88:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    nonlammps_file = fopen(filename,"r");
data/liggghts-3.8.0+repack1/src/input_mesh_tet.cpp:90:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[512];
data/liggghts-3.8.0+repack1/src/input_mesh_tet.cpp:211: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).
        npoints = atoi(arg[1]);
data/liggghts-3.8.0+repack1/src/input_mesh_tet.cpp:248:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        ncells = atoi(arg[1]);
data/liggghts-3.8.0+repack1/src/input_mesh_tet.cpp:259:53:  [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).
            for (int j=0;j<4;j++) cells[icell][j] = atoi(arg[1+j]);
data/liggghts-3.8.0+repack1/src/input_mesh_tet.cpp:279: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(ncells != atoi(arg[1]))  error->all(FLERR,"Inconsistency in 'CELL_TYPES' section in ASCII VTK mesh file, cannot continue");
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:101:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    nonlammps_file = fopen(filename,"r");
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:103:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[512];
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:224: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).
        npoints = atoi(arg[1]);
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:245:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        ncells = atoi(arg[1]);
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:255:53:  [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).
            for (int j=0;j<3;j++) cells[icell][j] = atoi(arg[1+j]);
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:269: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(ncells != atoi(arg[1]))
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:517:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        stl_file.open(filename, std::ifstream::in | std::ifstream::binary);
data/liggghts-3.8.0+repack1/src/input_multisphere.cpp:163: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).
        atomtypeclmp[iClmp] = atoi(arg[4]);
data/liggghts-3.8.0+repack1/src/input_multisphere.cpp:182:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    nonlammps_file = fopen(filename,"r");
data/liggghts-3.8.0+repack1/src/input_multisphere.cpp:185:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[512];
data/liggghts-3.8.0+repack1/src/irregular.cpp:462:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&buf[offset],&sendbuf[aplan->offset_send[m]],
data/liggghts-3.8.0+repack1/src/irregular.cpp:683:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&buf[i*nbytes],&sendbuf[m*nbytes],nbytes);
data/liggghts-3.8.0+repack1/src/irregular.cpp:700: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(&recvbuf[i*nbytes],&sendbuf[m*nbytes],nbytes);
data/liggghts-3.8.0+repack1/src/kspace.cpp:384: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).
      nx_pppm = nx_msm_max = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/kspace.cpp:385: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).
      ny_pppm = ny_msm_max = atoi(arg[iarg+2]);
data/liggghts-3.8.0+repack1/src/kspace.cpp:386: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).
      nz_pppm = nz_msm_max = atoi(arg[iarg+3]);
data/liggghts-3.8.0+repack1/src/kspace.cpp:392: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).
      nx_pppm_6 = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/kspace.cpp:393: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).
      ny_pppm_6 = atoi(arg[iarg+2]);
data/liggghts-3.8.0+repack1/src/kspace.cpp:394: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).
      nz_pppm_6 = atoi(arg[iarg+3]);
data/liggghts-3.8.0+repack1/src/kspace.cpp:400: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).
      order = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/kspace.cpp:404:17:  [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).
      order_6 = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/kspace.cpp:408:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      minorder = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/kspace.cpp:473:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      kx_ewald = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/kspace.cpp:474:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      ky_ewald = atoi(arg[iarg+2]);
data/liggghts-3.8.0+repack1/src/kspace.cpp:475:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      kz_ewald = atoi(arg[iarg+3]);
data/liggghts-3.8.0+repack1/src/lammps.cpp:255:20:  [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).
      tag_offset = atoi(arg[iarg+3]);
data/liggghts-3.8.0+repack1/src/lammps.cpp:306:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      universe->uscreen = fopen(arg[screenflag],"w");
data/liggghts-3.8.0+repack1/src/lammps.cpp:311:29:  [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).
      universe->ulogfile  = fopen("log.liggghts","w");  
data/liggghts-3.8.0+repack1/src/lammps.cpp:312:50:  [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(thermoflag > 0) universe->uthermofile = fopen(arg[thermoflag],"w");  
data/liggghts-3.8.0+repack1/src/lammps.cpp:321:28:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      universe->ulogfile = fopen(arg[logflag],"w");
data/liggghts-3.8.0+repack1/src/lammps.cpp:322:50:  [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(thermoflag > 0) universe->uthermofile = fopen(arg[thermoflag],"w");  
data/liggghts-3.8.0+repack1/src/lammps.cpp:351:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      else infile = fopen(arg[inflag],"r");
data/liggghts-3.8.0+repack1/src/lammps.cpp:353:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/lammps.cpp:378:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
         char str[32];
data/liggghts-3.8.0+repack1/src/lammps.cpp:379:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
         sprintf(str,"screen.%d",universe->iworld);
data/liggghts-3.8.0+repack1/src/lammps.cpp:380: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).
         screen = fopen(str,"w");
data/liggghts-3.8.0+repack1/src/lammps.cpp:385:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
         char str[512];
data/liggghts-3.8.0+repack1/src/lammps.cpp:387: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).
         screen = fopen(str,"w");
data/liggghts-3.8.0+repack1/src/lammps.cpp:393:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/lammps.cpp:395: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).
        screen = fopen(str,"w");
data/liggghts-3.8.0+repack1/src/lammps.cpp:402:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
         char str[512];
data/liggghts-3.8.0+repack1/src/lammps.cpp:403:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
         sprintf(str,"log.liggghts.%d",universe->iworld); 
data/liggghts-3.8.0+repack1/src/lammps.cpp:404:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
         logfile = fopen(str,"w");
data/liggghts-3.8.0+repack1/src/lammps.cpp:407:43:  [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 (thermoflag > 0) thermofile = fopen(str,"w"); 
data/liggghts-3.8.0+repack1/src/lammps.cpp:413:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
         char str[512];
data/liggghts-3.8.0+repack1/src/lammps.cpp:415:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
         logfile = fopen(str,"w");
data/liggghts-3.8.0+repack1/src/lammps.cpp:418:43:  [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 (thermoflag > 0) thermofile = fopen(str,"w"); 
data/liggghts-3.8.0+repack1/src/lammps.cpp:425:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/lammps.cpp:427: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).
        logfile = fopen(str,"w");
data/liggghts-3.8.0+repack1/src/lammps.cpp:430:42:  [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 (thermoflag > 0) thermofile = fopen(str,"w"); 
data/liggghts-3.8.0+repack1/src/lammps.cpp:438: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).
      infile = fopen(arg[inflag],"r");
data/liggghts-3.8.0+repack1/src/lammps.cpp:440:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/lammps.cpp:551:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cmd[128];
data/liggghts-3.8.0+repack1/src/lmptype.h:101:15:  [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).
#define ATOLL atol
data/liggghts-3.8.0+repack1/src/lmptype.h:125: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).
#define ATOTAGINT atoi
data/liggghts-3.8.0+repack1/src/lmptype.h:188: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).
#define ATOTAGINT atoi
data/liggghts-3.8.0+repack1/src/lmptype.h:189: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).
#define ATOBIGINT atoi
data/liggghts-3.8.0+repack1/src/math_complex.h:102: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(&d, &x, sizeof(complex)); }
data/liggghts-3.8.0+repack1/src/math_extra.cpp:90:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(tempv,aug[i],4*sizeof(double));
data/liggghts-3.8.0+repack1/src/math_extra.cpp:91:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(aug[i],aug[j],4*sizeof(double));
data/liggghts-3.8.0+repack1/src/math_extra.cpp:92:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(aug[j],tempv,4*sizeof(double));
data/liggghts-3.8.0+repack1/src/math_extra.cpp:102:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(tempv,aug[i],4*sizeof(double));
data/liggghts-3.8.0+repack1/src/math_extra.cpp:103:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(aug[i],aug[p],4*sizeof(double));
data/liggghts-3.8.0+repack1/src/math_extra.cpp:104:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(aug[p],tempv,4*sizeof(double));
data/liggghts-3.8.0+repack1/src/math_vector.h:127:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(dest, t, sizeof(vector)); }
data/liggghts-3.8.0+repack1/src/math_vector.h:237: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(m, dest, sizeof(form));
data/liggghts-3.8.0+repack1/src/math_vector.h:247: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(a, dest, sizeof(vector));
data/liggghts-3.8.0+repack1/src/math_vector.h:264:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&axb, m[0], sizeof(vector));
data/liggghts-3.8.0+repack1/src/math_vector.h:288:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(dest[0], src[1], sizeof(vector));
data/liggghts-3.8.0+repack1/src/math_vector.h:289:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(dest[1], src[2], sizeof(vector));
data/liggghts-3.8.0+repack1/src/math_vector.h:290:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(dest[2], src[0], sizeof(vector));
data/liggghts-3.8.0+repack1/src/math_vector.h:334: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(q, dest, sizeof(quaternion));
data/liggghts-3.8.0+repack1/src/math_vector.h:343: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(q, dest, sizeof(quaternion));
data/liggghts-3.8.0+repack1/src/math_vector.h:416: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(a, dest, sizeof(vector4));
data/liggghts-3.8.0+repack1/src/math_vector.h:444: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(eqn, xty, sizeof(vector));
data/liggghts-3.8.0+repack1/src/math_vector.h:474: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(eqn, xty, sizeof(vector4));
data/liggghts-3.8.0+repack1/src/memory.cpp:74:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[512];
data/liggghts-3.8.0+repack1/src/memory.cpp:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[512];
data/liggghts-3.8.0+repack1/src/memory.cpp:123:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char str[512];
data/liggghts-3.8.0+repack1/src/min.cpp:813:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  return (char *) strings[n];
data/liggghts-3.8.0+repack1/src/modify.cpp:767:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *exceptions[NEXCEPT] = {"GPU","OMP","property/atom","cmap"};
data/liggghts-3.8.0+repack1/src/modify.cpp:827:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/modify.cpp:1006:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char estyle[256];
data/liggghts-3.8.0+repack1/src/modify_liggghts.cpp:389:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char errmsg[500];
data/liggghts-3.8.0+repack1/src/multi_node_mesh_parallel_I.h:578:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char errstr[1024];
data/liggghts-3.8.0+repack1/src/multi_node_mesh_parallel_I.h:676:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char errstr[500];
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:91:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:144:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:217:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:266:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:355:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:410:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:520:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/neigh_bond.cpp:575:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/output.cpp:415:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(file,"restart_forced_liggghts_" BIGINT_FORMAT ".data",ntimestep);
data/liggghts-3.8.0+repack1/src/output.cpp:785:39:  [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.
    if (strchr(restart1,'*') == NULL) strcat(restart1,".*");
data/liggghts-3.8.0+repack1/src/pack.h:583:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(in,out,size);
data/liggghts-3.8.0+repack1/src/pack.h:612:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(in,out,size);
data/liggghts-3.8.0+repack1/src/pair.cpp:1513:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(arg[6],"a");
data/liggghts-3.8.0+repack1/src/pair.cpp:1670:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(name,"r");
data/liggghts-3.8.0+repack1/src/pair.cpp:1695:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(newpath,"r");
data/liggghts-3.8.0+repack1/src/pair_gran.cpp:302:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(fixarg[3],"%d",dnum_all);
data/liggghts-3.8.0+repack1/src/pair_sph.cpp:90:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *fixarg[11];
data/liggghts-3.8.0+repack1/src/pair_sph.cpp:268:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char * fixarg[9];
data/liggghts-3.8.0+repack1/src/pair_sph.cpp:277:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char arg8[30];
data/liggghts-3.8.0+repack1/src/pair_sph.cpp:278:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(arg8,"%f",sl_0); // default value
data/liggghts-3.8.0+repack1/src/procmap.cpp: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 node_name[MPI_MAX_PROCESSOR_NAME];
data/liggghts-3.8.0+repack1/src/procmap.cpp:311:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[MAXLINE];
data/liggghts-3.8.0+repack1/src/procmap.cpp:317:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(cfile,"r");
data/liggghts-3.8.0+repack1/src/procmap.cpp:439:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void ProcMap::xyz_map(char *xyz, int *procgrid,
data/liggghts-3.8.0+repack1/src/procmap.cpp:489:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void ProcMap::xyz_map(char *xyz, int *procgrid, int ncores, int *coregrid,
data/liggghts-3.8.0+repack1/src/procmap.cpp:691:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(file,"w");
data/liggghts-3.8.0+repack1/src/procmap.cpp:713:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char procname[MPI_MAX_PROCESSOR_NAME+1];
data/liggghts-3.8.0+repack1/src/procmap.h:64:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  void xyz_map(char *, int *, int *, int [3][2], int ***);
data/liggghts-3.8.0+repack1/src/procmap.h:65:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  void xyz_map(char *, int *, int, int *, int *, int [3][2], int ***);
data/liggghts-3.8.0+repack1/src/random.cpp:59:18:  [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).
    long seedl = atol(seed_char);
data/liggghts-3.8.0+repack1/src/random.cpp:60:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    seed = atoi(seed_char);
data/liggghts-3.8.0+repack1/src/random.cpp:63:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char errstr[1024];
data/liggghts-3.8.0+repack1/src/random.cpp:65:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(errstr,"Seed %ld is larger than INT_MAX (%d)\n", seedl, INT_MAX);
data/liggghts-3.8.0+repack1/src/random.cpp:72:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char errstr[1024];
data/liggghts-3.8.0+repack1/src/random.cpp:74:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(errstr,"Seed %ld + %d (offset) is larger than INT_MAX (%d)\n", seedl, offset, INT_MAX);
data/liggghts-3.8.0+repack1/src/random.cpp:83:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char errstr[1024];
data/liggghts-3.8.0+repack1/src/random.cpp:85:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(errstr,"Random number generation: It is required that the random seed value is > 10000 and a prime number.\n"
data/liggghts-3.8.0+repack1/src/read_data.cpp:194:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      open(arg[0]);
data/liggghts-3.8.0+repack1/src/read_data.cpp:217:49:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(!add_to_existing || !strchr(arg[0],'*')) open(arg[0]);
data/liggghts-3.8.0+repack1/src/read_data.cpp:225:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        open(file);
data/liggghts-3.8.0+repack1/src/read_data.cpp:406:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[512];
data/liggghts-3.8.0+repack1/src/read_data.cpp:452:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *section_keywords[NSECTIONS] =
data/liggghts-3.8.0+repack1/src/read_data.cpp:640:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[512];
data/liggghts-3.8.0+repack1/src/read_data.cpp:1448:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[512];
data/liggghts-3.8.0+repack1/src/read_data.cpp:1496:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
void ReadData::open(char *file)
data/liggghts-3.8.0+repack1/src/read_data.cpp:1501:25:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!compressed) fp = fopen(file,"r");
data/liggghts-3.8.0+repack1/src/read_data.cpp:1504:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char gunzip[128];
data/liggghts-3.8.0+repack1/src/read_data.cpp:1513:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[512];
data/liggghts-3.8.0+repack1/src/read_data.h:92:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  void open(char *);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:99: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(readerstyle,"native");
data/liggghts-3.8.0+repack1/src/read_dump.cpp:248:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(dirname,"./");
data/liggghts-3.8.0+repack1/src/read_dump.cpp:289: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).
      middle_index[nfile-1] = atoi(middle);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:307:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char swapper[512];
data/liggghts-3.8.0+repack1/src/read_restart.cpp:149:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(hfile,"rb");
data/liggghts-3.8.0+repack1/src/read_restart.cpp:151:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[512];
data/liggghts-3.8.0+repack1/src/read_restart.cpp:265:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen(perproc,"rb");
data/liggghts-3.8.0+repack1/src/read_restart.cpp:267:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char str[512];
data/liggghts-3.8.0+repack1/src/read_restart.cpp:291:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char cextra[8],fixextra[8];
data/liggghts-3.8.0+repack1/src/read_restart.cpp:292:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(cextra,"%d",nextra);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:293:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(fixextra,"%d",modify->nfix_restart_peratom);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:423:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(dirname,"./");
data/liggghts-3.8.0+repack1/src/read_restart.cpp:528:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            restart_major = atoi(ver_major.c_str());
data/liggghts-3.8.0+repack1/src/read_restart.cpp:529:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            restart_minor = atoi(ver_minor.c_str());
data/liggghts-3.8.0+repack1/src/read_restart.cpp:974:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(file,"rb");
data/liggghts-3.8.0+repack1/src/reader.cpp:72:25:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!compressed) fp = fopen(file,"r");
data/liggghts-3.8.0+repack1/src/reader.cpp:75:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char gunzip[1024];
data/liggghts-3.8.0+repack1/src/reader.cpp:90:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[512];
data/liggghts-3.8.0+repack1/src/reader_xyz.cpp:211: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).
    mytype = atoi(line);
data/liggghts-3.8.0+repack1/src/region_mesh_tet.cpp:453:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char errstr[256];
data/liggghts-3.8.0+repack1/src/respa.cpp:294: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(fixarg[3],"%d",nlevels);
data/liggghts-3.8.0+repack1/src/sort_buffer.cpp:425:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&buf[i*size_one],&bufsort[index[i]*size_one],nbytes);
data/liggghts-3.8.0+repack1/src/surface_model_default.h:94:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char * fixarg[15];
data/liggghts-3.8.0+repack1/src/thermo.cpp:441:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[64];
data/liggghts-3.8.0+repack1/src/thermo.cpp:450:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char str[64];
data/liggghts-3.8.0+repack1/src/thermo.cpp:529:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int i = atoi(arg[iarg+1]) - 1;
data/liggghts-3.8.0+repack1/src/thermo.cpp:663:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char **carg = new char * [3];
data/liggghts-3.8.0+repack1/src/thermo.cpp:735:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char copy[9];
data/liggghts-3.8.0+repack1/src/thermo.h:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char format_multi[128];
data/liggghts-3.8.0+repack1/src/thermo.h:92:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char format_bigint_one_def[8],format_bigint_multi_def[8];
data/liggghts-3.8.0+repack1/src/universe.cpp:123:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[MAXLINE];
data/liggghts-3.8.0+repack1/src/universe.cpp:141: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).
      FILE *fp = fopen(arg,"r");
data/liggghts-3.8.0+repack1/src/universe.cpp:213:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    n = atoi(str);
data/liggghts-3.8.0+repack1/src/universe.cpp:214:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    nper = atoi(ptr+1);
data/liggghts-3.8.0+repack1/src/universe.cpp:217:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    nper = atoi(str);
data/liggghts-3.8.0+repack1/src/update.cpp:349:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/update.cpp:372:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char estyle[256];
data/liggghts-3.8.0+repack1/src/variable.cpp:212:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char digits[12];
data/liggghts-3.8.0+repack1/src/variable.cpp:213:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(digits,"%d",nlast);
data/liggghts-3.8.0+repack1/src/variable.cpp:222:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char digits[12];
data/liggghts-3.8.0+repack1/src/variable.cpp:223:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(digits,"%d",nlast);
data/liggghts-3.8.0+repack1/src/variable.cpp:276:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char digits[12];
data/liggghts-3.8.0+repack1/src/variable.cpp:277:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(digits,"%d",num[nvar]);
data/liggghts-3.8.0+repack1/src/variable.cpp:287:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char filename[200]  ;
data/liggghts-3.8.0+repack1/src/variable.cpp:289: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).
      FILE *fp = fopen(filename,"w");
data/liggghts-3.8.0+repack1/src/variable.cpp:526:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char filename_1[200],filename_2[200];
data/liggghts-3.8.0+repack1/src/variable.cpp:533: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).
      FILE *fp = fopen(filename_2,"r");
data/liggghts-3.8.0+repack1/src/variable.cpp:536:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      fp = fopen(filename_2,"w");
data/liggghts-3.8.0+repack1/src/variable.cpp:588:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char result[16];
data/liggghts-3.8.0+repack1/src/variable.cpp:589:25:  [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.
    if (pad[ivar] == 0) sprintf(result,"%d",which[ivar]+1);
data/liggghts-3.8.0+repack1/src/variable.cpp:591:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char padstr[16];
data/liggghts-3.8.0+repack1/src/variable.cpp:592:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(padstr,"%%0%dd",pad[ivar]);
data/liggghts-3.8.0+repack1/src/variable.cpp:601:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char result[64];
data/liggghts-3.8.0+repack1/src/variable.cpp:603:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(result,"%.15g",answer);
data/liggghts-3.8.0+repack1/src/variable.cpp:1957:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(seed_char, "%d", seed);
data/liggghts-3.8.0+repack1/src/variable.cpp:1974:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(seed_char, "%d", seed);
data/liggghts-3.8.0+repack1/src/variable.cpp:2254:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(seed_char, "%d", seed);
data/liggghts-3.8.0+repack1/src/variable.cpp:2270:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(seed_char, "%d", seed);
data/liggghts-3.8.0+repack1/src/variable.cpp:2458: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).
  int index = atoi(start);
data/liggghts-3.8.0+repack1/src/variable.cpp:2664:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(seed_char, "%d", seed);
data/liggghts-3.8.0+repack1/src/variable.cpp:2682:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(seed_char, "%d", seed);
data/liggghts-3.8.0+repack1/src/variable.cpp:3391:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(result,reader[ivar]->fix->vstore,atom->nlocal*sizeof(double));
data/liggghts-3.8.0+repack1/src/variable.cpp:3630:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  return atoi(str);
data/liggghts-3.8.0+repack1/src/variable.cpp:3934:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(file,"r");
data/liggghts-3.8.0+repack1/src/variable.cpp:3936:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[512];
data/liggghts-3.8.0+repack1/src/variable.cpp:3958:5:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
    strcat(id_fix,"_VARIABLE_STORE");
data/liggghts-3.8.0+repack1/src/variable.cpp:4044:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char str[MAXLINE];
data/liggghts-3.8.0+repack1/src/write_data.cpp:122:20:  [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).
      tag_offset = atoi(arg[iarg+1]);
data/liggghts-3.8.0+repack1/src/write_data.cpp:157:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fpt = fopen("max_tag","w");
data/liggghts-3.8.0+repack1/src/write_data.cpp:203:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(file,"w");
data/liggghts-3.8.0+repack1/src/write_data.cpp:205:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[512];
data/liggghts-3.8.0+repack1/src/write_restart.cpp:244:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(hfile,"wb");
data/liggghts-3.8.0+repack1/src/write_restart.cpp:246:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[512];
data/liggghts-3.8.0+repack1/src/write_restart.cpp:386:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(perproc,"wb");
data/liggghts-3.8.0+repack1/src/write_restart.cpp:388:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char str[512];
data/liggghts-3.8.0+repack1/src/PASCAL/fix_pascal_couple.cpp:136: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).
      nStrLength = strlen(runDirectory) + 1;
data/liggghts-3.8.0+repack1/src/PASCAL/fix_pascal_couple.cpp:150: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).
      nStrLength = strlen(pascalFile) + 1;
data/liggghts-3.8.0+repack1/src/POEMS/fix_poems.cpp:1220:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(line);
data/liggghts-3.8.0+repack1/src/STUBS/mpi.c:88:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(host);
data/liggghts-3.8.0+repack1/src/VORONOI/compute_voronoi_atom.cpp:93:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[iarg+1][2]) + 1;
data/liggghts-3.8.0+repack1/src/angle_hybrid.cpp:257: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).
    keywords[nstyles] = new char[strlen(arg[i])+1];
data/liggghts-3.8.0+repack1/src/angle_hybrid.cpp:350:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(keywords[m]) + 1;
data/liggghts-3.8.0+repack1/src/atom.cpp:412:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(estyle) + 1;
data/liggghts-3.8.0+repack1/src/atom.cpp:416:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(style) + 1;
data/liggghts-3.8.0+repack1/src/atom.cpp:547:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/atom.cpp:646:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(line) + 1;
data/liggghts-3.8.0+repack1/src/atom.cpp:1661:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(name) + 1;
data/liggghts-3.8.0+repack1/src/atom.cpp:1672:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(name) + 1;
data/liggghts-3.8.0+repack1/src/atom.cpp:1796:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t n = strlen(str) + 3;
data/liggghts-3.8.0+repack1/src/atom.cpp:1798:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
  strcpy(padded," ");
data/liggghts-3.8.0+repack1/src/atom.cpp:1800:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  strcat(padded," ");
data/liggghts-3.8.0+repack1/src/atom.cpp:1807:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(memstr) + n >= memlength) {
data/liggghts-3.8.0+repack1/src/atom_vec_hybrid.cpp:104: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).
    keywords[nstyles] = new char[strlen(arg[iarg])+1];
data/liggghts-3.8.0+repack1/src/atom_vec_hybrid.cpp:1063:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  n = strlen(#key) + 1;                     \
data/liggghts-3.8.0+repack1/src/bond_hybrid.cpp:255: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).
    keywords[nstyles] = new char[strlen(arg[i])+1];
data/liggghts-3.8.0+repack1/src/bond_hybrid.cpp:338:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(keywords[m]) + 1;
data/liggghts-3.8.0+repack1/src/cfd_datacoupling.cpp:227:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(name) >= MAXLENGTH) error->all(FLERR,"Fix couple/cfd: Maximum string length for a variable exceeded");
data/liggghts-3.8.0+repack1/src/cfd_datacoupling.cpp:260:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(name) >= MAXLENGTH)
data/liggghts-3.8.0+repack1/src/cfd_datacoupling_file.cpp:85:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    filepath = new char[strlen(arg[iarg_])+2];
data/liggghts-3.8.0+repack1/src/cfd_datacoupling_file.cpp:213:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *file = new char[strlen(name)+1];
data/liggghts-3.8.0+repack1/src/cfd_datacoupling_file.cpp:218:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *file = new char[strlen(filepath)+strlen(name)+3];
data/liggghts-3.8.0+repack1/src/cfd_datacoupling_file.cpp:218:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *file = new char[strlen(filepath)+strlen(name)+3];
data/liggghts-3.8.0+repack1/src/cfd_datacoupling_file.cpp:221:14:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    if(flag) strcat(file,"0");
data/liggghts-3.8.0+repack1/src/cfd_datacoupling_file.cpp:222:10:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    else strcat(file,"1");
data/liggghts-3.8.0+repack1/src/comm.cpp:1720:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      m += strlen(&buf[m]);
data/liggghts-3.8.0+repack1/src/comm.cpp:1723:29:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
      if (buf[m-1] != '\n') strcpy(&buf[m++],"\n");
data/liggghts-3.8.0+repack1/src/comm.cpp:1756:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      m += strlen(&buf[m]);
data/liggghts-3.8.0+repack1/src/comm.cpp:1759:29:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
      if (buf[m-1] != '\n') strcpy(&buf[m++],"\n");
data/liggghts-3.8.0+repack1/src/comm.cpp:1986:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(arg[iarg+2]) + 1;
data/liggghts-3.8.0+repack1/src/comm.cpp:2048:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/compute.cpp:77:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(arg[0]) + 1;
data/liggghts-3.8.0+repack1/src/compute.cpp:90:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  n = strlen(arg[2]) + 1;
data/liggghts-3.8.0+repack1/src/compute_atom_molecule.cpp:89:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/compute_atom_molecule.cpp:95:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/compute_atom_molecule.cpp:101:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(suffix) + 1;
data/liggghts-3.8.0+repack1/src/compute_displace_atom.cpp:74:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(id) + strlen("_COMPUTE_STORE") + 1;
data/liggghts-3.8.0+repack1/src/compute_displace_atom.cpp:74:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(id) + strlen("_COMPUTE_STORE") + 1;
data/liggghts-3.8.0+repack1/src/compute_erotate.cpp:111: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).
    const int len = strlen(arg[1])+1;
data/liggghts-3.8.0+repack1/src/compute_erotate.cpp:113:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(id_group_, arg[1], len);
data/liggghts-3.8.0+repack1/src/compute_group_group.cpp:86:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(arg[iarg]) + 1;
data/liggghts-3.8.0+repack1/src/compute_msd.cpp:86:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(id) + strlen("_COMPUTE_STORE") + 1;
data/liggghts-3.8.0+repack1/src/compute_msd.cpp:86:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(id) + strlen("_COMPUTE_STORE") + 1;
data/liggghts-3.8.0+repack1/src/compute_nparticles_tracer_region.cpp:112:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/compute_nparticles_tracer_region.cpp:123:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/compute_pressure.cpp:84:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(arg[iarg]) + 1;
data/liggghts-3.8.0+repack1/src/compute_pressure.cpp:316:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(id_new) + 1;
data/liggghts-3.8.0+repack1/src/compute_reduce.cpp:90:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[iarg]) + 1;
data/liggghts-3.8.0+repack1/src/compute_reduce.cpp:161:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/compute_reduce.cpp:167:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/compute_reduce.cpp:173:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(suffix) + 1;
data/liggghts-3.8.0+repack1/src/compute_slice.cpp:91:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/compute_slice.cpp:97:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/compute_slice.cpp:103:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(suffix) + 1;
data/liggghts-3.8.0+repack1/src/container_base.cpp:98:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        id_ = new char[strlen(_id)+1];
data/liggghts-3.8.0+repack1/src/container_base.cpp:154:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      id_ = new char[strlen(_id)+1];
data/liggghts-3.8.0+repack1/src/create_atoms.cpp:129: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).
    seed_char = new char [strlen(arg[2])+1];
data/liggghts-3.8.0+repack1/src/custom_value_tracker_I.h:69:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        char *errmsg = new char[strlen(_id)+200];
data/liggghts-3.8.0+repack1/src/custom_value_tracker_I.h:86:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        char *errmsg = new char[strlen(_id)+200];
data/liggghts-3.8.0+repack1/src/custom_value_tracker_I.h:151:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         char *errmsg = new char[strlen(_id)+200];
data/liggghts-3.8.0+repack1/src/custom_value_tracker_I.h:165:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         char *errmsg = new char[strlen(_id)+200];
data/liggghts-3.8.0+repack1/src/dihedral_hybrid.cpp:259: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).
    keywords[nstyles] = new char[strlen(arg[i])+1];
data/liggghts-3.8.0+repack1/src/dihedral_hybrid.cpp:339:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(keywords[m]) + 1;
data/liggghts-3.8.0+repack1/src/domain.cpp:1445:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      else if (iside == 1 && strlen(arg[idim]) == 1) c = arg[idim][0];
data/liggghts-3.8.0+repack1/src/dump.cpp:75:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(arg[0]) + 1;
data/liggghts-3.8.0+repack1/src/dump.cpp:82:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  n = strlen(arg[2]) + 1;
data/liggghts-3.8.0+repack1/src/dump.cpp:86:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  n = strlen(arg[4]) + 1;
data/liggghts-3.8.0+repack1/src/dump.cpp:159:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    multiname = new char[strlen(filename) + 16];
data/liggghts-3.8.0+repack1/src/dump.cpp:167:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *suffix = filename + strlen(filename) - strlen(".bin");
data/liggghts-3.8.0+repack1/src/dump.cpp:167:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *suffix = filename + strlen(filename) - strlen(".bin");
data/liggghts-3.8.0+repack1/src/dump.cpp:169:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  suffix = filename + strlen(filename) - strlen(".gz");
data/liggghts-3.8.0+repack1/src/dump.cpp:169:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  suffix = filename + strlen(filename) - strlen(".gz");
data/liggghts-3.8.0+repack1/src/dump.cpp:432: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).
    filecurrent = new char[strlen(filestar) + 16];
data/liggghts-3.8.0+repack1/src/dump.cpp:515: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).
        n = strlen(&arg[iarg+1][2]) + 1;
data/liggghts-3.8.0+repack1/src/dump.cpp:554: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).
      multiname = new char[strlen(filename) + 16];
data/liggghts-3.8.0+repack1/src/dump.cpp:576:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/dump.cpp:608: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).
      multiname = new char[strlen(filename) + 16];
data/liggghts-3.8.0+repack1/src/dump_atom_vtk.cpp:81:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(str) + 1;
data/liggghts-3.8.0+repack1/src/dump_atom_vtk.cpp:358: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).
    filecurrent = new char[strlen(filename) + 16];
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:178:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (int iarg = 5; iarg < narg; iarg++) n += strlen(arg[iarg]) + 2;
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:183:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(columns," ");
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:241:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(str) + 1;
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:251:7:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
      strcpy(typenames[itype],"C");
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:263: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).
    vformat[i] = new char[strlen(ptr) + 2];
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:265:18:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    vformat[i] = strcat(vformat[i]," ");
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:996:15:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    offset += sprintf(&sbuf[offset],"\n");
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1335:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1341:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1371:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1377:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1404:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1442:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(id) + 1;
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1467:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(id) + 1;
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1496:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(id) + 1;
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1515:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[1]) + 1;
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1525:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     int n = strlen(arg[1]) + 1;
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1543:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[itype]) + 1;
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1680:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[1]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1686:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1721:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[1]);
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1727:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/dump_custom.cpp:1758:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[1]);
data/liggghts-3.8.0+repack1/src/dump_custom_vtk.cpp:254: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).
    domainfilecurrent = new char[strlen(filecurrent) + 14];
data/liggghts-3.8.0+repack1/src/dump_custom_vtk.cpp:255:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *tmp = new char[strlen(filecurrent)+1];
data/liggghts-3.8.0+repack1/src/dump_custom_vtk.cpp:338:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            domainfilecurrent[strlen(domainfilecurrent)-1] = 'r'; // adjust filename extension
data/liggghts-3.8.0+repack1/src/dump_custom_vtk.cpp:343:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            domainfilecurrent[strlen(domainfilecurrent)-1] = 'u'; // adjust filename extension
data/liggghts-3.8.0+repack1/src/dump_custom_vtk.cpp:363:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            domainfilecurrent[strlen(domainfilecurrent)-1] = 'r'; // adjust filename extension
data/liggghts-3.8.0+repack1/src/dump_custom_vtk.cpp:379:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(arg[1]) + 1;
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:215:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      multiname_ex = new char[strlen(filename) + 16];
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:368: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).
                multiname_ex = new char[strlen(filename) + 16];
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:379:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        filecurrent = new char[strlen(filestar) + 1];
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:384:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        filecurrent = new char[strlen(filestar) + 16];
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:412:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        filestar = new char[strlen(filename)];
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:425:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            parallelfilecurrent = new char[strlen(filestar) + 1];
data/liggghts-3.8.0+repack1/src/dump_custom_vtm.cpp:430:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            parallelfilecurrent = new char[strlen(filestar) + 16];
data/liggghts-3.8.0+repack1/src/dump_image.cpp:86:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(filename);
data/liggghts-3.8.0+repack1/src/dump_image.cpp:87:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(filename) > 4 && strcmp(&filename[n-4],".jpg") == 0)
data/liggghts-3.8.0+repack1/src/dump_image.cpp:89:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  else if (strlen(filename) > 4 && strcmp(&filename[n-4],".JPG") == 0)
data/liggghts-3.8.0+repack1/src/dump_image.cpp:91:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  else if (strlen(filename) > 5 && strcmp(&filename[n-5],".jpeg") == 0)
data/liggghts-3.8.0+repack1/src/dump_image.cpp:93:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  else if (strlen(filename) > 5 && strcmp(&filename[n-5],".JPEG") == 0)
data/liggghts-3.8.0+repack1/src/dump_image.cpp:95:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  else if (strlen(filename) > 4 && strcmp(&filename[n-4],".png") == 0)
data/liggghts-3.8.0+repack1/src/dump_image.cpp:97:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  else if (strlen(filename) > 4 && strcmp(&filename[n-4],".PNG") == 0)
data/liggghts-3.8.0+repack1/src/dump_image.cpp:206:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+1][2]) + 1;
data/liggghts-3.8.0+repack1/src/dump_image.cpp:217:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+2][2]) + 1;
data/liggghts-3.8.0+repack1/src/dump_image.cpp:233:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+2][2]) + 1;
data/liggghts-3.8.0+repack1/src/dump_image.cpp:239:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+3][2]) + 1;
data/liggghts-3.8.0+repack1/src/dump_image.cpp:245:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+4][2]) + 1;
data/liggghts-3.8.0+repack1/src/dump_image.cpp:255:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+1][2]) + 1;
data/liggghts-3.8.0+repack1/src/dump_image.cpp:260:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+2][2]) + 1;
data/liggghts-3.8.0+repack1/src/dump_image.cpp:265:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+3][2]) + 1;
data/liggghts-3.8.0+repack1/src/dump_image.cpp:274:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+1][2]) + 1;
data/liggghts-3.8.0+repack1/src/dump_image.cpp:288:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+1][2]) + 1;
data/liggghts-3.8.0+repack1/src/dump_image.cpp:1015:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(arg[3]) != 2) error->all(FLERR,"Illegal dump_modify command");
data/liggghts-3.8.0+repack1/src/dump_local.cpp:118:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (int iarg = 5; iarg < narg; iarg++) n += strlen(arg[iarg]) + 2;
data/liggghts-3.8.0+repack1/src/dump_local.cpp:123:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(columns," ");
data/liggghts-3.8.0+repack1/src/dump_local.cpp:129:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  n = strlen(str) + 1;
data/liggghts-3.8.0+repack1/src/dump_local.cpp:170:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(str) + 1;
data/liggghts-3.8.0+repack1/src/dump_local.cpp:181: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).
    vformat[i] = new char[strlen(ptr) + 2];
data/liggghts-3.8.0+repack1/src/dump_local.cpp:183:18:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    vformat[i] = strcat(vformat[i]," ");
data/liggghts-3.8.0+repack1/src/dump_local.cpp:226:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[1]) + 1;
data/liggghts-3.8.0+repack1/src/dump_local.cpp:329:15:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    offset += sprintf(&sbuf[offset],"\n");
data/liggghts-3.8.0+repack1/src/dump_local.cpp:390:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:396:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/dump_local.cpp:425:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/dump_local.cpp:431:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/dump_local.cpp:477:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(id) + 1;
data/liggghts-3.8.0+repack1/src/dump_local.cpp:502:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(id) + 1;
data/liggghts-3.8.0+repack1/src/dump_local_gran.cpp:648:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int n = strlen(arg[1]) + 1;
data/liggghts-3.8.0+repack1/src/dump_local_gran_vtk.cpp:110:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(suffix) == 5)
data/liggghts-3.8.0+repack1/src/dump_local_gran_vtk.cpp:124: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).
    else if (strlen(suffix) == 4)
data/liggghts-3.8.0+repack1/src/dump_local_gran_vtk.cpp:274:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(arg[1]) + 1;
data/liggghts-3.8.0+repack1/src/dump_mesh_stl.cpp:229: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).
  for(int i=strlen(header);i<80;i++)
data/liggghts-3.8.0+repack1/src/dump_mesh_stl.cpp:230:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(header," ");
data/liggghts-3.8.0+repack1/src/dump_mesh_vtm.cpp:95:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      multiname_ex = new char[strlen(filename) + 16];
data/liggghts-3.8.0+repack1/src/dump_mesh_vtm.cpp:158: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).
                multiname_ex = new char[strlen(filename) + 16];
data/liggghts-3.8.0+repack1/src/dump_mesh_vtm.cpp:169:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        filecurrent = new char[strlen(filestar) + 1];
data/liggghts-3.8.0+repack1/src/dump_mesh_vtm.cpp:174:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        filecurrent = new char[strlen(filestar) + 16];
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:542:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:549:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:579:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:585:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:613:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:718:13:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
            strcpy(typenames[itype],"C");
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:1868:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(id) + 1;
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:1893:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(id) + 1;
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:1922:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(id) + 1;
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:1942:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int n = strlen(arg[1]) + 1;
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:1961:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int n = strlen(arg[itype]) + 1;
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:2092:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int n = strlen(arg[1]);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:2098: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).
                if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:2130:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int n = strlen(arg[1]);
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:2136: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).
                if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/dump_particle.cpp:2164:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int n = strlen(arg[1]);
data/liggghts-3.8.0+repack1/src/dump_vtk.cpp:409:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        filecurrent = new char[strlen(filename) + 1];
data/liggghts-3.8.0+repack1/src/dump_vtk.cpp:415:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        filecurrent = new char[strlen(filename) + 16];
data/liggghts-3.8.0+repack1/src/dump_vtk.cpp:442:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(suffix) == 5)
data/liggghts-3.8.0+repack1/src/dump_vtk.cpp:457: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).
    else if (strlen(suffix) == 4)
data/liggghts-3.8.0+repack1/src/dump_xyz.cpp:75:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(str) + 1;
data/liggghts-3.8.0+repack1/src/dump_xyz.cpp:107:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(str) + 2;
data/liggghts-3.8.0+repack1/src/dump_xyz.cpp:110:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  strcat(format,"\n");
data/liggghts-3.8.0+repack1/src/dump_xyz.cpp:151:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[itype]) + 1;
data/liggghts-3.8.0+repack1/src/error.cpp:206:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(str) > 2)
data/liggghts-3.8.0+repack1/src/error.cpp:243:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(str) > 2)
data/liggghts-3.8.0+repack1/src/error.cpp:277:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *catstr = new char[strlen(str)+1+100];
data/liggghts-3.8.0+repack1/src/fix.cpp:78:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(arg[0]) + 1;
data/liggghts-3.8.0+repack1/src/fix.cpp:90:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  n = strlen(arg[2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_adapt.cpp:122:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_adapt.cpp:125:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(arg[iarg+2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_adapt.cpp:133: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).
        n = strlen(&arg[iarg+5][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_adapt.cpp:143:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+1][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_adapt.cpp:162:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+2][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_addforce.cpp:83:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[3][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_addforce.cpp:91:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[4][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_addforce.cpp:99:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[5][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_addforce.cpp:120:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_addforce.cpp:127:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+1][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_atom.cpp:125:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/fix_ave_atom.cpp:131:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/fix_ave_atom.cpp:137:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(suffix) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:104:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:110:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:116:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(suffix) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:180:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:187:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_correlate.cpp:194:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_euler.cpp:139:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_euler.cpp:145:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       char *errmsg = new char[strlen(arg[iarg])+50];
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:199:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:205:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:211:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(suffix) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:229:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            n = strlen(ids[nvalues]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:249:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            n = strlen(ids[nvalues]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:1002:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:1009:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_histo.cpp:1016:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:171:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:177:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:183:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(suffix) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:232:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:275:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:282:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:289:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:371:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (title1 && strlen (title1) > 1) fprintf(fp,"%s\n",title1);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:374:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (title2 && strlen (title2) > 1) fprintf(fp,"%s\n",title2);
data/liggghts-3.8.0+repack1/src/fix_ave_spatial.cpp:376:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (title3 && strlen (title3) > 1) fprintf(fp,"%s\n",title3);
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:123:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:129:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:135:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(suffix) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:153:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            n = strlen(ids[nvalues]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:173:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            n = strlen(ids[nvalues]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:918:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:925:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_ave_time.cpp:932:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_aveforce.cpp:81:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[3][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_aveforce.cpp:91:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[4][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_aveforce.cpp:101:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[5][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_aveforce.cpp:123:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_base_liggghts.cpp:92:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(regid) + 1;
data/liggghts-3.8.0+repack1/src/fix_box_relax.cpp:347:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(id) + 6;
data/liggghts-3.8.0+repack1/src/fix_box_relax.cpp:364:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  n = strlen(id) + 7;
data/liggghts-3.8.0+repack1/src/fix_box_relax.cpp:794:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_box_relax.cpp:825:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_check_timestep_gran.cpp:120:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          char *errmsg = new char[strlen(arg[iarg])+50];
data/liggghts-3.8.0+repack1/src/fix_contact_history.cpp: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).
    int n = strlen(arg[iarg_]) + 1;
data/liggghts-3.8.0+repack1/src/fix_contact_history.cpp:127:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen("contacthistory") + 1;
data/liggghts-3.8.0+repack1/src/fix_contact_history.cpp:157:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    history_id_[i] = new char[strlen(arg[iarg_])+1];
data/liggghts-3.8.0+repack1/src/fix_contact_history_mesh.cpp:159:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *fix_nneighs_name = new char[strlen(mesh_->mesh_id())+1+14];
data/liggghts-3.8.0+repack1/src/fix_contact_property_atom.cpp:87:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            char *errmsg = new char[strlen(arg[iarg_])+50];
data/liggghts-3.8.0+repack1/src/fix_continuum_weighted.cpp:126:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            char *errmsg = new char[strlen(arg[iarg])+50];
data/liggghts-3.8.0+repack1/src/fix_deform.cpp:168:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+2][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_deform.cpp:171: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).
        n = strlen(&arg[iarg+3][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_deform.cpp:230:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+2][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_deform.cpp:233: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).
        n = strlen(&arg[iarg+3][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_efield.cpp:80:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[3][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_efield.cpp: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).
    int n = strlen(&arg[4][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_efield.cpp:98:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[5][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_fiber_spring_simple.cpp:115:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[4]) + 1;
data/liggghts-3.8.0+repack1/src/fix_gravity.cpp:92:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[3][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_gravity.cpp:105:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[5][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_gravity.cpp:118:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[5][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_gravity.cpp:127:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[6][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_gravity.cpp:140:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[5][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_gravity.cpp:149:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[6][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_gravity.cpp:158:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[7][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_insert.cpp:192:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_insert_pack.cpp:88:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_massflow_mesh.cpp:169:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            char* filecurrent = new char[strlen(arg[iarg_+1]) + 8];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:126:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                int n = strlen(&arg[iarg_][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:137:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                int n = strlen(&arg[iarg_][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:148:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                int n = strlen(&arg[iarg_][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:179:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                int n = strlen(&arg[iarg_][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:219:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          char *errmsg = new char[strlen(arg[iarg_])+50];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:276:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            char *errmsg = new char[strlen(arg[2])+50];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:317:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        char *errmsg = new char[strlen(arg[iarg_])+50];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:584:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *neighlist_name = new char[strlen(id)+1+20];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:631:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *neighlist_name = new char[strlen(id)+1+20+strlen(nId)+1];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:631:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *neighlist_name = new char[strlen(id)+1+20+strlen(nId)+1];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:661:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *neighlist_name = new char[strlen(id)+1+20+strlen(nId)+1];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:661:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *neighlist_name = new char[strlen(id)+1+20+strlen(nId)+1];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:692:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *contacthist_name = new char[strlen(id)+1+8];
data/liggghts-3.8.0+repack1/src/fix_mesh_surface.cpp:693: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).
    char *my_id = new char[strlen(id)+1];
data/liggghts-3.8.0+repack1/src/fix_move.cpp:152:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[4][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_move.cpp:158:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[5][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_move.cpp:164:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[6][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_move.cpp:170:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[7][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_move.cpp:176:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[8][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_move.cpp:182:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[9][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_multicontact_halfspace.cpp:89:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            char *errmsg = new char[strlen(arg[iarg])+50];
data/liggghts-3.8.0+repack1/src/fix_multisphere.cpp:114:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int strln = strlen("multisphere") + 1;
data/liggghts-3.8.0+repack1/src/fix_multisphere.cpp:165:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            char *errmsg = new char[strlen(arg[iarg])+50];
data/liggghts-3.8.0+repack1/src/fix_multisphere_break.cpp:132:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/fix_multisphere_break.cpp:139: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).
                if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/fix_multisphere_break.cpp:147:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            n = strlen(suffix) + 1;
data/liggghts-3.8.0+repack1/src/fix_multisphere_break.cpp:162:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int n = strlen(arg[iarg++]);
data/liggghts-3.8.0+repack1/src/fix_neighlist_mesh.cpp:124:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        fix_nneighs_name_ = new char[strlen(mesh_->mesh_id())+strlen(id)+1+20];
data/liggghts-3.8.0+repack1/src/fix_neighlist_mesh.cpp:124:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        fix_nneighs_name_ = new char[strlen(mesh_->mesh_id())+strlen(id)+1+20];
data/liggghts-3.8.0+repack1/src/fix_print.cpp:71:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(arg[4]) + 1;
data/liggghts-3.8.0+repack1/src/fix_print.cpp:108:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_property_atom.cpp: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).
    int n = strlen(arg[3]) + 1;
data/liggghts-3.8.0+repack1/src/fix_property_atom.cpp:142:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(prop);
data/liggghts-3.8.0+repack1/src/fix_property_atom_region_tracer.cpp:83:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int n = strlen(arg[iarg_]) + 1;
data/liggghts-3.8.0+repack1/src/fix_property_atom_region_tracer.cpp:108:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(id) + 1;
data/liggghts-3.8.0+repack1/src/fix_property_atom_tracer.cpp:77:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(id) + 1;
data/liggghts-3.8.0+repack1/src/fix_property_atom_tracer.cpp:105:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            n = strlen(arg[iarg_]) + 1;
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:72:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int len = strlen("property/global") + 1;
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:79:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[3]) + 1;
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:424:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    filename = new char[strlen(arg[1])+1];
data/liggghts-3.8.0+repack1/src/fix_property_global.cpp:426:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    grpname = new char[strlen(group->names[igroup])+1];
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:475:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_rigid.cpp:504:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:114:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  equation_id = new char[strlen(arg[iarg])+1];
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:119: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).
  quantity_name = new char[strlen(arg[iarg])+1];
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:128:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  flux_name = new char[strlen(arg[iarg])+1];
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:133:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  source_name = new char[strlen(arg[iarg])+1];
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:141:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      capacity_name = new char[strlen(arg[iarg])+1];
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:174:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  fluid_name_ = new char[strlen(fluidName)+1];
data/liggghts-3.8.0+repack1/src/fix_scalar_transport_equation.cpp:178:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  transCoeff_name_ = new char[strlen(transCoeffName)+1];
data/liggghts-3.8.0+repack1/src/fix_setforce.cpp:81:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[3][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_setforce.cpp:91:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[4][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_setforce.cpp:101:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[5][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_setforce.cpp:123:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/fix_sph_density_continuity.cpp:79:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          kernel_style = new char[strlen(arg[iarg+1])+1];
data/liggghts-3.8.0+repack1/src/fix_sph_density_corr.cpp:93:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          kernel_style = new char[strlen(arg[iarg+1])+1];
data/liggghts-3.8.0+repack1/src/fix_sph_density_corr.cpp:113: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).
  quantity_name = new char[strlen("corrKernel")+1];
data/liggghts-3.8.0+repack1/src/fix_sph_density_summation.cpp:82:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          kernel_style = new char[strlen(arg[iarg+1])+1];
data/liggghts-3.8.0+repack1/src/fix_spring.cpp:103:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[4]) + 1;
data/liggghts-3.8.0+repack1/src/fix_store_state.cpp:238:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg]);
data/liggghts-3.8.0+repack1/src/fix_store_state.cpp:244:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (suffix[strlen(suffix)-1] != ']')
data/liggghts-3.8.0+repack1/src/fix_store_state.cpp:250:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(suffix) + 1;
data/liggghts-3.8.0+repack1/src/fix_wall.cpp:115:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+1][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_wall.cpp:124:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+2][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_wall.cpp:134:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+3][2]) + 1;
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:397:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          char *wallforce_name = new char[strlen(style)+1+6];
data/liggghts-3.8.0+repack1/src/fix_wall_gran.cpp:500:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          char *hist_name = new char[strlen(id)+1+10];
data/liggghts-3.8.0+repack1/src/fix_wall_region.cpp:85:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(arg[3]) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:106:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(str) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:185:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(estyle) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:189:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(style) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:210:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(estyle) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:214:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(style) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:346:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(estyle) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:350:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(style) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:421:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(estyle) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:425:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(style) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:482:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(estyle) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:486:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(style) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:544:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(estyle) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:548:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(style) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:605:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(estyle) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:609:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[0]) + 1;
data/liggghts-3.8.0+repack1/src/force.cpp:771: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).
  } else if (strlen(str) == 1) {
data/liggghts-3.8.0+repack1/src/force.cpp:777: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).
  } else if (strlen(ptr+1) == 0) {
data/liggghts-3.8.0+repack1/src/force.cpp:797: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).
    const unsigned int n = strlen(str);
data/liggghts-3.8.0+repack1/src/force.cpp:829: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).
    const unsigned int n = strlen(str);
data/liggghts-3.8.0+repack1/src/group.cpp:97:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(str) + 1;
data/liggghts-3.8.0+repack1/src/group.cpp:167:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[0]) + 1;
data/liggghts-3.8.0+repack1/src/group.cpp:448:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(name) + 1;
data/liggghts-3.8.0+repack1/src/group.cpp:544:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (names[i]) n = strlen(names[i]) + 1;
data/liggghts-3.8.0+repack1/src/histogram.h:113: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).
    id_ = new char[strlen(_id)+1];
data/liggghts-3.8.0+repack1/src/image.cpp:1179:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(name) + 1;
data/liggghts-3.8.0+repack1/src/image.cpp:1744:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(arg[2]) != 2) return 1;
data/liggghts-3.8.0+repack1/src/improper_hybrid.cpp:259: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).
    keywords[nstyles] = new char[strlen(arg[i])+1];
data/liggghts-3.8.0+repack1/src/improper_hybrid.cpp:327:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(keywords[m]) + 1;
data/liggghts-3.8.0+repack1/src/info.cpp:511: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).
  const int len = strlen(name);
data/liggghts-3.8.0+repack1/src/info.cpp:569:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *name_w_suffix = new char [len + 2 + strlen(lmp->suffix)];
data/liggghts-3.8.0+repack1/src/info.cpp:593: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).
  const int len = strlen(name);
data/liggghts-3.8.0+repack1/src/info.cpp:606:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        char *name_w_suffix = new char [len + 2 + strlen(lmp->suffix)];
data/liggghts-3.8.0+repack1/src/info.cpp:626:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        char *name_w_suffix = new char [len + 2 + strlen(lmp->suffix)];
data/liggghts-3.8.0+repack1/src/info.cpp:646:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        char *name_w_suffix = new char [len + 2 + strlen(lmp->suffix)];
data/liggghts-3.8.0+repack1/src/input.cpp:198:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (m) n = strlen(line) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:202: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).
        m = strlen(line);
data/liggghts-3.8.0+repack1/src/input.cpp:301:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(single) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:347:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(line) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:452:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  n = strlen(str) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:470:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        beyond = ptr + strlen(var) + 3;
data/liggghts-3.8.0+repack1/src/input.cpp:491:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        beyond = ptr + strlen(var) + 3;
data/liggghts-3.8.0+repack1/src/input.cpp:511:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(str2) + strlen(value) + strlen(beyond) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:511:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(str2) + strlen(value) + strlen(beyond) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:511:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(str2) + strlen(value) + strlen(beyond) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:514: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).
      ptr2 = str2 + strlen(str2);
data/liggghts-3.8.0+repack1/src/input.cpp:710:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(arg[0]) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:721:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if(strlen(line) < 11)
data/liggghts-3.8.0+repack1/src/input.cpp:754:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[i]) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:788:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:813:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[i]) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:898:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[1]) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:996:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ptr += strlen(ptr) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:1019:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[0]) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:1163: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).
    for (int i = 0; i < narg; i++) n += strlen(arg[i]) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:1167:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(work," ");
data/liggghts-3.8.0+repack1/src/input.cpp:1726:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[0]) + 1;
data/liggghts-3.8.0+repack1/src/input.cpp:1806:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(line) + 1;
data/liggghts-3.8.0+repack1/src/input_mesh_tet.cpp:79:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(strlen(filename) < 5)
data/liggghts-3.8.0+repack1/src/input_mesh_tet.cpp:147:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (m) n = strlen(line) + 1;
data/liggghts-3.8.0+repack1/src/input_mesh_tet.cpp:151: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).
        m = strlen(line);
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:85:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(strlen(filename) < 5)
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:87:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const char *ext = &(filename[strlen(filename)-3]);
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:155:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (m) n = strlen(line) + 1;
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:159: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).
        m = strlen(line);
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:331:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (m) n = strlen(line) + 1;
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:335: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).
        m = strlen(line);
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:522:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          stl_file.read((char *)&dum, sizeof(float));
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:526:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        stl_file.read((char *)&num_of_facets, sizeof(int));
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:539:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
              stl_file.read((char *)&tri_data[i], sizeof(float));
data/liggghts-3.8.0+repack1/src/input_mesh_tri.cpp:542:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            stl_file.read((char *)&dum, sizeof(short));
data/liggghts-3.8.0+repack1/src/input_multisphere.cpp:104:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if (m) n = strlen(line) + 1;
data/liggghts-3.8.0+repack1/src/input_multisphere.cpp:108: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).
        m = strlen(line);
data/liggghts-3.8.0+repack1/src/lammps.cpp:227:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/lammps.cpp:856:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int len = strlen(str);
data/liggghts-3.8.0+repack1/src/math_extra_liggghts.h:613:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t n = strlen(str);
data/liggghts-3.8.0+repack1/src/mesh_module_stress_servo.cpp:168:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                const int n = strlen(&arg[iarg_][2]) + 1;
data/liggghts-3.8.0+repack1/src/mesh_module_stress_servo.cpp:691:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            const int n = strlen(&arg[1][2]) + 1;
data/liggghts-3.8.0+repack1/src/mesh_mover_linear.cpp:128:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(&arg[1][2]) + 1;
data/liggghts-3.8.0+repack1/src/mesh_mover_linear.cpp:133:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(&arg[2][2]) + 1;
data/liggghts-3.8.0+repack1/src/mesh_mover_linear.cpp:138:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(&arg[3][2]) + 1;
data/liggghts-3.8.0+repack1/src/mesh_mover_rotation.cpp:169:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(&arg[10][2]) + 1;
data/liggghts-3.8.0+repack1/src/modify.cpp:848:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char * errmsg = new char[30+strlen(arg[2])]; 
data/liggghts-3.8.0+repack1/src/modify.cpp:1153: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).
        n = strlen(fix[i]->id) + 1;
data/liggghts-3.8.0+repack1/src/modify.cpp:1156: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).
        n = strlen(fix[i]->style) + 1;
data/liggghts-3.8.0+repack1/src/modify.cpp:1174: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).
        n = strlen(fix[i]->id) + 1;
data/liggghts-3.8.0+repack1/src/modify.cpp:1177: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).
        n = strlen(fix[i]->style) + 1;
data/liggghts-3.8.0+repack1/src/modify_liggghts.cpp:127:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen(style);
data/liggghts-3.8.0+repack1/src/modify_liggghts.cpp:186:73:  [1] (buffer) strlen:
  Does not handle 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 (strcmp(id,fix[ifix]->id) == 0 && strncmp(style,fix[ifix]->style,strlen(style)) == 0) break;
data/liggghts-3.8.0+repack1/src/modify_liggghts.cpp:200:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(style);
data/liggghts-3.8.0+repack1/src/modify_liggghts.cpp:214:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(style);
data/liggghts-3.8.0+repack1/src/modify_liggghts.cpp:455:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp(style_restart_global[i],_style,strlen(_style)) == 0)
data/liggghts-3.8.0+repack1/src/modify_liggghts.cpp:461:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp(style_restart_peratom[i],_style,strlen(_style)) == 0)
data/liggghts-3.8.0+repack1/src/modify_liggghts.cpp:475:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp(style_restart_global[i],_style,strlen(_style)) == 0)
data/liggghts-3.8.0+repack1/src/modify_liggghts.cpp:487:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strncmp(style_restart_global[i],_style,strlen(_style)) == 0)
data/liggghts-3.8.0+repack1/src/multi_node_mesh_I.h:105: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).
      mesh_id_ = new char[strlen(_id)+1];
data/liggghts-3.8.0+repack1/src/output.cpp:371:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *file = new char[strlen(restart1) + 16];
data/liggghts-3.8.0+repack1/src/output.cpp:479:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *file = new char[strlen(restart1) + 16];
data/liggghts-3.8.0+repack1/src/output.cpp:700:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[0][2]) + 1;
data/liggghts-3.8.0+repack1/src/output.cpp:776:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[0][2]) + 1;
data/liggghts-3.8.0+repack1/src/output.cpp:782:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[1]) + 3;
data/liggghts-3.8.0+repack1/src/output.cpp:793:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[0][2]) + 1;
data/liggghts-3.8.0+repack1/src/output.cpp:800:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[1]) + 3;
data/liggghts-3.8.0+repack1/src/output.cpp:803:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(arg[2]) + 1;
data/liggghts-3.8.0+repack1/src/pair.cpp:1681:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len1 = strlen(path);
data/liggghts-3.8.0+repack1/src/pair.cpp:1682:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len2 = strlen(pot);
data/liggghts-3.8.0+repack1/src/pair_hybrid.cpp:267:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[iarg]) + 1;
data/liggghts-3.8.0+repack1/src/pair_hybrid.cpp:646:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(keywords[m]) + 1;
data/liggghts-3.8.0+repack1/src/pair_sph.cpp:138: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).
  kernel_style = new char[strlen(arg[iarg])+1];
data/liggghts-3.8.0+repack1/src/procmap.cpp:327:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strspn(line," \t\n\r") != strlen(line)) break;
data/liggghts-3.8.0+repack1/src/procmap.cpp:333:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(line) + 1;
data/liggghts-3.8.0+repack1/src/procmap.cpp:743:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    MPI_Send(procname,strlen(procname)+1,MPI_CHAR,0,0,world);
data/liggghts-3.8.0+repack1/src/read_data.cpp:171:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(arg[iarg+2]) + 1;
data/liggghts-3.8.0+repack1/src/read_data.cpp:175:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+3]) + 1;
data/liggghts-3.8.0+repack1/src/read_data.cpp:220:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        char *file = new char[strlen(arg[0]) + 16];
data/liggghts-3.8.0+repack1/src/read_data.cpp:260:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  while (strlen(keyword)) {
data/liggghts-3.8.0+repack1/src/read_data.cpp:476:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      else n = strlen(line) + 1;
data/liggghts-3.8.0+repack1/src/read_data.cpp:495:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strspn(line," \t\n\r") == strlen(line)) continue;
data/liggghts-3.8.0+repack1/src/read_data.cpp:1213:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  while (strlen(keyword)) {
data/liggghts-3.8.0+repack1/src/read_data.cpp:1499:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *suffix = file + strlen(file) - 3;
data/liggghts-3.8.0+repack1/src/read_data.cpp:1541:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    while (eof == 0 && strspn(line," \t\n\r") == strlen(line)) {
data/liggghts-3.8.0+repack1/src/read_data.cpp:1559:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (me == 0) n = strlen(line) + 1;
data/liggghts-3.8.0+repack1/src/read_data.cpp:1567:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int stop = strlen(line) - 1;
data/liggghts-3.8.0+repack1/src/read_dump.cpp:97:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen("native") + 1;
data/liggghts-3.8.0+repack1/src/read_dump.cpp:216:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(str[i]) + 1;
data/liggghts-3.8.0+repack1/src/read_dump.cpp:238: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).
  char *dirname = new char[strlen(infile) + 1];
data/liggghts-3.8.0+repack1/src/read_dump.cpp:239:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *filename = new char[strlen(infile) + 1];
data/liggghts-3.8.0+repack1/src/read_dump.cpp:252: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).
  char *pattern = new char[strlen(filename) + 1];
data/liggghts-3.8.0+repack1/src/read_dump.cpp:258:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t n = strlen(pattern) + 16; 
data/liggghts-3.8.0+repack1/src/read_dump.cpp:267:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nbegin = strlen(begin);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:278:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(end) == 0) ptr = ep->d_name + strlen(ep->d_name);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:278:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(end) == 0) ptr = ep->d_name + strlen(ep->d_name);
data/liggghts-3.8.0+repack1/src/read_dump.cpp:280:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(&ep->d_name[nbegin]) < n) {
data/liggghts-3.8.0+repack1/src/read_dump.cpp:288:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      files[nfile-1] = new char[strlen(filename) + 16];
data/liggghts-3.8.0+repack1/src/read_dump.cpp:857:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+2]) + 1;
data/liggghts-3.8.0+repack1/src/read_dump.cpp:876:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/read_restart.cpp:119:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *file = new char[strlen(arg[0]) + 16];
data/liggghts-3.8.0+repack1/src/read_restart.cpp:124:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(file) + 1;
data/liggghts-3.8.0+repack1/src/read_restart.cpp:143:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      hfile = new char[strlen(file) + 16];
data/liggghts-3.8.0+repack1/src/read_restart.cpp:258:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *perproc = new char[strlen(file) + 16];
data/liggghts-3.8.0+repack1/src/read_restart.cpp:413:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *dirname = new char[strlen(infile) + 1];
data/liggghts-3.8.0+repack1/src/read_restart.cpp:414:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *filename = new char[strlen(infile) + 1];
data/liggghts-3.8.0+repack1/src/read_restart.cpp:429: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).
  char *pattern = new char[strlen(filename) + 16];
data/liggghts-3.8.0+repack1/src/read_restart.cpp:440:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t n = strlen(pattern) + 16; 
data/liggghts-3.8.0+repack1/src/read_restart.cpp:449:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nbegin = strlen(begin);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:459:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(end) == 0) ptr = ep->d_name + strlen(ep->d_name);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:459:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(end) == 0) ptr = ep->d_name + strlen(ep->d_name);
data/liggghts-3.8.0+repack1/src/read_restart.cpp:461:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(&ep->d_name[nbegin]) < n) {
data/liggghts-3.8.0+repack1/src/reader.cpp:70:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const char *suffix = file + strlen(file) - 3;
data/liggghts-3.8.0+repack1/src/reader_native.cpp:151:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (line[strlen("ITEM: BOX BOUNDS ")] == 'x') triclinic = 1;
data/liggghts-3.8.0+repack1/src/reader_native.cpp:171:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  char *labelline = &line[strlen("ITEM: ATOMS ")];
data/liggghts-3.8.0+repack1/src/region.cpp:78:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(arg[0]) + 1;
data/liggghts-3.8.0+repack1/src/region.cpp:82:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  n = strlen(arg[1]) + 1;
data/liggghts-3.8.0+repack1/src/region.cpp:406:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+1][2]) + 1;
data/liggghts-3.8.0+repack1/src/region.cpp:413:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+2][2]) + 1;
data/liggghts-3.8.0+repack1/src/region.cpp:420:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(&arg[iarg+3][2]) + 1;
data/liggghts-3.8.0+repack1/src/region.cpp:431:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(&arg[iarg+1][2]) + 1;
data/liggghts-3.8.0+repack1/src/region_cylinder.cpp:88:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[5][2]) + 1;
data/liggghts-3.8.0+repack1/src/region_intersect.cpp:74:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    m = strlen(arg[iarg+3]) + 1;
data/liggghts-3.8.0+repack1/src/region_sphere.cpp:73:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[5][2]) + 1;
data/liggghts-3.8.0+repack1/src/region_union.cpp:76:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    m = strlen(arg[iarg+3]) + 1;
data/liggghts-3.8.0+repack1/src/run.cpp:182:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[i]) + 1;
data/liggghts-3.8.0+repack1/src/set.cpp:124:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(arg[1]) + 1;
data/liggghts-3.8.0+repack1/src/set.cpp:580:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(arg[iarg+1]) + 1;
data/liggghts-3.8.0+repack1/src/set.cpp:1356:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(name) + 1;
data/liggghts-3.8.0+repack1/src/string_liggghts.h:61:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t str_len = strlen(str);
data/liggghts-3.8.0+repack1/src/string_liggghts.h:62:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t suffix_len = strlen(suffix);
data/liggghts-3.8.0+repack1/src/thermo.cpp:114:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(arg[0]) + 1;
data/liggghts-3.8.0+repack1/src/thermo.cpp:154:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
      strcat(line," ");
data/liggghts-3.8.0+repack1/src/thermo.cpp:156:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    line[strlen(line)-1] = '\0';
data/liggghts-3.8.0+repack1/src/thermo.cpp:241:46:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    if (lineflag == MULTILINE && i % 3 == 0) strcat(format[i],"\n");
data/liggghts-3.8.0+repack1/src/thermo.cpp:258:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(format[i]);
data/liggghts-3.8.0+repack1/src/thermo.cpp:262:24:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    if (i == nfield-1) strcat(format[i],"\n");
data/liggghts-3.8.0+repack1/src/thermo.cpp:323:3:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
  sprintf(&line[loc],"\n");
data/liggghts-3.8.0+repack1/src/thermo.cpp:509:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(arg[iarg+2]) + 1;
data/liggghts-3.8.0+repack1/src/thermo.cpp:513: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).
        n = strlen(format_int_user) + 3;
data/liggghts-3.8.0+repack1/src/thermo.cpp:525:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(arg[iarg+2]) + 1;
data/liggghts-3.8.0+repack1/src/thermo.cpp:533:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(arg[iarg+2]) + 1;
data/liggghts-3.8.0+repack1/src/thermo.cpp:732:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(word);
data/liggghts-3.8.0+repack1/src/thermo.cpp:736:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(copy,id,8);
data/liggghts-3.8.0+repack1/src/thermo.cpp:851:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(id) + 1;
data/liggghts-3.8.0+repack1/src/thermo.cpp:865:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(id) + 1;
data/liggghts-3.8.0+repack1/src/thermo.cpp:878:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(id) + 1;
data/liggghts-3.8.0+repack1/src/universe.cpp:73:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  version = new char[strlen(LAMMPS_VERSION)+strlen(LIGGGHTS_VERSION)+100]; 
data/liggghts-3.8.0+repack1/src/universe.cpp:73:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  version = new char[strlen(LAMMPS_VERSION)+strlen(LIGGGHTS_VERSION)+100]; 
data/liggghts-3.8.0+repack1/src/universe.cpp:151:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strspn(line," \t\n\r") != strlen(line)) break;
data/liggghts-3.8.0+repack1/src/universe.cpp:251:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  universe_id = new char[strlen(id)+1];
data/liggghts-3.8.0+repack1/src/update.cpp:331:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(style) + 1;
data/liggghts-3.8.0+repack1/src/update.cpp:351:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(estyle) + 1;
data/liggghts-3.8.0+repack1/src/update.cpp:355:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(arg[0]) + 1;
data/liggghts-3.8.0+repack1/src/update.cpp:423:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(arg[0]) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:214: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).
        pad[nvar] = strlen(digits);
data/liggghts-3.8.0+repack1/src/variable.cpp:224: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).
        pad[nvar] = strlen(digits);
data/liggghts-3.8.0+repack1/src/variable.cpp:278: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).
        pad[nvar] = strlen(digits);
data/liggghts-3.8.0+repack1/src/variable.cpp:424:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(arg[0]) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:595:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(result) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:604:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(result) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:613:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(result) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:796:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(from[i]) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:893:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(number,&str[istart],n);
data/liggghts-3.8.0+repack1/src/variable.cpp:924:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(word,&str[istart],n);
data/liggghts-3.8.0+repack1/src/variable.cpp:936: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).
        n = strlen(word) - 2 + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:1151: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).
        n = strlen(word) - 2 + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:1322: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).
        n = strlen(word) - 2 + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:2430:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(contents,&str[istart+1],n);
data/liggghts-3.8.0+repack1/src/variable.cpp:2513:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(contents) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:2518:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(ptr1+1) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:2524:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(ptr2+1) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:2876:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(contents) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:2881:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(ptr1+1) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:2887:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(ptr2+1) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:3148:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(contents) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:3153:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(ptr1+1) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:3159:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(ptr2+1) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:3605:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(str);
data/liggghts-3.8.0+repack1/src/variable.cpp:3624:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(str);
data/liggghts-3.8.0+repack1/src/variable.cpp:3733:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(number,&str[istart],n);
data/liggghts-3.8.0+repack1/src/variable.cpp:3862:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (unsigned int i=0; i < strlen(str)-2; i++) {
data/liggghts-3.8.0+repack1/src/variable.cpp:3869:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(word,&str[istart],n);
data/liggghts-3.8.0+repack1/src/variable.cpp:3881:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(word) - 2 + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:3899: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).
        n = strlen(word) - 2 + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:3955:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(name) + strlen("_VARIABLE_STORE") + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:3955: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).
    int n = strlen(name) + strlen("_VARIABLE_STORE") + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:4006:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      else n = strlen(str);
data/liggghts-3.8.0+repack1/src/variable.cpp:4011:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(str) + 1;
data/liggghts-3.8.0+repack1/src/variable.cpp:4048:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      else n = strlen(str);
data/liggghts-3.8.0+repack1/src/variable.cpp:4053:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(str) + 1;
data/liggghts-3.8.0+repack1/src/velocity.cpp:182:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[0][2]) + 1;
data/liggghts-3.8.0+repack1/src/velocity.cpp:189:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[1][2]) + 1;
data/liggghts-3.8.0+repack1/src/velocity.cpp:196:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[2][2]) + 1;
data/liggghts-3.8.0+repack1/src/velocity.cpp:345:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[0][2]) + 1;
data/liggghts-3.8.0+repack1/src/velocity.cpp:352:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[1][2]) + 1;
data/liggghts-3.8.0+repack1/src/velocity.cpp:359:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(&arg[2][2]) + 1;
data/liggghts-3.8.0+repack1/src/write_data.cpp:97:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(arg[0]) + 16;
data/liggghts-3.8.0+repack1/src/write_restart.cpp:127:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(arg[0]) + 16;
data/liggghts-3.8.0+repack1/src/write_restart.cpp:238:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      hfile = new char[strlen(file) + 16];
data/liggghts-3.8.0+repack1/src/write_restart.cpp:381:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *perproc = new char[strlen(file) + 16];
data/liggghts-3.8.0+repack1/src/write_restart.cpp:449:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      int n = strlen(keywords[i]) + 1;
data/liggghts-3.8.0+repack1/src/write_restart.cpp:525:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(force->pair_style) + 1;
data/liggghts-3.8.0+repack1/src/write_restart.cpp:533:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(force->bond_style) + 1;
data/liggghts-3.8.0+repack1/src/write_restart.cpp:541:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(force->angle_style) + 1;
data/liggghts-3.8.0+repack1/src/write_restart.cpp:549:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(force->dihedral_style) + 1;
data/liggghts-3.8.0+repack1/src/write_restart.cpp:557:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(force->improper_style) + 1;
data/liggghts-3.8.0+repack1/src/write_restart.cpp:596:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(value) + 1;

ANALYSIS SUMMARY:

Hits = 1861
Lines analyzed = 252735 in approximately 8.46 seconds (29868 lines/second)
Physical Source Lines of Code (SLOC) = 153528
Hits@level = [0] 1052 [1] 582 [2] 582 [3]  28 [4] 669 [5]   0
Hits@level+ = [0+] 2913 [1+] 1861 [2+] 1279 [3+] 697 [4+] 669 [5+]   0
Hits/KSLOC@level+ = [0+] 18.9737 [1+] 12.1216 [2+] 8.33073 [3+] 4.53989 [4+] 4.35751 [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.