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/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_bpm_fit.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_sigclip.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_overscan_defs.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_catalogue.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_DER_SNR.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_spectrum_resample.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_bpm_3d.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/igam.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_efficiency.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_test.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_sigclip.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_spectrum_defs.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_image.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_fit.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_flat.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_elemop.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_elemop.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_random.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_lacosmics.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_dar.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_spectrum_resample.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_efficiency.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_prototyping.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_spectrum_shift.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_fringe.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_prototyping.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_spectrum_shift.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_correlation.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_strehl.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_imagelist_view.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_frameiter.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_imagelist_view.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_spectrum.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_image.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_frameiter.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_image_math.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_image_math.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_bpm_2d.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_spectrum.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_bpm_2d.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_bpm_fit.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_combine.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_multiiter.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_iter.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_utils.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_parameter_defs.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_catalogue.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_imagelist_basic.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_lacosmics.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_DER_SNR.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_strehl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_image_defs.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_buffer.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_fpn.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_collapse.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_parameter.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_bpm_utils.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_correlation.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_overscan.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_random.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_combine.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_iter.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_bpm_utils.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_imagelist.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_utils-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_prototyping-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_spectrum1d-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_elemop-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_strehl-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_buffer-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_frameiter-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_fringe-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_random-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_image-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_bpm_2d-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_overscan-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_collapse-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_parameter-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_imagelist_basic-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_dar-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_catalogue-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_bpm_utils-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_combine-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_lacosmics-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_efficiency-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_response-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_bpm_3d-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_spectrum1d_shift-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_imagelist_view-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_bpm_fit-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_imagelist_io-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_flat-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_correlation-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_multiiter-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_spectrum1dlist-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_sigclip-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_der_snr-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_fit-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_fpn-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_response.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_imagelist_io.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_spectrumlist.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_flat.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_response.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_fit.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_imagelist_basic.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_fpn.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_types.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_collapse.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_parameter.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_utils.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_multiiter.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_dar.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_overscan.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_background.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_moments.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_terminate.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_extend.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_table.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_filter.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_moments.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_radii.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_utils_sort.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_statistics.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_utils_sort.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_seeing.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_apclust.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_statistics.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_phopt.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_table.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_utils.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_classify.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_apio.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_filter.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_conf.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_apline.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_apline.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_solve.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_areals.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_utils.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_casu.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_casu-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_conf-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_classify-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_radii-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_areals-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_moments-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_polynm-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_apio-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_filter-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_casu_bkg_badpatch-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_phopt-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_overlp-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_seeing-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_terminate-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_utils_sort-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_sim_montecarlo-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_background-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/tests/hdrl_cat_casu_addmul-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_apclust.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_conf.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_seeing.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_overlp.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_apio.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_casu.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_polynm.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_def.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_terminate.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_extend.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_areals.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_phopt.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_radii.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_background.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_polynm.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_solve.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_overlp.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_classify.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_spectrumlist.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_bpm_3d.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_buffer.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_fringe.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_imagelist_defs.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_imagelist_io.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/uves_utl_ima_arith.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/flames_cal_predict.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/uves_response.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/flames_obs_redchain.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/flames_utl_unpack.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/uves_mbias.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/uves_physmod.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/uves_redchain.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/uves_utl_remove_crh_single.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/uves_scired.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/uves_cal_mkmaster.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/uves_mflat.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/uves_orderpos.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/uves_cal_cd_align.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/uves_mflat_combine.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/flames_cal_orderpos.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/uves_wavecal.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/tests/recipe_main.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/flames_cal_wavecal.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/uves_mdark.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/flames_cal_prep_sff_ofpos.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/flames_cal_mkmaster.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/flames_obs_scired.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/recipes/uves_tflat.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_distortion.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_oddeven.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_polynomial.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_stdstar.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_flat.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_calib.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_wavecal.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_ksigma_clip.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_slitpos.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_wcs.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_calib.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_plugin.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_polynomial.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_hist.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_wlxcorr.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_fft.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_ppm.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_slitpos.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_mkmaster.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_plugin.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_ksigma_clip_body.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_cat.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_match_cats.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_framelist.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_spectrum.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_framelist.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_oddeven.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_utils.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_wcs.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_wlxcorr.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_wavecal.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_spectrum.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_flat.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_cat-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_utils-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_sdp_spectrum-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_wlxcorr-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_strehl-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_plugin-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_hist-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_framelist-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_wcs-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_polynomial-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_stdstar.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_ppm.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_strehl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_wavecal_impl.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_cat.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_strehl.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_utils.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_fft.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_match_cats.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_mkmaster.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_distortion.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_ksigma_clip.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_hist.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_chip.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_obs_spatred_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_orderpos_follow.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_mflat_combine.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_chop_otab.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_orderpos_body.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_time.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_star_index.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_orderpos_body.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_cstacen.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_plotmod.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_utils.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_error.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils_wrappers.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_corrbadpix.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_stability_check.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_rebin.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_utils.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_stability_check.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mbias_impl.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_rebin.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_necregr.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_cd_align_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_orderpos_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_regress_echelle.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_baryvel.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mbias_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dump.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_utils.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_utils.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_utils.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_tflat_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_create_table.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_remove_crh_single.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_efficiency.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_remove_crh_single.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_mflat.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_backsub.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_redchain_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_cpl_size.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_newmatrix.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_mflat_combine.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_utils.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_deque.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils_polynomial.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils_polynomial.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_utils.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_plotmod.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_flatfield.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_identify.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mflat_combine_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_extract.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_cd_align_impl.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_calmap.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_chip_type.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_center_gauss.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_extract.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_orderpos_hough.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_msg.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_search.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_regress_echelle.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils_wrappers.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_baryvel.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_efficiency.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_msg.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_mflat.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_recipe.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_firstsolution.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_star_index.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_newmatrix.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_test_simulate.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_wavecal-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_save-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/cpl_propertylist-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_extract-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_flux_std_catalog_join-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_qclog-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_polynomial-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_propertylist-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_corrbadpix-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_test_simulate.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_response-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_dfs-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_flux_std_catalog_updated-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_cd_align-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_chip_type.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_qc1pmtbl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_necregr.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_merge.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_globals.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils_cpl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mflat_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_create_table.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_deque.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_cstacen.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_msrawxy.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_msrawxy.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_orderpos_hough.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_extract_iterate.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils_cpl.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dump.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_orderpos_follow.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_extract_profile.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_scired_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_extract_profile.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_backsub.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_chop_otab.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_identify.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_qc1pmtbl.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plugin.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_center_gauss.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_extract_iterate.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_corrbadpix.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_corvel.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_search.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_corvel.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_firstsolution.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_flatfield.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_time.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_calmap.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_cal_mkmaster_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_chip.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_merge.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_utils.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_tracing.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_pfits.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_nrmacros.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_covariance_reorder.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepslitff.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainslitdivide.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_matchorders.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_multimatch.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_allocallflats2.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickoptextract.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstripbdfext.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_locatefibre.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freetemplate.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_checksize.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_medianfilterframe.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freeallflats.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_tracing.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initframe.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_selectavail.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_singlecorrel.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_allocback.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_Opt_Extract.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepextract.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shift_all_FF.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freeframe2.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_get_flat_size.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastprepfibreff.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doptimal.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_def_drs_par.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_midas_atype.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freetemplate.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_allocframe.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freeallflats.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepframe.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_allocframe.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preppa_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_trimback.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftcommon.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shift_FF_n.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_backtable.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_checksize.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initbadpixel.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillnormfactors.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_orderpos_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastprepfibreff.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_opterrors.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dostandard.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ordselect.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_computeback.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepslitff.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_medianfilterframe.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_Standard.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initframe.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_copy_FF_n.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickprepextract.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freeframe.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_redchain_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_frame2flat.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initemplate.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writenormfactors.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainshift.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_frame2flat.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_trimback.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freeslitflats.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freeoneflats.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dointerpolate.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeframe.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_optsynth.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_getordslope.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initbadpixel.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_striptblext.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastlocatefibre.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainshift.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_alloconeflats.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_allocspectrum.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeframe.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freespectrum.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_crea_bp_ima.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_uves.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freeallflats2.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cveltab.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_lsfit.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readordpos.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_singlecorrel.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_allocspectrum.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_get_flat_size.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cloneallflats.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_allocallflats.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_midas_tblerr.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_Stand_Extract.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_optsynth.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_alloctemplate.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff0.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_stripbdfext.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readframe.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_getordpos.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_computeback.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preppa_impl.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftall.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_allocordpos.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_checksize2.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ordpos.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickoptextract.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_correl.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readback.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ffslitmultiply.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_backtable.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_covariance_reorder.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_Stand_Extract.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_alloconeflats.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freespectrum.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_stripfitsext.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastfillholes.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freeback.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_predict_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_allocslitflats.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mergebadpixels.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readframe.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_write_spectra.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_extra_des.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_allocback.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_ordertable.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_mkmaster_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_slitdivide.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ordpos.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gauss_jordan.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mergebadpixels.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_getordpos.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastlocatefibre.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickoptimal.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writenormfactors.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_calcfillshifts.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_backfit.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickoptimal.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mvfit.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftone.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mvfit.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freeframe.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_dfs-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_drs-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_add_extra_des-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_fibremask-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_set_fibremask_from_file-test.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepextract.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_checksize2.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_scatter.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_midas_macrogen.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initallflatsout.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ordselect.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_sigma_clip.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_alloctemplate.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_Optimal.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrelFF.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freeback.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit0.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_allocallflats2.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesigma.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_opterrors.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_striptblext.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_midas_tblsys.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_def_drs_par.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_matchorders.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickprepstand.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeback.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initshiftedff.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freeoneflats.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepstand.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_selectfillavail.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readback.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_locatefillfibre.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_allocordpos.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dostandard.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_lsfit.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_checksize3.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_sigma_clip.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeback.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initemplate.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_checksize3.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepframe.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_calcshifts.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickprepstand.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_slitdivide.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainslitdivide.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gauss_jordan.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastfillholes.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickprepextract.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_optimal.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickstandard.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initshiftedff.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freeordpos.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_scatter.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_wavecal_impl.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_crea_bp_ima.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit0.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickoptimal.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftall.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_ordertable.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_standard.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freeordpos.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freeslitflats.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_Opt_Extract.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesigma.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_pfits.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initfillfibre.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepstand.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_backfit.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillnormfactors.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickoptimal.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrelFF.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ffslitmultiply.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_midas_tbldef.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_allocslitflats.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickstandard.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readordpos.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_freeframe2.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doptimal.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_extra_des.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_allocallflats.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initallflatsout.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dointerpolate.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_multimatch.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_getordslope.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.h
Examining data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.c

FINAL RESULTS:

data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_multimatch.c:152: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.
        strncat(&frames[0],frame_name,CATREC_LEN);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:343:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(string_obs_plate, "%3s%1d", "_pt",obs_plate);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:363:2:  [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(lab_slit,string_obs_plate);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:364:2:  [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(lab_retractor,string_obs_plate);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:365:2:  [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(lab_bn,string_obs_plate);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:366:2:  [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(lab_fbn,string_obs_plate);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:367:2:  [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(lab_rp,string_obs_plate);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:368:2:  [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(lab_fps,string_obs_plate);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:370:2:  [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(lab_e370,string_obs_plate);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:371:2:  [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(lab_e400,string_obs_plate);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:372:2:  [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(lab_e420,string_obs_plate);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:373:2:  [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(lab_e450,string_obs_plate);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:374:2:  [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(lab_e500,string_obs_plate);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:375:2:  [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(lab_e600,string_obs_plate);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:376:2:  [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(lab_e700,string_obs_plate);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:377:2:  [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(lab_e870,string_obs_plate);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:482:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s FIBREPOS: %f",info_prefix,info_fib_pos);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:484:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s FIBREMASK: %d",info_prefix,info_fib_msk);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:486:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s FIBREORD: %d",info_prefix,info_fib_ord);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:488:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s OBJECT: %s",info_prefix,info_object);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:490:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s MAGNITUDE: %f",info_prefix,info_magnitude);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:492:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s RA: %f",info_prefix,info_ra);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:494:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s DEC: %f",info_prefix,info_dec);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:496:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s R: %f",info_prefix,info_r);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:498:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s R_ERR: %f",info_prefix,info_r_err);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:500:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s THETA: %f",info_prefix,info_theta);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:502:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s THETA_ERR: %f",info_prefix,info_theta_err);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:504:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s TYPE: %s",info_prefix,info_type);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:506:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s BUTTON: %d",info_prefix,info_button);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:508:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s PRIORITY: %d",info_prefix,info_priority);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:510:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s ORIENT: %f",info_prefix,info_orient);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:512:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s IN_TOL: %s",info_prefix,info_in_tol);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:514:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s Slit:%s",info_prefix,info_slit);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:516:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s FPS:%s",info_prefix,info_fps);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:518:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s Retractor: %s",info_prefix,info_retractor);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:520:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s BN: %s",info_prefix,info_bn);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:522:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s FBN: %s",info_prefix,info_fbn);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:524:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s RP: %s",info_prefix,info_rp);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:526:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s _e400: %s",info_prefix,info_e400);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:528:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s _e420: %s",info_prefix,info_e420);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:530:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s _e500: %s",info_prefix,info_e500);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:532:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s _e700: %s",info_prefix,info_e700);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:534:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(output,"%s comments: %s",info_prefix,info_comments);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_backfit.c:409:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(output, "I'm reading the frame %s", infile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_backfit.c:441:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(output, "I'm reading the background table %s", backfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_backfit.c:506:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(output, "Writing fitted background frame to %s", backframefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:326: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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:357:5:  [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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:372:5:  [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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1424:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(pcatg, "%s%d%s", "ESO PRO REC1 CAL", i + 1, " CATG");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1710: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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1770: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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1792: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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1823:9:  [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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1877: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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1897: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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1923:9:  [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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1966: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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:2017: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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:2034: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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:2105:5:  [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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:2113:5:  [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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:2124: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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:2707: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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:2726: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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:2787: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("dfits -x 0 rofl.fits | egrep -A9 \"(FIBREPOS|FIBREMASK)\"");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:212:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: Image %s does not exist!", inimage);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:220:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: image %s does not have an NAXIS descriptor!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:226:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: descriptor NAXIS in image %s is not an integer!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:233:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: descriptor NAXIS in image %s has null value!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:239:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: image %s is not 2-dimensional!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:248:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: image %s does not have a START descriptor!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:254:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: descriptor START in image %s is not a double!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:260:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: only %d values present for START in image %s!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:267:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: null values in descriptor START in image %s!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:273:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: only %d values read for START in image %s!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:282:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: image %s does not have a STEP descriptor!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:288:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: descriptor STEP in image %s is not a double!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:294:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: only %d values present for STEP in image %s!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:301:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: null values in descriptor STEP in image %s!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:307:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: only %d values read for STEP in image %s!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:316:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: image %s does not have an NPIX descriptor!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:322:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: descriptor NPIX in image %s is not a double!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:328:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: only %d values present for NPIX in image %s!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:335:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: null values in descriptor NPIX in image %s!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:341:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: only %d values read for NPIX in image %s!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:347:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: bad values read for NPIX in image %s!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:354:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error closing image %s!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:362:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error opening table %s", hptable);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:367:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: nonexistent %s column in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:373:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: nonexistent %s column in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:379:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading table information for %s", hptable);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:385:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error opening table %s", traptable);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:391:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: nonexistent %s column in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:398:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: nonexistent %s column in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:404:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: nonexistent %s column in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:410:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: nonexistent %s column in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:416:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading table information for %s", traptable);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:453:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error closing table %s", hptable);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:511:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error closing table %s", traptable);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:519:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error creating %s image on disk", outimage);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:529:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing NAXIS descriptor in %s image", outimage);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:534:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing START descriptor in %s image", outimage);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:539:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing STEP descriptor in %s image", outimage);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:544:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing NPIX descriptor in %s image", outimage);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:551:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing IDENT descriptor in %s image", outimage);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:560:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing CUNIT descriptor in %s image", outimage);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:567:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing LHCUTS descriptor in %s image", outimage);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:573:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error closing image %s", outimage);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_backtable.c:171:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading %s order table", ordtab);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:227:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading %s order-fibre table", inordtab);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:241:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error opening table %s", inordtab);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:251:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error searching ORDER column in %s table", inordtab);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:261:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error searching FIBRE column in %s table", inordtab);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:271:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error searching X column in %s table", inordtab);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:281:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error searching Y column in %s table", inordtab);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:291:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error searching ORDFIB column in %s table", inordtab);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:301:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error searching YFIT column in %s table", inordtab);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:311:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error searching RESIDUAL column in %s table", inordtab);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:323:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading size of %s table", inordtab);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:363:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error creating %s table", outordtab);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:376:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error copying descriptors from table %s to table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:446:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error reading data type for col %d in table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:461:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error reading format for col %d in table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:471:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error reading units for col %d in table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:481:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error reading label for col %d in table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:507:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Unsupported data type %d in table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:519:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error creating col %d in table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:564:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(output, "Error reading row %d col %d of table %s", inrow,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:579:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(output, "Error writing row %d col %d of table %s", inrow,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:615:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(output, "Error reading row %d col %d of table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:627:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(output, "Error writing row %d col %d of table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:663:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(output, "Error reading row %d col %d of table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:675:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(output, "Error writing row %d col %d of table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:713:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(output, "Error reading row %d col %d of table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:725:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(output, "Error writing row %d col %d of table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:741:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Unsupported data type %d in table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:798:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(output, "Error reading row %d col %d of table %s", inrow,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:809:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(output, "Error reading row %d col %d of table %s", inrow,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:847:29:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                            sprintf(output, "Error writing row %d col %d of table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:858:29:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                            sprintf(output, "Error writing row %d col %d of table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:869:29:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                            sprintf(output, "Error writing row %d col %d of table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:880:29:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                            sprintf(output, "Error writing row %d col %d of table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:891:29:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                            sprintf(output, "Error writing row %d col %d of table %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:918:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error closing table %s", inordtab);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:924:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing table %s", outordtab);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:178:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error opening file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:185:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error opening spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:192:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading NAXIS from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:196:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:203:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error: spectrum file %s has unsupported NAXIS value",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:207:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:214:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading NPIX from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:218:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:225:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:234:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error opening file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:241:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error opening spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:248:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading IDENT from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:252:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:259:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading NAXIS from spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:262:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:269:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: spectrum file %s has unsupported NAXIS value",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:273:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:279:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error looking for descriptor YSHIFT in file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:283:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:300:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Warning: wrong descriptor type for YSHIFT in %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:310:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading YSHIFT from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:314:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:324:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading NPIX from spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:327:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:334:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading START from spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:337:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:344:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading STEP from spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:347:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:354:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading CUNIT from spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:357:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:364:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading MAXFIBRES from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:368:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:375:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading CHIPCHOICE from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:379:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:386:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading RON from spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:389:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:396:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading GAIN from spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:399:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:406:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading ORDERLIM from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:410:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:421:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output,"Error: ORDERLIM inconsistent with NPIX in file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:424:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:431:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading TAB_IN_OUT_OSHIFT from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:435:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:442:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error searching WSTART from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:446:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:452:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error searching NPTOT from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:456:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:462:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error searching NORDER from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:466:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:488:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading NORDER from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:492:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:505:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error closing spectrum file %s", templatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:540:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error opening file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:546:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: dattype mismatch between spectra %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:553:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error opening spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:560:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading IDENT from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:564:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:570:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: IDENT mismatch between spectra %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:574:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:581:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading NAXIS from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:585:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:591:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: Unsupported NAXIS in spectrum %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:595:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:601:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error looking for descriptor YSHIFT in file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:605:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:622:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Warning: wrong descriptor type for YSHIFT in %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:628:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: YSHIFT size mismatch between spectra %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:632:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:641:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading YSHIFT from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:645:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:652:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error: YSHIFT mismatch between spectra %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:656:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:665:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading NPIX from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:669:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:676:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: NPIX mismatch between spectra %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:680:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:687:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading START from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:691:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:698:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: START mismatch between spectra %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:702:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:709:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading STEP from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:713:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:720:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: STEP mismatch between spectra %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:724:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:731:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading CUNIT from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:735:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:741:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: CUNIT mismatch between spectra %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:745:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:752:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading MAXFIBRES from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:756:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:762:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: MAXFIBRES mismatch between spectra %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:766:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:773:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading CHIPCHOICE from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:777:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:783:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: CHIPCHOICE mismatch between spectra %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:787:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:794:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading RON from spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:797:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:803:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: RON mismatch between spectra %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:807:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:814:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading GAIN from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:818:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:824:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: GAIN mismatch between spectra %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:828:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:835:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading ORDERLIM from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:839:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:846:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: ORDERLIM mismatch between spectra %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:850:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:857:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading TAB_IN_OUT_OSHIFT from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:861:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:867:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: TAB_IN_OUT_OSHIFT mismatch between spectra %s \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:871:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:878:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading FIBRENUM from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:882:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:889:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: inconsistent FIBRENUM in file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:893:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:901:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:914:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading WSTART from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:918:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:926:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading NPTOT from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:930:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:939:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading NORDER from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:943:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:950:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error: NPTOT mismatch between spectra %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:954:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:965:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading LHCUTS from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:969:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:980:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error reading file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:983:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:995:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error reading file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:998:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1010:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error reading file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1013:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1024:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1031:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error closing spectrum file %s", specfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1082:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error opening file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1091:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error opening file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1100:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading IDENT from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1104:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1113:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading NAXIS from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1117:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1125:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: wrong NAXIS in file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1129:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1137:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error looking for descriptor YSHIFT in file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1141:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1160:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Warning: wrong descriptor type for YSHIFT in %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1166:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: YSHIFT size mismatch between files %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1170:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1181:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading YSHIFT from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1185:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1194:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error: YSHIFT mismatch between files %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1198:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1209:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading NPIX from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1213:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1222:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: NPIX mismatch between files %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1226:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1235:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading START from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1239:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1248:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: START mismatch between files %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1252:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1261:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading STEP from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1265:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1274:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: STEP mismatch between files %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1278:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1287:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading CUNIT from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1291:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1299:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: CUNIT mismatch between files %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1303:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1312:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading MAXFIBRES from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1316:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1324:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: MAXFIBRES mismatch between files %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1328:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1337:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading CHIPCHOICE from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1341:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1349:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: CHIPCHOICE mismatch between files %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1353:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1362:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading RON from file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1365:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1373:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: RON mismatch between files %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1377:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1386:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading GAIN from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1390:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1398:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: GAIN mismatch between files %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1402:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1411:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading ORDERLIM from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1415:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1424:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: ORDERLIM mismatch between files %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1428:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1437:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading TAB_IN_OUT_OSHIFT from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1441:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1449:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: TAB_IN_OUT_OSHIFT mismatch between files %s \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1453:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1465:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading NORDER from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1469:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error closing file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1478:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error: NORDER mismatch between files %s and %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1482:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(output, "Error closing file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1495:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading LHCUTS from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1499:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1508:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading FIBRENUM from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1512:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1521:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: inconsistent FIBRENUM in file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1525:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1535:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error closing spectrum file %s", newtemplatefile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1585:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error creating cube file %s", cubename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1591:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing IDENT to cube file %s", cubename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1598:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing NAXIS to cube file %s", cubename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1607:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing NPIX to cube file %s", cubename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1616:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing START to cube file %s", cubename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1625:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing STEP to cube file %s", cubename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1633:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing CUNIT to cube file %s", cubename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1683:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing LHCUTS to cube file %s", cubename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1689:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing MAXFIBRES to cube file %s", cubename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1695:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing CHIPCHOICE to cube file %s", cubename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1701:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing RON to cube file %s", cubename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1707:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing GAIN to cube file %s", cubename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1715:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error writing YSHIFT to cube file %s", cubename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1722:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing ORDERLIM to cube file %s", cubename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1729:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing TAB_IN_OUT_OSHIFT to cube file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1736:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing FIBREMASK to cube file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1745:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error writing WSTART to cube file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1753:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error writing NPTOT to cube file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1761:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error writing NORDER to cube file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1774:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error writing actual data to cube file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1785:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error writing actual data to cube file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1796:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error writing actual data to cube file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1810:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error closing cube file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1859:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error opening spectrum file %s", specnames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1866:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading SIGMAFRAME from file %s", specnames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1873:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading MASKFRAME from file %s", specnames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1880:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error opening sigma file %s", sigmanames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1886:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error opening mask file %s", masknames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1896:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading FIBRENUM from file %s", specnames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1905:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading FIBRENUM from file %s", sigmanames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1914:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading FIBRENUM from file %s", masknames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1922:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "FIBRENUM mismatch between spectrum %s and sigma %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1931:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "FIBRENUM mismatch between spectrum %s and mask %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1943:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading NPIX from file %s", specnames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1952:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading NPIX from file %s", sigmanames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1961:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading NPIX from file %s", masknames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1969:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "NPIX mismatch between spectrum %s and sigma %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1978:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "NPIX mismatch between spectrum %s and mask %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1988:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error searching WSTART from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1997:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error searching NPTOT from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2006:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error searching NORDER from spectrum file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2023:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error reading WSTART from file %s", specnames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2035:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error reading WSTART from file %s", sigmanames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2047:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error reading WSTART from file %s", masknames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2059:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(output, "WSTART mismatch between spectrum %s and sigma %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2071:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(output, "WSTART mismatch between spectrum %s and mask %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2091:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error reading NPTOT from file %s", specnames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2103:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error reading NPTOT from file %s", sigmanames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2115:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error reading NPTOT from file %s", masknames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2127:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(output, "NPTOT mismatch between spectrum %s and sigma %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2139:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(output, "NPTOT mismatch between spectrum %s and mask %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2157:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing file %s", specnames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2163:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing file %s", sigmanames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2168:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing file %s", masknames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2277:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error stripping extension from %s", framename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2423:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error reading descriptors from spectrum %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2443:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "but the dattype of file %s is wrong for a spectrum",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2458:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: unsupported dattype for file %s selected for \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2492:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: unsupported dattype for file %s selected for \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2535:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading spectrum %s", specnames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2571:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cspecname, "%s.fits", basename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2573:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error writing cube %s", cspecname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2624:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: unsupported dattype for file %s selected for \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2648:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading template descriptors from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2666:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error: wrong dattype for sigma file %s", sigmanames[0]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2692:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error reading sigma file %s", sigmanames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2712:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(csigmaname, "%s_sigma.fits", basename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2714:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error writing cube %s", csigmaname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2738:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error reading template descriptors from file %s",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2773:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error: unsupported dattype for mask %s", masknames[0]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2795:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error reading mask file %s", masknames[i]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2823:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cmaskname, "%s_mask.fits", basename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2825:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error writing mask cube %s", cmaskname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2861:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error: unsupported dattype for mask %s", masknames[0]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2879:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error opening file %s", cspecname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2895:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error writing SIGMAFRAME in file %s", cspecname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2909:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error closing file %s", cspecname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2915:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error writing SIGMAFRAME in file %s", cspecname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2929:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error closing file %s", cspecname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2935:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing file %s", cspecname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2952:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error opening file %s", csigmaname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2968:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error writing SCIENCEFRAME in file %s", csigmaname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2982:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error closing file %s", csigmaname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2988:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing file %s", csigmaname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:3005:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error opening file %s", cmaskname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:3021:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error writing SCIENCEFRAME in file %s", cmaskname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:3035:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "Error closing file %s", cmaskname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:3041:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error closing file %s", cmaskname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_def_drs_par.c:1043:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(recipename,"xsh.%s",recipe_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_def_drs_par.c:1044:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(paramname,"%s.%s",recipename,name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_def_drs_par.c:1066:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(recipename,"xsh.%s",recipe_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_def_drs_par.c:1067:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(paramname,"%s.%s",recipename,name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_def_drs_par.c:1243:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(paramname,"xsh.%s.%s",recipe_id, name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_def_drs_par.c:1288:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(recipename,"xsh.%s",recipe_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_def_drs_par.c:1289:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(paramname,"%s.%s",recipename,name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1303: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(outname, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1712:5:  [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/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1737:5:  [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/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastprepfibreff.c:604:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: I couldn't open the %s table\n", ordername);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastprepfibreff.c:634:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (output, "Error writing FIBREMASK descriptor in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastprepfibreff.c:641:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (output, "Error writing FIBREPOS descriptor in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastprepfibreff.c:647:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (output, "Error writing COEFFD descriptor in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastprepfibreff.c:654:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (output, "Error writing TAB_IN_OUT_YSHIFT descriptor in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastprepfibreff.c:662:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: I couldn't close the %s table\n", ordername);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:122: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 (expanded_path, tpath);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:178:16:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        (void) strcpy (str, name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:190:16:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        (void) strcpy (str,cpp);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:198:16:  [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 (str, name + 1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:273:16:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        (void) strcpy (str, name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:290:16:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        (void) strcpy (str,cpp);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:320: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(str, name + 1);        /* Add the rest of the file name */
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:436: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 (fqfn, dir_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:438: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 (fqfn, file_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:751:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access (file_path, R_OK))
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:802:53:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                                                    sprintf(output, "%s", drs_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:1134:53:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                                                    sprintf(output, "%s", drs_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:1160:49:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                                                sprintf(output, "%s", drs_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:1305:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(output, "%s", drs_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.c:574:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(message, "Error: no selected entries in the %s table", inptab);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.c:758:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(qc_y_shift_key,"%11s", "DRS_Y_SHIFT");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrelFF.c:506:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(qc_y_shift_key,"%11s", "DRS_Y_SHIFT");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrelFF.c:507: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( qc_y_shift_key,frm_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.c:527:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(qc_y_self_shift_key,"%14s", "DRS_Y_SELF_SHF");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.c:528: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( qc_y_self_shift_key,frm_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initallflatsout.c:156: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(allflatsout->flatdata[iframe].framename, 
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initframe.c:236: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(badpxfname,fixed_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:383: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(bkgfitmethod,BKGBADSCAN);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:477:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output, "I'm reading the frame %s", infile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:557:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "I'm reading the background table %s", backfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1158:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output, "I'm re-reading the original frame %s", infile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:648:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output, "I'm reading the frame %s", infile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:734:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "I'm reading the background table %s", backfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:1137:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error: I couldn't open the %s table", outorderfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:1302:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output, "I'm re-reading the original frame %s", infile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:518:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output, "I'm reading the frame %s", infile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:564:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "I'm reading the background table %s", backfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:420:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output, "I'm reading the frame %s", infile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:471:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "I'm reading the background table %s", backfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c:532:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output, "I'm reading the frame %s", infile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c:581:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "I'm reading the background table %s", backfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:509:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output, "I'm reading the frame %s", infile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:592:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "I'm reading the background table %s", backfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1150:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output, "I'm re-reading the original frame %s", infile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:529:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output, "I'm reading the frame %s", infile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:614:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "I'm reading the background table %s", backfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:1012:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(output, "Error: I couldn't open the %s table", outorderfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:1179:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output, "I'm re-reading the original frame %s", infile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:472:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output, "I'm reading the frame %s", infile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:518:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "I'm reading the background table %s", backfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:448:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output, "I'm reading the frame %s", infile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:495:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "I'm reading the background table %s", backfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:474:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output, "I'm reading the frame %s", infile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:523:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "I'm reading the background table %s", backfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:152: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(infile,INTER_IMA);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:153: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(insigma,INTER_SIGMA);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:154: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(inmask,INTER_MASK);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:155: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(basename,MBASENAME);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:548:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(mspecname, "%s.fits", mbasename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:549:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(msigmaname, "%s_sigma.fits", mbasename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:550:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(mmaskname, "%s_mask.fits", mbasename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mergebadpixels.c:101:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "File %s could not be opened",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mergebadpixels.c:109:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(messagebuffer, "File %s is not of the type required for a bad \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mergebadpixels.c:119:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(messagebuffer, "File %s could not be opened",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mergebadpixels.c:127:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(messagebuffer, "Could not read the NAXIS descriptor in \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mergebadpixels.c:135:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(messagebuffer, "The dimensions of file %s do not match those \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mergebadpixels.c:145:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(messagebuffer, "Could not read the START descriptor in \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mergebadpixels.c:153:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(messagebuffer, "Could not read the STEP descriptor in \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mergebadpixels.c:161:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(messagebuffer, "Could not read the NPIX descriptor in \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mergebadpixels.c:174:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(messagebuffer, "The dimensions of file %s do not match \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mergebadpixels.c:186:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(messagebuffer, "Could not read the file %s as a bad \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mergebadpixels.c:194:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(messagebuffer, "Could not completely read file %s as a \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:701:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(bkg_name,"%s%s%s","bkg_",prefid,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:811:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(wname,"%s%s%s","w",drs_base_name,"_raw0001.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:812:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(mname,"%s%s%s","mw",drs_base_name,"_raw0001.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1282:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(prefix,"%s%s%c",drs_base_name,"_",uves_chip_tochar(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1283:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(ordef_name,"%s%c%s","ordef_",uves_chip_tochar(chip),".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1351:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(sci_name,"%s%c%s","sci_",uves_chip_tochar(chip),".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1352:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(mbias_name,"%s%c%s","mbias_",uves_chip_tochar(chip),".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1823:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(file,uves_sprintf("m_tbl_%s.fits",uves_chip_tostring_lower(chip)));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1996:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(new_name,"%s%s",prefix,"_common.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2058: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(tag,FLAMES_SLIT_FF_DT(k,chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2062: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(tag,FLAMES_SLIT_FF_SG(k,chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2066: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(tag,FLAMES_SLIT_FF_BP(k,chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2070: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(tag,FLAMES_SLIT_FF_BN(k,chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2125:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(new_name,"%s%s%s","fibreff_",prefid,"_common.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2133:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(new_name,"%s%s%s","fibreff_",prefid,"_norm.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2137:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(new_name,"%s%s%s","fibreff_",prefid,"_nsigma.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2179: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(tag,FLAMES_FIB_FF_DT(k,chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2180:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(new_name,"%s%s%s%d%d%s","fibreff_",prefid,"_data",0,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2183: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(tag,FLAMES_FIB_FF_BP(k,chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2184:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(new_name,"%s%s%s%d%d%s","fibreff_",prefid,"_badpixel",0,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2187: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(tag,FLAMES_FIB_FF_SG(k,chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2188:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(new_name,"%s%s%s%d%d%s","fibreff_",prefid,"_sigma",0,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2405:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cor_tab_shp_id,"%s%s%s","cor_shape_",prefid,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2777:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    check_nomsg(strcpy(chip_name,uves_pfits_get_chipid(pheader,chip)));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2956:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(wbase,"%s%s","w",drs_base_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2957:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(mbase,"%s%s","m",wbase);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2962:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(file,"%s%s%4.4d%s",drs_base_name,"_raw",it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2963:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(wfile,"%s%s","w",file);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2971:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(efile,"%s%s%4.4d%s",drs_base_name,"_rawsig",it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2974:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(wfile,"%s%s","w",efile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2979:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(bfile,"%s%s%4.4d%s",drs_base_name,"_rawextco",it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2982:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(wfile,"%s%s","w",bfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2991:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(mfile,"%s%s","mw",file);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2996:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(file,"%s%s%4.4d%s",drs_base_name,"_",it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2997:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(wfile,"%s%s","w",file);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3008:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(efile,"%s%s%4.4d%s",drs_base_name,"_sig",it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3012:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(wfile,"%s%s","w",efile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3016:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(bfile,"%s%s%4.4d%s",drs_base_name,"_extco",it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3019:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(wfile,"%s%s","w",bfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3028:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(mfile,"%s%s","mw",file);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3075:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s%s",drs_base_name,"_");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3076:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3079:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s%s%s","w",drs_base_name,"_");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3080:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3087:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s%s",drs_base_name,"_sig");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3088:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3091:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s%s",drs_base_name,"_extco");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3092:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3096:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s%s%s","w",drs_base_name,"_sig");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3097:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3101:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(file,"%s%s%s","w",drs_base_name,"_extco");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3102:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3108:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s%s%s","mw",drs_base_name,"_");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3109:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3114:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s%s%s","mw",drs_base_name,"_");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3115:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cfile,"%s%s",file,"sigma_pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3121:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s%s",drs_base_name,"_raw");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3122:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3125:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s%s%s","w",drs_base_name,"_raw");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3126:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3130:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s%s",drs_base_name,"_rawsig");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3131:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3134:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s%s",drs_base_name,"_rawextco");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3135:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3139:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s%s%s","w",drs_base_name,"_rawsig");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3140:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3144:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(file,"%s%s%s","w",drs_base_name,"_rawextco");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3145:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3150:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s%s%s","mw",drs_base_name,"_raw");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3151:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3156:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file,"%s%s%s","mw",drs_base_name,"_raw");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3157:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cfile,"%s%s",file,"sigma_pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3404:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(file,"%s%s%4.4d%s",drs_base_name,"_raw",it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3430:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(efile,"%s%s%4.4d%s",drs_base_name,"_rawsig",it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3448:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(wfile,"%s%s","w",file);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3466:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(wfile,"%s%s","w",efile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3486:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(mfile,"%s%s","mw",file);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3507:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(file,"%s%s%4.4d%s",drs_base_name,"_raw",it,"_sigma.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3508:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(mfile,"%s%s","mw",file);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3529:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(file,"%s%s%4.4d%s",drs_base_name,"_",it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3550:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(efile,"%s%s%4.4d%s",drs_base_name,"_sig",it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3571:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(wfile,"%s%s","w",file);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3591:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(wfile,"%s%s","w",efile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3611:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(mfile,"%s%s","mw",file);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3654:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(file,"%s%s%4.4d%s",drs_base_name,"_",it,"_sigma.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3655:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(mfile,"%s%s","mw",file);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3686:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(file,"%s",drs_base_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3687:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfile,"%s%s",file,"_pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3708:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(file,"%s%s",drs_base_name,"_sig");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3709:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3730:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(file,"%s%s","w",drs_base_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3731:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfile,"%s%s",file,"_pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3752:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(file,"%s%s%s","w",drs_base_name,"_sig");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3753:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3773:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(file,"%s%s","mw",drs_base_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3774:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfile,"%s%s",file,"_pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3812:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(file,"%s%s","mw",drs_base_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3814:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfile,"%s%s",file,"_sigma_pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3837:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(file,"%s%s",drs_base_name,"_raw");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3838:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3859:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(file,"%s%s",drs_base_name,"_rawsig");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3860:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3883:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(file,"%s%s%s","w",drs_base_name,"_raw");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3884:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3904:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(file,"%s%s%s","w",drs_base_name,"_rawsig");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3905:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3926:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(file,"%s%s%s","mw",drs_base_name,"_raw");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3927:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfile,"%s%s",file,"pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3947:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(file,"%s%s%s","mw",drs_base_name,"_raw");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3948:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cfile,"%s%s",file,"sigma_pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:4144:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(wfile,"%s%s","w",filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:397:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:407:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:882:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: I couldn't open the %s table\n", ordername);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:888:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (output, "Error writing GAUSSFIBRESIGMA descriptor in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:895:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (output, "Error writing GAUSSHALFWIDTH descriptor in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:931:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (output, "Error writing FIBREMASK descriptor in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:938:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (output, "Error writing FIBREPOS descriptor in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:944:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (output, "Error writing COEFFD descriptor in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:951:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (output, "Error writing TAB_IN_OUT_YSHIFT descriptor in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:958:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (output, "Error writing GAUSSSELFSHIFT descriptor in %s table",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:966:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: I couldn't close the %s table\n", ordername);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c:146:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(normalname, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c:153:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(nsigmaname, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c:165:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(commoname, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c:483:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(myflats->flatdata[iframe].framename, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c:582: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(filename,fixed_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c:606: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(myflats->flatdata[iframe].sigmaname, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c:643: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(filename,fixed_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c:676: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(myflats->flatdata[iframe].badname, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readframe.c:204: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(myframe->framename, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readframe.c:254:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "File %s could not be opened",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readframe.c:265:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "Could not read the file %s as a sigma frame",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readframe.c:273:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "Could not completely read file %s as a sigma frame",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readframe.c:288:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "File %s could not be opened",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readframe.c:299:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "Could not read the file %s as a bad pixel mask",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readframe.c:307:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "Could not completely read file %s as a bad pixel mask",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readordpos.c:79:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Error: I couldn't open the %s table\n", orderfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit.c:132: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(slitflats->slit[iframe].framename, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit.c:267:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "File %s could not be opened",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit.c:277:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "Could not read the file %s as a sigma frame",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit.c:285:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "Could not completely read file %s as a sigma frame",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit.c:300:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "File %s could not be opened",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit.c:310:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "Could not read the file %s as a bad pixel mask",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit.c:318:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "Could not completely read file %s as a bad pixel mask",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit0.c:193: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(slitflats->slit[iframe].framename, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit0.c:234:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "File %s could not be opened",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit0.c:244:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "Could not read the file %s as a sigma frame",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit0.c:252:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "Could not completely read file %s as a sigma frame",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit0.c:267:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "File %s could not be opened",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit0.c:277:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "Could not read the file %s as a bad pixel mask",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit0.c:285:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(messagebuffer, "Could not completely read file %s as a bad pixel mask",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:156:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(commoname, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:162:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(normname, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:422:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(myslit->framename, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:472:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(filename,fixed_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:484:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(myslit->sigmaname, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:523:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(filename,fixed_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:535:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(myslit->badname, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:573:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(filename,fixed_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:585:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(myslit->boundname, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_stripbdfext.c:89:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(message, "Warning: unrecognised %s extension.\n",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_stripbdfext.c:108:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(message, "Invalid output file name %s", framename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_striptblext.c:87:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(message, "Warning: unrecognised %s extension.\n",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_striptblext.c:106:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(message, "Invalid output file name %s", tablename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_tracing.c:838:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(output, "Frame: %s \t Inptab: %s \t Ordtab: %s \n",frame,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:315:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(key_name,"%s%d%s","ESO.SLC",i,".IDENT");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:349:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(key_name,"%s%d%s","ESO.SLC",i,".CUNIT");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:371:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(key_name,"%s%d%s","ESO.SLC",i,".LHCUTS");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:388:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(key_name,"%s%d%s","ESO.SLC",i,".REFPIX");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:452:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d %s",prefix,it,d_yshift);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:462:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d %s",prefix,it,d_n_fibres);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:472:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d.%s",prefix2,it,d_fibres);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:522:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d%s",prefix,it,".IDENT");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:560:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d%s",prefix,it,".LHCUTS");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:586:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d.%s",prefix,it,h_origname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:596:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d.%s",prefix,it,d_sigmaframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:607:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d.%s",prefix,it,d_badpixframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:650:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d.%s",prefix,it,d_sigmafile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:658:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d.%s",prefix,it,d_badpixfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:711:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d %s",prefix,it,s_x1enc);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:719:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d %s",prefix,it,s_x2enc);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:731:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(des_name,"%s%d %s",prefix,it,d_yshift_rms);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:740:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(des_name,"%s%d %s",prefix,it,d_halfwidth_rms);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:751:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(des_name,"%s%d %s",prefix,it,s_yshift_rms);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:759:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(des_name,"%s%d %s",prefix,it,s_halfwidth_rms);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:770:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d %s",prefix,it,d_yshift);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:780:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(des_name,"%s%d %s",prefix,it,d_halfwidth);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:826:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d.%s",prefix2,it,d_boundaryfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:837:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d %s",prefix,it,d_halfwidth);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:901:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(o_frm,"%s%2.2d%s",base_out,it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:912:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(o_frm,"%s%2.2d%s",base_out,it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:913: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(tag,FLAMES_SLIT_FF_DT(it,chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:915: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(tag,FLAMES_SLIT_FF_DT(it,chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:951:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(o_frm,"%s%2.2d%s",base_out,it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:962:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(o_frm,"%s%2.2d%s",base_out,it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:963: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(tag,FLAMES_SLIT_FF_BP(it,chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1000:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(o_frm,"%s%2.2d%s",base_out,it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1010:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(o_frm,"%s%2.2d%s",base_out,it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1011: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(tag,FLAMES_SLIT_FF_SG(it,chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1046:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(o_frm,"%s%2.2d%s",base_out,it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1056:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(o_frm,"%s%2.2d%s",base_out,it,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1057: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(tag,FLAMES_SLIT_FF_BN(it,chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1108:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d.%s",prefix,it,parSlitFFident);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1114:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d.%s",prefix,it,parFibFFident);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1124:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d %s",prefix,it,d_yshift);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1134:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d %s",prefix,it,d_n_fibres);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1145:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d.%s",prefix2,it,d_fibres);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1231:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d%s",prefix,it,".IDENT");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1242:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d%s",prefix,it,".CUNIT");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1248:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d%s",prefix,it,".LHCUTS");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1255:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d%s",prefix,it,".REFPIX");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1310:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d.%s",prefix,it,d_sigmaframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1318:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d.%s",prefix,it,d_badpixframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1357:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d.%s",prefix,it,d_sigmafile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1365:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d.%s",prefix,it,d_badpixfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1429:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d %s",prefix,it,s_x1enc);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1438:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(des_name,"%s%d %s",prefix,it,s_x2enc);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1451:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(des_name,"%s%d %s",prefix,it,d_yshift_rms);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1460:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(des_name,"%s%d %s",prefix,it,d_halfwidth_rms);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1471:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(des_name,"%s%d %s",prefix,it,s_yshift_rms);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1480:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(des_name,"%s%d %s",prefix,it,s_halfwidth_rms);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1491:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d %s",prefix,it,d_yshift);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1502:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(des_name,"%s%d %s",prefix,it,d_halfwidth);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1550:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d.%s",prefix2,it,d_boundaryfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1561:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d %s",prefix,it,d_halfwidth);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1599:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_ref,"%s%2.2d%s",base_ref,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1643:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_ref,"%s%2.2d%s",base_ref,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1684:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_ref,"%s%2.2d%s",base_ref,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1724:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_ref,"%s%2.2d%s",base_ref,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1801:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(filename,"%s%4.4d%s%s",inp_basename,min,inp_filename_qual,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1816:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename,"%s%4.4d%s",inp_basename,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2090:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(filename,"%s%4.4d%s%s",inp_basename,min,inp_filename_qual,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2106:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(filename,"%s%4.4d%s",inp_basename,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2387:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(format,"%s%s%s","%s",inp_format_digit,"%s");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2393:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(filename,format,inp_basename,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2406:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(filename,format,inp_basename,kk,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2493:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(format,"%s%s%s","%s",inp_format_digit,"%s");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2500:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(filename,format,inp_basename,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2515:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(filename,format,inp_basename,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2598:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(format,"%s%s%s","%s",inp_format_digit,"%s");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2606:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(filename,format,inp_basename,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2683:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(prefix,"%s%c","slitff_",uves_chip_tochar(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2687:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_com,"%s%s",prefix,"_common.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2692:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ident,"%s","Common data for slit FF");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2708:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_nor,"%s%s",prefix,"_norm.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2710:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ident,"%s","Normalisation data for slit FF");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2727:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_data");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2728:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_out,"%s%s",prefix,"_dtc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2729: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(ctag,FLAMES_SLIT_FF_DTC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2755:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_sigma");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2756:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_out,"%s%s",prefix,"_sgc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2757: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(ctag,FLAMES_SLIT_FF_SGC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2781:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_badpixel");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2782:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_out,"%s%s",prefix,"_bpc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2783: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(ctag,FLAMES_SLIT_FF_BPC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2807:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_bound");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2808:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_out,"%s%s",prefix,"_bnc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2809: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(ctag,FLAMES_SLIT_FF_BNC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2834:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ident,"%s","Common data for fibre FF");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2835:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(prefix,"%s%c","fibreff_",uves_chip_tochar(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2836:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_com,"%s%s",prefix,"_common.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2849:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_nor,"%s%s",prefix,"_norm.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2851:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ident,"%s","Normalisation data for fibre FF");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2871:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_nsg,"%s%s",prefix,"_nsigma.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2874:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ident,"%s","Normalisation sigmas for fibre FF");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2891:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_com,"%s%s",prefix,"_common.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2898:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_data");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2899:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_out,"%s%s",prefix,"_dtc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2900: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(ctag,FLAMES_FIB_FF_DTC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2925:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_sigma");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2926:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_out,"%s%s",prefix,"_sgc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2927: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(ctag,FLAMES_FIB_FF_SGC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2951:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_badpixel");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2952:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_out,"%s%s",prefix,"_bpc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2953: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(ctag,FLAMES_FIB_FF_BPC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3025:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(prefix,"%s%c","slitff_",uves_chip_tochar(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3029:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_com,"%s%s",prefix,"_common.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3033:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ident,"%s","Common data for slit FF");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3048:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_nor,"%s%s",prefix,"_norm.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3050:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ident,"%s","Normalisation data for slit FF");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3067:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_data");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3068:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_out,"%s%s",prefix,"_dtc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3069: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(ctag,FLAMES_SLIT_FF_DTC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3077:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_sigma");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3078:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_out,"%s%s",prefix,"_sgc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3079: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(ctag,FLAMES_SLIT_FF_SGC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3086:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_badpixel");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3087:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_out,"%s%s",prefix,"_bpc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3088: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(ctag,FLAMES_SLIT_FF_BPC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3096:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_bound");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3097:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_out,"%s%s",prefix,"_bnc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3098: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(ctag,FLAMES_SLIT_FF_BNC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3106:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ident,"%s","Common data for fibre FF");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3107:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(prefix,"%s%c","fibreff_",uves_chip_tochar(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3108:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_com,"%s%s",prefix,"_common.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3121:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_nor,"%s%s",prefix,"_norm.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3123:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ident,"%s","Normalisation data for fibre FF");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3140:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_nsg,"%s%s",prefix,"_nsigma.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3143:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ident,"%s","Normalisation sigmas for fibre FF");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3159:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_com,"%s%s",prefix,"_common.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3166:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_data");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3167:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_out,"%s%s",prefix,"_dtc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3168: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(ctag,FLAMES_FIB_FF_DTC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3176:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_sigma");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3177:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_out,"%s%s",prefix,"_sgc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3178: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(ctag,FLAMES_FIB_FF_SGC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3185:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_badpixel");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3186:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_out,"%s%s",prefix,"_bpc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3187: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(ctag,FLAMES_FIB_FF_BPC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3298:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(prefix,"%s%c","slitff_",uves_chip_tochar(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3300:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(prefix,"%s%c","fibreff_",uves_chip_tochar(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3303:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_com,"%s%s",prefix,"_common.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3304:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(base_out,"%s%s",prefix,"_data");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3313: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(tag,FLAMES_SLIT_FF_DTC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3314:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cname,"%s%s",prefix,"_dtc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3315:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_data");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3322: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(tag,FLAMES_SLIT_FF_BPC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3323:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cname,"%s%s",prefix,"_bpc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3324:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_badpixel");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3331: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(tag,FLAMES_SLIT_FF_SGC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3332:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cname,"%s%s",prefix,"_sgc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3333:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_sigma");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3339: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(tag,FLAMES_SLIT_FF_BNC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3340:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cname,"%s%s",prefix,"_bnc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3341:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_bound");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3350: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(tag,FLAMES_FIB_FF_DTC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3351:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cname,"%s%s",prefix,"_dtc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3352:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_data");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3357: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(tag,FLAMES_FIB_FF_BPC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3358:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cname,"%s%s",prefix,"_bpc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3359:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_badpixel");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3365: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(tag,FLAMES_FIB_FF_SGC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3366:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cname,"%s%s",prefix,"_sgc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3367:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ibase,"%s%s",prefix,"_sigma");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3393:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(prefix,"%s%c","fibreff_",uves_chip_tochar(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3406:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(prefix,"%s%c","slitff_",uves_chip_tochar(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3514:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(file_name,flames_get_file_name_slice(tag,chip,k));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3516: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(ntag,flames_get_tag_slice(tag,chip,k));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3592: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(ntag,FLAMES_SLIT_FF_BN(k,chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3598:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(file_name,flames_get_file_name_slice(tag,chip,k));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3695:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(inter_ima,"%s_%4.4d.fits",out_base_reb,fibre_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3696:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(inter_sig,"%s_sig%4.4d.fits",out_base_reb,fibre_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3697:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(inter_msk,"%s_extco%4.4d.fits",out_base_reb,fibre_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3698:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(base_mer,"%s_%4.4d",out_base_mer,fibre_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3700:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(inter_ima,"%s_raw%4.4d.fits",out_base_reb,fibre_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3701:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(inter_sig,"%s_rawsig%4.4d.fits",out_base_reb,fibre_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3702:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(inter_msk,"%s_rawextco%4.4d.fits",out_base_reb,fibre_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3703:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(base_mer,"%s_raw%4.4d",out_base_mer,fibre_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3741:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d","WSTART",i+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3750:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d","WEND",i+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3913:12:  [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.
   assure( system(cmd) == 0,CPL_ERROR_UNSPECIFIED,"failed file copy" );
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3955:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(key_name,"%s%d","WSTART",i);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4052:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(otab,"%s%s%s",cvel_pfx,ccd_id,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4053:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(tim_ccf,"%s%s%s%s","tot_",cvel_pfx,ccd_id,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4054:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(nim_ccf,"%s%s%s%s","nrm_",cvel_pfx,ccd_id,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4055:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(iim_pfx,"%s%s%s%s","mw",sci_pfx,xxima_pfx,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4056:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(tab_pfx,"%s%s%s","tab_",ccd_id,"_");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4057:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(nim_pfx,"%s%s%s","nrm_",ccd_id,"_");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4058:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(tim_pfx,"%s%s%s","tot_",ccd_id,"_");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4059:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(ref_frm,"%s%s%s","w",sci_pfx,xwcal_pfx);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4065:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(cvel_tab_name,"%s",cpl_frame_get_filename(cvel_tab));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4097:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(out_cvel_tab,"%s%s%d%s","tab_",ccd_id,ord,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4098:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(out_tot_ima,"%s%s%d%s","tot_",ccd_id,ord,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4099:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(out_nrm_ima,"%s%s%d%s","nrm_",ccd_id,ord,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4166:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s","CORVEL_MAX");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4176:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s%d","CCF_PMX",ord);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4212:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s","CCF_MAX");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4221:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s%d","CCF_MAX",ord);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4235:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s","WAV_RNG");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4243:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s%d","WAV_RNG",ord);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4258:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s","PIX_TOT");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4270:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(key_name,"%s%d","PIX_TOT",ord);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4282:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(key_name,"%s%d","PIX_TOT",ord);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4295:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s","LIN_TOT");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4304:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s%d","LIN_TOT",ord);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4333: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/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4335: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/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4337: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/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:135:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename,"%s_data%02d.fits",basename,iframe+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:206:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename,"%s_sigma%02d.fits",basename,iframe+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:255:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename,"%s_badpixel%02d.fits",basename,iframe+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:313:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename,"%s_norm.fits",basename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:405:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename,"%s_nsigma.fits",basename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:500:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename,"%s_common.fits",basename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeframe.c:106:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename,"%s.fits",basename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeframe.c:257:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename,"%s_sigma.fits",basename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeframe.c:309:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename,"%s_mask.fits",basename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writenormfactors.c:131:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(normalname, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writenormfactors.c:136:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(nsigmaname, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writenormfactors.c:141:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(commoname, filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesigma.c:144:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename,"%s_sigma.fits",basename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesigma.c:198:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename,"%s_mask.fits",basename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:137:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename,"%s_data%02d.fits",basename,iframe+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:171:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename,"%s_sigma%02d.fits",basename,iframe+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:204:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename,"%s_badpixel%02d.fits",basename,iframe+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:238:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(filename,"%s_bound%02d.fits",basename,iframe+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:380:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename,"%s_norm.fits",basename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:471:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename,"%s_common.fits",basename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:148:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ans,"Base_Name is %s\n",Base_Name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:151:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(dataname, "%s_%04d.fits", Base_Name, nf+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:152:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ans,"dataname is %s",dataname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:155:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(sigmaname, "%s_sig%04d.fits", Base_Name, nf+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:156:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ans,"sigmaname is %s",sigmaname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:159:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(rawdataname, "%s_raw%04d.fits", Base_Name, nf+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:160:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ans,"rawdataname is %s",dataname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:163:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(rawsigmaname, "%s_rawsig%04d.fits", Base_Name, nf+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:164:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ans,"rawsigmaname is %s",rawsigmaname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:167:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(maskname, "%s_extco%04d.fits", Base_Name, nf+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:168:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ans,"maskname is %s",maskname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:171:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(rawmaskname, "%s_rawextco%04d.fits", Base_Name, nf+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:172:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(ans,"rawmaskname is %s",rawmaskname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:293:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output,"I'm writing %s", dataname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:429:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output,"I'm writing %s", sigmaname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:565:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output,"I'm writing %s", maskname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:710:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output,"I'm writing %s", rawdataname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:848:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output,"I'm writing %s", rawsigmaname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:984:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(output,"I'm writing %s", rawmaskname);
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:246:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(prefix,"%s%c","slitff_",uves_chip_tochar(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:247:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_out,"%s%s",prefix,"_dtc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:248:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_com,"%s%s",prefix,"_common.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:249:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(ibase,"%s%s",prefix,"_data");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:257: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(tag,FLAMES_SLIT_FF_DTC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:266:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_inp,"%s%2.2d%s",ibase,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:284:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(ibase,"%s%s",prefix,"_sigma");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:285:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_out,"%s%s",prefix,"_sgc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:287: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(tag,FLAMES_SLIT_FF_SGC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:296:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_inp,"%s%2.2d%s",ibase,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:314:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(ibase,"%s%s",prefix,"_badpixel");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:315:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_out,"%s%s",prefix,"_bpc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:317: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(tag,FLAMES_SLIT_FF_BPC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:326:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_inp,"%s%2.2d%s",ibase,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:344:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(ibase,"%s%s",prefix,"_bound");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:345:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_out,"%s%s",prefix,"_bnc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:347: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(tag,FLAMES_SLIT_FF_BPC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:356:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_inp,"%s%2.2d%s",ibase,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:376:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(prefix,"%s%c","fibreff_",uves_chip_tochar(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:377:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_com,"%s%s",prefix,"_common.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:378:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(ibase,"%s%s",prefix,"_data");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:379:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_out,"%s%s",prefix,"_dtc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:386: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(tag,FLAMES_FIB_FF_DTC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:395:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_inp,"%s%2.2d%s",ibase,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:413:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(ibase,"%s%s",prefix,"_sigma");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:414:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_out,"%s%s",prefix,"_sgc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:416: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(tag,FLAMES_FIB_FF_SGC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:425:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_inp,"%s%2.2d%s",ibase,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:443:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(ibase,"%s%s",prefix,"_badpixel");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:444:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_out,"%s%s",prefix,"_bpc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:447:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(tag,FLAMES_FIB_FF_BPC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:456:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_inp,"%s%2.2d%s",ibase,k,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:178:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(wname,"%s%s%s%s",src_dir,"w",drs_base_name,"_raw0001.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:179:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(mname,"%s%s%s%s",src_dir,"mw",drs_base_name,"_raw0001.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:180:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(tname,"%s%s%s%s",src_dir,tab_base_name,prefid,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:181:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(cvel_name,"%s%s",cdb_dir,cvel_base_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:262:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(mfile,"%s%s%s%s",src_dir,"mwscience_",prefid,"_raw0001.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:263:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(cvel_file,"%s%s",cdb_dir,"mask_corvel.tfits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:267:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(out_cvel_tab,"%s%s%s%d%s","tab_",prefid,"_",ord,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:268:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(out_tot_ima, "%s%s%s%d%s","tot_",prefid,"_",ord,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:269:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(out_nrm_ima, "%s%s%s%d%s","nrm_",prefid,"_",ord,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_fibremask-test.c:249:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(filename,"%s_%s_%s",type,mode,ozpoz_tab_filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:300:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(ifile,"%s%s",src_dir,pfile);
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:386:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(cfile,"%s%s",file,"_pack.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:512:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(inter_ima,"%s","wfxb_l_0002.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:513:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(inter_sig,"%s","wfxb_l_sig0002.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:514:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(inter_msk,"%s","wfxb_l_extco0002.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:549:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d","WSTART",i+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:556:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(des_name,"%s%d","WEND",i+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:779:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_com,"%s%s",src_dir,"slitff_l_common.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:780:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_nor,"%s%s",src_dir,"slitff_l_norm.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:790:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_ima,"%s%d%s","check",i,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:802:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_bnd,"%s%s%2.2d%s",src_dir,"slitff_l_bound",i,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:805:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_dat,"%s%s%2.2d%s",src_dir,"slitff_l_data",i,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:808:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_sig,"%s%s%2.2d%s",src_dir,"slitff_l_sigma",i,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:811:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_bpm,"%s%s%2.2d%s",src_dir,"slitff_l_badpixel",i,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:900:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_com,"%s%s",src_dir,"fibreff_l_common.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:901:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_nor,"%s%s",src_dir,"fibreff_l_norm.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:902:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_nsg,"%s%s",src_dir,"fibreff_l_nsigma.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:916:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_dat,"%s%s%2.2d%s",src_dir,"fibreff_l_data",i,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:919:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_sig,"%s%s%2.2d%s",src_dir,"fibreff_l_sigma",i,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:922:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(file_bpm,"%s%s%2.2d%s",src_dir,"fibreff_l_badpixel",i,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:970:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(cname,"%s","slitff_l_dtc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:971:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(iname,"%s","slitff_l_data01.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:994:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(cname,"%s","slitff_l_bpc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:995:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(iname,"%s","slitff_l_badpixel01.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1012:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(cname,"%s","slitff_l_sgc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1013:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(iname,"%s","slitff_l_sigma01.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1029:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(cname,"%s","slitff_l_bnc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1030:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(iname,"%s","slitff_l_bound01.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1056:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(cname,"%s","fibreff_l_dtc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1057:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(iname,"%s","fibreff_l_data01.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1074:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(cname,"%s","fibreff_l_sgc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1075:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(iname,"%s","fibreff_l_sigma01.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1090:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(cname,"%s","fibreff_l_bpc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1091:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(iname,"%s","fibreff_l_badpixel01.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1142:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_dat,"%s%s",src_dir,"slitff_l_dtc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1143:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_com,"%s%s",src_dir,"slitff_l_common.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1144:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(ibase,"%s","slitff_l_data");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1145:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(cname,"%s","slitff_l_dtc.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1152: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(tag,FLAMES_SLIT_FF_DTC(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1211:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_com,"%s%s",src_dir,"slitff_l_common.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1218:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_dat,"%s%s",src_dir,"slitff_l_data");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1219:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_bpm,"%s%s",src_dir,"slitff_l_badpixel");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1220:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_sig,"%s%s",src_dir,"slitff_l_sigma");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1221:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_bnd,"%s%s",src_dir,"slitff_l_bound");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1225:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_out,"%s","slitff_l_data_pck.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1234:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_out,"%s","slitff_l_badpixel_pck.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1238:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_out,"%s","slitff_l_sigma_pck.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1242:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_out,"%s","slitff_l_bound_pck.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1298:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file,"%s%s",src_dir,"fibreff_l_sigma01.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1299: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(tag,FLAMES_FIB_FF_SG1(chip));
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1333:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file,"%s%s",src_dir,"ordef.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1389:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_ima,"%s%s",src_dir,"wfxb_l_0002.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1390:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_sig,"%s%s",src_dir,"wfxb_l_sig0002.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1391:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file_msk,"%s%s",src_dir,"wfxb_l_extco0002.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1392:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(wfile,"%s","wfxb");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1393:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(mfile,"%s","mwfxb");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1443:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(file,"%s%s",src_dir,"fxb_l_0002.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1444:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(wfile,"%s%s",src_dir,"wfxb_l_0002.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1445:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(mfile,"%s","mwfxb_l_0002.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1448:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(efile,"%s%s",src_dir,"wfxb_l_sig0002.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_set_fibremask_from_file-test.c:254:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(filename,"%s_%s_%s",type,mode,ozpoz_tab_filename);
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_imagelist_io.c:503:22:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    cpl_ensure_code( fprintf(stream,  HDRL_MSG, (int)himlist->ni) >= msgmin,
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_imagelist_io.c:510:22:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    cpl_ensure_code( fprintf(stream, HDRL_IMSG, i, (int)himlist->ni) >= imsgmin,
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_imagelist_io.c:555:22:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    cpl_ensure_code( fprintf(stream,  HDRL_IMSG, (int)i,
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_utils.c:535:16:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (dir && access(dir, W_OK) == 0) {
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_utils.c:540:31:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
            if (tmpdirs[i] && access(tmpdirs[i], W_OK) == 0) {
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_frameiter-test.c:295:19:  [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.
    cpl_test_zero(system("rm -f hdrl_frameiter-test_*fits"));
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_multiiter-test.c:234:19:  [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.
    cpl_test_zero(system("rm -f hdrl_multiiter-test_*fits"));
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_cat.c:89:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (access((const char *)fname,R_OK) != 0)
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_plugin.c:1052:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
        n = sscanf(line, LINE_SCAN_FMT, path, tag, group);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_utils.c:68:30:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      __attribute__((format (printf, 2, 3)))
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_wcs.c:252:12:  [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.
    nret = sscanf(iso8601, IRPLIB_ISO8601_FORMAT, pyear, pmonth,
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_wlxcorr.c:990:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(title_loc, 
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_wlxcorr.c:1023:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(title_loc, 
data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_utils-test.c:482:19:  [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.
    cpl_test_zero(system("rm dummyon*.fits"));
data/cpl-plugin-uves-6.1.3+dfsg/recipes/tests/recipe_main.c:238:12:  [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.
    (void) system("rm -f "TEST_NAME"*.fits");  /* cleanup any FITS files. */
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_corvel.c:319:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(wstart_key,"%s%d","WSTART",in_ima_ord);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:3127:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(descr_i, "%s%i", descr, i);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:3514: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(frame, cpl_frame_get_filename(f));
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:3566: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(name, cpl_frame_get_filename(f));
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:3591:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(ident, ident_value);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:4084: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(form, format);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:4107:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(label, colname);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:4133: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(unit, u);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:4294:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy((char *)value, val_str);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_newmatrix.c:85:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(output, "%s\n", error_text);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_newmatrix.c:1155:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(output, "%s\n", error_text);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:120:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(otab,"%s%s%s",cvel_pfx,ccd_id,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:121:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(tim_ccf,"%s%s%s%s","tot_",cvel_pfx,ccd_id,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:122:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(nim_ccf,"%s%s%s%s","nrm_",cvel_pfx,ccd_id,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:123:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(iim_pfx,"%s%s%s%s","mw",sci_pfx,xxima_pfx,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:124:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(tab_pfx,"%s%s%s","tab_",ccd_id,"_");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:125:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(nim_pfx,"%s%s%s","nrm_",ccd_id,"_");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:126:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(tim_pfx,"%s%s%s","tot_",ccd_id,"_");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:127:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(ref_frm,"%s%s%s","w",sci_pfx,xwcal_pfx);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:133:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(cvel_tab_name,"%s",cpl_frame_get_filename(cvel_tab));
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:165:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(out_cvel_tab,"%s%s%d%s","tab_",ccd_id,ord,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:166:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(out_tot_ima,"%s%s%d%s","tot_",ccd_id,ord,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:167:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(out_nrm_ima,"%s%s%d%s","nrm_",ccd_id,ord,".fits");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:230:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s","CORVEL_MAX");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:240:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s%d","CCF_PMX",ord);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:276:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s","CCF_MAX");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:285:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s%d","CCF_MAX",ord);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:299:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s","WAV_RNG");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:307:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s%d","WAV_RNG",ord);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:322:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s","PIX_TOT");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:334:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(key_name,"%s%d","PIX_TOT",ord);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:346:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(key_name,"%s%d","PIX_TOT",ord);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:359:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s","LIN_TOT");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:368:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(key_name,"%s%d","LIN_TOT",ord);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:397: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/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:399: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/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:401: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/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_response-test.c:141:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(full_name,"%s%s",dir_name,tab_name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_response-test.c:156:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
     check( sprintf(ref_name, "%s", cpl_table_get_string(flux_table, "OBJECT", i)),
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_response-test.c:159:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
     check( sprintf(ref_type, "%s", cpl_table_get_string(flux_table, "TYPE", i)),
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_response-test.c:164:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
     sprintf(res_name,"%s.fits",ref_name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:350:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(cosmic_name,"%s%s",src_dir,input);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:351:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(filter_name,"%s","filter.fits");
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:352:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(clean_name,"%s","cleaned.fits");
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:353:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(mask_name,"%s","mask.fits");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:167:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if (access(cpl_frame_get_filename(frame), F_OK)) {
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_extract.c:653:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf(ex_context,"uves_cal_response%s.reduce",mode);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_extract.c:655:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf(ex_context,"%s",context);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mbias_impl.c:869:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(key_name,"%s%d%s","QC OUT",pn," STRUCTY");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mbias_impl.c:901:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(key_name,"%s%d%s","QC OUT",pn," STRUCTX");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mbias_impl.c:994:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(key_name,"%s%d%s","QC OUT",pn," RON RAW");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:135:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(pname,"%s.%s", UVES_QCDARK_ID, name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:141:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(pname,"%s.%s", UVES_QCDARK_ID, name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:146:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(pname,"%s.%s", UVES_QCDARK_ID, name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:151:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(pname,"%s.%s", UVES_QCDARK_ID, name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:888:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(pname,"%s.%s", UVES_QCDARK_ID, name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:893:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(pname,"%s.%s", UVES_QCDARK_ID, name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:939:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(qc_key,"%s%d%d%s","QC REG",i,j," MIN");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:940:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(qc_com,"%s%d%d","Min of region [%d,%d]",i,j);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:944:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(qc_key,"%s%d%d%s","QC REG",i,j," MAX");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:945:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(qc_com,"%s%d%d","Max of region [%d,%d]",i,j);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:949:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(qc_key,"%s%d%d%s","QC REG",i,j," AVG");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:950:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(qc_com,"%s%d%d","Mean of region [%d,%d]",i,j);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:954:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(qc_key,"%s%d%d%s","QC REG",i,j," MED");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:955:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(qc_com,"%s%d%d","Median of region [%d,%d]",i,j);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:959:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(qc_key,"%s%d%d%s","QC REG",i,j," RMS");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:960:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(qc_com,"%s%d%d","Rms of region [%d,%d]",i,j);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:975:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG MIN MIN");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:976:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Min of all Mins");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:979:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG MIN MAX");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:980:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Max of all Mins");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:983:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG MIN AVG");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:984:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Mean of all Mins");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:987:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG MIN MED");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:988:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Median of all Mins");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:991:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG MIN RMS");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:992:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Rms of all Mins");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1003:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG MAX MIN");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1004:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Min of all Maxs");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1007:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG MAX MAX");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1008:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Max of all Maxs");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1011:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG MAX AVG");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1012:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Mean of all Maxs");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1015:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG MAX MED");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1016:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Median of all Maxs");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1019:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG MAX RMS");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1020:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Rms of all Maxs");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1030:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG AVG MIN");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1031:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Min of all Means");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1034:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG AVG MAX");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1035:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Max of all Means");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1038:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG AVG AVG");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1039:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Mean of all Means");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1042:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG AVG MED");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1043:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Median of all Means");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1046:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG AVG RMS");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1047:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Rms of all Means");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1057:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG MED MIN");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1058:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Min of all Medians");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1061:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG MED MAX");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1062:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Max of all Medians");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1065:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG MED AVG");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1066:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Mean of all Medians");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1069:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG MED MED");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1070:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Median of all Medians");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1073:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG MED RMS");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1074:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Rms of all Medians");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1085:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG RMS MIN");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1086:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Min of all Rms");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1089:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG RMS MAX");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1090:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Max of all Rms");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1093:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG RMS AVG");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1094:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Mean of all Rms");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1097:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG RMS MED");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1098:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Median of all Rms");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1101:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_key,"%s","QC REG RMS RMS");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:1102:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(qc_com,"%s","Rms of all Rms");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_msg.c:243:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(printbuffer, MAXSTRINGLENGTH - 1, format, al);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_msg.c:309:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(printbuffer, MAXSTRINGLENGTH - 1, format, al);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_msg.h:145: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.
__attribute__((format (printf, 2, 3)))
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_msg.h:151: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.
__attribute__((format (printf, 2, 3)))
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c:121:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(full_name,"%s.%s",recipe_id,name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c:187:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(full_name,"%s.%s",recipe_id,name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c:203:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(full_name,"%s.%s",recipe_id,name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c:218:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(full_name,"%s.%s",recipe_id,name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c:261:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(full_name,"%s.%s",recipe_id,name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c:274:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(full_name,"%s.%s",recipe_id,name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c:287:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(full_name,"%s.%s",recipe_id,name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c:302:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(full_name,"%s.%s",recipe_id,name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c:347:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(full_name,"%s.%s",recipe_id,name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c:1880:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(name, "%s", cpl_plugin_get_name(plugin));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:2742:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(key_name,"%s%d",UVES_TUNIT,col_no);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:3025:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(wstart_string, strlen(UVES_WSTART)+2+1, UVES_WSTART "%d", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:3058:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(wstart, strlen(UVES_WSTART)+2+1, UVES_WSTART "%d", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:3088:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(wend_string, strlen(UVES_WEND)+2+1, UVES_WEND "%d", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:3121:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(wend, strlen(UVES_WEND)+2+1, UVES_WEND "%d", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.h:550:28:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format (printf, 3, 4)))
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c:1390:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(key_value,"%s%d","QC MODEL ITER",iter);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c:1480:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf(key_value,"%s%d","QC MODEL RESXRMS",iter);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c:1488:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf(key_value,"%s%d","QC MODEL RESXAVG",iter);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c:1495:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf(key_value,"%s%d","QC MODEL RESXMED",iter);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c:1504:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf(key_value,"%s%d","QC MODEL RESYRMS",iter);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c:1512:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf(key_value,"%s%d","QC MODEL RESYAVG",iter);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c:1519:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf(key_value,"%s%d","QC MODEL RESYMED",iter);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c:1713:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf(key_value,"%s%d","QC MODEL ITER",iter);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_plotmod.c:138: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(chip_id,uves_chip_tostring_lower(chip));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_plotmod.c:165:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(title,"%s %4.1f %s %2.1f %s %s %3.1f %s ",
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:172:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        else if (system(test_cmd) != 0)
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:251:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(pre, pre_format, xtitle, ytitle);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:255:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(title, MAXTITLELENGTH - 1, format, al);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:357:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(pre, pre_format, xtitle, ytitle);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:360:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(title, MAXTITLELENGTH - 1, format, al);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:572:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        vsnprintf(title, MAXTITLELENGTH - 1, format, al);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:583:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(pre, pre_format, colx, coly);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.h:57: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.
__attribute__((format (printf, 4, 5)))
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.h:65: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.
__attribute__((format (printf, 7, 8)))
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.h:78: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.
__attribute__((format (printf, 7, 8)))
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:144: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(path, filename);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:173:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(name_b, tmp);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:177:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(name_b, "%s", in) ;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:180:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(*paf, "%s-%d.paf", name_b, paf_no);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:194: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(ou,in);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:266: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(key_name,KEY_NAME_QC_DID);        
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:267: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(key_paf,PAF_NAME_QC_DID);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:277: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(key_name, KEY_NAME_PIPEFILE);        
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:278: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(key_paf, KEY_NAME_PIPEFILE);        
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:286: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(key_name,KEY_NAME_PRO_TYPE);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:287: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(key_paf,PAF_NAME_PRO_TYPE);    
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:294: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(key_name,KEY_NAME_PRO_RECID);  
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:295: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(key_paf,PAF_NAME_PRO_RECID);  
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:303: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(key_name,KEY_NAME_PRO_DRSID); 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:304: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(key_paf,PAF_NAME_PRO_DRSID); 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:322: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(key_paf,KEY_NAME_ARCFILE);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:327: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(key_paf,KEY_NAME_ARCFILE);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:336: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(key_paf,PAF_NAME_TPL_ID);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:345: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(key_paf,PAF_NAME_DPR_TYPE); 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:353: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(key_paf,PAF_NAME_DPR_TECH); 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:361: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(key_paf,PAF_NAME_DPR_CATG); 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:367: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(key_paf,PAF_NAME_PRO_CATG); 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:375: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(key_paf,cpl_table_get_string(qclog,"key_name",i));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:377: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(key_type,  cpl_table_get_string(qclog, "key_type",i));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:378: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(key_value, cpl_table_get_string(qclog, "key_value",i));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:379: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(key_help,  cpl_table_get_string(qclog, "key_help" , i));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:532:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(key_value,format,value);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:572:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(key_value,format,value);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:611:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(key_value,format,value);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:652:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(key_value,format,value);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:694:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(key_value,format,value);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:756:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(key_name,cpl_table_get_string(qclog,"key_name",i));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:757: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(key_type,cpl_table_get_string(qclog,"key_type",i));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:758: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(key_value,cpl_table_get_string(qclog,"key_value",i));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:759: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(key_help,cpl_table_get_string(qclog,"key_help",i));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce.c:693:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf(context,"%s%s",rec_id,mode);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce.c:695:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf(context,"%s",rec_id);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_mflat.c:555:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(prefix,"%s%d%s","set",set_no,"_");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_mflat.c:913: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(pro_filename,prefix);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_mflat.c:914:9:  [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(pro_filename,product_filename);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_mflat.c:941: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(pro_filename,prefix);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_mflat.c:942:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(pro_filename,product_filename);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_mflat_combine.c:463:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(pro_filename, "%s", product_filename);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_impl.c:463:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(band,"%s",UVES_ARM(chip));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_star_index.c:85: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(pret->fits_file_name, fits_file);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2337:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(test_id,"%sResolution-Test-Results",flames ? "Fibre-" : "");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:183: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* cpp = getenv ("HOME");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:280: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.
    cpp = getenv ("PWD");
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_buffer.c:286: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.
            getenv("HDRL_BUFFER_MALLOC")) {
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_utils.c:526:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        getenv("TMPDIR"),
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_der_snr-test.c:263:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand (time(NULL));
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_spectrum1d-test.c:3098:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(500);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_plugin.c:552:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            if (getenv("CPL_MSG_LEVEL") == NULL) cpl_msg_set_level(CPL_MSG_OFF);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_plugin.c:650:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        svalue = envvar ? getenv(envvar) : NULL;
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_plugin.c:857:46:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char      * sof_path   = envname ? getenv(envname) : NULL;
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_plugin.c:898:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char * sof_path = getenv(var_name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_flux_std_catalog_updated-test.c:251:9:  [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.
 	opt = getopt(argc,argv,"lr:a:");
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:432:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(0); /* For reproducability */
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_Optimal.c:114:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[100];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_Optimal.c:246:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "%d pixels sigma-clipped in iteration %d", nrejecttot,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_Optimal.c:253:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "Convergence reached in all slices after %d iterations",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_Optimal.c:270:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "bad slice at %d-th column", j);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_Optimal.c:281:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "no convergence after %d iterations at %d-th column",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_Stand_Extract.c:199:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_Stand_Extract.c:247: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 output[70]; /* only for testing purposes */
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_Stand_Extract.c:248:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,"bad slice at %d-th column", ix);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:97: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 tab_in_bt_info[CATREC_LEN+5];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:98: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 tab_in_ofpos[CATREC_LEN+5];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:99: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 ima_in[CATREC_LEN+5];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:100: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 output[160];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:101: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 string_obs_plate[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:102: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 mode[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:105: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 lab_slit[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:106: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 lab_retractor[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:107: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 lab_bn[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:108: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 lab_fbn[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c: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 lab_rp[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:110: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 lab_fps[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:112: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 lab_e370[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:113: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 lab_e400[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:114: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 lab_e420[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:115: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 lab_e450[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:116: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 lab_e500[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:117: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 lab_e600[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:118: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 lab_e700[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:119: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 lab_e870[MAX_LENGTH_TABLE_LAB];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:121: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 info_type[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:122: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 info_object[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:123: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 info_in_tol[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:124:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char info_comments[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:125:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char info_slit[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:126: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 info_ssn[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:127:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char info_pssn[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:128: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 info_retractor[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:129: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 info_fbn[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:131: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 info_e400[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:132: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 info_e420[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:133: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 info_e500[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c: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 info_e700[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:136: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 info_prefix[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:138: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 info_bn[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:139: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 info_rp[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:140: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 info_fps[MAX_LENGTH_STRING];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:311: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(output, "Error opening ima %d", ima_in_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:326: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(output, "Error opening tab %d", tab_in_ofpos_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:331: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(output, "Error opening tab %d", tab_in_bt_id);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:346:2:  [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(lab_slit,"SLIT");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:347:2:  [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(lab_retractor,"RETRACTOR");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:348:2:  [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(lab_bn,"BN");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:349:2:  [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(lab_fbn,"FBN");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:350:2:  [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(lab_rp,"RP");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:351:2:  [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(lab_fps,"FPS");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:353:2:  [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(lab_e370,"_370");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:354:2:  [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(lab_e400,"_400");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:355:2:  [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(lab_e420,"_420");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:356:2:  [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(lab_e450,"_450");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:357:2:  [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(lab_e500,"_500");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:358:2:  [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(lab_e600,"_600");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:359:2:  [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(lab_e700,"_700");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:360:2:  [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(lab_e870,"_870");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_add_bt_info.c:478:2:  [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(info_prefix,"INFO    [dump_bt_info]:   ");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_backfit.c:135: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 output[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_backfit.c:149: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 backfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_backfit.c:150: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 infile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_backfit.c:151: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 orderfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_backfit.c:152: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 backframefile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_backfit.c:166: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 bkgfitmethod[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_backfit.c:386: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(output, "Error %d while reading SIGMA keyword", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_backfit.c:418:2:  [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(output,"Reading the order/fibre table...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_backfit.c:448: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(output, "Error %d while reading the background table", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_backfit.c:494: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(output, "Warning: %d pixels result lower than fitted background",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:83:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:89: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.
    double *t_preppa1, char bias_method, int bias_value, bool DRS_USE_ORDEF,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:90: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.
    int sat_thr, const char *filt_sw, char prefid, int DEFPOL[2],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:90:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 sat_thr, const char *filt_sw, char prefid, int DEFPOL[2],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1416: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 pcatg[40];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1469:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1475: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.
    double *t_preppa1, char bias_method, int bias_value, bool DRS_USE_ORDEF,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1476: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.
    int sat_thr, const char *filt_sw, char prefid, int DEFPOL[2],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1476:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 sat_thr, const char *filt_sw, char prefid, int DEFPOL[2],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:2095:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char mess1[80] = "I'm starting with the optimal extraction...";
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:2096:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char mess2[80] = "The sigma which will be used is %f";
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:2420:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *ref_rp[9] = { "   ", "3  ", "135", "37 ", "169", "69 ", "201",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char inimage[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char outimage[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:110:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hptable[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char traptable[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ident[73];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:113:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cunit[3][16];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:116:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:128:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hpxname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:130:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hpyname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:135:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char trapstartxname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:137:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char trapstartyname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:139:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char trapendxname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char trapendyname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:523:44:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 (SCFPUT(outid, 1, npix[0]*npix[1], (char *) mask[0]) != 0) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:549: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(ident, "bad pixel mask");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_backtable.c:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ordtab[CATREC_LEN+4];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_backtable.c:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char backtab[CATREC_LEN+4];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_backtable.c:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char output[160];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_backtable.c:181: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(output, "Warning: too many windows per order requested, \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_backtable.c:188:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Warning: requested window x size is too small, \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_backtable.c:195: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(output, "Warning: setting window x size to %f", xminwidth);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_backtable.c:200: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(output, "Warning: requested window x size is too large, reducing to %f",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_backtable.c:206: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(output, "Warning: requested window y size is too small, \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:102:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tempordtab[CATREC_LEN+5];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char inordtab[CATREC_LEN+5];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char outordtab[CATREC_LEN+5];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:116:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[160];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:134:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char inform[20];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:135:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char inunit[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:136:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char inlabel[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:161:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char orderfibre[20];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:693: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.
                if ((cbuffer = (char *) calloc(initems[incol], inbytes[incol]))
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_full_ordertable.c:827:21:  [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(orderfibre,"%d,%d",iorder,fibre);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_create_ordertable.c:85:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ordtab[TEXT_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:159:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[160];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:525:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[160];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:979:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            (char *) speccube[specdescr->fibrenum-1][i])!=0) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:994:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            (char *) maskcube[specdescr->fibrenum-1][i])!=0) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1009:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                            (char *) fmaskcube[specdescr->fibrenum-1][i])!=0) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1050:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[160];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1557:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[160];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1563:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cunit[65];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1630: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(cunit, tempdescr->cunit, 48);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1631: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(cunit+48, "FIBRE           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:1836:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char output[160];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2223:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char framename[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2224:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char basename[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2225:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cubifyall[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2226:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char useident[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2227:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char specident[41];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2228:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2229:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2230:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[160];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2231:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cspecname[CATREC_LEN+5];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2232:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char csigmaname[CATREC_LEN+5];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2233:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cmaskname[CATREC_LEN+5];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2296: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(cubifyall, "YES");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2301: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(cubifyall, "YES");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2318: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(useident, "NO");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2323: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(useident, "NO");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cubify.c:2368:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error reading from catalog");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_def_drs_par.c:1038: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 paramname[256];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_def_drs_par.c:1039:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char recipename[256];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_def_drs_par.c:1061: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 paramname[256];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_def_drs_par.c:1062: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 recipename[256];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_def_drs_par.c:1239: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 paramname[256];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:64:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
load_raw_image_fib(const char *filename, 
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:157:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  const char **raw_filename,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:216:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  const char **raw_filename,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:223:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:268:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        const char **raw_filename,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:321:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:400:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:472:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
load_raw_image_fib(const char *filename, 
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:958:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mask[size];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1692:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1024];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1700:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(command,"rm -f bp_ordef_redl.fits ordef_redl.fits b_ordef_redl.fits b_ordef_redl_*.fits odd*.fits even*.fits all*.fits trap_redl.fits b*odd_l*.fits b*even_l*.fits b*all_l*.fits *set?*_redl*.fits odd*_sigma.fits bp_b_set_?_mf???*.fits b_set_?_mf???*.fits middumm*.fits bkg_*.fits mbias_*.fits ord_gue_*.fits first.fits third.fits flames_create_full_ot.fits rofl.fits sp_redl.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1702:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(command,"rm -f bp_ordef_redl.fits ordef_redl.fits b_ordef_redl.fits b_ordef_redl_*.fits first.fits third.fits flames_create_full_ot.fits trap_redl.fits sp_redl.fits rofl.fits bkg_l.fits mbias_redl.fits ord_gue_redl.fits odd*.fits b*odd_l*.fits even*.fits b*even_l*.fits all*.fits b*all_l*.fits middumm*.fits *set?_*redl*.fits b_*set_l_mf???*.fits b_odd_l*.fits b_even_l*.fits b_all_l*.fits fibreff_l_data0?.fits fibreff_l_sigma0?.fits fibreff_l_badpixel0?.fits slitff_l_data0?.fits slitff_l_sigma0?.fits slitff_l_bound0?.fits  slitff_l_badpixel0?.fits slitff_l_bound0?.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1707:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(command,"rm -f bp_ordef_redu.fits ordef_redu.fits b_ordef_redu.fits b_ordef_redu_*.fits odd*.fits even*.fits all*.fits trap_redu.fits *odd_u*.fits *even_u*.fits *all_u*.fits xt_*u.fits *set?*_redu*.fits odd*_sigma.fits bp_b_set_?_mf???*.fits b_set_?_mf???*.fits middumm*.fits bkg_*.fits mbias_*.fits ord_gue_*.fits first.fits third.fits flames_create_full_ot.fits rofu.fits sp_redu.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1709:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(command,"rm -f bp_ordef_redu.fits ordef_redu.fits b_ordef_redu.fits b_ordef_redu_*.fits xt_*u.fits first.fits third.fits flames_create_full_ot.fits trap_redu.fits sp_redu.fits rofu.fits bkg_u.fits mbias_redu.fits ord_gue_redu.fits odd*.fits b*odd_u*.fits even*.fits b*even_u*.fits all*.fits b*all_u*.fits middumm*.fits *set?_*redu*.fits b_*set_u_mf???*.fits b_odd_u*.fits b_even_u*.fits b_all_u*.fits fibreff_u_data0?.fits fibreff_u_sigma0?.fits fibreff_u_badpixel0?.fits slitff_u_data0?.fits slitff_u_sigma0?.fits slitff_u_bound0?.fits  slitff_u_badpixel0?.fits slitff_u_bound0?.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1721:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1024];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1725:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(command,"rm -f   sp_redl.fits sci_l.fits cor_shape_l.fits m_tbl_redl.fits trap_redl.fits mbias_l.fits ordef_l.fits bkg_l.fits ext?.fits *sci_l*.fits *pack.fits middumm*.fits fibreff_l_data0?.fits fibreff_l_sigma0?.fits fibreff_l_badpixel0?.fits fibreff_l_dtc.fits fibreff_l_sgc.fits fibreff_l_bpc.fits fibreff_l_norm.fits fibreff_l_nsigma.fits fibreff_l_common.fits slitff_l_data0?.fits slitff_l_sigma0?.fits slitff_l_bound0?.fits slitff_l_badpixel0?.fits slitff_l_dtc.fits slitff_l_sgc.fits slitff_l_bpc.fits slitff_l_bnc.fits slitff_l_norm.fits slitff_l_nsigma.fits slitff_l_common.fits mwfxb_*mask.fits fxb_*extco*.fits wfxb_*extco*.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1727:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(command,"rm -f  sp_redl.fits sci_l.fits cor_shape_l.fits m_tbl_redl.fits trap_redl.fits mbias_l.fits ordef_l.fits bkg_l.fits ext?.fits *b_sci_l*.fits middumm*.fits *fxb_l_*0*.fits fibreff_l_data0?.fits fibreff_l_sigma0?.fits fibreff_l_badpixel0?.fits fibreff_l_dtc.fits fibreff_l_sgc.fits fibreff_l_bpc.fits fibreff_l_nsigma.fits fibreff_l_norm.fits fibreff_l_common.fits slitff_l_data0?.fits slitff_l_sigma0?.fits slitff_l_bound0?.fits slitff_l_badpixel0?.fits slitff_l_dtc.fits slitff_l_sgc.fits slitff_l_bpc.fits slitff_l_bnc.fits slitff_l_norm.fits slitff_l_common.fits b_set_l_mf???*.fits *fxb_l_*extco*.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1731:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(command,"rm -f   sp_redu.fits sci_u.fits cor_shape_u.fits m_tbl_redu.fits trap_redu.fits mbias_u.fits ordef_u.fits bkg_u.fits ext?.fits *sci_u*.fits *pack.fits middumm*.fits fibreff_u_data0?.fits fibreff_u_sigma0?.fits fibreff_u_badpixel0?.fits fibreff_u_dtc.fits fibreff_u_sgc.fits fibreff_u_bpc.fits fibreff_u_norm.fits fibreff_u_nsigma.fits fibreff_u_common.fits slitff_u_data0?.fits slitff_u_sigma0?.fits slitff_u_bound0?.fits slitff_u_badpixel0?.fits slitff_u_dtc.fits slitff_u_sgc.fits slitff_u_bpc.fits slitff_u_bnc.fits slitff_u_norm.fits slitff_u_nsigma.fits slitff_u_common.fits mwfxb_*mask.fits fxb_*extco*.fits wfxb_*extco*.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1733:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(command,"rm -f  sp_redu.fits sci_u.fits cor_shape_u.fits m_tbl_redu.fits trap_redu.fits mbias_u.fits ordef_u.fits bkg_u.fits ext?.fits *b_sci_u*.fits middumm*.fits *fxb_u_*0*.fits fibreff_u_data0?.fits fibreff_u_sigma0?.fits fibreff_u_badpixel0?.fits fibreff_u_dtc.fits fibreff_u_sgc.fits fibreff_u_bpc.fits fibreff_u_nsigma.fits fibreff_u_norm.fits fibreff_u_common.fits slitff_u_data0?.fits slitff_u_sigma0?.fits slitff_u_bound0?.fits slitff_u_badpixel0?.fits slitff_u_dtc.fits slitff_u_sgc.fits slitff_u_bpc.fits slitff_u_bnc.fits slitff_u_norm.fits slitff_u_common.fits b_set_u_mf???*.fits *fxb_u_*extco*.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.h:89: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 **raw_filename,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.h:98: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 **raw_filename,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.h:107:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const char **raw_filename,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doptimal.c:110:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char output[100];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doptimal.c:113: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 drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doptimal.c:143: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(output, "Extracting orders from nr. %d to nr. %d....", 
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doptimal.c:154: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(output, "Optimal extraction for orders from nr. %d to %d completed\n", ordsta, ordend);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doptimal.c:159:2:  [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(output, "Error in optimal extraction\n");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doptimal.c:164:2:  [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(output, "Error in sigma clipping\n");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doptimal.c:169:2:  [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(output, "Error in covariance calculation\n");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doptimal.c:174:2:  [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(output, "Error in cross-correlation\n");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doptimal.c:179:2:  [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(output, "Unknown error\n");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickoptimal.c:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char output[100];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickoptimal.c:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickoptimal.c:133: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(output, "Extracting orders from nr. %d to nr. %d....",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickoptimal.c:144:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "Optimal extraction for orders from nr. %d to %d \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickoptimal.c:150:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error in optimal extraction\n");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickoptimal.c:155:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error in sigma clipping\n");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickoptimal.c:160:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error in covariance calculation\n");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickoptimal.c:165:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error in cross-correlation\n");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickoptimal.c:170:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Unknown error\n");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickstandard.c:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char output[100];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickstandard.c:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickstandard.c:114: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(output, "Extracting orders from nr. %d to nr. %d....",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickstandard.c:125:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_doquickstandard.c:133:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error in standard extraction\n");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dostandard.c:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[100];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dostandard.c:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dostandard.c:117: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(output, "Extracting orders from nr. %d to nr. %d....",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dostandard.c:129:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dostandard.c:137:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error in standard extraction\n");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastfillholes.c:118:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastfillholes.c:153:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastfillholes.c:308:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "First cleaning step, order %d", iorder+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastfillholes.c:383:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "fracslices=%f Warning: ignoring fibre %d which has \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastprepfibreff.c:120:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char output[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastprepfibreff.c:131:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char backname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastprepfibreff.c:132:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[CATREC_LEN+5];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastprepfibreff.c:133:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char basename[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastprepfibreff.c:134:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ordername[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastprepfibreff.c:135:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fastprepfibreff.c:151:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bkgfitmethod[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ffslitmultiply.c:114:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ffslitmultiply.c:135: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(output, "Warning: the first %d order(s) is/are not covered in \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ffslitmultiply.c:138: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(output, "Consider recreating the slit flats structure using the \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ffslitmultiply.c:144:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(output, "Warning: the first %d order(s) is/are present in the \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ffslitmultiply.c:147: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(output, "Consider repeating the order/fibre positioning step to \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ffslitmultiply.c:154: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(output, "Warning: the last %d order(s) is/are not covered in \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ffslitmultiply.c:158: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(output, "Consider recreating the slit flats structure using the \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ffslitmultiply.c:163: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(output, "Warning: the last %d order(s) is/are present in the \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ffslitmultiply.c:167: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(output, "Consider repeating the order/fibre positioning step to \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:85: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 expanded_path[PATHSET_MAX + 1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:86:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tpath[PATHSET_MAX + 1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:155: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 str[PATHSET_MAX];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:249: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 str[PATHSET_MAX];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:308:16:  [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 (str, "/.");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:384:31:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        int file_descriptor = open (flames_fileutils_tilde_replace (file_name), O_RDONLY);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:583:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((src = open (srcpath, O_RDONLY)) == -1) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:594:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((dst = open (dstpath, O_CREAT | O_WRONLY | O_TRUNC, sb.st_mode)) == -1)
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:738:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char linkname[FLAMES_FILENAME_MAX + 1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:166:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char output[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:229:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:230:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char drs_id[20];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:236: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(drs_id,"fillholes");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:559: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(output, "divide fibre FF frame %d by slit FF\n", iframe+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:682:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "First cleaning step, order %d", iorder+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:805:53:  [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(output, "pixel=%g and sigma=%g at x=%d, \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:890:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Fibre normalisation step, order %d", iorder+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:1032:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Final cleaning step, order %d", iorder+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:1137:53:  [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(output, "pixel=%g and sigma=%g at x=%d, \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:1164:49:  [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(output, "pixel=%g and sigma=%g at x=%d, \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fillholes.c:1307:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "fracslices=%f Warning: ignoring fibre %d which has poor coverage",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.c:189:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dummytab[CATREC_LEN+4];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.c:190:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char inptab[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.c:191:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char outptab[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.c:192:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char message[CATREC_LEN+15];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.c:193:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char coeffc[21];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.c:212:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char orderfibre[20];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.c:249:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char form[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.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 output[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.c:340:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error: fibre %d is marked lit in more than one frame!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.c:536:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(orderfibre, "%d,%d",order,fibrenumbers[fibre-1]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.c:780: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(coeffc,"MULT");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.c:849:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "Error: fibre %d was found at position %g, \n \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.c:203:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char qc_y_shift_key[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.c:204:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cor_shape_tab_name[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.c:261:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.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 drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.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 drs_cor_max_fnd[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.c:492:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(output, "Defining the correlation function's shape\n");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.c:554: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(output, "a=%g %g %g %g \n",aa[1],aa[2],aa[3],aa[4]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.c:568: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(output, "correl(%g)=%g \n",x_shift_corr_max,y_shift_corr_max);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.c:593: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(output, "searching correlation maximum for shifts between %g and %g",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.c:597: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(output, "correl(%g)=%g, correl(%g)=%g, correl(%g)=%g", ashift,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.c:616: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(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.c:705:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "iteration %d, correl(%g)=%g", iter, ushift, fushift);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.c:747: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(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrel.c:755: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(output, "y shift = %g", *ydelta);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrelFF.c:128: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 qc_y_shift_key[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrelFF.c:129: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 frm_id[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrelFF.c:182: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 output[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrelFF.c:187: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 drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrelFF.c:325: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(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrelFF.c:332: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(output, "correl(%g)=%g, correl(%g)=%g, correl(%g)=%g", ashift,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrelFF.c:451:8:  [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(output, "iteration %d, correl(%g)=%g", iter, ushift,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrelFF.c:494:6:  [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(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrelFF.c:505:6:  [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(frm_id, "%1d",(iframe+1));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrelFF.c:510:6:  [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(output, "y shift = %g", ydelta[iframe]);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gausscorrelFF.c:517: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(output, "Correlation impossible for frame %d:", iframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.c: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 qc_y_self_shift_key[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.c:135: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 frm_id[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.c:190: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 output[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.c:195: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 drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.c:340: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(output, "Self-correlation step for frame %d, fibre %d",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.c:346: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(output, "searching correlation maximum for shifts \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.c:352: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(output, "correl(%g)=%g, correl(%g)=%g, correl(%g)=%g", ashift,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.c:377: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(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.c:467:6:  [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(output, "iteration %d, correl(%g)=%g", iter, ushift,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.c:512: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(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.c:522: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(output, "y shift for fibre %d = %g", ifibre+1, ydelta);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_gaussselfcorrel.c:526: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(frm_id, "%1d",(iframe+1));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_get_flat_size.c:66:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char prgName[FILE_LEN] = "flames_get_flat_size";   /* program name */
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_get_flat_size.c:210:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char inIma[FILE_LEN];               /* input File */
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_get_flat_size.c:211:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char inTable[FILE_LEN];             /* input Table */
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_get_flat_size.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 drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_get_flat_size.c:1304:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAX_STRING_SZ];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initbadpixel.c:92:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char h_ron_l[17];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initbadpixel.c:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char h_ron_u[17];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initbadpixel.c:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char h_gain_l[18];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initbadpixel.c:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_gain_u[18];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initemplate.c:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_ron_l[17];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initemplate.c:90:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char h_ron_u[17];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initemplate.c:92:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char h_gain_l[18];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initemplate.c:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char h_gain_u[18];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initframe.c:102:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char badpxfname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initshiftedff.c:161: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(allflatsout->normfactors[0][0], allflatsin->normfactors[0][0],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initshiftedff.c:163: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(allflatsout->normsigmas[0][0], allflatsin->normsigmas[0][0],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_initshiftedff.c:168: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(allflatsout->goodfibres[0][0], allflatsin->goodfibres[0][0],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_lsfit.c:90:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&v[i * nc], &tmp[offset], nc * sizeof(*v));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_lsfit.c:119:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&v[i * nc], &tmp[offset], nc * sizeof(*v));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:131:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:165:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char backfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:166:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char infile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:167:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char catfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:168:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char orderfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:197:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bkgfitmethod[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:486: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(output,"Reading the order/fibre table...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:564:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error %d while reading the background table", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:617:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "Warning: %d pixels result lower than fitted \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:645: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(output, "I'm reading the slit FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:665: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(output, "Error: The orders in the slit FF(s) and in the order \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:683: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(output,"Dividing Science Frame by slit FF frame(s)");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:716: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(output, "I'm reading the fibre FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:725:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "The fibre FF set is not slit-flatfielded");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:845:21:  [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(output, "Warning: undetermined yshift for frame %d,",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:885: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(output, "I'm reading the slit FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:901: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(output, "Error: The orders in the slit FF(s) and in the order \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:925: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(output, "I'm reading the fibre FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:934:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "The fibre FF set is not slit-flatfielded");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1031:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,"Shifting fibre FF frame number %d", iframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1060: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(output,"Shifting fibre FF frame number %d", iframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1085:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,"Shifting fibre FF frame number %d", iframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1121: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(output, "I'm reading the slit FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1146: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(normcover[0], Slit_FF->normfactor[0],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1177:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error %d while reading the background table", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1226:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Warning: %d pixels result lower than fitted \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1395:23:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            if (n==0) sprintf(output,"Writing spectrum for the first fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1396:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==1) sprintf(output,"Writing spectrum for the second fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1397:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==2) sprintf(output,"Writing spectrum for the third fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1398:18:  [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.
            else sprintf(output,"Writing spectrum for the %d-th fibre...", n+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1402:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==0) sprintf(output,"Spectrum for the first fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1403:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==1) sprintf(output,"Spectrum for the second fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1404:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==2) sprintf(output,"Spectrum for the third fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainopt.c:1405:18:  [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.
            else sprintf(output,"Spectrum for the %d-th fibre written", n+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:202:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:233:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char backfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:234:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char infile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:236:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dummyfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.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 inorderfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:238:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char outorderfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.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 bkgfitmethod[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:632: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(output, "Error %d while reading SIGMA keyword", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:657: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(output,"Reading the order/fibre table...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:741:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error %d while reading the background table", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:792:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "Warning: %d pixels result lower than fitted \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:816: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(output, "I'm reading the slit FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:832: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(output, "Error: The orders in the slit FF(s) and in the order \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:845: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(output,"Dividing all fibres FF Frame by slit FF frame(s)");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:873: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(output, "I'm reading the fibre FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:882:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "The fibre FF set is not slit-flatfielded");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:960: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(output, "I'm reading the slit FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:976: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(output, "Error: The orders in the slit FF(s) and in the order \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:1000: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(output, "I'm reading the fibre FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:1009:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "The fibre FF set is not slit-flatfielded");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:1192:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,"Shifting fibre FF frame number %d", iframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:1215: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(output,"Shifting fibre FF frame number %d", iframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:1235:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,"Shifting fibre FF frame number %d", iframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:1268: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(output, "I'm reading the slit FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:1290: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(normcover[0], Slit_FF->normfactor[0], 
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:1319:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error %d while reading the background table", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptFF.c:1367:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Warning: %d pixels result lower than fitted \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:114:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:149:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char backfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:150:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char infile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:151:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char catfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:152:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char orderfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:168:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bkgfitmethod[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:501: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(output, "Error %d while reading SIGMA keyword", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:527: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(output,"Reading the order/fibre table...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:572:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error %d while reading the background table", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:619:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "Warning: %d pixels result lower than fitted \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:644: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(output, "I'm reading the fibre FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:654: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(output, "The fibre FF set is not slit-flatfielded");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:680: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(output, "I'm reading the slit FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:697: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(output, "Error: The orders in the slit FF(s) and in the order \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:737: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(normcover[0], Slit_FF->normfactor[0],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:892:23:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            if (n==0) sprintf(output,"Writing spectrum for the first fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:893:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==1) sprintf(output,"Writing spectrum for the second fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:894:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==2) sprintf(output,"Writing spectrum for the third fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:895:18:  [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.
            else sprintf(output,"Writing spectrum for the %d-th fibre...", n+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:900:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==0) sprintf(output,"Spectrum for the first fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:901:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==1) sprintf(output,"Spectrum for the second fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:902:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==2) sprintf(output,"Spectrum for the third fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptfast.c:903:18:  [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.
            else sprintf(output,"Spectrum for the %d-th fibre written", n+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:131:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char backfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:132:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char infile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:133:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char catfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:134:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char orderfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:155:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bkgfitmethod[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:429: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(output,"Reading the order/fibre table...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:478:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error %d while reading the background table", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:525:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "Warning: %d pixels result lower than fitted \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:550: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(output, "I'm reading the fibre FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:559: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(output, "The fibre FF set is slit-flatfielded");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:706:23:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            if (n==0) sprintf(output,"Writing spectrum for the first fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:708:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output,"Writing spectrum for the second fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:709:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==2) sprintf(output,"Writing spectrum for the third fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:710:18:  [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.
            else sprintf(output,"Writing spectrum for the %d-th fibre...", n+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:714:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==0) sprintf(output,"Spectrum for the first fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:715:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==1) sprintf(output,"Spectrum for the second fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:716:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==2) sprintf(output,"Spectrum for the third fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquick.c:717:18:  [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.
            else sprintf(output,"Spectrum for the %d-th fibre written", n+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c:112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c:135:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char backfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c:136:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char infile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c:137:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dummyfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c:138:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char inorderfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c:139:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char outorderfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c:157:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bkgfitmethod[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c:516: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(output, "Error %d while reading SIGMA keyword", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c:541: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(output,"Reading the order/fibre table...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c:588:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error %d while reading the background table", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c:635:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "Warning: %d pixels result lower than fitted \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c:660: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(output, "I'm reading the fibre FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainoptquickFF.c:670: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(output, "The fibre FF set is slit-flatfielded");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainshift.c:93:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainshift.c:94:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ordername[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainshift.c:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char basename[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainshift.c:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainshift.c:191: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(output, "The fibre FF set  not slit-flatfielded");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainslitdivide.c:86:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char inframename[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainslitdivide.c:87:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char outframename[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainslitdivide.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 ordername[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:125:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char output[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:160:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char backfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:161:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char infile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:162:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char catfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:163:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char orderfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:187:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bkgfitmethod[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:481: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(output, "Error %d while reading SIGMA keyword", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:493: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(output, "Error %d while reading WINDOW keyword", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:518: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(output,"Reading the order/fibre table...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:599:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error %d while reading the background table", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:646:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "Warning: %d pixels result lower than fitted \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:670: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(output, "I'm reading the slit FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:687: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(output, "Error: The orders in the slit FF(s) and in the order \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:702: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(output,"Dividing Science Frame by slit FF frame(s)");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:729: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(output, "I'm reading the fibre FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:738:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "The fibre FF set is not slit-flatfielded");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:840:21:  [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(output, "Warning: undetermined yshift for frame %d,",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:878: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(output, "I'm reading the slit FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:894: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(output, "Error: The orders in the slit FF(s) and in the order \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:918: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(output, "I'm reading the fibre FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:927:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "The fibre FF set is not slit-flatfielded");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1033:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,"Shifting fibre FF frame number %d", iframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1058: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(output,"Shifting fibre FF frame number %d", iframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1080:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,"Shifting fibre FF frame number %d", iframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1115: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(output, "I'm reading the slit FF frames ");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1138: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(normcover[0], Slit_FF->normfactor[0],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1166:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error %d while reading the background table", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1214:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Warning: %d pixels result lower than fitted \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1390:23:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            if (n==0) sprintf(output,"Writing spectrum for the first fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1391:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==1) sprintf(output,"Writing spectrum for the second fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1392:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==2) sprintf(output,"Writing spectrum for the third fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1393:18:  [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.
            else sprintf(output,"Writing spectrum for the %d-th fibre...", n+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1397:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==0) sprintf(output,"Spectrum for the first fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1398:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==1) sprintf(output,"Spectrum for the second fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1399:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==2) sprintf(output,"Spectrum for the third fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstand.c:1400:18:  [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.
            else sprintf(output,"Spectrum for the %d-th fibre written", n+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:119:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char output[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:153:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char backfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.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 infile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:157:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dummyfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:158:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char inorderfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:159:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char outorderfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:179:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bkgfitmethod[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:501: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(output, "Error %d while reading SIGMA keyword", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:513: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(output, "Error %d while reading WINDOW keyword", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:538: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(output,"Reading the order/fibre table...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:621:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error %d while reading the background table", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:668:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "Warning: %d pixels result lower than fitted \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:692: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(output, "I'm reading the slit FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:708: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(output, "Error: The orders in the slit FF(s) and in the order \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:721: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(output,"Dividing all fibres FF Frame by slit FF frame(s)");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:749: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(output, "I'm reading the fibre FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:758:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "The fibre FF set is not slit-flatfielded");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:837: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(output, "I'm reading the slit FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:853: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(output, "Error: The orders in the slit FF(s) and in the order \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:877: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(output, "I'm reading the fibre FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:886:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "The fibre FF set is not slit-flatfielded");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:1068:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,"Shifting fibre FF frame number %d", iframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:1091: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(output,"Shifting fibre FF frame number %d", iframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:1111:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,"Shifting fibre FF frame number %d", iframe);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:1145: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(output, "I'm reading the slit FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:1167: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(normcover[0], Slit_FF->normfactor[0],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:1195:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error %d while reading the background table", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandFF.c:1243:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Warning: %d pixels result lower than fitted \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:141:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char backfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:142:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char infile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:143:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char catfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:144:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char orderfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:159:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bkgfitmethod[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:442: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(output, "Error %d while reading SIGMA keyword", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:454: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(output, "Error %d while reading WINDOW keyword", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:481: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(output,"Reading the order/fibre table...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:525:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error %d while reading the background table", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:572:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "Warning: %d pixels result lower than fitted \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:598: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(output, "I'm reading the fibre FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:607: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(output, "The fibre FF set is not slit-flatfielded");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:633: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(output, "I'm reading the slit FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:649: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(output, "Error: The orders in the slit FF(s) and in the order \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:689: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(normcover[0], Slit_FF->normfactor[0],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:868:23:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            if (n==0) sprintf(output,"Writing spectrum for the first fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:869:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==1) sprintf(output,"Writing spectrum for the second fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:870:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==2) sprintf(output,"Writing spectrum for the third fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:871:18:  [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.
            else sprintf(output,"Writing spectrum for the %d-th fibre...", n+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:875:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==0) sprintf(output,"Spectrum for the first fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:876:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==1) sprintf(output,"Spectrum for the second fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:877:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==2) sprintf(output,"Spectrum for the third fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandfast.c:878:18:  [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.
            else sprintf(output,"Spectrum for the %d-th fibre written", n+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:126:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char backfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:127:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char infile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:128:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char catfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:129:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char orderfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:145:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bkgfitmethod[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:420: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(output, "Error %d while reading SIGMA keyword", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:432: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(output, "Error %d while reading WINDOW keyword", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:457: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(output,"Reading the order/fibre table...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:502:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error %d while reading the background table", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:549:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "Warning: %d pixels result lower than fitted \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:574: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(output, "I'm reading the fibre FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:583: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(output, "The fibre FF set is slit-flatfielded");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:761:23:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            if (n==0) sprintf(output,"Writing spectrum for the first fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:762:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==1) sprintf(output,"Writing spectrum for the second \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:764:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==2) sprintf(output,"Writing spectrum for the third fibre...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:765:18:  [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.
            else sprintf(output,"Writing spectrum for the %d-th fibre...", n+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:769:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==0) sprintf(output,"Spectrum for the first fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:770:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==1) sprintf(output,"Spectrum for the second fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:771:28:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            else if (n==2) sprintf(output,"Spectrum for the third fibre written");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquick.c:772:18:  [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.
            else sprintf(output,"Spectrum for the %d-th fibre written", n+1);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:131:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char backfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:132:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char infile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:133:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dummyfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:134:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char inorderfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:135:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char outorderfile[CATREC_LEN+2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:148:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bkgfitmethod[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:445: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(output, "Error %d while reading SIGMA keyword", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:457: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(output, "Error %d while reading WINDOW keyword", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:483: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(output,"Reading the order/fibre table...");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:530:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error %d while reading the background table", status);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:578:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "Warning: %d pixels result lower than fitted \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:603:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(output, "I'm reading the fibre FF frames");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstandquickFF.c:612: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(output, "The fibre FF set is slit-flatfielded");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_matchorders.c:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char outtab[CATREC_LEN+5];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_matchorders.c:163:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_matchorders.c:423:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_matchorders.c:425: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(output, "Error: %d fibres detected, %d in middummr.fits:FIBREMASK!",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_medianfilterframe.c:130:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(fmvecbuf2, fmvecbuf1,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_medianfilterframe.c:132:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(fmvecbuf3, fmvecbuf1,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_medianfilterframe.c:213:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(fmvecbuf1, fmvecbuf3,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.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 infile[81];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:60:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char insigma[81];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:61:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char inmask[81];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.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 basename[81];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:63:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mbasename[81];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mspecname[85];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:97:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msigmaname[85];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mmaskname[85];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ident[73];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cunit[2][16];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:250:54:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 (SCFGET(infileid, 1, npix[0]*npix[1], &nval, (char *) spectrum[0])!=0) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:355:55:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 (SCFGET(insigmaid, 1, npix[0]*npix[1], &nval, (char *) sigma[0])!=0) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:468:54:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 (SCFGET(inmaskid, 1, npix[0]*npix[1], &nval, (char *) mask[0])!=0) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mergebadpixels.c:78:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char messagebuffer[160];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mergebadpixels.c:183:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                                    &actsize, (char *)newbadpixel[0]))
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_multimatch.c:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[60];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_multimatch.c:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char frame_name[CATREC_LEN];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_multimatch.c:150:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf (text,"Catalog does not contain more frames \n");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:622:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bkg_name[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:794:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char wname[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:795:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char mname[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1032:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ordef_name[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1033:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sci_name[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1034:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mbias_name[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1035:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char prefix[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1551:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char null_string[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1553:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1974:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char new_name[size];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1975:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char prefix[size];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1976:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char suffix[size];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1977:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tag[size];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char new_name[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tag[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2388:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   cor_tab_shp_id[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2393:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char mess1[80] = "I'm starting with the standard extraction...";
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2394:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char mess2[80] = "The sigma which will be used for the background is %f";
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2395:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char mess3[80] = "The integration window which will be used is %f";
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2687:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char chip_name[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2724:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2725:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char efile[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2726:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char wfile[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2727:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char wbase[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2728:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mbase[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2730:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bfile[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2731:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mfile[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:2732:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cfile[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3246:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3247:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char efile[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3248:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char wfile[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3249:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char mfile[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:3250:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cfile[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:4127:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char wfile[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_optsynth.c:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char output[160];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_optsynth.c:190: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(output, "Measured Chi square %g on %d free parameters", *chisquare,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_optsynth.c:193: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(output, "resulting from %d used pixels and %d fitted params",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ordpos.c:80: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.
              const char *out_filename,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ordpos.c:84: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.
              char chipchoice,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ordpos.c:223:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char ALLFRAME[320];    // initial value is not used
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ordpos.c:238:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char frame[60];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ordpos.h:42: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.
              const char *out_filename,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_ordpos.h:46: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.
              char chipchoice,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ordtab[60],outtab[60],templatename[CATREC_LEN+4];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:181: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(output, "Error: the guess polynomial fit has %d independent \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:261:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:270:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:279:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:287:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,"Error: NAXIS!=2 in file %d in the supplied catalog",i);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:293:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:300:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:307:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:315:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "Error reading CHIPCHOICE from file %d in the \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:326:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "START mismatch between file 1 (START=%f,%f) and file %d (START=%f,%f) in the \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:335:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "STEP mismatch between file 1 and file %d in the \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:342:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "NPIX mismatch between file 1 and file %d in the \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preordpos.c:349:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "CHIPCHOICE mismatch between file 1 (%c) and file %d (%c) in the \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepextract.c:131:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepextract.c:192: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(output,"min = %d ; max = %d ; num = %d",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepextract.c:369: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(output,"firstorder (from ScienceFrame) is %d",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepextract.c:373: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(output,"lastorder (from ScienceFrame) is %d",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:162:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:179:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char backname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:180:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CATREC_LEN+5];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:181:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char basename[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:182:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ordername[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:183:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char identifier[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepfibreff.c:216:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char bkgfitmethod[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepframe.c:112:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char framename[CATREC_LEN + 5];char
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepframe.c:112:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char framename[CATREC_LEN + 5];char
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepframe.c:113:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    badpxframe[CATREC_LEN + 5];char
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepframe.c:115:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char satfilter[CATREC_LEN];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepframe.c:408:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char base_name[CATREC_LEN + 1];char
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepframe.c:408:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char base_name[CATREC_LEN + 1];char
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepframe.c:409:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    file_name[CATREC_LEN + 1];char
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepframe.c:456: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(file_name, "pippo_data.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepframe.c:479: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(file_name, "pippo_mask.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preppa_impl.c:438:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char framename[CATREC_LEN+5];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_preppa_impl.c:439:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char badpxframe[CATREC_LEN+5];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepslitff.c:117:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char basename[CATREC_LEN + 1];char
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepslitff.c:117: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.
    char basename[CATREC_LEN + 1];char
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepslitff.c:118:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    filename[CATREC_LEN + 1];char
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepslitff.c:119:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    ordername[CATREC_LEN + 1];char
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepstand.c:72:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char output[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepstand.c:142: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(output,"min = %d ; max = %d ; num = %d",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepstand.c:330: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(output,"firstorder (from ScienceFrame) is %d",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepstand.c:334: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(output,"lastorder (from ScienceFrame) is %d",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_prepstand.c:338: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(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickoptimal.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 output[100];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickoptimal.c:113:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickoptimal.c:233:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output,"%d pixels sigma-clipped in iteration %d",nrejecttot,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickoptimal.c:241:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output,"Convergence reached in all slices after %d \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickoptimal.c:259:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output,"bad slice at %d-th column", j);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickoptimal.c:270:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output,"no convergence after %d iterations at %d-th column",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickprepextract.c:72:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char output[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickprepextract.c:123: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(output,"min = %d ; max = %d ; num = %d",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickprepextract.c:258: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(output,"firstorder (from ScienceFrame) is %d",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickprepextract.c:262: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(output,"lastorder (from ScienceFrame) is %d",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickprepstand.c:74:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char output[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickprepstand.c:140: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(output,"min = %d ; max = %d ; num = %d",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickprepstand.c:328: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(output,"firstorder (from ScienceFrame) is %d",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_quickprepstand.c:332: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(output,"lastorder (from ScienceFrame) is %d",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c:77:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c:78:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c:81:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char normalname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c:82:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char nsigmaname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c:83:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char commoname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c:385: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(myflats->lowfibrebounds[0][0], longarray[0][0][0],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readallff.c:388: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(myflats->highfibrebounds[0][0], longarray[1][0][0],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readframe.c:77:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char messagebuffer[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readordpos.c:78:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[100];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit.c:120:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char messagebuffer[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslit0.c:77:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char messagebuffer[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char identifier[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:109:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char commoname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:110:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char normname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:337: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(lvecbuf4, lvecbuf1, (slitflats->lastorder-slitflats->firstorder+1)*
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:339: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(lvecbuf5, lvecbuf2, (slitflats->lastorder-slitflats->firstorder+1)*
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:615:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(lvecbuf4, lvecbuf1, (slitflats->lastorder-slitflats->firstorder+
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_readslitflats.c:617:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(lvecbuf5, lvecbuf2, (slitflats->lastorder-slitflats->firstorder+
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_redchain_impl.c:406:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *products[2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_redchain_impl.c:422:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *products[4];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_redchain_impl.c:441:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *products[4];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_redchain_impl.c:460:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *products[4];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_redchain_impl.c:479:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *products[2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_redchain_impl.c:496:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *products[29];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_redchain_impl.c:543:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *products[2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_redchain_impl.c:564:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        const char *products[2];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_scatter.c:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[70];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_scatter.c:191:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_scatter.c:251: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(output,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_scatter.c:278: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(output, "...%d windows left\n", Frame->back.Window_Number);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_scatter.c:330: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(output, "Using %d pixels for background fitting...\n",goodpixels);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_scatter.c:393: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(output, "Using %d pixels for background fitting...\n",goodwindows);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_scatter.c:489: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(output, "Using %d pixels for background fitting...\n",goodwindows);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_scatter.c:573: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(output, "Using %d pixels for background fitting...\n",goodwindows);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_scatter.c:697:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "background fitting iteration %d running...", niters);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_scatter.c:909:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(output, "sigma-clipped %d pixels on %d",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_scatter.c:954:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(output, "background fitting iteration %d finished\n", niters);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftall.c:89:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftall.c:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftall.c:249:45:  [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(output, "pixel=%g and sigma=%g at x=%d, \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftall.c:273:41:  [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(output, "pixel=%g and sigma=%g at x=%d, \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftone.c:181:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftone.c:199:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftone.c:371:41:  [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(output, "pixel=%g and sigma=%g at x=%d, \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftone.c:394:37:  [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(output, "pixel=%g and sigma=%g at x=%d, \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftone.c:485: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(fdvecbuf3, fdvecbuf1, totiyixsize*sizeof(frame_data));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftone.c:486: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(fdvecbuf4, fdvecbuf2, totiyixsize*sizeof(frame_data));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftone.c:487: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(fmvecbuf2, fmvecbuf1, totiyixsize*sizeof(frame_mask));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_slitdivide.c:95:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char output[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_slitdivide.c:135: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(output, "Warning: the first %d order(s) is/are not covered in \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_slitdivide.c:138: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(output, "Consider recreating the slit flats structure using the \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_slitdivide.c:144:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(output, "Warning: the first %d order(s) is/are present in the \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_slitdivide.c:147: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(output, "Consider repeating the order/fibre positioning step to \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_slitdivide.c:154: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(output, "Warning: the last %d order(s) is/are not covered in \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_slitdivide.c:158: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(output, "Consider recreating the slit flats structure using the \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_slitdivide.c:163: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(output, "Warning: the last %d order(s) is/are present in the \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_slitdivide.c:167: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(output, "Consider repeating the order/fibre positioning step to \
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_slitdivide.c:458:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(fmvecbuf2, fmvecbuf3,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_stripbdfext.c:70:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sbuffer[6];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_stripbdfext.c: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 message[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_striptblext.c:69:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sbuffer[6];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_striptblext.c:70:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char message[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_tracing.c:602:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char orderfibre[20];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_tracing.c:605: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(orderfibre,"%d,%d",order,fibre);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_tracing.c:677:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ordtab[TEXT_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_tracing.c:730:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char frame[TEXT_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_tracing.c:731:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char inptab[TEXT_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_tracing.c:732:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ordtab[TEXT_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_tracing.c:735:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[TEXT_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_tracing.c:781:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char drs_verbosity[10];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_tracing.c:837: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 output[200];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_tracing.c:988:21:  [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 (text,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_tracing.c:999:21:  [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 (text,"Order %3d,  Fibre %3d: out of boundaries",
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:306: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 key_name[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:428: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 des_name[MED_NAME_SIZE]; 
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:507: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 des_name[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:508: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 origname[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:524: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 ident[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:598: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 sigmaframe[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:610: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 badpixframe[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:642:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char des_name[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:645: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 sigmafile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:646: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 badpixfile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:686: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 des_name[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:823: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 des_name[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.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 boundaryfile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:868: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 o_frm[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:873: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 tag[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:941: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 o_frm[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:946: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 tag[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:990: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 o_frm[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:995: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 tag[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1037: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 o_frm[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1042: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 tag[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1090: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 des_name[MED_NAME_SIZE]; 
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1176: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 cunit[3][16];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1177: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 des_name[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1180: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 sigmaframe[MED_NAME_SIZE]; 
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1181: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 badpixframe[MED_NAME_SIZE]; 
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1182: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 ident[MED_NAME_SIZE]; 
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1345: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 des_name[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1348: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 sigmafile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1349: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 badpixfile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1395: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 des_name[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1535: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 des_name[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1542: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 boundaryfile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1592: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_ref[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1636: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_ref[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1678: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_ref[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1718: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_ref[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1782: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 filename[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2071: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 filename[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2072: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 kname[size];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2073: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 kcomm[size];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2077: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 ksval[size];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2078: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 kcol[size];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2372: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 filename[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2385:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char format[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2478: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 filename[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2491:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char format[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2586: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 filename[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2596:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char format[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2656: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_com[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2657: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_nor[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2658: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_nsg[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2659: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 prefix[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2662: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_out[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2664: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 ibase[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2666: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 ctag[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:2673: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 ident[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3000: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_com[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3001: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_nor[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3002: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_nsg[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3003: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 prefix[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3006: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_out[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3008: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 ibase[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3010: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 ctag[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3017: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 ident[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3278: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_com[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3279: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 base_out[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3280: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 cname[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3281: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 ibase[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3283: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 tag[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3284: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 prefix[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3391: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 prefix[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3490: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 ntag[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3492: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_name[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3564: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_name[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3565: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 ntag[MIN_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3653: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 base_mer[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3656: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 inter_ima[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3657: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 inter_sig[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3658: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 inter_msk[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3660: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 des_name[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3663: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 in_sig[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3664: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 in_msk[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3889: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 current_dir[FILENAME_MAX];         /* Name of current (work) directory */
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3950: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 key_name[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3997: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 cvel_tab_name[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3998: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 tim_ccf[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:3999: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 nim_ccf[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4000: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 iim_pfx[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4001: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 tab_pfx[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4002: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 nim_pfx[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4003: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 tim_pfx[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4004: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 ref_frm[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4005: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 otab[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4022: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 out_cvel_tab[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4023: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 out_tot_ima[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4024: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 out_nrm_ima[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:4040: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 key_name[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:84:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:85:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dummychar[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:91:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cunit[81];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:516: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(longarray[0][0][0], myflats->lowfibrebounds[0][0],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:519: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(longarray[1][0][0], myflats->highfibrebounds[0][0],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeback.c:76:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ident[73];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeback.c:77:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cunit[3][16];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeframe.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 basename[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeframe.c:69:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeframe.c:74:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cdummy[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeframe.c:75:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ident[73];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeframe.c:76:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cunit[3][17];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writenormfactors.c:70:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writenormfactors.c: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 identifier[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writenormfactors.c:72:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char normalname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writenormfactors.c:73:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char nsigmaname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writenormfactors.c:74:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char commoname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writenormfactors.c:84:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cbuf[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writenormfactors.c:85:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cunit[81];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writenormfactors.c:343: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(longarray[0][0][0], myflats->lowfibrebounds[0][0],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writenormfactors.c:345: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(longarray[1][0][0], myflats->highfibrebounds[0][0],
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writenormfactors.c:356: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.
                    (char *) (longarray[0][0][0])) != 0) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesigma.c:67:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char basename[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesigma.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[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesigma.c:72:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cdummy[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:84:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:85:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dummychar[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:90:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cunit[65];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:273:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(longarray[0][0], myslit->lowbound[0], boundsize*sizeof(int32_t));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:274:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(longarray[1][0], myslit->highbound[0], boundsize*sizeof(int32_t));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:277:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        (char *) longarray[0][0])) != 0) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:483: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(longarray[0][0], slitflats->lowbound[0], boundsize*sizeof(int32_t));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:484: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(longarray[1][0], slitflats->highbound[0], boundsize*sizeof(int32_t));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:492: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.
                    (char *) longarray[0][0])) != 0) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:97:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[70];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:98:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ident[73];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:99:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cunit[3][16];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dataname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char sigmaname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:102:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char maskname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:103:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rawdataname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:104:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rawsigmaname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:105:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rawmaskname[CATREC_LEN+1];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ans[CATREC_LEN+100];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:309: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.
                    (char *) Poutarray[0])) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:445: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.
                    (char *) Poutarray[0])) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:581: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.
                    (char *) Poutmask[0])) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:726: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.
                    (char *) Poutarray[0])) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:864: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.
                    (char *) Poutarray[0])) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:1000: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.
                    (char *) Poutmask[0])) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:81:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ident[73];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:82:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cunit[3][16];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:281:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ident[73];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:282:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cunit[3][16];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:377:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ident[73];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:378:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cunit[3][16];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:471:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ident[73];
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:472:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cunit[3][16];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:229: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 tag[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:230: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 ibase[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:231: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_com[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:232: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_out[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:233:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char file_inp[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_cal_prep_sff_ofpos-test.c:234: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 prefix[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:141: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 mname[MAX_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:142: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 wname[MAX_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:143: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 tname[MAX_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:144: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 cvel_name[MAX_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:248: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 mfile[MAX_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:249: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 cvel_file[MAX_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:250: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 out_cvel_tab[MIN_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:251: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 out_tot_ima[MIN_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_corvel-test.c:252: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 out_nrm_ima[MIN_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_fibremask-test.c:78:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filename[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_fibremask-test.c:260:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char expected[size];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_fibremask-test.c:262:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fibremask[size];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:206: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[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:226: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(file,"linetable_redl.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:282:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char  ifile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:283:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char  cfile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:284:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char  tfile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:371: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 sci_file[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:372: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[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:373: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 cfile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:374: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 src[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:384:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(sci_file,"sci.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:385:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(file,"fxb_u");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:456: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_ima[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:457: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_reb[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:458: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_mer[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:459: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_sig[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:460: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_msk[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:462: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 base_reb[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:463: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 base_mer[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:465: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 inter_ima[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:466: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 inter_sig[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:467: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 inter_msk[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:469: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 des_name[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:472: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 in_ima[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:473: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 in_sig[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:474: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 in_msk[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:491:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(in_ima,"fxb_l_0002.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:506:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(file_reb,"wfxb_l_0002.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:507:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(file_mer,"mwfxb_l_0002.fits");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:509:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(base_reb,"wfxb_l_0002");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:510:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(base_mer,"mwfxb_l_0002");
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:749: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_com[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:750: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_nor[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:751: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_bpm[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:752: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_bnd[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:753: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_dat[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:754: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_sig[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:755: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_ima[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:868: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_com[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:869: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_nor[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:870: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_nsg[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:871: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_bpm[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:872: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_bnd[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:873: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_dat[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:874: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_sig[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:875: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_ima[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:963: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 cname[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:964: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 iname[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1127: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 tag[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1128: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 cname[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1129: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 ibase[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1130: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_com[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1131: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_dat[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1196: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_com[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1197: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_dat[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1198: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_sig[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1199: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_bpm[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1200: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_bnd[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1201: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_out[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1294: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[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1295: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 tag[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1328: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[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1329: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 tag[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1362: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_ima[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1363: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_sig[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1364: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_msk[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1367: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 wfile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1370: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 efile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1372: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 mfile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1424: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[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1425: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 wfile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1426: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 efile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_obs_scired-test.c:1427: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 mfile[MED_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_set_fibremask_from_file-test.c: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 filename[80];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_set_fibremask_from_file-test.c:268: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 expected[size];
data/cpl-plugin-uves-6.1.3+dfsg/flames/tests/flames_set_fibremask_from_file-test.c:278: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 fibremask[size];
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_classify.c:75:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *g_colsfull[NCOLFULL] = {
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_classify.c:187:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *cols[ NCOLFULL];
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_classify.c:238: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 colname[32];
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_classify.c:239: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(colname, "Areal_%ld_profile", (long int)i + 1);
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_table.c:100:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *ttype[NCOLS]={"Sequence_number","Isophotal_flux",
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_table.c:129:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *tunit[NCOLS]={"Number","ADU",
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_table.c:209:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		ap_t *ap, const char *col_ellipt, const char *col_pkht,
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_table.c:209:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		ap_t *ap, const char *col_ellipt, const char *col_pkht,
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_table.c:210:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		const char *col_areals[NAREAL], cpl_size nobjects, cpl_table *tab);
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_table.c:294: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.
	const char *areal_colnames[NAREAL];
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_table.c:296:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		areal_colnames[i] = (const char *)ttype[g_areal_cols[i] - 1];
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_table.c:721:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		ap_t *ap, const char *col_ellipt, const char *col_pkht,
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_table.c:721:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		ap_t *ap, const char *col_ellipt, const char *col_pkht,
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/catalogue/hdrl_cat_table.c:722:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		const char *col_areals[NAREAL], cpl_size nobjects, cpl_table *tab)
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_collapse.c:1871: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(ddst + y, dsrc, cpl_vector_get_size(src->reject_low));
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_collapse.c:1874: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(ddst + y, dsrc, cpl_vector_get_size(src->reject_high));
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_utils.c:550:18:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
        int fd = mkstemp(template);
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_utils.c:844:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ddata, sdata, naxis1 * naxis2 * sizeof(ddata[0]));
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_utils.c:1591:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&dstatus[i], cpl_array_get_data_int(lstatus),
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_dar-test.c:796:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *skeys[2] = {"CTYPE1", "CTYPE2"};
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_dar-test.c:797:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *svals[2] = {"RA---ZPN", "DEC--ZPN"};
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_dar-test.c:802:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *dkeys[13] = {"CRVAL1", "CRVAL2", "CRPIX1", "CRPIX2",
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/tests/hdrl_dar-test.c:813:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *ikeys[3] = {"NAXIS","NAXIS1","NAXIS2"};
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_cat.c:287:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fullname[FILENAME_SZBUF];
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_plugin.c:493:34:  [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).
    stream = is_debug ? stdout : fopen("/dev/null", "a");
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_plugin.c:655:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                = svalue ? atoi(svalue) : cpl_parameter_get_default_bool(p);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_plugin.c:661:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                = svalue ? atoi(svalue) : cpl_parameter_get_default_int(p);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_plugin.c:1030:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[LINE_LEN_MAX + 1];
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_plugin.c:1031:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[LINE_LEN_MAX + 1], group[LINE_LEN_MAX + 1], tag[LINE_LEN_MAX + 1];
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_plugin.c:1037: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(name, "r");
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_utils.c:1010: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).
        stream = fopen(rawfile, "r");
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_wlxcorr.c:973:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                title_loc[1024] ;
data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_utils-test.c:130:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char zero[100] = {0};
data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_utils-test.c:168:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[32] = "";
data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_utils-test.c:256:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen(filename1, "w");
data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_utils-test.c:260:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen(filename2, "w");
data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_wlxcorr-test.c:134:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ? fopen("/dev/null", "a") : stdout;
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_corvel.c:151:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char in_ima[MAX_LEN];   /* char array for input ima */
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_corvel.c:152: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 ou_ima[MAX_LEN];   /* char array for output ima */
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_corvel.c:153: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 ou_tab[MAX_LEN];   /* char array for output ima */
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_corvel.c:154: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 in_msk[MAX_LEN];   /* char array for input mask */
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_corvel.c:181: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 ident[73];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_corvel.c:182: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 cunit[3][16];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_corvel.c:236: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 wstart_key[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:239:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)frames[id].filename)[strlen(filename) - 3] = 'f';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:240:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)frames[id].filename)[strlen(filename) - 2] = 'i';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:241:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)frames[id].filename)[strlen(filename) - 1] = 't';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:242:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)frames[id].filename)[strlen(filename) - 0] = 's';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.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.
        ((char *)frames[id].filename)[strlen(filename) - 3] = 'f';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:281:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)frames[id].filename)[strlen(filename) - 2] = 'i';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:282:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)frames[id].filename)[strlen(filename) - 1] = 't';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:283:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)frames[id].filename)[strlen(filename) - 0] = 's';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:1866:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen(name, "r");
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:2133:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char dummy[100]; /* More than length of FITS key record */
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:2134:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char err_message[81];  /* long enough according to CFITSIO doc. */
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:2284: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.
                    ((char *)bufadr)[i] = buffer[i];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:2376: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.
                    buffer[i] = ((char *)bufadr)[i];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:2678:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                ((char *)values)[i-(felem-1)]   = cpl_property_get_string(cards[0])[i]; 
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:2679:48:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                uves_msg_debug("Value = %c", ((char *)values)[i-(felem-1)]);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:2696:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        ((char *)values)[length-(felem-1)] = '\0';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:2742:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        values[0] = atoi(char_values);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:3125:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char descr_i[10];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:3205:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char val[17];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:4289:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                ((char *)value)[0] = '\0';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_newmatrix.c:82:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char output[70];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_newmatrix.c:1152: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 output[70];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:65: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 cvel_tab_name[MAX_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:66: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 tim_ccf[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:67: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 nim_ccf[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:68: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 iim_pfx[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:69: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 tab_pfx[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:70: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 nim_pfx[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:71: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 tim_pfx[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:72: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 ref_frm[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:73: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 otab[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:90: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 out_cvel_tab[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:91: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 out_tot_ima[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:92: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 out_nrm_ima[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_reduce_vcorrel.c:110: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 key_name[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/cpl_propertylist-test.c:819:51:  [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).
	  cpl_propertylist_append_char(header,hdr[i].key,atoi(hdr[i].val));
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/cpl_propertylist-test.c:822:42:  [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).
          cpl_msg_info(cpl_func,"val=%d",atoi(hdr[i].val));
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/cpl_propertylist-test.c:827:51:  [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).
	  cpl_propertylist_append_bool(header,hdr[i].key,atoi(hdr[i].val));
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/cpl_propertylist-test.c:830:42:  [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).
          cpl_msg_info(cpl_func,"val=%d",atoi(hdr[i].val));
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/cpl_propertylist-test.c:835:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  cpl_propertylist_append_int(header,hdr[i].key,atoi(hdr[i].val));
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/cpl_propertylist-test.c:838:42:  [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).
          cpl_msg_info(cpl_func,"val=%d",atoi(hdr[i].val));
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/cpl_propertylist-test.c:843:51:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  cpl_propertylist_append_long(header,hdr[i].key,atol(hdr[i].val));
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/cpl_propertylist-test.c:846:43:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          cpl_msg_info(cpl_func,"val=%ld",atol(hdr[i].val));
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/cpl_propertylist-test.c:888:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen("cpltest1.fits", "w");
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_flux_std_catalog_join-test.c:89:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
 		flux_std_cat_extid = atoi(argv[3]);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_flux_std_catalog_join-test.c:90:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
 		flux_std_add_extid = atoi(argv[4]);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_propertylist-test.c:745:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen("cpltest1.fits", "w");
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_propertylist-test.c:782:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            cx_assert(cpl_property_get_int(p) == atoi(hdr[i].val));
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_propertylist-test.c:864:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen("cpltest1.fits", "w");
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_propertylist-test.c:872:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen("cpltest2.fits", "w");
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_response-test.c:127: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 res_name[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_response-test.c:128: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 ref_name[25];
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_response-test.c:129: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 ref_type[25];
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_response-test.c:131: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 full_name[256];
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_response-test.c:137: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.
   const char *columns[3] = {"LAMBDA", "BIN_WIDTH", "F_LAMBDA"};
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:332: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 cosmic_name[MAX_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:333: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 filter_name[MAX_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:334: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 clean_name[MAX_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:335: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 mask_name[MAX_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:538: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        message[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:549:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char      *scheck[25];
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:552:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char      *names[2];
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:756: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(message, "Writing to row %d of the Float column... ", i);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:778: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(message, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:783: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(message, "Setting array at position %d of the AInt column... ", i);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:790: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(message, "Getting array %d of the AInt column... ", i);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:794: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(message,
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:805: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(message, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:810: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(message, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:818: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(message, "Getting array %d of the AFloat column... ", i);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:822: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(message,
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:834: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(message, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:839: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(message, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:847: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(message, "Getting array %d of the ADouble column... ", i);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:851: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(message,
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:2611: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(message, "Writing to row %d of the \"Sequence\" column... ", i);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:2661: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(message, "Check element  %d of sorted \"Integer\"... ", i + 1);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:2681: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(message, "Check element  %d of sorted \"Integer\"... ", i + 1);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:2733: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(message, "Check element  %d of sorted \"Double\"... ", i + 1);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:2775: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(message, "Check element  %d of sorted \"String\"... ", i + 1);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:2956: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(message, "Check element  %d of sorted \"Integer\"... ", i + 1);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:2961: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(message, "Check element  %d of sorted \"Integer\"... ", i + 1);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:3009: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(message, "Check element  %d of sorted \"Double\"... ", i + 1);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:3057: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(message, "Check element  %d of sorted \"String\"... ", i + 1);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_utils-test.c:3642: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(message, "Check element %d of result column... ", i);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_baryvel.c:103:39:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 compxy(double inputr[19], char inputc[4],
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_baryvel.c:288:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
compxy(double inputr[19], char inputc[4],
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_baryvel.c:321:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char inpsgn[4];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_cd_align_impl.c:509:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *raw_filename[2];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:78: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.
load_raw_image(const char *filename, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:121: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).
   if ((fp = fopen(filename, "r"))==NULL) {
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:2514: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.
load_raw_image(const char *filename, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:2812:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const char *blue_tag, const char *red_tag, cpl_type type, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:2812:41:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *blue_tag, const char *red_tag, cpl_type type, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:2991:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 **raw_filename,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:2996:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[4];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3071: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.
              const char **raw_filename,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3076:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[2];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3139:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const char **raw_filename1,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3140:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const char **raw_filename2,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3149:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[2];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3247: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 **raw_filename, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3252:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[4];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3324:53:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
uves_load_science(const cpl_frameset *frames, const char **raw_filename, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3400:54:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
uves_load_standard(const cpl_frameset *frames, const char **raw_filename, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3461:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[1];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3502:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[1];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3551:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[1];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3616:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[1];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3681:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[2];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3744:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[1];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3809:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[6];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:3938:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[1];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:4564:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[3];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:5002:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[3];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:5121:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[1] = {UVES_LINE_INTMON_TABLE};    
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:5175:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[1];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:5241:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[1] = {UVES_LINE_REFER_TABLE};    
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:5329:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[1] = {UVES_FLUX_STD_TABLE};
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:5400:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tags[1] = {UVES_EXTCOEFF_TABLE};
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.h:736: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 **raw_filename,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.h:743:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  const char **raw_filename,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.h:751: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 **raw_filename, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.h:756:68:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
cpl_error_code uves_load_science(const cpl_frameset *frames, const char **raw_filename, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.h:762:69:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
cpl_error_code uves_load_standard(const cpl_frameset *frames, const char **raw_filename,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.h:767:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *blue_tag, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.h:768:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *red_tag, cpl_type type, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.h:858:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const char **raw_filename1,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.h:859:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            const char **raw_filename2,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_extract.c:624:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ex_context[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mbias_impl.c:700: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 key_name[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mbias_impl.c:816: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(key_name, "QC OUT%d RON MASTER", pn);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mbias_impl.c:946: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 key_name[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:131: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[MAX_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:132: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 pname[MAX_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:134: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(name,"reg.num_x");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:140: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(name,"reg.num_y");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:145: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(name,"reg.box_sx");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:150: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(name,"reg.box_sy");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:631:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *product_tag[2] = {NULL, NULL};
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:865: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[MAX_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:866: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 pname[MAX_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:867: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 qc_key[MAX_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:868: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 qc_com[MAX_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:887: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(name,"reg.border_x");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_mdark_impl.c:892: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(name,"reg.border_y");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_msg.c:67:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *callers[MAXLEVEL]; /* Check the consistency of calls to softer/louder  */
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_msg.c:70: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 printbuffer[MAXSTRINGLENGTH]; /* Used to pass variable argument list 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_orderpos_body.c:1154:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char values[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_orderpos_body.c:1158:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char extname[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_orderpos_body.c:1511: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(extname,"ORDER_TAB");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_orderpos_body.c:1533: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(extname,"ORDER_POL");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_orderpos_body.c:1554: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(extname,"ORDER_INFO");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c:115: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 full_name[256];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c:181: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 full_name[256];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c:255:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char full_name[256];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c:341:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char full_name[256];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_parameters.c:1841:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[256];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1719:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    returnvalue = atoi(value + strlen(name) + strlen(" "));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:2741: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 key_name[20];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c:904: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 extname[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c:1211: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(extname,"LINE_GUESS_TAB");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c:1236: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(extname,"LINE_GUESS_POL1");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c:1242: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(extname,"LINE_GUESS_POL2");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c:1256: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(extname,"ORD_GUESS_TAB");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c:1356: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 key_value[25];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_body.c:1666: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 key_value[25];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_plotmod.c:126: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 title[300];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_plotmod.c:136: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 chip_id[5];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_qc1pmtbl.c:134: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   lineTbl[FILESIZE];  /* buffer for data values */
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_qc1pmtbl.c:135: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   rLineTbl[FILESIZE]; /* buffer for data values */
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_qc1pmtbl.c:136: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   aHeading[FILESIZE]; /* column reference */
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_physmod_qc1pmtbl.c:137: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   tmps[FILESIZE];     /* for messout */
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:104: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 title[MAXTITLELENGTH];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:110: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).
    if ((paf=fopen(filename, "w"))==NULL) {
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:139: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 path[MAX_NAME_SIZE+1];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:168:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_b[512] ;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.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            key_name[FILE_NAME_SZ] ;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:238:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            key_paf[FILE_NAME_SZ] ;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:239:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            key_dpaf[FILE_NAME_SZ] ;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.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            key_type[FILE_NAME_SZ] ;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:241:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            key_value[FILE_NAME_SZ] ;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:242:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            key_help[FILE_NAME_SZ] ;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:529: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 key_value[FILE_NAME_SZ];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:530: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 key_type[FILE_NAME_SZ];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:533:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(key_type,"CPL_TYPE_INT"); 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:569: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 key_value[FILE_NAME_SZ];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:570: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 key_type[FILE_NAME_SZ];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:573:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(key_type,"CPL_TYPE_BOOL"); 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:608: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 key_value[FILE_NAME_SZ];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:609: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 key_type[FILE_NAME_SZ];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:612:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(key_type,"CPL_TYPE_FLOAT"); 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:649: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 key_value[FILE_NAME_SZ];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:650: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 key_type[FILE_NAME_SZ];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:653:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(key_type,"CPL_TYPE_DOUBLE"); 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:691: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 key_value[FILE_NAME_SZ];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:692: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 key_type[FILE_NAME_SZ];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:695:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(key_type,"CPL_TYPE_STRING"); 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:739: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            key_name[FILE_NAME_SZ];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:740: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            key_value[FILE_NAME_SZ];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:741: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            key_type[FILE_NAME_SZ];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:742: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            key_help[FILE_NAME_SZ] ;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:755: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(key_name,"ESO ");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:768:51:  [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).
    uves_propertylist_append_bool(plist, key_name,atoi(key_value)) ;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:771:49:  [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).
    uves_propertylist_append_int(plist,key_name,atoi(key_value)) ;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:809:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char key_name[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:845: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(key_name, "QC ORD%d OBJ SN", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:852: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(key_name, "QC ORD%d OBJ POS", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:859: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(key_name, "QC ORD%d OBJ FWHM", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:866: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(key_name, "QC ORD%d OBJ RPLPAR", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_redchain_impl.c:609:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    const char *products[2];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_redchain_impl.c:626:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    const char *products[4];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_redchain_impl.c:647:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    const char *products[4];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_redchain_impl.c:668:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    const char *products[2];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_redchain_impl.c:687:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    const char *products[10];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_redchain_impl.c:717:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    const char *products[2];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_redchain_impl.c:740:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    const char *products[2];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_redchain_impl.c:759:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    const char *products[2];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce.c:627: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 context[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce.c:778: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 key_name[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce.c:779: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(key_name, "ESO QC OUT%d RON MASTER", pn);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_mflat.c:533: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 prefix[255];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_mflat.c:650:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pro_filename[255];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_mflat.c:651:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *product_tag[2] = {NULL, NULL};
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_mflat_combine.c:369: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.
   const char *product_tag[2] = {NULL, NULL};
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_mflat_combine.c:370: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 pro_filename[255];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:369: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 key_name_i[40];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:370: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 key_name_o[40];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:374: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(key_name_o,"CUNIT1");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:378: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(key_name_i,"ESO QC LINE RESIDRMS WLU");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:379: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(key_name_o,"LAMRMS");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:389: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(key_name_i,"ESO QC NLINSOL");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:390: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(key_name_o,"LAMNLIN");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:400: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(key_name_i,"ESO QC LINE WAVEERR");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:401:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(key_name_o,"CRDER1");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:410: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(key_name_i,"ESO QC LINE SYSERR");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:411: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(key_name_o,"CSYER1");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:1034:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char extname[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:1588:6:  [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(extname,"QC_INFO");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:2069:14:  [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(extname,"TRACE_INFO");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:2116:14:  [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(extname,"CRH_MASK");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:2553: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 key_name[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:2618: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(key_name, "QC ORD%d DATAMIN", i);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:2625: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(key_name, "QC ORD%d DATAMAX", i);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:2632: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(key_name, "QC ORD%d DATAAVG", i);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:2639: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(key_name, "QC ORD%d DATARMS", i);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_reduce_scired.c:2646: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(key_name, "QC ORD%d DATAMED", i);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_remove_crh_single.c:440: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).
    debug = fopen("cosmic.log","w");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_impl.c:462: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 band[MAX_NAME_SIZE];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_impl.c:778: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 extname[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_impl.c:781: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(extname,"RESPONSE");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_impl.c:1268:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char extname[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_impl.c:1634:21:  [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(extname,"EFFICIENCY");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_impl.c:1693:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(extname,"QC_INFO");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_impl.c:1889: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 key_name[25];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_impl.c:1893: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(key_name,"QC BLAZEFF%d", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_impl.c:1906: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(key_name,"QC BLAZWLEN%d", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_impl.c:1918: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 key_name[25];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_impl.c:1922: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(key_name,"QC ORDER NUM%d", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_impl.c:1934: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(key_name,"QC OBJ SN%d", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_response_utils.c:439:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *columns[3] = {"LAMBDA", "BIN_WIDTH", "F_LAMBDA"};
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_time.c:120: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 date_iso8601[MAX_NAME_SIZE] ;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2010:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char extname[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2043:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(extname,"LINE_T%d_W%d_X%d",trace_number,window,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2068: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 values[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2131:21:  [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(extname,"LINE_T%d_W%d_X%d",trace_number,window,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2178:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(extname,"LINE_T%d_W%d_X%d",trace_number,window,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2191:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(extname,"LINE_T%d_W%d_X%d",trace_number,window,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2329:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char comment[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2336:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char test_id[80];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2430: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(comment,"average FWHM in X of sel lines on TRACE%d WIN2 [pix]",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2437: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(comment,"stdev FWHM in X of sel lines on TRACE%d WIN2 [pix]",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2444: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(comment,"median FWHM in X of sel lines on TRACE%d WIN2 [pix]",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2451: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(comment,"mean R of sel lines on TRACE%d WIN2",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2458: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(comment,"stdev R of sel lines on TRACE%d WIN2",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2465: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(comment,"median R of sel lines on TRACE%d WIN2",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2473: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(comment,"mean line pos resid on TRACE%d WIN2 [pm]",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2480: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(comment,"sigma line pos resid on TRACE%d WIN2 [pm]",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2489: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(comment,"minimum wavelength on TRACE%d WIN2 [nm]",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2497: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(comment,"maximum wavelength on TRACE%d WIN2 [nm]",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2504: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(comment,"minimum order number expected on TRACE%d WIN2",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2511: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(comment,"maximum order number expected on TRACE%d WIN2",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2519: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(comment,"minimum order number detected on TRACE%d WIN2",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2526: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(comment,"maximum order number detected on TRACE%d WIN2",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2533: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(comment,"No. of lines found on TRACE%d WIN2",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2540: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(comment,"No. of lines selected on TRACE%d WIN2",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2549: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(comment,"Final No. of lines used on TRACE%d WIN2",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2572: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(comment,"Wavelength error on TRACE%d [Angstrom]",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2585: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(comment,"Wavelength systematic error on TRACE%d [Angstrom]",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_body.c:2600: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(comment,"No. of lines with residuals < 0.1 nm on TRACE%d",trace_number);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_identify.c:252:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char qc_key[40];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_identify.c:379:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(qc_key,"QC TRACE%d WIN%d NLINID%d",trace,window,idloop);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_identify.c:404: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(qc_key,"QC TRACE%d WIN%d NLINID NITERS",trace,window);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_identify.c:528:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char qc_key[40];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_identify.c:551: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(qc_key,"QC LINE RESIDRMS WLU");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_identify.c:555: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(qc_key,"QC LINE RESIDRMS PIX");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_identify.c:559: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(qc_key,"QC LINE RESIDRMS SPEED");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_identify.c:566: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(qc_key,"QC LINE IDCHI2");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_identify.c:593: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(qc_key,"QC LINE HALFBRIG");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_search.c:280:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char qc_key[40];
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_search.c:319: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(qc_key,"QC TRACE%d WIN%d NLINDET%d",trace,window,kk);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_wavecal_search.c:330: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(qc_key,"QC TRACE%d WIN%d NLINDET NITERS",trace,window);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:946: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).
      strlen(method) == 3 && method[0] == tolower(method[0]) && method[1] == tolower(method[1]) && method[2] == tolower(method[2]),
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:967: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).
  assure( strlen(mid2fits) >= 1 && mid2fits[0] == toupper(mid2fits[0]),
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1000: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).
      strlen(bias_method_string) == 1 && bias_method_string[0] == toupper(bias_method_string[0]),
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:1109: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).
              + strlen(cpl_frame_get_filename(f)) - 1;
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:2210: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).
      strlen(in_ima) >= 8 && strcmp(in_ima + strlen(in_ima) - 5, ".fits") == 0,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:2210: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).
      strlen(in_ima) >= 8 && strcmp(in_ima + strlen(in_ima) - 5, ".fits") == 0,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:2215: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).
  in_ima_base[strlen(in_ima_base) - (2 + strlen(".fits"))] = '\0';
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_cal_prep_sff_ofpos_impl.c:2215: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).
  in_ima_base[strlen(in_ima_base) - (2 + strlen(".fits"))] = '\0';
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:556:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[0], "                ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:557:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[1], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_creamask.c:558:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[2], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:792:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(pval) >= 1 + strlen(name) + 4 &&
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:792:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(pval) >= 1 + strlen(name) + 4 &&
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:794: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).
                            strncmp(pval+1, name, strlen(name)) == 0 &&
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:795:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            pval[strlen(name)+1] == '\'')
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:797: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).
                assure( strncmp(pval+strlen(name)+1, "','", 3) == 0 &&
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:798: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).
                                pval[strlen(name)+4] == type,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:817: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).
    assure( strlen("HISTORY ") + strlen(val) <= 80, CPL_ERROR_ILLEGAL_INPUT,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:817:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assure( strlen("HISTORY ") + strlen(val) <= 80, CPL_ERROR_ILLEGAL_INPUT,
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:819: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).
            strlen("HISTORY ") + strlen(val));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:819:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            strlen("HISTORY ") + strlen(val));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1297: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(filename) > 4 &&
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1298: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).
                    strcmp(filename + strlen(filename) - 4, ".bdf") == 0) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1300:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = strlen(filename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1618:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            assure_nomsg( 0 == SCDWRC(image, "BUNIT", 1, bunit, 1, strlen(bunit)+1, &unit),
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1622:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                assure_nomsg( 0 == SCDWRC(image, "CTYPE1", 1, ctype1, 1, strlen(ctype1)+1, &unit),
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1626:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                assure_nomsg( 0 == SCDWRC(image, "CTYPE2", 1, ctype2, 1, strlen(ctype2)+1, &unit),
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1630:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                assure_nomsg( 0 == SCDWRC(image, "CTYPE3", 1, ctype3, 1, strlen(ctype3)+1, &unit),
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_dfs.c:1634:74:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                assure_nomsg( 0 == SCDWRC(image, "CTYPE4", 1, ctype4, 1, strlen(ctype4)+1, &unit),
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:95:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy (expanded_path, path, PATHSET_MAX);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:111: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).
                        strlen (pwordexp.we_wordv[0]) > PATHSET_MAX)
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:118:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy (tpath, pwordexp.we_wordv[0], PATHSET_MAX);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:172: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).
        len = (int) strlen(name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:191: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).
        len = (int) strlen(str) + (int) strlen(name);    /* +1 for \0 */
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:191:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = (int) strlen(str) + (int) strlen(name);    /* +1 for \0 */
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:208: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).
        memmove (marker, marker + 1, strlen (marker));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:215:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    marker = str - 1 + (int) strlen(str);        /* last char of `str' */
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:266: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).
        len = (int) strlen(name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:283: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).
        len = (int) strlen(cpp);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:312: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 = (int) strlen(str) + (int) strlen(name);        /* +1 for \0 */
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:312:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = (int) strlen(str) + (int) strlen(name);        /* +1 for \0 */
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:427: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).
        ldn = (int) strlen (dir_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:431: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).
    lfn = (int) strlen (file_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:437:29:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    if (lextra == 2) (void) strcat (fqfn, "/");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:473: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 = (int) strlen (path);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:487:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy (fname, &path[j + 1], (size_t) (len-j-1));
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:522: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 = (int) strlen (path);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:536:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy (dname, path, (size_t) j);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:625:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((rbytes = (int) read (src, buf, (size_t)blksize)) > 0)
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:762: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).
        len = (int) strlen(file_path);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:766: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).
        len = (int) strlen(s);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fileutils.c:769: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 = (int) strlen(link_path) + len + 1;
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_fitting.c:779:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(coeffc, inptab, 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstripbdfext.c:96: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(filename)<=0) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_mainstripbdfext.c:111:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((baselength=(strlen(basename)+1))>160) baselength=160;
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:110:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[0], "Relative flux   ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_merge.c:111:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[1], "Wavelength      ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_multimatch.c:153: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).
        length[seq] = strlen(frame_name);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1056: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).
    assure( strlen(red_method) == 3 &&
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1068: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).
    assure( strlen(drs_cor_max_fnd) == 1 &&
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1160: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).
    assure( strlen(bias_method_string) == 1 &&
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_obs_scired_impl.c:1555: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(null_string," ");
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftone.c:226:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(myflatout->framename, myflatin->framename, (size_t) CATREC_LEN);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftone.c:227:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(myflatout->sigmaname, myflatin->sigmaname, (size_t) CATREC_LEN);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftone.c:228:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(myflatout->badname, myflatin->badname, (size_t) CATREC_LEN);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftone.c:489:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(myflatout->framename, myflatin->framename, (size_t) CATREC_LEN);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftone.c:490:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(myflatout->sigmaname, myflatin->sigmaname, (size_t) CATREC_LEN);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_shiftone.c:491:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(myflatout->badname, myflatin->badname, (size_t) CATREC_LEN);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_stripbdfext.c:77: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).
    namelength = strlen(framename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_stripbdfext.c:95:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(basename, framename, baselength);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_stripbdfext.c:113:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(basename, framename, baselength);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_striptblext.c:76: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).
    namelength = strlen(tablename);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_striptblext.c:93:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(basename, tablename, baselength);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_striptblext.c:111:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(basename, tablename, baselength);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils.c:1187: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).
    idx = strlen(mod) - 1;
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1238:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(cunit[0], "                ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1239:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(cunit[1], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_utils_science.c:1240:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(cunit[2], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:362:5:  [1] (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 low because the source is a
  constant string.
    strncat(cunit, "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:363:5:  [1] (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 low because the source is a
  constant string.
    strncat(cunit, "FIBRE           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:364:5:  [1] (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 low because the source is a
  constant string.
    strncat(cunit, "ORDER           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:452:5:  [1] (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 low because the source is a
  constant string.
    strncat(cunit, "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:453:5:  [1] (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 low because the source is a
  constant string.
    strncat(cunit, "FIBRE           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:454:5:  [1] (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 low because the source is a
  constant string.
    strncat(cunit, "ORDER           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:585:5:  [1] (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 low because the source is a
  constant string.
    strncat(cunit, "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:586:5:  [1] (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 low because the source is a
  constant string.
    strncat(cunit, "FIBRE           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:587:5:  [1] (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 low because the source is a
  constant string.
    strncat(cunit, "ORDER           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeallff.c:588:5:  [1] (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 low because the source is a
  constant string.
    strncat(cunit, "TYPE            ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeback.c:99:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[0], "                ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeback.c:100:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[1], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeback.c:101:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[2], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeframe.c:116: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(templatefile) > 0) {
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeframe.c:148:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        strncpy(cunit[1], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeframe.c:149:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        strncpy(cunit[2], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:325:9:  [1] (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 low because the source is a
  constant string.
        strncat(cunit, "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:326:9:  [1] (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 low because the source is a
  constant string.
        strncat(cunit, "FIBRE           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:327:9:  [1] (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 low because the source is a
  constant string.
        strncat(cunit, "TYPE            ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:439:5:  [1] (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 low because the source is a
  constant string.
    strncat(cunit, "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:440:5:  [1] (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 low because the source is a
  constant string.
    strncat(cunit, "FIBRE           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:546:5:  [1] (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 low because the source is a
  constant string.
    strncat(cunit, "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:547:5:  [1] (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 low because the source is a
  constant string.
    strncat(cunit, "FIBRE           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writeslitff.c:548:5:  [1] (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 low because the source is a
  constant string.
    strncat(cunit, "TYPE            ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:145:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[1], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writespectrum.c:146:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[2], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:104:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[0], "                ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:105:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[1], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:106:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[2], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:302:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[0], "                ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:303:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[1], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:304:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[2], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:398:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[0], "                ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:399:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[1], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:400:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[2], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:488:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[0], "                ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:489:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[1], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/flames/flames_writesynth.c:490:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(cunit[2], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_imagelist_io.c:496:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const int    msgmin = (int)strlen(HDRL_MSG) - 5;
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_imagelist_io.c:508:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const int               imsgmin = (int)strlen(HDRL_IMSG) - 5;
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_imagelist_io.c:553:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const int               imsgmin = (int)strlen(HDRL_IMSG) - 5;
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_utils.c:350: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).
    const char * sep = strlen(base_context) > 0 ? "." : "";
data/cpl-plugin-uves-6.1.3+dfsg/hdrl/hdrl_utils.c:491:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (val == NULL || strlen(val) == 0) {
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_framelist.c:1173:17:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    cpl_boolean equal;
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_framelist.c:1195:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (!equal) {
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_framelist.c:1207:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (!equal) {
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_framelist.c:1219:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (!equal) {
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_framelist.c:1231:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (!equal) {
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_framelist.c:1243:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (!equal) {
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_framelist.c:1255:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (!equal) {
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_framelist.c:1266:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (!equal) {
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_framelist.c:1281:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!equal) {
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_framelist.c:1286:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return equal;
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:923: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).
        size_t n1 = strlen(va[i]);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:924: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).
        size_t n2 = strlen(vb[i]);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:1283: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).
    size_t keylen = strlen(keyword_table[mid].name);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:1302: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(record->name) != strlen(name)) {
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:1302:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(record->name) != strlen(name)) {
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:1306:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const char *c = name + strlen(record->name);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:2621:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  cpl_size extra_length = (extra != NULL ? (cpl_size) strlen(extra) : 0);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:2655:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    name_length = (cpl_size) strlen(name);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:2659:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    fragment_length = (cpl_size) strlen(fragment);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:2673:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(writepos, fragment, bytesleft);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:2676:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(writepos, name, bytesleft);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:2683:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(writepos, join_fragment, bytesleft);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:2684: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).
    bytesleft -= (cpl_size) strlen(join_fragment);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:2685: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).
    writepos += (cpl_size) strlen(join_fragment);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:2686:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(writepos, extra, bytesleft);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/irplib_sdp_spectrum.c:2690:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(writepos, end_fragment, bytesleft);
data/cpl-plugin-uves-6.1.3+dfsg/irplib/tests/irplib_utils-test.c:177:21:  [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.
    cpl_test_assert(sscanf(line, "%31s %16lf", &str[0], &val) != EOF);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_corvel.c:244:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(cunit[1], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_corvel.c:245:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(cunit[2], "PIXEL           ", 16);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:233:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strstr(filename, ".fits") == filename + strlen(filename) - 5) {
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:236: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).
    else if (strstr(filename, ".bdf") == filename + strlen(filename) - 4) {
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:239:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ((char *)frames[id].filename)[strlen(filename) - 3] = 'f';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:240:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ((char *)frames[id].filename)[strlen(filename) - 2] = 'i';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:241:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ((char *)frames[id].filename)[strlen(filename) - 1] = 't';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:242:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ((char *)frames[id].filename)[strlen(filename) - 0] = 's';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:271:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strstr(filename, ".fits") == filename + strlen(filename) - 5) {
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:274:55:  [1] (buffer) strlen:
  Does not handle 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 (strstr(filename, ".tfits") == filename + strlen(filename) - 6) {
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:277: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).
    else if (strstr(filename, ".tbl") == filename + strlen(filename) - 4) {
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:280:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ((char *)frames[id].filename)[strlen(filename) - 3] = 'f';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:281:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ((char *)frames[id].filename)[strlen(filename) - 2] = 'i';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:282:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ((char *)frames[id].filename)[strlen(filename) - 1] = 't';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:283:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        ((char *)frames[id].filename)[strlen(filename) - 0] = 's';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:463: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).
        else if ((strlen(name) > 8 && strncmp(name, "ESO ", 4) != 0) 
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:518: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(cpl_property_get_string(p2)) > 0) {
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:544: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).
                    assure( strlen(v) <= 80 - strlen("HISTORY "),
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:544: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).
                    assure( strlen(v) <= 80 - strlen("HISTORY "),
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:655:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        if ((int)strlen(value) >= 3 && 
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:845:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(val_type) > 0) {
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:846:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                while (val_type[strlen(val_type)-1] == ' ') {
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:847:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    val_type[strlen(val_type)-1] = '\0';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:855:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    if (strlen(val_form) > 0) {
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:856:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        while (val_form[strlen(val_form)-1] == ' ') {
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:857: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).
                            val_form[strlen(val_form)-1] = '\0';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:865:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    if (strlen(val_unit) > 0) {
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:866:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        while (val_unit[strlen(val_unit)-1] == ' ') {
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:867: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).
                            val_unit[strlen(val_unit)-1] = '\0';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:1259: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).
            *length = strlen(cpl_property_get_string(cards[0]));
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:1488:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(key+(felem-1), values, maxvals);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:1516:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(values, key + (felem - 1), maxvals);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:1517: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).
    values[strlen(key)+1] = '\0';
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:1518: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).
    *actvals = strlen(values);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:1717:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(values, key + (felem - 1), noelm);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:1719: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).
    *actvals = strlen(values);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:2736: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).
        assure( strlen(char_values) == 1, CPL_ERROR_ILLEGAL_INPUT,
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:3213:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(val, values, 16);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:3230:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(val, values+i*16, 16);
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:3261:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(tmp_string,values,nval);    
data/cpl-plugin-uves-6.1.3+dfsg/uves/flames_midas_def.c:3596: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).
                    i = strlen(ident);
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_propertylist-test.c:768:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            s = hdr[i].key + strlen("HIERARCH") + 1;
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_propertylist-test.c:903: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).
            cx_assert(strlen(val) == 0 ||
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_response-test.c:293: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).
	    while(ref_name[strlen(ref_name)-1] == ' ')
data/cpl-plugin-uves-6.1.3+dfsg/uves/tests/uves_response-test.c:296: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).
		    ref_name[strlen(ref_name)-1] = '\0';
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:257:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int N = strlen(regression_name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:350:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    (int)strlen(value) >= 1+N+2 &&
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:358:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    (int)strlen(value) >= 1+N+3 &&
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:1269:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int N = strlen(name);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:1291:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          if ((int)strlen(value) >= 1+N+4 &&
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:1307: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 ((int)strlen(value) >= 1+N+4+2 && value[N+4+1] == '*')
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:1357: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).
	  assure( strlen(value) < 100, CPL_ERROR_UNSUPPORTED_MODE, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:1364:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    int len = strlen(value);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:2436: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).
    while (calib_first < strlen(calib_chip_name) - 1 && calib_chip_name[calib_first] == ' ' )
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:2440: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).
    while (raw_first < strlen(raw_chip_name) - 1 && raw_chip_name[raw_first] == ' ' )
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:2445: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).
    calib_last = strlen(calib_chip_name) - 1;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:2446: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).
    raw_last = strlen(raw_chip_name) - 1;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_dfs.c:2477:9:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (mismatch)
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1334: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).
    unsigned int pref_len = strlen(prefix);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1336: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).
    assure( strlen(key) >= pref_len && 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1644:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(pval) > strlen(name) + strlen(" ") &&
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1644:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(pval) > strlen(name) + strlen(" ") &&
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1644: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).
            if (strlen(pval) > strlen(name) + strlen(" ") &&
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1645:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            strncmp(pval, name, strlen(name)) == 0 &&
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1646: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).
            pval[strlen(name)] == ' ')
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1713:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(value) > strlen(name) + strlen(" ") &&
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1713:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(value) > strlen(name) + strlen(" ") &&
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1713:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(value) > strlen(name) + strlen(" ") &&
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1714: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).
                strncmp(value, name, strlen(name)) == 0 &&
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1715: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).
                value[strlen(name)] == ' ') {
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1719:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    returnvalue = atoi(value + strlen(name) + strlen(" "));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1719:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    returnvalue = atoi(value + strlen(name) + strlen(" "));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1723: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).
                           value + strlen(name) + strlen(" "), errno);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1723: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).
                           value + strlen(name) + strlen(" "), errno);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1726:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    returnvalue = strtod(value + strlen(name) + strlen(" "), NULL);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1726:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    returnvalue = strtod(value + strlen(name) + strlen(" "), NULL);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1730: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).
                           value + strlen(name) + strlen(" "), errno);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:1730: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).
                           value + strlen(name) + strlen(" "), errno);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:3022:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    wstart_string = cpl_malloc( strlen(UVES_WSTART) + 2 + 1);  
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:3025: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).
    snprintf(wstart_string, strlen(UVES_WSTART)+2+1, UVES_WSTART "%d", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:3055: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).
    wstart = cpl_malloc( strlen(UVES_WSTART) + 2 + 1);  
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:3058:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    snprintf(wstart, strlen(UVES_WSTART)+2+1, UVES_WSTART "%d", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:3085:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    wend_string = cpl_malloc( strlen(UVES_WEND) + 2 + 1);  
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:3088: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).
    snprintf(wend_string, strlen(UVES_WEND)+2+1, UVES_WEND "%d", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:3118: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).
    wend = cpl_malloc( strlen(UVES_WEND) + 2 + 1);  
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_pfits.c:3121: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).
    snprintf(wend, strlen(UVES_WEND)+2+1, UVES_WEND "%d", order);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:248: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).
        pre = cpl_calloc(strlen(pre_format) + 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:249: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).
                 strlen(xtitle) + strlen(ytitle) + 1,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:249:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                 strlen(xtitle) + strlen(ytitle) + 1,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:354: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).
        pre = cpl_calloc(strlen(pre_format) + 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:355: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).
                 strlen(xtitle) + strlen(ytitle) + 1,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:355:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                 strlen(xtitle) + strlen(ytitle) + 1,
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:580: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).
        pre = cpl_calloc(strlen(pre_format) + strlen(colx) + strlen(coly) + 1, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:580: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).
        pre = cpl_calloc(strlen(pre_format) + strlen(colx) + strlen(coly) + 1, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:580: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).
        pre = cpl_calloc(strlen(pre_format) + strlen(colx) + strlen(coly) + 1, 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:654: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).
    size_t length = strlen("t '' ") + strlen(plot_title) + strlen(options) + 1;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:654: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).
    size_t length = strlen("t '' ") + strlen(plot_title) + strlen(options) + 1;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_plot.c:654:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t length = strlen("t '' ") + strlen(plot_title) + strlen(options) + 1;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.c:550: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).
        strlen(s) == 0) {
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.c:563:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(key, s, FITS_LINESZ);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.c:583:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(s) == 0) {
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.c:587:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(value, s, FITS_LINESZ);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.c:592:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(value, qfits_pretty_string(s), FITS_LINESZ);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.c:607: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) == 0)
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.c:610:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(comment, s, FITS_LINESZ);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.c:5733:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(tmp, cpl_property_get_name(property), FITS_LINESZ);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.c:5746:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(tmp) > FITS_STDKEY_MAX &&
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.c:5748:17:  [1] (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 low because the source is a
  constant string.
                strncat(key, "HIERARCH ", 9);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.c:5750:13:  [1] (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.
            strncat(key, tmp, FITS_LINESZ - strlen(key));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.c:5750: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).
            strncat(key, tmp, FITS_LINESZ - strlen(key));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.c:5785:29:  [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(value, ".");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_propertylist.c:5797:29:  [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(value, ".");
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:142: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(filename)>MAX_NAME_SIZE) return NULL ;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_qclog.c:195:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(in);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_star_index.c:83:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t bt = strlen(fits_file) * sizeof(*fits_file)+1;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils.c:1999:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int field = uves_max_int(strlen(PACKAGE_STRING), strlen(recipe_string));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils.c:1999: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).
    int field = uves_max_int(strlen(PACKAGE_STRING), strlen(recipe_string));
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils.c:2005: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).
    nspaces1 = (field - strlen(PACKAGE_STRING)) / 2; 
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils.c:2006: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).
    nspaces2 = field - strlen(PACKAGE_STRING) - nspaces1;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils.c:2008: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).
    nspaces3 = (field - strlen(recipe_string)) / 2;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils.c:2009: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).
    nspaces4 = field - strlen(recipe_string) - nspaces3;
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils.c:3665: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).
    prefix_length = strlen(prefix);
data/cpl-plugin-uves-6.1.3+dfsg/uves/uves_utils.c:3667: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).
    assure( strlen(s) >= prefix_length &&

ANALYSIS SUMMARY:

Hits = 2897
Lines analyzed = 298071 in approximately 10.47 seconds (28462 lines/second)
Physical Source Lines of Code (SLOC) = 171098
Hits@level = [0] 468 [1] 271 [2] 1354 [3]  12 [4] 1259 [5]   1
Hits@level+ = [0+] 3365 [1+] 2897 [2+] 2626 [3+] 1272 [4+] 1260 [5+]   1
Hits/KSLOC@level+ = [0+] 19.6671 [1+] 16.9318 [2+] 15.3479 [3+] 7.43434 [4+] 7.3642 [5+] 0.0058446
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.