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/ferret-vis-7.6.0/fmt/src/cd_write_att_dp_sub.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_ep_time_convrt.c
Examining data/ferret-vis-7.6.0/fmt/src/string_array_find_caseblind.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_check_inf.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_set_free_event.c
Examining data/ferret-vis-7.6.0/fmt/src/cd_write_var_sub.c
Examining data/ferret-vis-7.6.0/fmt/src/deleted_list_clear.c
Examining data/ferret-vis-7.6.0/fmt/src/switch_nan.c
Examining data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_match_capital_name.c
Examining data/ferret-vis-7.6.0/fmt/src/str_upcase_sub.c
Examining data/ferret-vis-7.6.0/fmt/src/str_case_blind_compare_sub.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_nullify_lm.c
Examining data/ferret-vis-7.6.0/fmt/src/deleted_list_get_del.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_world_recur.c
Examining data/ferret-vis-7.6.0/fmt/src/cd_write_att_sub.c
Examining data/ferret-vis-7.6.0/fmt/src/string_array_find_exact.c
Examining data/ferret-vis-7.6.0/fmt/src/string_array_clear.c
Examining data/ferret-vis-7.6.0/fmt/src/string_array_hash.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_break_fmt_date_c.c
Examining data/ferret-vis-7.6.0/fmt/src/cd_read_sub.c
Examining data/ferret-vis-7.6.0/fmt/src/str_dncase_sub.c
Examining data/ferret-vis-7.6.0/fmt/src/string_array_find.c
Examining data/ferret-vis-7.6.0/fmt/src/deleted_list_init.c
Examining data/ferret-vis-7.6.0/fmt/src/string_array_get_strlen1.c
Examining data/ferret-vis-7.6.0/fmt/src/cd_rd_str_1_sub.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_get_strlen.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_c_rename.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_unix_versions.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_check_nan.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_ftoc_readline.c
Examining data/ferret-vis-7.6.0/fmt/src/deleted_list_get_undel.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_number_sub.c
Examining data/ferret-vis-7.6.0/fmt/src/urlencode.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_free_dyn_mem.c
Examining data/ferret-vis-7.6.0/fmt/src/string_array_get_strlen.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_make_relative_ver.c
Examining data/ferret-vis-7.6.0/fmt/src/cd_read_scale.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_blockify_ferret_strings.c
Examining data/ferret-vis-7.6.0/fmt/src/NCF_Util.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_get_lm_mem.c
Examining data/ferret-vis-7.6.0/fmt/src/deleted_list_modify.c
Examining data/ferret-vis-7.6.0/fmt/src/string_array_find_quoted.c
Examining data/ferret-vis-7.6.0/fmt/src/string_array_modify_upcase.c
Examining data/ferret-vis-7.6.0/fmt/src/tm_unblockify_ferret_strings.c
Examining data/ferret-vis-7.6.0/fmt/src/string_array_init.c
Examining data/ferret-vis-7.6.0/fmt/src/string_array_modify.c
Examining data/ferret-vis-7.6.0/fmt/cmn/ez_delimited_read.h
Examining data/ferret-vis-7.6.0/fmt/cmn/fbits.h
Examining data/ferret-vis-7.6.0/fmt/cmn/NCF_Util.h
Examining data/ferret-vis-7.6.0/fmt/cmn/fmtprotos.h
Examining data/ferret-vis-7.6.0/fmt/cmn/deleted_list.h
Examining data/ferret-vis-7.6.0/fmt/cmn/string_array.h
Examining data/ferret-vis-7.6.0/fer/efi/time_decode.c
Examining data/ferret-vis-7.6.0/fer/efi/us2i_compare_string_list.c
Examining data/ferret-vis-7.6.0/fer/efi/date_decode.c
Examining data/ferret-vis-7.6.0/fer/special/FerMem_routines.c
Examining data/ferret-vis-7.6.0/fer/common/binaryRead.h
Examining data/ferret-vis-7.6.0/fer/common/list.h
Examining data/ferret-vis-7.6.0/fer/common/EF_Util.h
Examining data/ferret-vis-7.6.0/fer/common/ferret.h
Examining data/ferret-vis-7.6.0/fer/common/ferret_shared_buffer.h
Examining data/ferret-vis-7.6.0/fer/common/FerMem.h
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_num_work_arrays.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_axis_reduction_6d.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_get_cx_list.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_result_type.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_arg_type.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_work_array_dims_6d.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_get_one_val.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_arg_name_sub.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_arg_unit_sub.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_num_args.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_custom_axis_sub.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_put_string.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_get_mr_list.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_axis_influence.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_get_result_type.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_version_test.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_work_array_dims.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_freq_axis_sub.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_arg_desc_sub.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_axis_limits.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_put_string_ptr.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_piecemeal_ok.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_get_mres.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_alt_fcn_name_sub.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_piecemeal_ok_6d.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_axis_reduction.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_work_array_lens.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_desc_sub.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_get_bad_flags.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_has_vari_args.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_axis_influence_6d.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_work_array_lens_6d.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_get_arg_type.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_axis_inheritance_6d.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_axis_extend.c
Examining data/ferret-vis-7.6.0/fer/ef_utility/ef_set_axis_inheritance.c
Examining data/ferret-vis-7.6.0/fer/ccr/c_strfloat.c
Examining data/ferret-vis-7.6.0/fer/ccr/free_cached_full_array.c
Examining data/ferret-vis-7.6.0/fer/ccr/put_frame.c
Examining data/ferret-vis-7.6.0/fer/ccr/copy_c_string.c
Examining data/ferret-vis-7.6.0/fer/ccr/replace_bad_data_sub.c
Examining data/ferret-vis-7.6.0/fer/ccr/linux_routines_c.c
Examining data/ferret-vis-7.6.0/fer/ccr/sizeof_pointer.c
Examining data/ferret-vis-7.6.0/fer/ccr/get_offset_c_string_len.c
Examining data/ferret-vis-7.6.0/fer/ccr/xfer_c_ptrs.c
Examining data/ferret-vis-7.6.0/fer/ccr/c_strlen.c
Examining data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c
Examining data/ferret-vis-7.6.0/fer/ccr/get_linemem.c
Examining data/ferret-vis-7.6.0/fer/ccr/write_dods.c
Examining data/ferret-vis-7.6.0/fer/ccr/init_c_string_array.c
Examining data/ferret-vis-7.6.0/fer/ccr/c_strindex.c
Examining data/ferret-vis-7.6.0/fer/ccr/get_max_c_string_len.c
Examining data/ferret-vis-7.6.0/fer/ccr/get_ws_mem.c
Examining data/ferret-vis-7.6.0/fer/ccr/perl_read.c
Examining data/ferret-vis-7.6.0/fer/ccr/backing_store_enabled.c
Examining data/ferret-vis-7.6.0/fer/ccr/nullify_ws.c
Examining data/ferret-vis-7.6.0/fer/ccr/fermain_c.c
Examining data/ferret-vis-7.6.0/fer/ccr/c_strrindex.c
Examining data/ferret-vis-7.6.0/fer/ccr/nullify_mr.c
Examining data/ferret-vis-7.6.0/fer/ccr/c_upcase.c
Examining data/ferret-vis-7.6.0/fer/ccr/grab_image_xwd.c
Examining data/ferret-vis-7.6.0/fer/ccr/get_sys_cmnd.c
Examining data/ferret-vis-7.6.0/fer/ccr/replaceable_bad_flags.c
Examining data/ferret-vis-7.6.0/fer/ccr/set_null_c_string_array.c
Examining data/ferret-vis-7.6.0/fer/ccr/get_c_string.c
Examining data/ferret-vis-7.6.0/fer/ccr/set_nan.c
Examining data/ferret-vis-7.6.0/fer/ccr/get_mr_mem.c
Examining data/ferret-vis-7.6.0/fer/ccr/copy_buffered_window.c
Examining data/ferret-vis-7.6.0/fer/ccr/dynmemUtil.c
Examining data/ferret-vis-7.6.0/fer/ccr/c_strcat.c
Examining data/ferret-vis-7.6.0/fer/ccr/get_c_string_len.c
Examining data/ferret-vis-7.6.0/fer/ccr/wgif.c
Examining data/ferret-vis-7.6.0/fer/ccr/recover_cached_2d_array_point.c
Examining data/ferret-vis-7.6.0/fer/ccr/compare_c_strings.c
Examining data/ferret-vis-7.6.0/fer/ccr/unmap_animate_window.c
Examining data/ferret-vis-7.6.0/fer/ccr/set_null_c_string.c
Examining data/ferret-vis-7.6.0/fer/ccr/free_dyn_mem.c
Examining data/ferret-vis-7.6.0/fer/ccr/batch_graphics.c
Examining data/ferret-vis-7.6.0/fer/ccr/free_c_string_array.c
Examining data/ferret-vis-7.6.0/fer/ccr/get_offset_c_string.c
Examining data/ferret-vis-7.6.0/fer/ccr/get_c_pointer.c
Examining data/ferret-vis-7.6.0/fer/ccr/cache_full_array.c
Examining data/ferret-vis-7.6.0/fer/ccr/list.c
Examining data/ferret-vis-7.6.0/fer/ccr/get_edgmem.c
Examining data/ferret-vis-7.6.0/fer/ccr/ferret_dispatch_c.c
Examining data/ferret-vis-7.6.0/fer/ccr/free_c_pointer.c
Examining data/ferret-vis-7.6.0/fer/ccr/check_nan_data_sub.c
Examining data/ferret-vis-7.6.0/fer/ccr/save_c_string.c
Examining data/ferret-vis-7.6.0/fer/ccr/recover_cached_full_array.c
Examining data/ferret-vis-7.6.0/fer/ccr/whdf.c
Examining data/ferret-vis-7.6.0/fer/ccr/c_substr.c
Examining data/ferret-vis-7.6.0/fer/ccr/c_dncase.c
Examining data/ferret-vis-7.6.0/fer/ccr/c_strcmp.c
Examining data/ferret-vis-7.6.0/fer/ccr/binaryRead.c
Examining data/ferret-vis-7.6.0/gksm2ps/xpreview.c
Examining data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c
Examining data/ferret-vis-7.6.0/gksm2ps/gksm.c
Examining data/ferret-vis-7.6.0/gksm2ps/batch_graphics.c
Examining data/ferret-vis-7.6.0/gksm2ps/resize_xgks_window.c
Examining data/ferret-vis-7.6.0/gksm2ps/set_background.c
Examining data/ferret-vis-7.6.0/xgks/progs/mi.c
Examining data/ferret-vis-7.6.0/xgks/progs/pmark.c
Examining data/ferret-vis-7.6.0/xgks/progs/hanoi.c
Examining data/ferret-vis-7.6.0/xgks/progs/defcolors.c
Examining data/ferret-vis-7.6.0/xgks/progs/demo.h
Examining data/ferret-vis-7.6.0/xgks/progs/font.c
Examining data/ferret-vis-7.6.0/xgks/progs/pline.c
Examining data/ferret-vis-7.6.0/xgks/fontdb/mkfont.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/metafile.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/stroke.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/cellarray.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/event.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/inqWDT.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/gks_error.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/wdt.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/open_gks.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/valuator.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/x/xupdate.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/x/xinqpixel.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/x/xfillarea.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/x/xSet.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/x/xport.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/x/xpmarker.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/x/xcolours.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/x/xcellarray.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/x/xpline.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/x/xevent.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/x/xtext.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/event.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/act_ws.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/gks_implem.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/xgks.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/umalloc.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/open_ws.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/text.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/escape.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/polylines.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/text.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/inqpixel.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/polymarkers.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/gd.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/inqtext.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/primitive.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/inquiries.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/wslist.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/fillarea.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/locator.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm_implem.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/gdadds.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/pick.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/ps.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/inqfillareas.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/polymarkers.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/ps/ps.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/ps/headerv4.0.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/inqpmarker.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/input.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/segments.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/input.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/message.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/font.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/inqpolylines.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgm.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmi.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgm_implem.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/deferral_ws.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/colours.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/metafile.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/inqtransform.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/polylines.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/gif/gdadds.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/gif/mtables.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/gif/gd.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/gif/gif.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/externinit.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/mkerrmsg.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/aspect_flags.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/choice.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/fillarea.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/string.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/transforms.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/update.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/gif.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/gkslist.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/gdp.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/gks_errors.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/gks_defines.h
Examining data/ferret-vis-7.6.0/xgks/src/lib/ggdp.c
Examining data/ferret-vis-7.6.0/xgks/src/lib/prmgr.c
Examining data/ferret-vis-7.6.0/xgks/src/fortran/fexterninit.c
Examining data/ferret-vis-7.6.0/xgks/src/fortran/ps2aixdefs.h
Examining data/ferret-vis-7.6.0/xgks/src/fortran/fortmac.h
Examining data/ferret-vis-7.6.0/xgks/src/fortran/f_errno.h
Examining data/ferret-vis-7.6.0/xgks/src/fortran/escapes1.c
Examining data/ferret-vis-7.6.0/xgks/src/fortran/fortxgks.h
Examining data/ferret-vis-7.6.0/xgks/src/fortran/pdrutils.h
Examining data/ferret-vis-7.6.0/xgks/src/fortran/fxgksvers.c
Examining data/ferret-vis-7.6.0/xgks/include/ps/ps.h
Examining data/ferret-vis-7.6.0/xgks/include/ps/headerv4.0.h
Examining data/ferret-vis-7.6.0/xgks/include/gif/gdadds.h
Examining data/ferret-vis-7.6.0/xgks/include/gif/mtables.h
Examining data/ferret-vis-7.6.0/xgks/include/gif/gd.h
Examining data/ferret-vis-7.6.0/xgks/include/gif/gif.h
Examining data/ferret-vis-7.6.0/xgks/port/config.c
Examining data/ferret-vis-7.6.0/xgks/port/sigprocmask.c
Examining data/ferret-vis-7.6.0/xgks/port/udalloc.h
Examining data/ferret-vis-7.6.0/xgks/port/strstr.c
Examining data/ferret-vis-7.6.0/xgks/port/sigsuspend.c
Examining data/ferret-vis-7.6.0/xgks/port/sigemptyset.c
Examining data/ferret-vis-7.6.0/xgks/port/uddummy.c
Examining data/ferret-vis-7.6.0/xgks/port/strerror.c
Examining data/ferret-vis-7.6.0/xgks/port/atexit.c
Examining data/ferret-vis-7.6.0/xgks/port/sigaddset.c
Examining data/ferret-vis-7.6.0/xgks/port/sigdelset.c
Examining data/ferret-vis-7.6.0/xgks/port/fortc.h
Examining data/ferret-vis-7.6.0/ppl/tmapadds/pplldv_envelope.c
Examining data/ferret-vis-7.6.0/ppl/tmapadds/pplcmd_c.c
Examining data/ferret-vis-7.6.0/ppl/tmapadds/pplldc_envelope.c
Examining data/ferret-vis-7.6.0/ppl/tmapadds/xgks_x_events.c
Examining data/ferret-vis-7.6.0/ppl/tmapadds/wait_on_resize.c
Examining data/ferret-vis-7.6.0/ppl/tmapadds/pplld_pts_envelope.c
Examining data/ferret-vis-7.6.0/ppl/tmapadds/resize_xgks_window.c
Examining data/ferret-vis-7.6.0/ppl/tmapadds/pplldx_envelope.c
Examining data/ferret-vis-7.6.0/ppl/tmapadds/reallo_ppl_memory.c
Examining data/ferret-vis-7.6.0/ppl/tmapadds/reallo_envelope.c
Examining data/ferret-vis-7.6.0/ppl/tmapadds/set_background.c
Examining data/ferret-vis-7.6.0/ppl/tmapadds/its_gksm.c
Examining data/ferret-vis-7.6.0/ppl/tmap_inc/pplmem.h
Examining data/ferret-vis-7.6.0/external_functions/romea/rr_parameters.h
Examining data/ferret-vis-7.6.0/external_functions/contributed/species.h
Examining data/ferret-vis-7.6.0/external_functions/v5d/v5df_fer.h
Examining data/ferret-vis-7.6.0/external_functions/v5d/v5d.c
Examining data/ferret-vis-7.6.0/external_functions/v5d/binio.c
Examining data/ferret-vis-7.6.0/external_functions/v5d/vis5d.h
Examining data/ferret-vis-7.6.0/external_functions/v5d/binio.h
Examining data/ferret-vis-7.6.0/external_functions/v5d/v5d.h
Examining data/ferret-vis-7.6.0/external_functions/v5d/config.h
Examining data/ferret-vis-7.6.0/external_functions/date_and_time/time_decode.c
Examining data/ferret-vis-7.6.0/external_functions/date_and_time/date_decode.c
Examining data/ferret-vis-7.6.0/external_functions/matlab/matlab_func_link.c
Examining data/ferret-vis-7.6.0/external_functions/matlab/matlab_link.c
Examining data/ferret-vis-7.6.0/external_functions/godae_obs/ocn_types.h
Examining data/ferret-vis-7.6.0/external_functions/tax_times/tax.h
Examining data/ferret-vis-7.6.0/external_functions/cflib/fcn_curv_to_lonlat.c
Examining data/ferret-vis-7.6.0/external_functions/cflib/curv_to_lonlat_regrid.c
Examining data/ferret-vis-7.6.0/external_functions/cflib/curv_to_lonlat_from_weights.c

FINAL RESULTS:

data/ferret-vis-7.6.0/gksm2ps/gksm.c:923:9:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
	(void) strncat(buffer, username, sizeof(buffer) - 1);
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:488:9:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
	(void) strncat(buffer, username, sizeof(buffer) - 1);
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:482:9:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
	(void) strncat(buffer, username, sizeof(buffer) - 1);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:919:9:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
	(void) strncat(buffer, xpplp_version, sizeof(buffer) - 1);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:938:9:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
	(void) strncat(buffer, username, sizeof(buffer) - 1);
data/ferret-vis-7.6.0/xgks/src/lib/mkerrmsg.c:70:12:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
    while (gets(line) != NULL) {
data/ferret-vis-7.6.0/xgks/src/lib/ps.c:267:9:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
	(void) strncat(buffer, username, sizeof(buffer) - 1);
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:1039:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy(v->FileVersion, FILE_VERSION);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1492: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(ef.name, I_EFnames[i_intEF]);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1521: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(allpaths, path_ptr);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1531: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(path, path_ptr);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1535:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(cmd, "ls -1 %s", path);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1538:24:  [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.
      if ( (file_ptr = popen(cmd, "r")) == (FILE *) NULL ) {
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1558: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(ef.path, path);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1559: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(ef.name, file);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1663: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(libname, fer_dir);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1667:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(errstring, "Python-backed external functions not supported \n"
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1678:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(errstring, "Python-backed external functions not supported \n"
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1809: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(tempText, ef_ptr->path);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1810: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(tempText, ef_ptr->name);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1853:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(tempText, "%s_init_", ef_ptr->name);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1951: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(tempText, ef_ptr->name);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:2100: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(tempText, ef_ptr->name);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:2326: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(tempText, ef_ptr->name);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:2441: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(tempText, ef_ptr->name);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:2961: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, ef_ptr->internals_ptr->axis[*axis_ptr-1].unit);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:2981: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(name, ef_ptr->name);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:3013: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(descr, ef_ptr->internals_ptr->description);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:3033: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(alt_str_name, ef_ptr->internals_ptr->alt_fcn_name);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:3295: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(string, ef_ptr->internals_ptr->arg_name[index]);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:3317: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, ef_ptr->internals_ptr->arg_unit[index]);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:3334: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, ef_ptr->internals_ptr->arg_desc[index]);
data/ferret-vis-7.6.0/fer/ccr/binaryRead.c:54:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(Errbuf, str, mess);
data/ferret-vis-7.6.0/fer/ccr/binaryRead.c:147: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(fi->name, name);
data/ferret-vis-7.6.0/fer/ccr/binaryRead.c:436: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(buf, Errbuf);
data/ferret-vis-7.6.0/fer/ccr/copy_c_string.c:66:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy(*out_ptr, *in_ptr);
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:453: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( init_command, home );
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:475:4:  [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( init_command, script_file );
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:480:4:  [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( init_command, script_file );
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:484:6:  [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( init_command, script_args );
data/ferret-vis-7.6.0/fer/ccr/get_sys_cmnd.c:93:13:  [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.
    fpipe = popen(cmd, "r");
data/ferret-vis-7.6.0/fer/ccr/get_sys_cmnd.c:143: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(pmnt, buf);
data/ferret-vis-7.6.0/fer/ccr/put_frame.c:112:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(errmsg, "Couldn't write out GIF file %s\n", filename);
data/ferret-vis-7.6.0/fer/ccr/put_frame.c:121:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(errmsg, "Couldn't write out GIF file %s\n", filename);
data/ferret-vis-7.6.0/fer/ccr/put_frame.c:131:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
         sprintf(errmsg, "Couldn't write out GIF file %s\n", filename);
data/ferret-vis-7.6.0/fer/ef_utility/ef_put_string_ptr.c:20: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(*out_ptr, *in_ptr);
data/ferret-vis-7.6.0/fer/ef_utility/ef_set_alt_fcn_name_sub.c:14:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy(ef_ptr->internals_ptr->alt_fcn_name, text);
data/ferret-vis-7.6.0/fer/ef_utility/ef_set_arg_desc_sub.c:14: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(ef_ptr->internals_ptr->arg_desc[*arg_ptr-1], text);
data/ferret-vis-7.6.0/fer/ef_utility/ef_set_arg_name_sub.c:14: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(ef_ptr->internals_ptr->arg_name[*arg_ptr-1], text);
data/ferret-vis-7.6.0/fer/ef_utility/ef_set_arg_unit_sub.c:14: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(ef_ptr->internals_ptr->arg_unit[*arg_ptr-1], text);
data/ferret-vis-7.6.0/fer/ef_utility/ef_set_custom_axis_sub.c:16: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(ef_ptr->internals_ptr->axis[*axis_ptr-1].unit, text);
data/ferret-vis-7.6.0/fer/ef_utility/ef_set_desc_sub.c:14: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(ef_ptr->internals_ptr->description, text);
data/ferret-vis-7.6.0/fer/ef_utility/ef_set_freq_axis_sub.c:23: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(ef_ptr->internals_ptr->axis[*axis_ptr-1].unit, text);
data/ferret-vis-7.6.0/fer/efi/us2i_compare_string_list.c:149:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy(this_string.astring, addstring);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:188: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, nc_ptr->dims[*idim-1].name);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:213: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(newvarname, var_ptr->name);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:292: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(attname, att_ptr->name);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:336: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(name, nc_ptr->fername);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:380: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(string, var_ptr->name);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:608: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(attname, att_ptr->name);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:864: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(nc.fername, name);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:865: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(nc.fullpath, path);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:882: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 (nc.dims[i].name, fdims.name);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:961:29:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                            strcpy(strptr, strarray[0]);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:967:32:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                               strcpy(strptr, strarray[idx]);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1176:33:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                                strcpy(strptr, strarray[0]);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1182:36:  [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(strptr, strarray[idx]);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1238: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 (att.string,var.name);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1278: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(nc.fername, name);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1279: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(nc.fullpath, path);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1302: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(att.string, name);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1634: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.name,varname);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1679: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(att.string, title);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1697: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(att.string, units);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1801: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.name, varname);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1830: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(att.string, units);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1885: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(att.name, attname);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1951: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(att.name, attname);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:2034: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(att.name,attname);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:2041: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(att.string, attstring);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:2063: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_ptr->name, newvarname);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:2084: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(nc_ptr->dims[*dimid-1].name, newdimname);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:2155: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(att_ptr->string,attstring);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:2244: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(att_ptr->string,attstring);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:2546: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(att.name, att_ptr1->name);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:2555: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(att.string, att_ptr1->string);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:2633: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(nc.fername, name);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:2656: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(att.string, name);
data/ferret-vis-7.6.0/fmt/src/cd_rd_str_1_sub.c:111: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 ( buff, pbuff );
data/ferret-vis-7.6.0/fmt/src/cd_rd_str_1_sub.c: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(buff, *strarray);
data/ferret-vis-7.6.0/fmt/src/cd_read_sub.c:240: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).
         strcpy(*strptrptr, strarray[i]);
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:409:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy( (*(text_fields+i))[rec*pinc], blankstr );
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:740:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy( (*(text_fields+i))[rec*pinc], p );
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:977: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(_delim, delim);
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:997: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(delim, fi->delim);
data/ferret-vis-7.6.0/fmt/src/tm_ftoc_readline.c:112: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( buff, line_read );
data/ferret-vis-7.6.0/fmt/src/tm_number_sub.c:56:14:  [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.
  num_read = sscanf(string, "%lf%s", &rval, kval);
data/ferret-vis-7.6.0/fmt/src/tm_unix_versions.c:157: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 ( next_name, name );
data/ferret-vis-7.6.0/gksm2ps/gksm.c:376:9:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	(void) fscanf(fp, FLOAT_FMT_SCAN, scratch);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:385:9:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	(void) fscanf(fp, INT_FMT_SCAN, scratch);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:916:23:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
    char		*username	= getlogin();
data/ferret-vis-7.6.0/gksm2ps/gksm.c:969:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s", ITEM_TYPE_FMT, ITEM_LENGTH_FMT);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:974: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.
	(void) fprintf(fp, fmt, type, length);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1241:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s\n", ITEM_TYPE_FMT, ITEM_LENGTH_FMT,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1247: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1268:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s\n", ITEM_TYPE_FMT, ITEM_LENGTH_FMT);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1273: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.
	(void) fprintf(fp, fmt, 2, GMrecSize(2));
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1291:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s\n", ITEM_TYPE_FMT, ITEM_LENGTH_FMT,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1297: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1335:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1344: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.
	(void) fprintf(fp, fmt, 4, GMrecSize(4), defer, regen);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1362:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1370: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1401:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1409: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1416:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s", FLOAT_FMT, FLOAT_FMT);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1423:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	    (void) fprintf(fp, fmt, pos->x, pos->y);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1447:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1457: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1486:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s%s%s%s%s",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1501: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1516:14:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		    (void) fprintf(fp, INT_FMT, colour[i * row + j]);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1536:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1544: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.
	(void) fprintf(fp, fmt, code, GMrecSize(code), size);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1561:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1568: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.
	(void) fprintf(fp, fmt, 82, GMrecSize(82));
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1587:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1595: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.
	(void) fprintf(fp, fmt, code, GMrecSize(code), attr);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1621:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1630: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.
	(void) fprintf(fp, fmt, 30, GMrecSize(30), txfp->font, prec);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1655:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1666: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1701:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1709: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.
	(void) fprintf(fp, fmt, 35, GMrecSize(35), txpath);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1750:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1768:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	    (void) fprintf(fp, fmt, 36, GMrecSize(36), 0, 0);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1770: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.
	(void) fprintf(fp, fmt, 36, GMrecSize(36), hor, ver);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1798:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1806: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.
	(void) fprintf(fp, fmt, 38, GMrecSize(38), intstyle);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1823:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1834: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.
	(void) fprintf(fp, fmt, 41, GMrecSize(41),
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1855:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1864: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.
	(void) fprintf(fp, fmt, 42, GMrecSize(42),
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1883:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1903: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1939:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1950: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1984:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1997: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.
	(void) fprintf(fp, fmt, 53, GMrecSize(53), idx,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2028:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2039: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2068:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2078: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2087:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	    (void) fprintf(fp, INT_FMT, rep->array[i]);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2108:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2119: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2144:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2155: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2181:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2192: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2217:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2226: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2250:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2263: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2291:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2300: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2324:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2333: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2357:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2366: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2390:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2399: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2423:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/gksm2ps/gksm.c:2432: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1038: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 (new_name, name);
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1041: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 (new_name, stamp);
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1042:21:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  if (sptr != NULL) strcat (new_name, sptr);
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1044:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (command, "mv %s %s", name, new_name);
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1045:3:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  system  (command);
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1153: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 (output_file, argv[++i]);
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1174: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(file[nfile++],argv[i]);
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1180:7:  [4] (buffer) scanf:
  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.
      scanf("%s",file[nfile++]);
data/ferret-vis-7.6.0/gksm2ps/xpreview.c:224:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(command,"rm %s", file);
data/ferret-vis-7.6.0/gksm2ps/xpreview.c:225:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      system(command);
data/ferret-vis-7.6.0/xgks/port/config.c:299:24:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define Vprintf if (V) printf
data/ferret-vis-7.6.0/xgks/port/config.c:605:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(description, extra);
data/ferret-vis-7.6.0/xgks/port/config.c:712:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(buf, f1, precision, val);
data/ferret-vis-7.6.0/xgks/port/config.c:1641: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(rep, f2, &new1);
data/ferret-vis-7.6.0/xgks/src/fortran/fortxgks.h:41:42:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#   define debug(f) (fileno(stdout)>0 ? (printf f,fflush(stdout)) : 0)
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:647:23:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
    char		*username	= getlogin();
data/ferret-vis-7.6.0/xgks/src/lib/escape.c:333: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).
	(void)strcpy(progname, name);
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:161:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, format, ap);
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:174:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, format, ap);
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:187:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, format, ap);
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:481:23:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
    char		*username	= getlogin();
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:155:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, format, ap);
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:168:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, format, ap);
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:181:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, format, ap);
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:475:23:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
    char		*username	= getlogin();
data/ferret-vis-7.6.0/xgks/src/lib/gks_defines.h:73:53:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
#define STRCPY(d,s)	GKS_STMT(if ((s) != NULL) (void)strcpy((d),(s));)
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:374:9:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	(void) fscanf(fp, FLOAT_FMT_SCAN, scratch);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:383:9:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
	(void) fscanf(fp, INT_FMT_SCAN, scratch);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:931:23:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
    char		*username	= getlogin();
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:984:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s", ITEM_TYPE_FMT, ITEM_LENGTH_FMT);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:989: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.
	(void) fprintf(fp, fmt, type, length);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1251:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s\n", ITEM_TYPE_FMT, ITEM_LENGTH_FMT,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1257: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1278:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s\n", ITEM_TYPE_FMT, ITEM_LENGTH_FMT);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1283: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.
	(void) fprintf(fp, fmt, 2, GMrecSize(2));
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1301:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s\n", ITEM_TYPE_FMT, ITEM_LENGTH_FMT,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1307: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1345:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1354: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.
	(void) fprintf(fp, fmt, 4, GMrecSize(4), defer, regen);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1372:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1380: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1411:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1419: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1426:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s", FLOAT_FMT, FLOAT_FMT);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1433:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	    (void) fprintf(fp, fmt, pos->x, pos->y);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1457:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1467: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1496:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s%s%s%s%s",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1511: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1526:14:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		    (void) fprintf(fp, INT_FMT, colour[i * row + j]);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1546:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1554: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.
	(void) fprintf(fp, fmt, code, GMrecSize(code), size);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1571:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1578: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.
	(void) fprintf(fp, fmt, 82, GMrecSize(82));
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1597:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1605: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.
	(void) fprintf(fp, fmt, code, GMrecSize(code), attr);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1631:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1640: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.
	(void) fprintf(fp, fmt, 30, GMrecSize(30), txfp->font, prec);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1665:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1676: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1711:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1719: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.
	(void) fprintf(fp, fmt, 35, GMrecSize(35), txpath);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1760:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1778:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	    (void) fprintf(fp, fmt, 36, GMrecSize(36), 0, 0);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1780: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.
	(void) fprintf(fp, fmt, 36, GMrecSize(36), hor, ver);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1808:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1816: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.
	(void) fprintf(fp, fmt, 38, GMrecSize(38), intstyle);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1833:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1844: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.
	(void) fprintf(fp, fmt, 41, GMrecSize(41),
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1865:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1874: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.
	(void) fprintf(fp, fmt, 42, GMrecSize(42),
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1893:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1913: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1949:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1960: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1994:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2007: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.
	(void) fprintf(fp, fmt, 53, GMrecSize(53), idx,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2038:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2049: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2078:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2088: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2097:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	    (void) fprintf(fp, INT_FMT, rep->array[i]);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2118:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2129: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2154:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2165: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2191:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2202: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2227:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2236: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2260:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s%s%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2273: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2301:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2310: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2334:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2343: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2367:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2376: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2400:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2409: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2433:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fmt, "%s%s%s%s\n",
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:2442: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.
	(void) fprintf(fp,
data/ferret-vis-7.6.0/xgks/src/lib/mkerrmsg.c:80: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.
	    (void) sscanf(line, "%s %s %d", dstr, estr, &num);
data/ferret-vis-7.6.0/xgks/src/lib/ps.c:160:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, format, ap);
data/ferret-vis-7.6.0/xgks/src/lib/ps.c:173:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, format, ap);
data/ferret-vis-7.6.0/xgks/src/lib/ps.c:186:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, format, ap);
data/ferret-vis-7.6.0/xgks/src/lib/ps.c:260:23:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
    char		*username	= getlogin();
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:268:12:  [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).
    (void) strcat(strcat(strcpy(name_key, prog), "."), name);
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:268:26:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    (void) strcat(strcat(strcpy(name_key, prog), "."), name);
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:269:12:  [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).
    (void) strcat(strcpy(class_key, "Xgks."), class);
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:591:36:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    if (XrmGetResource(rDB, strcat(strcpy(buf, name), ".geometry"),
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:757:36:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    if (XrmGetResource(rDB, strcat(strcpy(buf, name), ".icon.geometry"),
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:835:12:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    (void) strcpy(name, appresdir);
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:837:12:  [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).
    (void) strcat(name, prog);
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:912: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).
	(void) strcpy(dest, ptr);
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:922: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).
	    (void) strcpy(dest, pw->pw_dir);
data/ferret-vis-7.6.0/xgks/src/lib/x/xtext.c:646:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    (void) sprintf(fontpath, "%s/%d", xgks_state.fontdbdir, f);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1509:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  path_ptr = getenv("FER_EXTERNAL_FUNCTIONS");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1657:19:  [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.
        fer_dir = getenv("FER_LIBS");
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:432:55:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char init_command[2176], script_file[2048], *home = getenv("HOME");
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1068:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   char    *getenv();
data/ferret-vis-7.6.0/xgks/progs/font.c:127:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((c = getopt(argc, argv, "d:o:")) != -1) {
data/ferret-vis-7.6.0/xgks/progs/hanoi.c:144:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((c = getopt(argc, argv, "d:n:o:")) != -1) {
data/ferret-vis-7.6.0/xgks/progs/mi.c:75:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((c = getopt(argc, argv, "d:o:")) != -1) {
data/ferret-vis-7.6.0/xgks/src/lib/colours.c:309:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char           *getenv();
data/ferret-vis-7.6.0/xgks/src/lib/colours.c:327:11:  [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.
	server = getenv("DISPLAY");
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:147:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *cp = getenv("XGKS_LOG");
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:141:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *cp = getenv("XGKS_LOG");
data/ferret-vis-7.6.0/xgks/src/lib/open_ws.c:208:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char           *getenv();
data/ferret-vis-7.6.0/xgks/src/lib/open_ws.c:219:15:  [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.
	connection = getenv("DISPLAY");
data/ferret-vis-7.6.0/xgks/src/lib/ps.c:146:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *cp = getenv("XGKS_LOG");
data/ferret-vis-7.6.0/xgks/src/lib/text.c:109:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    xgks_state.fontdbdir = getenv("XGKSFontDir");
data/ferret-vis-7.6.0/xgks/src/lib/x/xcolours.c:687:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char           *getenv();
data/ferret-vis-7.6.0/xgks/src/lib/x/xcolours.c:694:11:  [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.
	server = getenv("DISPLAY");
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:470:33:  [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 ((ClassHints.res_name = getenv("RESOURCE_NAME")) == NULL)
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:830:33:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char           *appresdir = getenv("XAPPLRESDIR");
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:885:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if ((environment = getenv("XENVIRONMENT")) == NULL) {
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:911:16:  [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 ((ptr = getenv("HOME")) != NULL) {
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:915:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((ptr = getenv("USER")) != NULL) {
data/ferret-vis-7.6.0/external_functions/cflib/curv_to_lonlat_from_weights.c:76: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(start,start0,sizeof(start0));
data/ferret-vis-7.6.0/external_functions/cflib/curv_to_lonlat_from_weights.c:77: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(count,count0,sizeof(count0));
data/ferret-vis-7.6.0/external_functions/cflib/curv_to_lonlat_from_weights.c:84: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(start,start1,sizeof(start1));
data/ferret-vis-7.6.0/external_functions/cflib/curv_to_lonlat_from_weights.c:85: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(count,count1,sizeof(count1));
data/ferret-vis-7.6.0/external_functions/cflib/curv_to_lonlat_regrid.c:73: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(start,start0,sizeof(start0));
data/ferret-vis-7.6.0/external_functions/cflib/curv_to_lonlat_regrid.c:74: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(count,count0,sizeof(count0));
data/ferret-vis-7.6.0/external_functions/cflib/curv_to_lonlat_regrid.c:80: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(start,start1,sizeof(start1));
data/ferret-vis-7.6.0/external_functions/cflib/curv_to_lonlat_regrid.c:81: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(count,count1,sizeof(count1));
data/ferret-vis-7.6.0/external_functions/date_and_time/date_decode.c: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 str3[4],str1[2];
data/ferret-vis-7.6.0/external_functions/date_and_time/date_decode.c:62: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 months[13][4] = {"jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"};
data/ferret-vis-7.6.0/external_functions/date_and_time/time_decode.c:59: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 str1[2];
data/ferret-vis-7.6.0/external_functions/matlab/matlab_func_link.c:21: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 buffer[BUFSIZE], cbuffer[BUFSIZE];
data/ferret-vis-7.6.0/external_functions/matlab/matlab_func_link.c:71: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(cbuffer, "res = matlab_func_test(%d,SAL,TEMP,PRES);", choice);
data/ferret-vis-7.6.0/external_functions/matlab/matlab_link.c:18: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 buffer[BUFSIZE], cbuffer[BUFSIZE];
data/ferret-vis-7.6.0/external_functions/matlab/matlab_link.c:53: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(mxData, xcoords, sizeof(double)* *xsize);
data/ferret-vis-7.6.0/external_functions/matlab/matlab_link.c:54: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(myData, ycoords, sizeof(double)* *ysize);
data/ferret-vis-7.6.0/external_functions/matlab/matlab_link.c:63: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(cbuffer, "ferretdemo(FERRET_DATA', FERRET_XDATA', FERRET_YDATA');");
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:712:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buffer[8];
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:352: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.
   static char day[7][10] = { "Sunday", "Monday", "Tuesday", "Wednesday",
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:887: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( compdata, data, nrncnl*4 );
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:996: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( data, compdata, nrncnl*4 );
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:1470: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 name[4];
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:1557: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 name[8];
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:2095: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).
   fd = open( filename, O_RDONLY );
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:2463: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).
   fd = open( filename, O_WRONLY | O_CREAT | O_TRUNC, mask );
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:2492: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).
   fd = open( filename, O_RDWR );
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:2705:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 varname[MAX_V5_VARS][10],
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:2741:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy( v->ProjArgs, proj_args, MAXPROJARGS*sizeof(float) );
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:2754:6:  [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( v->VertArgs, vert_args, MAXVERTARGS*sizeof(float) );
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:2770:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 varname[MAX_V5_VARS][10],
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:2804:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int v5dCreateSimple( const char *name, int numtimes, int numvars,
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:2806:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 varname[MAX_V5_VARS][10],
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:2956:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char filename[100];
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:2957:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char names[MAX_V5_VARS][10];
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:3174:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[20];
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:3239:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char filename[100];
data/ferret-vis-7.6.0/external_functions/v5d/v5d.h:84:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern int v5dCreateSimple( const char *name,
data/ferret-vis-7.6.0/external_functions/v5d/v5d.h:87:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 varname[MAX_V5_VARS][10],
data/ferret-vis-7.6.0/external_functions/v5d/v5d.h:98:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 varname[MAX_V5_VARS][10],
data/ferret-vis-7.6.0/external_functions/v5d/v5d.h:142: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 VarName[MAX_V5_VARS][10];      /* 9-character variable names */
data/ferret-vis-7.6.0/external_functions/v5d/v5d.h: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 Units[MAX_V5_VARS][20];        /* 19-character units for variables */
data/ferret-vis-7.6.0/external_functions/v5d/v5d.h:242: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 FileVersion[10];    /* 9-character version number */
data/ferret-vis-7.6.0/external_functions/v5d/v5d.h:331: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 varname[MAX_V5_VARS][10],
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1264: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 file[EF_MAX_NAME_LENGTH]="";
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1266: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 path[8192]="";
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1267: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 allpaths[8192]="";
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1268: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 cmd[EF_MAX_DESCRIPTION_LENGTH]="";
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1491:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(ef.path, "internally_linked");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1651:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char libname[1024];
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1659:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(errstring, "FER_LIBS not defined");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1664:9:  [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(libname, "/libpyefcn.so");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1687: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(errstring, "Module name too long (must be less than %d characters)", EF_MAX_DESCRIPTION_LENGTH);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1692: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(errstring, "Function name too long (must be less than %d characters)", EF_MAX_NAME_LENGTH);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1718: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(errstring, "Unable to allocate memory for the internals data in create_pyefcn");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1735: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(errstring, "Unable to set signal handlers in create_pyefcn");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1743: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(errstring, "Signal caught in create_pyefcn");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1751: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(errstring, "ef_bail_out called in create_pyefcn");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1785: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 tempText[1024];
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1811:7:  [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(tempText, ".so");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1898: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 tempText[EF_MAX_NAME_LENGTH]="";
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1952: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(tempText, "_custom_axes_");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1972: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 errstring[2048];
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:2043: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 tempText[EF_MAX_NAME_LENGTH]="";
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:2101: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(tempText, "_result_limits_");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:2121: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 errstring[2048];
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:2202: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 tempText[EF_MAX_NAME_LENGTH]="";
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:2327:7:  [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(tempText, "_work_size_");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:2442: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(tempText, "_compute_");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:2742: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  errstring[2048];
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:3297: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(string, "--");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:3541: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 upname[EF_MAX_DESCRIPTION_LENGTH];
data/ferret-vis-7.6.0/fer/ccr/binaryRead.c:34:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char Errbuf[1024];       /* Store error messages */
data/ferret-vis-7.6.0/fer/ccr/binaryRead.c:39:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char type[MAXTYPES];
data/ferret-vis-7.6.0/fer/ccr/binaryRead.c:131:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static FileInfo *createBinaryReader(char *name, int lengths[MAXDIMS], int permutes[MAXDIMS], int skip, int swap)
data/ferret-vis-7.6.0/fer/ccr/binaryRead.c:168:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fi->fd = open(fi->name, O_RDONLY);
data/ferret-vis-7.6.0/fer/ccr/binaryRead.c:322:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(&buf.s, src, sizeof(short));
data/ferret-vis-7.6.0/fer/ccr/binaryRead.c:328:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(&buf.i, src, sizeof(int));
data/ferret-vis-7.6.0/fer/ccr/binaryRead.c:334:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(&buf.f, src, sizeof(float));
data/ferret-vis-7.6.0/fer/ccr/binaryRead.c:340:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy(&buf.d, src, sizeof(double));
data/ferret-vis-7.6.0/fer/ccr/binaryRead.c:395:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int FORTRAN(br_open)(char *name, int lengths[MAXDIMS], int permutes[MAXDIMS], int *iskip)
data/ferret-vis-7.6.0/fer/ccr/binaryRead.c:493:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:160:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char script_args[2048];
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:432: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 init_command[2176], script_file[2048], *home = getenv("HOME");
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:447: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("./.ferret", "r");
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:450: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( init_command, "GO \"./.ferret\"" );
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:454: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( init_command, "/.ferret" );
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:455: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( init_command, "r" );
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:458:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy( init_command, "GO \"$HOME/.ferret\"" );
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:474:4:  [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( init_command, "; GO \"" ); 
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:479:4:  [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( init_command, "; GO " ); 
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:486:4:  [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( init_command, "; EXIT/PROGRAM");
data/ferret-vis-7.6.0/fer/ccr/grab_image_xwd.c:290:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((fp = fopen(outfile, "w")) == NULL) 
data/ferret-vis-7.6.0/fer/ccr/init_c_string_array.c:51:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char msg[1024];
data/ferret-vis-7.6.0/fer/ccr/init_c_string_array.c:52:4:  [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(msg, "assigned as an array of %d 64-bit pointers (%d bytes) initialize to NULL", *length, (*length)*8);
data/ferret-vis-7.6.0/fer/ccr/list.c:191:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      (void) memcpy(new->data, data, bytes);
data/ferret-vis-7.6.0/fer/ccr/put_frame.c:92: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(errmsg, "No open workstations for batch FRAME command");
data/ferret-vis-7.6.0/fer/ccr/put_frame.c:97: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(errmsg, "Batch FRAME only works for GIF files");
data/ferret-vis-7.6.0/fer/ccr/wgif.c:687:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char accum[ 256 ];       /* Define the storage for the packet accumulator */
data/ferret-vis-7.6.0/fer/ccr/write_dods.c:65:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen (fileptr, "wb");
data/ferret-vis-7.6.0/fer/ccr/write_dods.c:67:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen (fileptr, "ab");
data/ferret-vis-7.6.0/fer/ccr/write_dods.c:127:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen (fileptr, "wb");
data/ferret-vis-7.6.0/fer/ccr/write_dods.c:129:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen (fileptr, "ab");
data/ferret-vis-7.6.0/fer/common/EF_Util.h:83: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 unit[EF_MAX_NAME_LENGTH];
data/ferret-vis-7.6.0/fer/common/EF_Util.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 description[EF_MAX_DESCRIPTION_LENGTH];
data/ferret-vis-7.6.0/fer/common/EF_Util.h:97: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 alt_fcn_name[EF_MAX_NAME_LENGTH];
data/ferret-vis-7.6.0/fer/common/EF_Util.h:98: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 alt_base_fcn_name[EF_MAX_NAME_LENGTH];
data/ferret-vis-7.6.0/fer/common/EF_Util.h:116: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 arg_name[EF_MAX_ARGS][EF_MAX_NAME_LENGTH];
data/ferret-vis-7.6.0/fer/common/EF_Util.h:117: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 arg_unit[EF_MAX_ARGS][EF_MAX_NAME_LENGTH];
data/ferret-vis-7.6.0/fer/common/EF_Util.h:118: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 arg_desc[EF_MAX_ARGS][EF_MAX_DESCRIPTION_LENGTH];
data/ferret-vis-7.6.0/fer/common/EF_Util.h:127:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[EF_MAX_NAME_LENGTH];
data/ferret-vis-7.6.0/fer/common/EF_Util.h:128: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 path[EF_MAX_DESCRIPTION_LENGTH];
data/ferret-vis-7.6.0/fer/common/binaryRead.h:65: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.
int  FORTRAN(br_open)(char *name, int lengths[MAXDIMS], int permutes[MAXDIMS], int *iskip);
data/ferret-vis-7.6.0/fer/common/ferret_shared_buffer.h:26:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char text[TEXTLENGTH];
data/ferret-vis-7.6.0/fer/ef_utility/ef_set_num_args.c:12: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.
   static char err_msg[128];
data/ferret-vis-7.6.0/fer/ef_utility/ef_set_num_args.c:19: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(err_msg, "Number of arguments passed to ef_set_num_args (%d) "
data/ferret-vis-7.6.0/fer/efi/date_decode.c:60: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 str3[4],str1[2];
data/ferret-vis-7.6.0/fer/efi/date_decode.c: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 months[13][4] = {"jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"};
data/ferret-vis-7.6.0/fer/efi/time_decode.c:55: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 str1[2];
data/ferret-vis-7.6.0/fer/efi/us2i_compare_string_list.c:55:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char astring[MAX_NAME];
data/ferret-vis-7.6.0/fer/special/FerMem_routines.c:45: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).
        debugfile = fopen(DEBUGFILENAME, "w");
data/ferret-vis-7.6.0/fer/special/FerMem_routines.c:48: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).
        debugfile = fopen(DEBUGFILENAME, "a");
data/ferret-vis-7.6.0/fer/special/FerMem_routines.c:68:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[FERMEM_MAXLEN];
data/ferret-vis-7.6.0/fer/special/FerMem_routines.c:240:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[256];
data/ferret-vis-7.6.0/fer/special/FerMem_routines.c:247: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(msg, "memory malloc allocated for %ld bytes", size);
data/ferret-vis-7.6.0/fer/special/FerMem_routines.c:277:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/ferret-vis-7.6.0/fer/special/FerMem_routines.c:291: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(msg, "memory to be realloc freed for %ld bytes", oldsize);
data/ferret-vis-7.6.0/fer/special/FerMem_routines.c:300: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(msg, "memory realloc allocated for %ld bytes", size);
data/ferret-vis-7.6.0/fer/special/FerMem_routines.c:333:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/ferret-vis-7.6.0/fer/special/FerMem_routines.c:345: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(msg, "memory to be free freed for %ld bytes", size);
data/ferret-vis-7.6.0/fmt/cmn/NCF_Util.h:87:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[NC_MAX_NAME];
data/ferret-vis-7.6.0/fmt/cmn/NCF_Util.h:92:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fullpath[MAX_PATH_NAME];
data/ferret-vis-7.6.0/fmt/cmn/NCF_Util.h:93:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fername[MAX_FER_SETNAME];
data/ferret-vis-7.6.0/fmt/cmn/NCF_Util.h:109:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[NC_MAX_NAME];
data/ferret-vis-7.6.0/fmt/cmn/NCF_Util.h:134:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[NC_MAX_NAME];
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:720: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(nc.fername, "UserVariables");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:743: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(att.name, "FerretUserVariables" );
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:784: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(nc.fername, "UserCoordVariables");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:803: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(att.name, "FerretUserCoordVariables" );
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1233:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy (att.name, "orig_file_axname");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1300: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(att.name, "history");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1672: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(att.name, "long_name");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1691: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(att.name, "units");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1707: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(att.name,"missing_value");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1824: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(att.name, "units");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:2653: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(att.name, "aggregate name" );
data/ferret-vis-7.6.0/fmt/src/cd_read_sub.c:239:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
         *strptrptr = (char *) FerMem_Malloc((strlen(strarray[i]) + 1) * sizeof(char), __FILE__, __LINE__);
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:215: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(fname,"r");
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:291: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(fname,"r");
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:378: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 *p, *pnext, str1[2], errstr[2];
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:778: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 *p, *pnext, pstart[256], str1[2], latlon1[2];
data/ferret-vis-7.6.0/fmt/src/tm_ftoc_readline.c:65:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char linefromserver[2048];
data/ferret-vis-7.6.0/fmt/src/tm_make_relative_ver.c:56: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 temp_ver[32];
data/ferret-vis-7.6.0/fmt/src/tm_number_sub.c:54: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 kval[2048];
data/ferret-vis-7.6.0/fmt/src/tm_unix_versions.c:78:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char tbuff[4];
data/ferret-vis-7.6.0/fmt/src/tm_unix_versions.c:161: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( next_name+len+2, "%d", high+1 );
data/ferret-vis-7.6.0/gksm2ps/gksm.c:301:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	msg->string = &(((char *) record)[sizeof(XGKSMMESG)]);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:364: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.
	text->string = &(((char *) record)[sizeof(XGKSMTEXT)]);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1057:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((gksm->fp = fopen(conn, "r")) != NULL) {
data/ferret-vis-7.6.0/gksm2ps/gksm.c:1175: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).
	Gfile		*fp	= fopen(ws->conn, "w");
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:127:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char    output_file[80];                /* PS output file name */
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:237:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char s[100];
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:615:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char char_vec[80];	/* character vector transformation matrix */
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1032: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        *sptr, new_name[90], command[180];
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1056:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char    file[MAXFILE][80];	/* The file name */
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1057:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char    stamp[8];            /* time stamp */
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1062:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char	   work_type[80];	/* Workstation type */
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1072:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char    metafile_header[45];   /* Version of metafiles read in */
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1078:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char    answer[40];           /* Answer to Q's in X preview */  
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1087:4:  [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 (output_file, "gksm2ps_output.ps");
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1206:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((meta_file = fopen (file[i],"r")) == NULL) {
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1249: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).
	    if ((ps_output = fopen (output_file,"w")) == NULL) 
data/ferret-vis-7.6.0/gksm2ps/xpreview.c:66:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
xpreview(int mi_wsid, int fileno, int nfile, char file[80])
data/ferret-vis-7.6.0/gksm2ps/xpreview.c:88:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           command[100];
data/ferret-vis-7.6.0/xgks/fontdb/mkfont.c:59:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            fn[30];
data/ferret-vis-7.6.0/xgks/fontdb/mkfont.c:192:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fd = open(Font.fn, O_CREAT | O_BINARY | O_RDWR, 0644)) < 0) {
data/ferret-vis-7.6.0/xgks/fontdb/mkfont.c:194:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fd = open(Font.fn, O_CREAT | O_RDWR, 0644)) < 0) {
data/ferret-vis-7.6.0/xgks/fontdb/mkfont.c:220:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fd = open(Fn, O_RDONLY, 0644)) < 0) {
data/ferret-vis-7.6.0/xgks/fontdb/mkfont.c:337:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            s[80], *sp;
data/ferret-vis-7.6.0/xgks/fontdb/mkfont.c:343: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).
    if ((fontfile = fopen(argv[1], "r")) == NULL) {
data/ferret-vis-7.6.0/xgks/include/gif/gd.h:34:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int open[gdMaxColors];
data/ferret-vis-7.6.0/xgks/port/config.c:371:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char co[4], oc[4]; /* Comment starter and ender symbols */
data/ferret-vis-7.6.0/xgks/port/config.c:702: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.
	static char buf[1024];
data/ferret-vis-7.6.0/xgks/progs/defcolors.c:71:12:  [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.
    (void) sprintf(num, "%d", color);
data/ferret-vis-7.6.0/xgks/progs/font.c:62:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            s[100];
data/ferret-vis-7.6.0/xgks/progs/font.c:87:12:  [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.
    (void) sprintf(s, "GKS VECTOR FONT NUMBER %d", font);
data/ferret-vis-7.6.0/xgks/progs/font.c:237:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            s[100];
data/ferret-vis-7.6.0/xgks/progs/font.c:278: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.
	(void) sprintf(s,
data/ferret-vis-7.6.0/xgks/progs/hanoi.c:150: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).
	    n		= atoi(optarg);
data/ferret-vis-7.6.0/xgks/progs/pline.c:154:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            s[20];
data/ferret-vis-7.6.0/xgks/progs/pline.c:198: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.
	(void) sprintf(s, "width %5.2f", (float) (2.0 * i));
data/ferret-vis-7.6.0/xgks/progs/pmark.c:220: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.
	(void) sprintf(s, "scale %5.2f", (float) (2.0 * i));
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmi.c:66:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char	bytes[2];
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmi.c:142:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char	bytes[2];
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmi.c:157:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char 	bytes[2];
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmi.c:199:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char	rep[3];
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmi.c:337:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char	bytes[2];
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmi.c:975:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char	bytes[2];
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmi.c:1105:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((mi->fp = fopen(conn, "r")) == NULL) {
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:149:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char		cgm_buf[077776];
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:190: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.
	    unsigned char	bytes[2];
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:213: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.
	    unsigned char	bytes[2];
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:280:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char	bytes[2]; \
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:337:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char	bytes[2]; \
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:430:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char	bytes[2]; \
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:537:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char	modc_rep[3]; \
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:648:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char		timebuf[24];
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:649:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char		buffer[128];
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:701: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.
	(void) sprintf(timebuf, " UTC%c%02d%02d", 
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:803:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	identifier[16];			/* Should be large enough */
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:807: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.
	(void) sprintf(identifier, "XGKS %d", ++cgmo[ii]->picture_number);
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:1166:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((cgmo->fp = fopen(ws->conn, "w")) == NULL) {
data/ferret-vis-7.6.0/xgks/src/lib/font.h:62:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	fname[30];		/* font name */
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:99:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (im->open[i]) {
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:118:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (im->open[i]) {
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:135:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (im->open[i]) {
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:150:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	im->open[ct] = 0;
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:157:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	im->open[color] = 1;
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1464:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char accum[ 256 ];
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1558: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.
       unsigned char   ColorMap[3][MAXCOLORMAPSIZE];
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1573:57:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 int ReadColorMap (FILE *fd, int number, unsigned char (*buffer)[256]);
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1578:79:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 void ReadImage (gdImagePtr im, FILE *fd, int len, int height, unsigned char (*cmap)[256], int interlace, int ignore);
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1591: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.
       unsigned char   buf[16];
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1593: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.
       unsigned char   ColorMap[3][MAXCOLORMAPSIZE];
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1594: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.
       unsigned char   localColorMap[3][MAXCOLORMAPSIZE];
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1599: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            version[4];
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1646:40:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                               if (im->open[i]) {
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1703:45:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
ReadColorMap(FILE *fd, int number, unsigned char (*buffer)[256])
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1706: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.
       unsigned char   rgb[3];
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1725:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 unsigned char     buf[256];
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1769:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 unsigned char    buf[280];
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1872:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                       unsigned char   buf[260];
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1921:66:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
ReadImage(gdImagePtr im, FILE *fd, int len, int height, unsigned char (*cmap)[256], int interlace, int ignore)
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1932: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).
               im->open[i] = 1;
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1957:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
               if (im->open[v]) {
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1958:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                       im->open[v] = 0;
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:2281:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[161];
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:2298:6:  [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).
	w = atoi(sp + 1);
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:2318:6:  [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).
	h = atoi(sp + 1);
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:2333: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 h[3];
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:2536:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(im->style, style, sizeof(int) * noOfPixels);
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:126:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *LineStyles[5] = {
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:149: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).
    LogFlag = atoi(cp);
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:357: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(newmeta->style, old->style, sizeof(int)*MaxLineStyleLength);
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:585: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(filename, "w");
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:606: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(filename, "w");
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:619: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).
    inGif = fopen(filename,"rb");
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:623: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).
    ouGif = fopen(filename,"w");
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:656: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(filename, "w");
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:668: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).
    inGif = fopen(filename,"rb");
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:672: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).
    ouGif = fopen(filename,"w");
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:824: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(tpts, npts, sizeof(gdPoint)*total);
data/ferret-vis-7.6.0/xgks/src/lib/gif/gd.h:34:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int open[gdMaxColors];
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:120:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char *LineStyles[5] = {
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:143: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).
    LogFlag = atoi(cp);
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:351: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(newmeta->style, old->style, sizeof(int)*MaxLineStyleLength);
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:602:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen(filename, "w");
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:663:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen(filename, "w");
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:677: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).
        inGif = fopen(filename,"rb");
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:681: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).
        ouGif = fopen(filename,"w");
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:701: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).
        inGif = fopen(filename,"rb");
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:709: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).
        inLog = fopen("/home/users/ansley/Wave-3.gif","rb");
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:716: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).
        inGif = fopen(filename,"rb");
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:722: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).
        ouGif = fopen(filename,"w"); 
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:747:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen(filename, "w");
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:759: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).
        inGif = fopen(filename,"rb");
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:763: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).
        ouGif = fopen(filename,"w");
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:777: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).
        inGif = fopen(filename,"rb");
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:785: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).
        inLog = fopen("/home/users/ansley/Wave-3.gif","rb");
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:792: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).
        inGif = fopen(filename,"rb");
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:798: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).
        ouGif = fopen(filename,"w"); 
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:945: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(tpts, npts, sizeof(gdPoint)*total);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:299:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	msg->string = &(((char *) record)[sizeof(XGKSMMESG)]);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:362: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.
	text->string = &(((char *) record)[sizeof(XGKSMTEXT)]);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1072:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((gksm->fp = fopen(conn, "r")) != NULL) {
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:1185: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).
	Gfile		*fp	= fopen(ws->conn, "w");
data/ferret-vis-7.6.0/xgks/src/lib/mkerrmsg.c:56:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1024], dstr[30], estr[30];
data/ferret-vis-7.6.0/xgks/src/lib/open_ws.c:224:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(connection, ":0");
data/ferret-vis-7.6.0/xgks/src/lib/ps.c:148: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).
    LogFlag = atoi(cp);
data/ferret-vis-7.6.0/xgks/src/lib/ps.c:311:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((cgmo->fp = fopen(ws->conn, "w")) == NULL) {
data/ferret-vis-7.6.0/xgks/src/lib/string.c:512:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            keybuf[2];
data/ferret-vis-7.6.0/xgks/src/lib/wslist.h:71:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            dashl[17];		/* dash list */
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:263:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            name_key[1024];
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:264:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            class_key[1024];
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:265:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_type[20];
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:269:19:  [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.
    (void) strcat(strcpy(class_key, "Xgks."), class);
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:564:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1024];
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:565:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_type[20];
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:591:29:  [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 (XrmGetResource(rDB, strcat(strcpy(buf, name), ".geometry"),
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:635:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1024];
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:636:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_type[20];
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:743:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1024];
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:744:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_type[20];
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:757:29:  [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 (XrmGetResource(rDB, strcat(strcpy(buf, name), ".icon.geometry"),
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c: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            filename[1024];
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:829:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            name[255];
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:875:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	    (void) strcat(filename, "/.Xdefaults");
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:889:9:  [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.
	(void) strcat(environment, "/.Xdefaults-");
data/ferret-vis-7.6.0/xgks/src/lib/x/xtext.c:633:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            fontpath[1000];
data/ferret-vis-7.6.0/xgks/src/lib/x/xtext.c:648:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fd = open(fontpath, O_BINARY | O_RDONLY, 0644)) < 0) {
data/ferret-vis-7.6.0/xgks/src/lib/x/xtext.c:650:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fd = open(fontpath, O_RDONLY, 0644)) < 0) {
data/ferret-vis-7.6.0/xgks/src/lib/x/xtext.c:665: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.
      if (read(fd, (char *) FontTable[f].f_font, (unsigned) size) != size) {
data/ferret-vis-7.6.0/xgks/src/lib/xgks.h:1218: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).
    Gint            open;		/* number of open workstations */
data/ferret-vis-7.6.0/external_functions/date_and_time/date_decode.c:65:7:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  if (sscanf(strdate,"%d/%d/%d%1s",&im,&id,&iy,str1) == 3)
data/ferret-vis-7.6.0/external_functions/date_and_time/date_decode.c:70:12:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  else if (sscanf(strdate,"%d-%d-%d%1s",&iy,&im,&id,str1) == 3)
data/ferret-vis-7.6.0/external_functions/date_and_time/date_decode.c:75:12:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  else if (sscanf(strdate,"%d-%3s-%d%1s",&id,str3,&iy,str1) == 3)
data/ferret-vis-7.6.0/external_functions/date_and_time/time_decode.c:61:7:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  if (sscanf(strtime,"%d:%d:%f%1s",&ih,&im,&ss,str1) == 3)
data/ferret-vis-7.6.0/external_functions/date_and_time/time_decode.c:66:12:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  else if (sscanf(strtime,"%d:%d%1s",&ih,&im,str1) == 2)
data/ferret-vis-7.6.0/external_functions/matlab/matlab_func_link.c:77: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(buffer) > 1)
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:262:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   return read( f, b, n );
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:282:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   nread = read( f, buffer, n*2 );
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:292:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   int nread = read( f, iarray, n*2 );
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:319:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   nread = read( f, buffer, n*2 );
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:328:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   int nread = read( f, iarray, n*2 );
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:351:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   if (read( f, &n, 4 )==4) {
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:359:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   if (read( f, i, 4 )==4) {
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:389:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   nread = read( f, buffer, 4*n );
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:406:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   int nread = read( f, iarray, 4*n );
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:429:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   if ( read( f, &buffer, 4 )==4 ) {
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:438:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (read( f, &n, 4 )==4) {
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:447:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (read( f, x, 4 )==4) {
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:475:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   nread = read( f, buffer, n*4 );
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:482:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   int nread = read( f, x, 4*n );
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:505:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return read( f, data, elements );
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:510:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      n = read( f, data, elements*2 ) / 2;
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:517:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return read( f, data, elements*2 ) / 2;
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:523:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      n = read( f, data, elements*4 ) / 4;
data/ferret-vis-7.6.0/external_functions/v5d/binio.c:529:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return read( f, data, elements*4 ) / 4;
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:230: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).
   return strlen(dst);
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:1479:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy( v->VarName[i], name, 4 );
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:1568:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
         strncpy( v->VarName[iv], name, 8 );
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:2727:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy( v->VarName[var], varname[var], 10 );
data/ferret-vis-7.6.0/external_functions/v5d/v5d.c:2872:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( Simple->Units[var-1], units, 19 );
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1532: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).
      if (path[strlen(path)-1] != '/')
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1533:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat(path, "/");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1549: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).
         extension = &(file[strlen(file)-1]);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1660: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).
            *lenerrstring = strlen(errstring);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1669: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).
            *lenerrstring = strlen(errstring);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1680: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).
            *lenerrstring = strlen(errstring);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1688: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).
        *lenerrstring = strlen(errstring);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1693: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).
        *lenerrstring = strlen(errstring);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1705:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ef.name, fname, *lenfname);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1707:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ef.path, pymod, *lenpymod);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1719: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).
        *lenerrstring = strlen(errstring);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1736: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).
        *lenerrstring = strlen(errstring);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1744: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).
        *lenerrstring = strlen(errstring);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1752: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).
        *lenerrstring = strlen(errstring);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:1762: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).
    *lenerrstring = strlen(errstring);
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:2013: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 ( strlen(errstring) > 0 ) {
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:2162: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 ( strlen(errstring) > 0 ) {
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:2814: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 ( strlen(errstring) > 0 ) {
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:3034: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).
  alt_str_name[strlen(alt_str_name)] = ' ';
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:3287: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).
  for (i=0;i<strlen(ef_ptr->internals_ptr->arg_name[index]);i++) {
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:3420: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(i_ptr->description, "");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:3445:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(i_ptr->arg_name[i], "");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:3446:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(i_ptr->arg_unit[i], "");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:3447:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(i_ptr->arg_desc[i], "");
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:3544: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).
  for (i=0; i<strlen(ef_ptr->name); i++) {
data/ferret-vis-7.6.0/fer/ccr/EF_InternalUtil.c:3551: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).
  for (i=0, t=data; i<strlen(data); i++, t++) {
data/ferret-vis-7.6.0/fer/ccr/batch_graphics.c:77: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).
  length = strlen(outfile);
data/ferret-vis-7.6.0/fer/ccr/binaryRead.c:142:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  fi->name = (char *)FerMem_Malloc(strlen(name)+1, __FILE__, __LINE__);
data/ferret-vis-7.6.0/fer/ccr/binaryRead.c:456: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(type) != 2)
data/ferret-vis-7.6.0/fer/ccr/c_dncase.c:67:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   *out_ptr = (char *) FerMem_Malloc(sizeof(char) * (strlen(*in_ptr)+1), __FILE__, __LINE__);
data/ferret-vis-7.6.0/fer/ccr/c_strcat.c:62: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).
      len1 = strlen(*in_ptr1);
data/ferret-vis-7.6.0/fer/ccr/c_strcat.c:66: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).
      len2 = strlen(*in_ptr2);
data/ferret-vis-7.6.0/fer/ccr/c_strlen.c:53:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      *out_ptr = strlen(*in_ptr);
data/ferret-vis-7.6.0/fer/ccr/c_upcase.c:67:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   *out_ptr = (char *) FerMem_Malloc(sizeof(char) * (strlen(*in_ptr) + 1), __FILE__, __LINE__);
data/ferret-vis-7.6.0/fer/ccr/copy_c_string.c:62:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   *out_ptr = (char *) FerMem_Malloc(sizeof(char) * (strlen(*in_ptr) + 1), __FILE__, __LINE__);
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:303: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).
		len_str = strlen(script_name);
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:325: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).
                len_str = strlen(script_name);
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:338: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).
			len_str = strlen(argv[i]);
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:461: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( init_command, " " );
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:464:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy( init_command, " " );
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:476:4:  [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( init_command, "\"" );
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:477:4:  [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( init_command, " ");
data/ferret-vis-7.6.0/fer/ccr/fermain_c.c:481:4:  [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( init_command, " ");
data/ferret-vis-7.6.0/fer/ccr/get_c_string.c:54:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy(outstring, str1, *maxlen);
data/ferret-vis-7.6.0/fer/ccr/get_c_string_len.c:50:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   return (int)strlen(*ptr_ptr);
data/ferret-vis-7.6.0/fer/ccr/get_max_c_string_len.c:56: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).
         slen = strlen(*each_str_ptr);
data/ferret-vis-7.6.0/fer/ccr/get_offset_c_string_len.c:55:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
   return (int)strlen(*each_str_ptr);
data/ferret-vis-7.6.0/fer/ccr/get_sys_cmnd.c:100:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          slen = strlen(buf);
data/ferret-vis-7.6.0/fer/ccr/get_sys_cmnd.c:123: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).
                   slen = strlen(buf);
data/ferret-vis-7.6.0/fer/ccr/get_sys_cmnd.c:134:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          pmnt = (char *) FerMem_Malloc(sizeof(char) * (int)(strlen(buf)+1), __FILE__, __LINE__);
data/ferret-vis-7.6.0/fer/ccr/write_dods.c:60:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (fileptr, filename, *slen);
data/ferret-vis-7.6.0/fer/ccr/write_dods.c:122:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (fileptr, filename, *slen);
data/ferret-vis-7.6.0/fer/ef_utility/ef_put_string_ptr.c:16: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).
  *out_ptr = (char *) FerMem_Malloc(sizeof(char) * (strlen(*in_ptr)+1), __FILE__, __LINE__);
data/ferret-vis-7.6.0/fer/efi/date_decode.c:65:7:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  if (sscanf(strdate,"%d/%d/%d%1s",&im,&id,&iy,str1) == 3)
data/ferret-vis-7.6.0/fer/efi/date_decode.c:70:12:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  else if (sscanf(strdate,"%d-%d-%d%1s",&iy,&im,&id,str1) == 3)
data/ferret-vis-7.6.0/fer/efi/date_decode.c:75:12:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  else if (sscanf(strdate,"%d-%3s-%d%1s",&id,str3,&iy,str1) == 3)
data/ferret-vis-7.6.0/fer/efi/time_decode.c:57:7:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  if (sscanf(strtime,"%d:%d:%lf%1s",&ih,&im,&ss,str1) == 3)
data/ferret-vis-7.6.0/fer/efi/time_decode.c:62:12:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
  else if (sscanf(strtime,"%d:%d%1s",&ih,&im,str1) == 2)
data/ferret-vis-7.6.0/fer/special/FerMem_routines.c:141:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(memptr->filename, filename, FERMEM_MAXLEN);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:189: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).
    *namelen = strlen(dname);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:214: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).
    *len_newvarname = strlen(newvarname);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:293: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).
    *namelen = strlen(attname);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:355: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).
        sz = strlen(dname);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:356: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).
        szdim = strlen(nc_ptr->dims[idim].name);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:381: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).
    *len_name = strlen(string);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:609: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).
    *namelen = strlen(attname);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:648:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(string, att_ptr->string, *len);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:652:9:  [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(string, "");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:721:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(nc.fullpath, " ");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:727:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(var.name, ".");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:745:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(att.string, " ");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:785:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(nc.fullpath, " ");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:792:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(var.name, "."); /*is this a legal name?*/
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:805:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(att.string, " ");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:900:9:  [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(var.name, ".");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:933:25:  [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(att.string, " ");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:957: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).
                               att.len += strlen(strarray[idx]) + 1;
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:962: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).
                            strptr += strlen(strarray[0]);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:965:32:  [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(strptr, "\n");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:968: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).
                               strptr += strlen(strarray[idx]);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1059:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    if ( strlen(strptr) > 1 )
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1128:25:  [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(att.string," ");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1136: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.
                            strcpy (att.string, " ");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1141:33:  [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(att.string, " ");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1153:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                ilen = strlen(att.string);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1166:33:  [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(att.string, " ");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1173:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                   att.len += strlen(strarray[idx]) + 1;
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1177: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).
                                strptr += strlen(strarray[0]);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1180:36:  [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(strptr, "\n");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1183: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).
                                   strptr += strlen(strarray[idx]);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1207:33:  [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 (att.string, " ");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1236: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).
            att.len = strlen(var.name);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1285:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(var.name, ".");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1299: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).
    att.len = strlen(name);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1677: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).
    att.len = strlen(title);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1687: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(units) > 0 ) {
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1692: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).
        att.len = strlen(units);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1820: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(units) > 0 ) {
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:1825: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).
        att.len = strlen(units);
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:2148:9:  [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(att_ptr->string," ");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:2237:9:  [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(att_ptr->string," ");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:2641:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(var.name, ".");
data/ferret-vis-7.6.0/fmt/src/NCF_Util.c:2654: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).
    att.len = strlen(name);
data/ferret-vis-7.6.0/fmt/src/cd_rd_str_1_sub.c:112: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).
	  *slen= strlen(buff);
data/ferret-vis-7.6.0/fmt/src/cd_rd_str_1_sub.c:131: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).
	  *slen= strlen(buff);
data/ferret-vis-7.6.0/fmt/src/cd_read_sub.c:239:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         *strptrptr = (char *) FerMem_Malloc((strlen(strarray[i]) + 1) * sizeof(char), __FILE__, __LINE__);
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:235: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).
	  if ((slen = strlen(startptr)) > 0)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:318: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).
	  if ((slen = strlen(startptr)) > 0)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:421:6:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	if (sscanf(p,"%lf%1[Nn]%1s",&dummy,str1,errstr) == 2)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:425:12:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	else if ( sscanf(p,"%lf%1s",&dummy,errstr ) != 1)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:427: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).
	else if (p[strlen(p)-1] == 'e' || p[strlen(p)-1] == 'E') 
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:427: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).
	else if (p[strlen(p)-1] == 'e' || p[strlen(p)-1] == 'E') 
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:435:6:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	if (sscanf(p,"%lf%[Ee]%1s",&dummy,str1,errstr) == 2)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:442: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).
	else if (p[strlen(p)-1] == 'e' || p[strlen(p)-1] == 'E') 
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:442: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).
	else if (p[strlen(p)-1] == 'e' || p[strlen(p)-1] == 'E') 
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:444:12:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	else if ( sscanf(p,"%lf%1s",&dummy,errstr ) != 1)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:453:6:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	if (sscanf(p,"%d/%d/%d%1s",&idummy1,&idummy2,&idummy3,errstr) == 3) {
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:485:13:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	} else if (sscanf(p,"%4d-%2d-%2d%1s",
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:493:13:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	else if ( (sscanf(p,"%4d%2d%2d%1s",&idummy1,&idummy2,&idummy3,str1)==3)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:512:6:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	if (sscanf(p,"%d/%d/%d %d:%d:%lf%1s",&idummy1,&idummy2,&idummy3,&idummy4,&idummy5,&dummy,errstr) >= 4) {
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:520:11:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	  ndum = sscanf(p,"%d/%d/%d %d:%d:%lf%1s",&idummy1,&idummy2,&idummy3,&idummy4,&idummy5,&dummy,errstr);
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:549:13:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	} else if (sscanf(p,"%4d-%2d-%2d %d:%d:%lf%1s",
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:552:10:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
		ndum = sscanf(p,"%4d-%2d-%2d %d:%d:%lf%1s",&idummy1,&idummy2,&idummy3,&idummy4,&idummy5,&dummy,errstr);
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:565:13:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	else if ( (sscanf(p,"%4d%2d%2d%1s",&idummy1,&idummy2,&idummy3,str1) == 3)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:580:6:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	if (sscanf(p,"%d/%d/%d%1s",&idummy1,&idummy2,&idummy3,errstr) == 3) {
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:612:13:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	} else if (sscanf(p,"%4d-%2d-%2d%1s",
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:619:13:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	else if ( (sscanf(p,"%4d%2d%2d%1s",&idummy1,&idummy2,&idummy3,str1)==3)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:639:6:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	if (sscanf(p,"%d/%d/%d %d:%d:%lf%1s",&idummy1,&idummy2,&idummy3,&idummy4,&idummy5,&dummy,errstr) >= 4) {
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:647:11:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	  ndum = sscanf(p,"%d/%d/%d %d:%d:%lf%1s",&idummy1,&idummy2,&idummy3,&idummy4,&idummy5,&dummy,errstr);
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:676:13:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	} else if (sscanf(p,"%4d-%2d-%2d %d:%d:%lf%1s",
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:679:10:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
		ndum = sscanf(p,"%4d-%2d-%2d %d:%d:%lf%1s",&idummy1,&idummy2,&idummy3,&idummy4,&idummy5,&dummy,errstr);
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:692:13:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	else if ( (sscanf(p,"%4d%2d%2d%1s",&idummy1,&idummy2,&idummy3,str1) == 3)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:707:6:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	if (sscanf(p,"%d:%d:%lf%1s",&idummy1,&idummy2,&dummy,errstr) == 3)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:709:11:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	else if (sscanf(p,"%d:%d%1s",&idummy1,&idummy2,errstr) == 2)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:717:7:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	if ( sscanf(p,"%lf%1s",&dummy,errstr ) != 1)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:724: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).
	  slen = strlen(p);
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:734: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(p)>1 && *p=='"' && *(p+strlen(p)-1)=='"') {
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:734:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  if (strlen(p)>1 && *p=='"' && *(p+strlen(p)-1)=='"') {
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:735: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).
	    *(p+strlen(p)-1) = '\0';
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:739: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 *) FerMem_Malloc(sizeof(char)*(strlen(p)+1), __FILE__, __LINE__);
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:796:14:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    else if (sscanf(p,"%d/%d/%d%1s",&idummy1,&idummy2,&idummy3,str1) == 3)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:804:14:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    else if (sscanf(p,"%d-%d-%d%1s",&idummy1,&idummy2,&idummy3,str1) == 3)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:812:16:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    else if ( (sscanf(p,"%4d%2d%2d%1s",&idummy1,&idummy2,&idummy3,str1) == 3)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:823:14:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    else if (sscanf(p,"%d:%d:%lf%1s",&idummy1,&idummy2,&dummy,str1) == 3)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:831:14:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    else if (sscanf(p,"%d:%d%1s",&idummy1,&idummy2,str1) == 2)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:839:14:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    else if (sscanf(p,"%lf%1[NnSs]%1s",&dummy,latlon1,str1) == 2
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:849:15:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    else if ((sscanf(p,"%lf%1[EeWw]%1s",&dummy,latlon1,str1) == 2) 
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:850: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).
	     || p[(strlen(p))-1] == 'E' || p[(strlen(p))-1] == 'E' )
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:850:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	     || p[(strlen(p))-1] == 'E' || p[(strlen(p))-1] == 'E' )
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:865: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).
	  idummy1 = (strlen(p))-1;
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:866:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy(pstart,p,idummy1 );
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:870:14:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    else if (sscanf(p,"%lf%1s",&dummy,str1) == 2)
data/ferret-vis-7.6.0/fmt/src/ez_delimited_read.c:969:66:  [1] (buffer) strlen:
  Does not handle 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* _delim      = (char *) FerMem_Malloc(sizeof(char) * (int)strlen(delim) + 1, __FILE__, __LINE__);
data/ferret-vis-7.6.0/fmt/src/tm_make_relative_ver.c:59: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).
  cvlen = strlen(curr_ver);
data/ferret-vis-7.6.0/fmt/src/tm_unix_versions.c:80: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).
   rlen = strlen(rootnam);
data/ferret-vis-7.6.0/fmt/src/tm_unix_versions.c: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).
   tlen = strlen(testnam);
data/ferret-vis-7.6.0/fmt/src/tm_unix_versions.c:108:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy( tbuff, testnam+rlen+2, tlen-rlen-2 );
data/ferret-vis-7.6.0/fmt/src/tm_unix_versions.c:158: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(name);
data/ferret-vis-7.6.0/fmt/src/tm_unix_versions.c:162:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(next_name);
data/ferret-vis-7.6.0/fmt/src/urlencode.c: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).
  *outlen = strlen(outstr);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:186:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ((i = getc(fp)) == EOF)
data/ferret-vis-7.6.0/gksm2ps/gksm.c:306: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).
	readcnt = READINT(fp, msg->strlen);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:320: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).
	for (i = 1; i < msg->strlen; i++) {
data/ferret-vis-7.6.0/gksm2ps/gksm.c:387: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).
	readcnt = sscanf(scratch, "%d", &(text->strlen));
data/ferret-vis-7.6.0/gksm2ps/gksm.c:401: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).
	for (i = 1; i < text->strlen; i++) {
data/ferret-vis-7.6.0/gksm2ps/gksm.c:926: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	nchr	= strlen(buffer);
data/ferret-vis-7.6.0/gksm2ps/gksm.c:930:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    (void) strncpy(buffer + nchr, name.nodename, 
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:749: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 (strlen (pattern[(-1)*fill_individual.style]) == 16)
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:760:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      else  if (strlen (pattern[(-1)*fill_individual.style]) == 64)
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1035: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).
  lname = strlen (name);
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1036: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).
  lext  = (sptr != NULL) ? strlen (sptr) : 0;
data/ferret-vis-7.6.0/gksm2ps/gksm2ps.c:1083: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(file[i],"\0");
data/ferret-vis-7.6.0/gksm2ps/xpreview.c:219:18:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((ch = getchar()) != '\n')
data/ferret-vis-7.6.0/xgks/fontdb/mkfont.c:224:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(fd, (char *) &size, sizeof(int)) != sizeof(int)) {
data/ferret-vis-7.6.0/xgks/fontdb/mkfont.c:232:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(fd, (char *) *Fpp, size) != size) {
data/ferret-vis-7.6.0/xgks/fontdb/mkfont.c:292: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(s) == 1)
data/ferret-vis-7.6.0/xgks/fontdb/mkfont.c:347:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(Font.fn, argv[2], 30);	/* font name */
data/ferret-vis-7.6.0/xgks/fontdb/mkfont.c:375: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).
	    sp[strlen(sp) - 1] = '\0';		/* past the space & null */
data/ferret-vis-7.6.0/xgks/src/fortran/escapes1.c:32:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(p = (char *) malloc((size_t) (name_len + 1)), name, 
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmi.c:274: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).
    mi_string(mi, msg->string, &msg->strlen);
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmi.c:656: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).
	    mi_string(mi, data->text.string, &data->text.strlen);
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:397: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).
    size_t	nchr	= strlen(string);
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:658: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).
	    size_t	nchr	= strlen(string); \
data/ferret-vis-7.6.0/xgks/src/lib/cgm/cgmo.c:660:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    (void) strncpy(cp, string, nchr); \
data/ferret-vis-7.6.0/xgks/src/lib/choice.c:784: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).
	((str) != NULL) ? strlen(str) : 0); \
data/ferret-vis-7.6.0/xgks/src/lib/escape.c:332:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((progname = (char*)malloc((size_t) (strlen(name)+1))) != NULL)
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:522: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).
	l = strlen(s);
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:533: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).
	l = strlen(s);
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:1610:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
       strncpy(version, (char *)buf + 3, 3);
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:2165:6:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	r = getc(in);
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:2170:6:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	r = getc(in);	
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:2187:6:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	r = getc(in);
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:2231:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			ch = getc(in);
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:2337:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			ch = getc(fd);
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:2346:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ch = getc(fd);
data/ferret-vis-7.6.0/xgks/src/lib/gd.c:2351:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ch = getc(fd);
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:405: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).
    length = strlen(cp);
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:410: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).
    length = strlen(LineStyles[attr]);
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:491: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	nchr	= strlen(buffer);
data/ferret-vis-7.6.0/xgks/src/lib/gif.c:495:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    (void) strncpy(buffer + nchr, name.nodename, 
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:399: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).
    length = strlen(cp);
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:404: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).
    length = strlen(LineStyles[attr]);
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:485: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	nchr	= strlen(buffer);
data/ferret-vis-7.6.0/xgks/src/lib/gif_with_background.c:489:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    (void) strncpy(buffer + nchr, name.nodename, 
data/ferret-vis-7.6.0/xgks/src/lib/gks_defines.h:62: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).
#define STRLEN(a)       (((a) == NULL) ? 0 : strlen(a))
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:184:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ((i = getc(fp)) == EOF)
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:304: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).
	readcnt = READINT(fp, msg->strlen);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:318: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).
	for (i = 1; i < msg->strlen; i++) {
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:385: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).
	readcnt = sscanf(scratch, "%d", &(text->strlen));
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:399: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).
	for (i = 1; i < text->strlen; i++) {
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:941: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	nchr	= strlen(buffer);
data/ferret-vis-7.6.0/xgks/src/lib/gksm/gksm.c:945:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    (void) strncpy(buffer + nchr, name.nodename, 
data/ferret-vis-7.6.0/xgks/src/lib/metafile.h:124: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).
    Gint            strlen;
data/ferret-vis-7.6.0/xgks/src/lib/metafile.h:147: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).
    Gint            strlen;
data/ferret-vis-7.6.0/xgks/src/lib/open_ws.c:223: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).
      connection = malloc(strlen(":0")+1);
data/ferret-vis-7.6.0/xgks/src/lib/ps.c:270: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	nchr	= strlen(buffer);
data/ferret-vis-7.6.0/xgks/src/lib/ps.c:274:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    (void) strncpy(buffer + nchr, name.nodename, 
data/ferret-vis-7.6.0/xgks/src/lib/ps.c:471: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).
	length = strlen(string);
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:268:19:  [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.
    (void) strcat(strcat(strcpy(name_key, prog), "."), name);
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:274:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	(void) strncpy(name_key, value.addr, (int) value.size);
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:598:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	(void) strncpy(buf, value.addr, (int) value.size);
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:764:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	(void) strncpy(buf, value.addr, (int) value.size);
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:836:12:  [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.
    (void) strcat(name, "/");
data/ferret-vis-7.6.0/xgks/src/lib/x/xopws.c:890:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(environment);
data/ferret-vis-7.6.0/xgks/src/lib/x/xtext.c:655:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(fd, (char *) &size, sizeof(int)) != sizeof(int)) {
data/ferret-vis-7.6.0/xgks/src/lib/x/xtext.c:665:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (read(fd, (char *) FontTable[f].f_font, (unsigned) size) != size) {

ANALYSIS SUMMARY:

Hits = 871
Lines analyzed = 86989 in approximately 2.96 seconds (29436 lines/second)
Physical Source Lines of Code (SLOC) = 52639
Hits@level = [0] 994 [1] 256 [2] 302 [3]  22 [4] 284 [5]   7
Hits@level+ = [0+] 1865 [1+] 871 [2+] 615 [3+] 313 [4+] 291 [5+]   7
Hits/KSLOC@level+ = [0+] 35.43 [1+] 16.5467 [2+] 11.6834 [3+] 5.94616 [4+] 5.52822 [5+] 0.132981
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.