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/libforms-1.2.3/image/flimage_int.h
Examining data/libforms-1.2.3/image/image_marker.c
Examining data/libforms-1.2.3/image/image_gif.c
Examining data/libforms-1.2.3/image/rgb_db.c
Examining data/libforms-1.2.3/image/postscript.c
Examining data/libforms-1.2.3/image/image_genesis.c
Examining data/libforms-1.2.3/image/image_tiff.c
Examining data/libforms-1.2.3/image/image_sgi.c
Examining data/libforms-1.2.3/image/image_io_filter.c
Examining data/libforms-1.2.3/image/image_bmp.c
Examining data/libforms-1.2.3/image/image_gzip.c
Examining data/libforms-1.2.3/image/image_crop.c
Examining data/libforms-1.2.3/image/ps_draw.c
Examining data/libforms-1.2.3/image/image_fits.c
Examining data/libforms-1.2.3/image/image_type.c
Examining data/libforms-1.2.3/image/image.c
Examining data/libforms-1.2.3/image/matrix.c
Examining data/libforms-1.2.3/image/image_text.c
Examining data/libforms-1.2.3/image/image_png.c
Examining data/libforms-1.2.3/image/image_xbm.c
Examining data/libforms-1.2.3/image/image_jquant.c
Examining data/libforms-1.2.3/image/image_combine.c
Examining data/libforms-1.2.3/image/image_warp.c
Examining data/libforms-1.2.3/image/ps_core.c
Examining data/libforms-1.2.3/image/image_pnm.c
Examining data/libforms-1.2.3/image/ps_text.c
Examining data/libforms-1.2.3/image/image_convolve.c
Examining data/libforms-1.2.3/image/image_postscript.c
Examining data/libforms-1.2.3/image/flimage.h
Examining data/libforms-1.2.3/image/image_xpm.c
Examining data/libforms-1.2.3/image/image_replace.c
Examining data/libforms-1.2.3/image/image_scale.c
Examining data/libforms-1.2.3/image/image_rotate.c
Examining data/libforms-1.2.3/image/image_jpeg.c
Examining data/libforms-1.2.3/image/image_proc.c
Examining data/libforms-1.2.3/image/image_disp.c
Examining data/libforms-1.2.3/image/image_xwd.c
Examining data/libforms-1.2.3/demos/fonts.c
Examining data/libforms-1.2.3/demos/iconvert.c
Examining data/libforms-1.2.3/demos/fdial.c
Examining data/libforms-1.2.3/demos/group.c
Examining data/libforms-1.2.3/demos/xyplotall.c
Examining data/libforms-1.2.3/demos/pushme.c
Examining data/libforms-1.2.3/demos/yesno_cb.c
Examining data/libforms-1.2.3/demos/itest.c
Examining data/libforms-1.2.3/demos/freedraw.c
Examining data/libforms-1.2.3/demos/demotest3.c
Examining data/libforms-1.2.3/demos/goodies.c
Examining data/libforms-1.2.3/demos/cursor.c
Examining data/libforms-1.2.3/demos/objinactive.c
Examining data/libforms-1.2.3/demos/formbrowser.c
Examining data/libforms-1.2.3/demos/ll.c
Examining data/libforms-1.2.3/demos/sldinactive.c
Examining data/libforms-1.2.3/demos/arrowbutton.c
Examining data/libforms-1.2.3/demos/preemptive.c
Examining data/libforms-1.2.3/demos/chartall.c
Examining data/libforms-1.2.3/demos/fbrowse1.c
Examining data/libforms-1.2.3/demos/demo33.c
Examining data/libforms-1.2.3/demos/strange_button.c
Examining data/libforms-1.2.3/demos/ldial.c
Examining data/libforms-1.2.3/demos/demotest.c
Examining data/libforms-1.2.3/demos/gl.c
Examining data/libforms-1.2.3/demos/chartstrip.c
Examining data/libforms-1.2.3/demos/demo27.c
Examining data/libforms-1.2.3/demos/buttonall.c
Examining data/libforms-1.2.3/demos/browserop.c
Examining data/libforms-1.2.3/demos/thumbwheel.c
Examining data/libforms-1.2.3/demos/objreturn.c
Examining data/libforms-1.2.3/demos/longlabel.c
Examining data/libforms-1.2.3/demos/xyplotactive.c
Examining data/libforms-1.2.3/demos/timer.c
Examining data/libforms-1.2.3/demos/timerprec.c
Examining data/libforms-1.2.3/demos/butttypes.c
Examining data/libforms-1.2.3/demos/strsize.c
Examining data/libforms-1.2.3/demos/pup.c
Examining data/libforms-1.2.3/demos/iconify.c
Examining data/libforms-1.2.3/demos/newbutton.c
Examining data/libforms-1.2.3/demos/canvas.c
Examining data/libforms-1.2.3/demos/objpos.c
Examining data/libforms-1.2.3/demos/borderwidth.c
Examining data/libforms-1.2.3/demos/positioner.c
Examining data/libforms-1.2.3/demos/invslider.c
Examining data/libforms-1.2.3/demos/pushbutton.c
Examining data/libforms-1.2.3/demos/free1.c
Examining data/libforms-1.2.3/demos/menu.c
Examining data/libforms-1.2.3/demos/boxtype.c
Examining data/libforms-1.2.3/demos/sld_alt.c
Examining data/libforms-1.2.3/demos/xyplotactivelog.c
Examining data/libforms-1.2.3/demos/select.c
Examining data/libforms-1.2.3/demos/colbrowser.c
Examining data/libforms-1.2.3/demos/crossbut.c
Examining data/libforms-1.2.3/demos/flclock.c
Examining data/libforms-1.2.3/demos/ibrowser.c
Examining data/libforms-1.2.3/demos/browserall.c
Examining data/libforms-1.2.3/demos/dirlist.c
Examining data/libforms-1.2.3/demos/lalign.c
Examining data/libforms-1.2.3/demos/demo05.c
Examining data/libforms-1.2.3/demos/colsel1.c
Examining data/libforms-1.2.3/demos/folder.c
Examining data/libforms-1.2.3/demos/symbols.c
Examining data/libforms-1.2.3/demos/crossbut.h
Examining data/libforms-1.2.3/demos/new_popup.c
Examining data/libforms-1.2.3/demos/yesno.c
Examining data/libforms-1.2.3/demos/grav.c
Examining data/libforms-1.2.3/demos/demo.c
Examining data/libforms-1.2.3/demos/demotest2.c
Examining data/libforms-1.2.3/demos/freedraw_leak.c
Examining data/libforms-1.2.3/demos/inputall.c
Examining data/libforms-1.2.3/demos/scrollbar.c
Examining data/libforms-1.2.3/demos/sldsize.c
Examining data/libforms-1.2.3/demos/glwin.c
Examining data/libforms-1.2.3/demos/minput.c
Examining data/libforms-1.2.3/demos/positionerXOR.c
Examining data/libforms-1.2.3/demos/demo06.c
Examining data/libforms-1.2.3/demos/rescale.c
Examining data/libforms-1.2.3/demos/nmenu.c
Examining data/libforms-1.2.3/demos/multilabel.c
Examining data/libforms-1.2.3/demos/pmbrowse.c
Examining data/libforms-1.2.3/demos/sliderall.c
Examining data/libforms-1.2.3/demos/colsel.c
Examining data/libforms-1.2.3/demos/touchbutton.c
Examining data/libforms-1.2.3/demos/xyplotover.c
Examining data/libforms-1.2.3/demos/sld_radio.c
Examining data/libforms-1.2.3/demos/fbrowse.c
Examining data/libforms-1.2.3/demos/choice.c
Examining data/libforms-1.2.3/demos/counter.c
Examining data/libforms-1.2.3/demos/minput2.c
Examining data/libforms-1.2.3/demos/ndial.c
Examining data/libforms-1.2.3/demos/popup.c
Examining data/libforms-1.2.3/demos/secretinput.c
Examining data/libforms-1.2.3/demos/timeoutprec.c
Examining data/libforms-1.2.3/gl/glcanvas.c
Examining data/libforms-1.2.3/gl/glcanvas.h
Examining data/libforms-1.2.3/fd2ps/papers.c
Examining data/libforms-1.2.3/fd2ps/xbmtops.c
Examining data/libforms-1.2.3/fd2ps/image2ps.c
Examining data/libforms-1.2.3/fd2ps/pstext.c
Examining data/libforms-1.2.3/fd2ps/pscol.c
Examining data/libforms-1.2.3/fd2ps/psdraw.c
Examining data/libforms-1.2.3/fd2ps/load.c
Examining data/libforms-1.2.3/fd2ps/flsupport.c
Examining data/libforms-1.2.3/fd2ps/sys.c
Examining data/libforms-1.2.3/fd2ps/global.h
Examining data/libforms-1.2.3/fd2ps/psobj.c
Examining data/libforms-1.2.3/fd2ps/fd2ps.c
Examining data/libforms-1.2.3/fd2ps/readxpm.c
Examining data/libforms-1.2.3/fd2ps/xpmtops.c
Examining data/libforms-1.2.3/fd2ps/version.c
Examining data/libforms-1.2.3/fd2ps/align.c
Examining data/libforms-1.2.3/fd2ps/fd2ps.h
Examining data/libforms-1.2.3/fdesign/fd_printC.c
Examining data/libforms-1.2.3/fdesign/sp_button.h
Examining data/libforms-1.2.3/fdesign/fd_pallette.c
Examining data/libforms-1.2.3/fdesign/sp_browser.h
Examining data/libforms-1.2.3/fdesign/sp_scrollbar.h
Examining data/libforms-1.2.3/fdesign/sp_freeobj.c
Examining data/libforms-1.2.3/fdesign/fd_objects.c
Examining data/libforms-1.2.3/fdesign/fd_names.c
Examining data/libforms-1.2.3/fdesign/fd_help.h
Examining data/libforms-1.2.3/fdesign/fd_iconinfo.c
Examining data/libforms-1.2.3/fdesign/sp_twheel.h
Examining data/libforms-1.2.3/fdesign/sp_menu.h
Examining data/libforms-1.2.3/fdesign/sp_browser.c
Examining data/libforms-1.2.3/fdesign/fd_select.c
Examining data/libforms-1.2.3/fdesign/fd_util.c
Examining data/libforms-1.2.3/fdesign/sp_choice.h
Examining data/libforms-1.2.3/fdesign/fd_iconinfo.h
Examining data/libforms-1.2.3/fdesign/sp_slider.c
Examining data/libforms-1.2.3/fdesign/fd_file_fun.c
Examining data/libforms-1.2.3/fdesign/sp_positioner.h
Examining data/libforms-1.2.3/fdesign/fd_initforms.c
Examining data/libforms-1.2.3/fdesign/fd_main.h
Examining data/libforms-1.2.3/fdesign/fd_groups.c
Examining data/libforms-1.2.3/fdesign/fd_attribs.c
Examining data/libforms-1.2.3/fdesign/sp_pixmap.h
Examining data/libforms-1.2.3/fdesign/sp_xyplot.c
Examining data/libforms-1.2.3/fdesign/fd_help.c
Examining data/libforms-1.2.3/fdesign/fd_rubber.c
Examining data/libforms-1.2.3/fdesign/fd_forms.c
Examining data/libforms-1.2.3/fdesign/sp_xyplot.h
Examining data/libforms-1.2.3/fdesign/fd_control.c
Examining data/libforms-1.2.3/fdesign/sp_dial.c
Examining data/libforms-1.2.3/fdesign/fd_main.c
Examining data/libforms-1.2.3/fdesign/sp_pixmap.c
Examining data/libforms-1.2.3/fdesign/sp_counter.c
Examining data/libforms-1.2.3/fdesign/sp_freeobj.h
Examining data/libforms-1.2.3/fdesign/sp_button.c
Examining data/libforms-1.2.3/fdesign/sp_slider.h
Examining data/libforms-1.2.3/fdesign/fd_spec.c
Examining data/libforms-1.2.3/fdesign/sp_counter.h
Examining data/libforms-1.2.3/fdesign/sp_scrollbar.c
Examining data/libforms-1.2.3/fdesign/fd_file.c
Examining data/libforms-1.2.3/fdesign/sp_choice.c
Examining data/libforms-1.2.3/fdesign/sp_util.c
Examining data/libforms-1.2.3/fdesign/sp_dial.h
Examining data/libforms-1.2.3/fdesign/fd_spec.h
Examining data/libforms-1.2.3/fdesign/sp_menu.c
Examining data/libforms-1.2.3/fdesign/sp_spinner.h
Examining data/libforms-1.2.3/fdesign/fd_fake.c
Examining data/libforms-1.2.3/fdesign/spec/pixmap_spec.h
Examining data/libforms-1.2.3/fdesign/spec/scrollbar_spec.c
Examining data/libforms-1.2.3/fdesign/spec/spinner_spec.h
Examining data/libforms-1.2.3/fdesign/spec/slider_spec.h
Examining data/libforms-1.2.3/fdesign/spec/xyplot_spec.c
Examining data/libforms-1.2.3/fdesign/spec/choice_spec.c
Examining data/libforms-1.2.3/fdesign/spec/button_spec.h
Examining data/libforms-1.2.3/fdesign/spec/counter_spec.c
Examining data/libforms-1.2.3/fdesign/spec/button_spec.c
Examining data/libforms-1.2.3/fdesign/spec/browser_spec.h
Examining data/libforms-1.2.3/fdesign/spec/counter_spec.h
Examining data/libforms-1.2.3/fdesign/spec/positioner_spec.c
Examining data/libforms-1.2.3/fdesign/spec/spinner_spec.c
Examining data/libforms-1.2.3/fdesign/spec/slider_spec.c
Examining data/libforms-1.2.3/fdesign/spec/twheel_spec.h
Examining data/libforms-1.2.3/fdesign/spec/browser_spec.c
Examining data/libforms-1.2.3/fdesign/spec/freeobj_spec.c
Examining data/libforms-1.2.3/fdesign/spec/menu_spec.h
Examining data/libforms-1.2.3/fdesign/spec/xyplot_spec.h
Examining data/libforms-1.2.3/fdesign/spec/positioner_spec.h
Examining data/libforms-1.2.3/fdesign/spec/twheel_spec.c
Examining data/libforms-1.2.3/fdesign/spec/scrollbar_spec.h
Examining data/libforms-1.2.3/fdesign/spec/pixmap_spec.c
Examining data/libforms-1.2.3/fdesign/spec/dial_spec.c
Examining data/libforms-1.2.3/fdesign/spec/menu_spec.c
Examining data/libforms-1.2.3/fdesign/spec/freeobj_spec.h
Examining data/libforms-1.2.3/fdesign/spec/dial_spec.h
Examining data/libforms-1.2.3/fdesign/spec/choice_spec.h
Examining data/libforms-1.2.3/fdesign/sp_positioner.c
Examining data/libforms-1.2.3/fdesign/fd_super.c
Examining data/libforms-1.2.3/fdesign/fd/ui_theforms.h
Examining data/libforms-1.2.3/fdesign/fd/ui_attrib.h
Examining data/libforms-1.2.3/fdesign/fd/ui_attrib.c
Examining data/libforms-1.2.3/fdesign/fd/pallette.h
Examining data/libforms-1.2.3/fdesign/fd/pallette.c
Examining data/libforms-1.2.3/fdesign/fd/ui_theforms.c
Examining data/libforms-1.2.3/fdesign/sp_spinner.c
Examining data/libforms-1.2.3/fdesign/sp_twheel.c
Examining data/libforms-1.2.3/lib/flsnprintf.c
Examining data/libforms-1.2.3/lib/fonts.c
Examining data/libforms-1.2.3/lib/scrollbut.c
Examining data/libforms-1.2.3/lib/readint.c
Examining data/libforms-1.2.3/lib/win.c
Examining data/libforms-1.2.3/lib/vms_readdir.c
Examining data/libforms-1.2.3/lib/private/pmenu.h
Examining data/libforms-1.2.3/lib/private/pbrowser.h
Examining data/libforms-1.2.3/lib/private/pdial.h
Examining data/libforms-1.2.3/lib/private/pscrollbar.h
Examining data/libforms-1.2.3/lib/private/pslider.h
Examining data/libforms-1.2.3/lib/private/pnmenu.h
Examining data/libforms-1.2.3/lib/private/pvaluator.h
Examining data/libforms-1.2.3/lib/private/pcounter.h
Examining data/libforms-1.2.3/lib/private/ptbox.h
Examining data/libforms-1.2.3/lib/private/flsnprintf.h
Examining data/libforms-1.2.3/lib/private/pformbrowser.h
Examining data/libforms-1.2.3/lib/private/pspinner.h
Examining data/libforms-1.2.3/lib/private/pcanvas.h
Examining data/libforms-1.2.3/lib/private/pselect.h
Examining data/libforms-1.2.3/lib/private/ptwheel.h
Examining data/libforms-1.2.3/lib/private/pinput.h
Examining data/libforms-1.2.3/lib/private/ppositioner.h
Examining data/libforms-1.2.3/lib/private/pflps.h
Examining data/libforms-1.2.3/lib/private/pchoice.h
Examining data/libforms-1.2.3/lib/private/pxyplot.h
Examining data/libforms-1.2.3/lib/private/flvasprintf.h
Examining data/libforms-1.2.3/lib/interpol.c
Examining data/libforms-1.2.3/lib/clipboard.c
Examining data/libforms-1.2.3/lib/goodies.c
Examining data/libforms-1.2.3/lib/cursor.c
Examining data/libforms-1.2.3/lib/tooltip.c
Examining data/libforms-1.2.3/lib/strdup.c
Examining data/libforms-1.2.3/lib/formbrowser.c
Examining data/libforms-1.2.3/lib/signal.c
Examining data/libforms-1.2.3/lib/pixmap.c
Examining data/libforms-1.2.3/lib/util.c
Examining data/libforms-1.2.3/lib/goodie_choice.c
Examining data/libforms-1.2.3/lib/thumbwheel.c
Examining data/libforms-1.2.3/lib/valuator.c
Examining data/libforms-1.2.3/lib/combo.c
Examining data/libforms-1.2.3/lib/timer.c
Examining data/libforms-1.2.3/lib/read4lsb.c
Examining data/libforms-1.2.3/lib/space.c
Examining data/libforms-1.2.3/lib/lightbut.c
Examining data/libforms-1.2.3/lib/checkbut.c
Examining data/libforms-1.2.3/lib/sldraw.c
Examining data/libforms-1.2.3/lib/appwin.c
Examining data/libforms-1.2.3/lib/cmd_br.c
Examining data/libforms-1.2.3/lib/roundbut.c
Examining data/libforms-1.2.3/lib/extern.h
Examining data/libforms-1.2.3/lib/text.c
Examining data/libforms-1.2.3/lib/canvas.c
Examining data/libforms-1.2.3/lib/dmalloc.h
Examining data/libforms-1.2.3/lib/read4msb.c
Examining data/libforms-1.2.3/lib/labelbut.c
Examining data/libforms-1.2.3/lib/positioner.c
Examining data/libforms-1.2.3/lib/dial.c
Examining data/libforms-1.2.3/lib/errmsg.c
Examining data/libforms-1.2.3/lib/ulib.h
Examining data/libforms-1.2.3/lib/keyboard.c
Examining data/libforms-1.2.3/lib/asyn_io.c
Examining data/libforms-1.2.3/lib/menu.c
Examining data/libforms-1.2.3/lib/browser.c
Examining data/libforms-1.2.3/lib/flcolor.c
Examining data/libforms-1.2.3/lib/goodie_sinput.c
Examining data/libforms-1.2.3/lib/button.c
Examining data/libforms-1.2.3/lib/handling.c
Examining data/libforms-1.2.3/lib/fselect.c
Examining data/libforms-1.2.3/lib/events.c
Examining data/libforms-1.2.3/lib/xsupport.c
Examining data/libforms-1.2.3/lib/select.c
Examining data/libforms-1.2.3/lib/frame.c
Examining data/libforms-1.2.3/lib/oneliner.c
Examining data/libforms-1.2.3/lib/read2msbf.c
Examining data/libforms-1.2.3/lib/lframe.c
Examining data/libforms-1.2.3/lib/include/slider.h
Examining data/libforms-1.2.3/lib/include/cursor.h
Examining data/libforms-1.2.3/lib/include/nmenu.h
Examining data/libforms-1.2.3/lib/include/canvas.h
Examining data/libforms-1.2.3/lib/include/Basic.h
Examining data/libforms-1.2.3/lib/include/spinner.h
Examining data/libforms-1.2.3/lib/include/select.h
Examining data/libforms-1.2.3/lib/include/popup.h
Examining data/libforms-1.2.3/lib/include/xyplot.h
Examining data/libforms-1.2.3/lib/include/button.h
Examining data/libforms-1.2.3/lib/include/scrollbar.h
Examining data/libforms-1.2.3/lib/include/tabfolder.h
Examining data/libforms-1.2.3/lib/include/frame.h
Examining data/libforms-1.2.3/lib/include/timer.h
Examining data/libforms-1.2.3/lib/include/clipbd.h
Examining data/libforms-1.2.3/lib/include/menu.h
Examining data/libforms-1.2.3/lib/include/counter.h
Examining data/libforms-1.2.3/lib/include/filesys.h
Examining data/libforms-1.2.3/lib/include/xpopup.h
Examining data/libforms-1.2.3/lib/include/bitmap.h
Examining data/libforms-1.2.3/lib/include/browser.h
Examining data/libforms-1.2.3/lib/include/XBasic.h
Examining data/libforms-1.2.3/lib/include/clock.h
Examining data/libforms-1.2.3/lib/include/input.h
Examining data/libforms-1.2.3/lib/include/box.h
Examining data/libforms-1.2.3/lib/include/flps.h
Examining data/libforms-1.2.3/lib/include/chart.h
Examining data/libforms-1.2.3/lib/include/goodies.h
Examining data/libforms-1.2.3/lib/include/formbrowser.h
Examining data/libforms-1.2.3/lib/include/positioner.h
Examining data/libforms-1.2.3/lib/include/thumbwheel.h
Examining data/libforms-1.2.3/lib/include/choice.h
Examining data/libforms-1.2.3/lib/include/text.h
Examining data/libforms-1.2.3/lib/include/zzz.h
Examining data/libforms-1.2.3/lib/include/free.h
Examining data/libforms-1.2.3/lib/include/dial.h
Examining data/libforms-1.2.3/lib/xdraw.c
Examining data/libforms-1.2.3/lib/dirent_vms.h
Examining data/libforms-1.2.3/lib/symbols.c
Examining data/libforms-1.2.3/lib/forms.c
Examining data/libforms-1.2.3/lib/free.c
Examining data/libforms-1.2.3/lib/spinner.c
Examining data/libforms-1.2.3/lib/scrollbar.c
Examining data/libforms-1.2.3/lib/local.h
Examining data/libforms-1.2.3/lib/sysdep.c
Examining data/libforms-1.2.3/lib/flresource.c
Examining data/libforms-1.2.3/lib/goodie_alert.c
Examining data/libforms-1.2.3/lib/goodie_yesno.c
Examining data/libforms-1.2.3/lib/nmenu.c
Examining data/libforms-1.2.3/lib/input.c
Examining data/libforms-1.2.3/lib/read2lsbf.c
Examining data/libforms-1.2.3/lib/clock.c
Examining data/libforms-1.2.3/lib/goodie_msg.c
Examining data/libforms-1.2.3/lib/chart.c
Examining data/libforms-1.2.3/lib/bitmap.c
Examining data/libforms-1.2.3/lib/child.c
Examining data/libforms-1.2.3/lib/colsel.c
Examining data/libforms-1.2.3/lib/xtext.c
Examining data/libforms-1.2.3/lib/tbox.c
Examining data/libforms-1.2.3/lib/flvisual.c
Examining data/libforms-1.2.3/lib/display.c
Examining data/libforms-1.2.3/lib/round3d.c
Examining data/libforms-1.2.3/lib/timeout.c
Examining data/libforms-1.2.3/lib/choice.c
Examining data/libforms-1.2.3/lib/goodie_input.c
Examining data/libforms-1.2.3/lib/counter.c
Examining data/libforms-1.2.3/lib/global.c
Examining data/libforms-1.2.3/lib/box.c
Examining data/libforms-1.2.3/lib/popup.c
Examining data/libforms-1.2.3/lib/slider.c
Examining data/libforms-1.2.3/lib/xpopup.c
Examining data/libforms-1.2.3/lib/xyplot.c
Examining data/libforms-1.2.3/lib/version.c
Examining data/libforms-1.2.3/lib/listdir.c
Examining data/libforms-1.2.3/lib/align.c
Examining data/libforms-1.2.3/lib/tabfolder.c
Examining data/libforms-1.2.3/lib/fldraw.c
Examining data/libforms-1.2.3/lib/fd/cmdbr.h
Examining data/libforms-1.2.3/lib/fd/cmdbr.c
Examining data/libforms-1.2.3/lib/vn_pair.c
Examining data/libforms-1.2.3/lib/flinternal.h
Examining data/libforms-1.2.3/lib/objects.c

FINAL RESULTS:

data/libforms-1.2.3/demos/browserall.c:133:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "In %s [%s]: ", bnames[ arg ], mb[ i - FL_LEFT_MOUSE ] );
data/libforms-1.2.3/demos/browserall.c:135:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "In %s: ", bnames[ arg ] );
data/libforms-1.2.3/demos/browserall.c:139: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( buf, fl_get_browser_line( ob, i > 0 ? i : -i ) );
data/libforms-1.2.3/demos/browserall.c:140: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( buf, i > 0 ? " was selected" : " was deselected." );
data/libforms-1.2.3/demos/butttypes.c:60:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf( buf, "%s callback called: %d", ob->label, fl_get_button( ob ) );
data/libforms-1.2.3/demos/canvas.c:113:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buf, "Button%s: %d", ev->type == ButtonPress? "Press" : "Release",
data/libforms-1.2.3/demos/colbrowser.c:84: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( dbname, rgbfile );
data/libforms-1.2.3/demos/colbrowser.c:91: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( dbname, rgbfile_2 );
data/libforms-1.2.3/demos/colbrowser.c:229:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( buf, "(%3d %3d %3d) %s", r, g, b, name );
data/libforms-1.2.3/demos/colbrowser.c:337: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( buf, p );
data/libforms-1.2.3/demos/colbrowser.c:340: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( dbname, buf );
data/libforms-1.2.3/demos/demo.c:74:25:  [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).
        putenv( strcat( strcat( strcpy( buf, "PATH=" ), p ), ":." ) );
data/libforms-1.2.3/demos/demo.c:143: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( menus[ mennumb ].name, nnn );
data/libforms-1.2.3/demos/demo.c:169:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( menus[ n ].iname[ menus[ n ].numb ], item );
data/libforms-1.2.3/demos/demo.c:170: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( menus[ n ].icommand[ menus[ n ].numb ], comm );
data/libforms-1.2.3/demos/demo.c:274: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( stack[ stsize ], nnn );
data/libforms-1.2.3/demos/demo.c:325: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( cmd, menus[ men ].icommand[ bn ] );
data/libforms-1.2.3/demos/demo.c:327: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( strcat( cmd, " " ), vv[ i ] );
data/libforms-1.2.3/demos/demotest2.c:80: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(str1, ( s = fl_show_input( "Give a string:", "" ) ) ? s: "" );
data/libforms-1.2.3/demos/demotest2.c:103:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( str2, ( s = fl_show_input( "Give another string:", str1 ) ) ?
data/libforms-1.2.3/demos/dirlist.c:58:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "%-10s\t\t%5ldK\t%s", dl->name, dl->dl_size >> 10,
data/libforms-1.2.3/demos/goodies.c:77: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( str1, ( s = fl_show_input( "Enter a string:","" ) ) ? s : "" );
data/libforms-1.2.3/demos/goodies.c:99: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( str2,
data/libforms-1.2.3/demos/ibrowser.c:60:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
     sprintf( buf, "%s(%s): (%dX%d) t=%s ot=%s dt=%s cols=%d used=%d %s",
data/libforms-1.2.3/demos/ibrowser.c:616: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( buf, s );
data/libforms-1.2.3/demos/ibrowser.c:619:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf,"%s %3.0f%% (%4d of %4d)", s,
data/libforms-1.2.3/demos/ibrowser.c:624:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
         strcpy( buf, s );
data/libforms-1.2.3/demos/itest.c:595:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( file,"%s/%s", d, f );
data/libforms-1.2.3/demos/popup.c:96:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buf, "item %d (%s) selected",
data/libforms-1.2.3/demos/popup.c:138:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buf, "Entered %d (%s)",
data/libforms-1.2.3/demos/popup.c:180:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buf,"Item %d (%s) selected",
data/libforms-1.2.3/demos/popup.c:214:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buf, "Entered %d (%s)", n, pup_entries[ n - 1 ].text );
data/libforms-1.2.3/demos/popup.c:284:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buf, "%d (%s) selected",
data/libforms-1.2.3/demos/preemptive.c:80:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf( buf,"%s %s", "FL_ENTER", what );
data/libforms-1.2.3/demos/preemptive.c:89:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf( buf,"%s %s", "FL_LEAVE", what);
data/libforms-1.2.3/demos/preemptive.c:99:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf( buf,"%s %s", "FL_PUSH", what );
data/libforms-1.2.3/demos/preemptive.c:108:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf( buf,"%s %s", "FL_RELEASE", what );
data/libforms-1.2.3/demos/pup.c:148:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "Returned %ld (%s)", r->val, r->label );
data/libforms-1.2.3/demos/pup.c:323:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf( buf, "%d (%s)", fl_get_menu( ob ), fl_get_menu_text( ob ) );
data/libforms-1.2.3/demos/secretinput.c:67:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
       sprintf( str, "Password 1 is: %s\n, Password 2 is: %s",
data/libforms-1.2.3/demos/symbols.c:98: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( strcpy( buf, "@" ) , *p );
data/libforms-1.2.3/fd2ps/fd2ps.c:105:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( inname, argv[ n ] );
data/libforms-1.2.3/fd2ps/fd2ps.c:110: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, argv[ ++n ] );
data/libforms-1.2.3/fd2ps/fd2ps.c:113: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, inname );
data/libforms-1.2.3/fd2ps/fd2ps.c:116: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( outname, psinfo.eps ? ".eps" : ".ps" );
data/libforms-1.2.3/fd2ps/image2ps.c:64: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( pscmd, ps_literal( ( cmt && *cmt ) ? cmt : "startColorImage" ) );
data/libforms-1.2.3/fd2ps/image2ps.c:149: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( pscmd, ps_literal( ( cmt && *cmt ) ? cmt : "startGrayImage" ) );
data/libforms-1.2.3/fd2ps/load.c:232: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, buf );
data/libforms-1.2.3/fd2ps/load.c:235:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy( val, p + 2 );
data/libforms-1.2.3/fd2ps/load.c:509: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( cbname, val );
data/libforms-1.2.3/fd2ps/load.c:511: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, val );
data/libforms-1.2.3/fd2ps/load.c:827:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( lstyle, cc );
data/libforms-1.2.3/fd2ps/load.c:895: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( s, cc );
data/libforms-1.2.3/fd2ps/load.c:924:29:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    return ( p == s ) ? s : strcpy( s, p );
data/libforms-1.2.3/fd2ps/psdraw.c:69:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf( buf, fmt, args );
data/libforms-1.2.3/fd2ps/psdraw.c:146:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf( flps->fp, fmt, args );
data/libforms-1.2.3/fd2ps/psobj.c:469: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( obj->label + n + 1, q + n );
data/libforms-1.2.3/fd2ps/psobj.c:2109: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( str, sp->content[ i ] );
data/libforms-1.2.3/fd2ps/readxpm.c:200: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( map[ icol ].key,  key );
data/libforms-1.2.3/fd2ps/readxpm.c:201: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( map[ icol ].name, val );
data/libforms-1.2.3/fd2ps/readxpm.c:385: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( lname, db->name );
data/libforms-1.2.3/fd2ps/sys.c:42: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( buf, asctime( localtime( &t ) ) );
data/libforms-1.2.3/fd2ps/sys.c:78: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).
    return p ? strcpy( p, s ) : NULL;
data/libforms-1.2.3/fd2ps/version.c:77: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( buf, *q );
data/libforms-1.2.3/fdesign/fd_attribs.c:566:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( tmpbuf, "FL_ALIGN_%s",
data/libforms-1.2.3/fdesign/fd_attribs.c:577:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( tmpbuf, "FL_%s",
data/libforms-1.2.3/fdesign/fd_attribs.c:581:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( tmpbuf, "FL_%s",
data/libforms-1.2.3/fdesign/fd_attribs.c:590:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( tmpbuf, "FL_%s", fl_get_choice_text( fd_generic_attrib->resize ) );
data/libforms-1.2.3/fdesign/fd_control.c:280:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "%s%%%c", opmenu[ n ].entry,
data/libforms-1.2.3/fdesign/fd_control.c:402:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf( tmpbuf, m->entry, convertor[ fdopt.language ].lang_name );
data/libforms-1.2.3/fdesign/fd_control.c:406:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "%s%%%c", m->entry, * ( m->p ) ? 'B' : 'b' );
data/libforms-1.2.3/fdesign/fd_control.c:478:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "%s",
data/libforms-1.2.3/fdesign/fd_control.c:496:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "%s", *objname ? objname : "<no name>" );
data/libforms-1.2.3/fdesign/fd_control.c:505:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( buf, "%s(%s)", cbname, argname );
data/libforms-1.2.3/fdesign/fd_file.c:626:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf( tmp, "Invalid type for object class: %s",
data/libforms-1.2.3/fdesign/fd_file_fun.c:700:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( align_name, "%s|%s", a1, a2 );
data/libforms-1.2.3/fdesign/fd_file_fun.c:773:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( lstyle_name, "%s|%s", l1, l2 );
data/libforms-1.2.3/fdesign/fd_forms.c:240: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( forms[ fnumb ].fname, s );
data/libforms-1.2.3/fdesign/fd_forms.c:463: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( fname, fn );
data/libforms-1.2.3/fdesign/fd_forms.c:746:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( filename, str );
data/libforms-1.2.3/fdesign/fd_forms.c:751: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( fname, filename );
data/libforms-1.2.3/fdesign/fd_forms.c:825: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( optbuf, fdopt.output_dir );
data/libforms-1.2.3/fdesign/fd_forms.c:828:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( cmdbuf, "%s %s%s", conv->extern_convertor, optbuf, filename );
data/libforms-1.2.3/fdesign/fd_forms.c:833:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            if ( ( status = system( cmdbuf ) ) )
data/libforms-1.2.3/fdesign/fd_groups.c:134:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( name, s );
data/libforms-1.2.3/fdesign/fd_iconinfo.c:377: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( info->width, res );
data/libforms-1.2.3/fdesign/fd_iconinfo.c:382: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( info->height, res );
data/libforms-1.2.3/fdesign/fd_iconinfo.c:387: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( info->data, res );
data/libforms-1.2.3/fdesign/fd_iconinfo.c:420: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( in, res );
data/libforms-1.2.3/fdesign/fd_main.c:169: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( main_name, s );
data/libforms-1.2.3/fdesign/fd_main.c:361:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf( str, "Called: %s( %s, %s );", cbname, name, argname );
data/libforms-1.2.3/fdesign/fd_main.c:363:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf( str, "Returned: %s", name );
data/libforms-1.2.3/fdesign/fd_main.c:624: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( filter, argv[ ++i ] );
data/libforms-1.2.3/fdesign/fd_main.c:628: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( xform_header, argv[ i ] + 2 );
data/libforms-1.2.3/fdesign/fd_main.c:630: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( xform_header, argv[ ++i ] );
data/libforms-1.2.3/fdesign/fd_main.c:633: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( glcanvas_header, argv[ ++i ] );
data/libforms-1.2.3/fdesign/fd_main.c:651: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( fdopt.output_dir, argv[ i ] );
data/libforms-1.2.3/fdesign/fd_main.c:946: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.
         && access( tmp = append_fd_suffix( argv[ argc - 1 ] ), R_OK ) == 0 )
data/libforms-1.2.3/fdesign/fd_names.c:111: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, on == -1 ? "" : objects[ on ].name );
data/libforms-1.2.3/fdesign/fd_names.c:114: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( cbname, on == -1 ? "" : objects[ on ].cbname );
data/libforms-1.2.3/fdesign/fd_names.c:117:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy( argname, on == -1 ? "" : objects[ on ].argname );
data/libforms-1.2.3/fdesign/fd_objects.c:104: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( classes[ cnumb ].cname, name );
data/libforms-1.2.3/fdesign/fd_objects.c:105:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( classes[ cnumb ].formal_cname, formal_name );
data/libforms-1.2.3/fdesign/fd_objects.c:158: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( classes[ i ].types[ tn ].tname, name );
data/libforms-1.2.3/fdesign/fd_printC.c:55:10:  [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( s, R_OK ) )
data/libforms-1.2.3/fdesign/fd_printC.c:63:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buf, "%s.bak", s );
data/libforms-1.2.3/fdesign/fd_printC.c:588: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( buf, pure_style_name( lstyle ) );
data/libforms-1.2.3/fdesign/fd_printC.c:590: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( strcat( buf, " + " ), pure_style_name( spstyle ) );
data/libforms-1.2.3/fdesign/fd_printC.c:609: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( spstyle, p + 1 );
data/libforms-1.2.3/fdesign/fd_printC.c:686: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( buf, get_vn_name( vn_align, fl_to_outside_lalign( val ) ) );
data/libforms-1.2.3/fdesign/fd_printC.c:689: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( buf, with_spaces ? " | " : "|" );
data/libforms-1.2.3/fdesign/fd_printC.c:797: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( tmpstr, aname );
data/libforms-1.2.3/fdesign/fd_printC.c:818: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( arnames[ anumb ], tmpstr);
data/libforms-1.2.3/fdesign/fd_printC.c:872:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( fdtname, "FD_%s", form_name );
data/libforms-1.2.3/fdesign/fd_printC.c:954: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( fdtname, get_fd_name( fname ) );
data/libforms-1.2.3/fdesign/fd_printC.c:1035:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf( fn, first ? "FL_OBJECT\n" : ",\n" );
data/libforms-1.2.3/fdesign/fd_printC.c:1044:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf( fn, first ? "FL_OBJECT\n" : ",\n");
data/libforms-1.2.3/fdesign/fd_printC.c:1049:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf( fn, first ? "\n" : ";\n\n" );
data/libforms-1.2.3/fdesign/fd_printC.c:1140: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( buf, ob->c_vdata );
data/libforms-1.2.3/fdesign/fd_printC.c:1142:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "freeobj_%s_handle", name );
data/libforms-1.2.3/fdesign/fd_printC.c:1144:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "freeobj_%s_handle", ob->label );
data/libforms-1.2.3/fdesign/fd_printC.c:1252:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( fdtname, "FD_%s", fname );
data/libforms-1.2.3/fdesign/fd_printC.c:1302:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf( fn, first ? "extern FL_OBJECT\n" : ",\n" );
data/libforms-1.2.3/fdesign/fd_printC.c:1311:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf( fn, first ? "extern FL_OBJECT\n" : ",\n" );
data/libforms-1.2.3/fdesign/fd_printC.c:1401:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( fdtname, "FD_%s", fname );
data/libforms-1.2.3/fdesign/fd_spec.c:1065: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( info->filename, p );
data/libforms-1.2.3/fdesign/fd_spec.c:1092: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( info->focus_filename, p );
data/libforms-1.2.3/fdesign/fd_spec.c:1138: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( info->data, p );
data/libforms-1.2.3/fdesign/fd_spec.c:1166: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( info->focus_data, p );
data/libforms-1.2.3/fdesign/fd_spec.c:1213: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( info->width, p );
data/libforms-1.2.3/fdesign/fd_spec.c:1237: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( info->height, p );
data/libforms-1.2.3/fdesign/fd_spec.c:1750:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf( tmp, "Read invalid object specific key: %s", key );
data/libforms-1.2.3/fdesign/fd_spec.c:2094: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( buf, s );
data/libforms-1.2.3/fdesign/fd_spec.c:2096: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( strcpy( buf, "FL_" ), s );
data/libforms-1.2.3/fdesign/fd_util.c:161: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( strcat( abs_path, "/" ), rel_path );
data/libforms-1.2.3/fdesign/sp_button.c:485: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( info->filename, fl_get_input( ob ) );
data/libforms-1.2.3/fdesign/sp_button.c:517: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( info->focus_filename, fl_get_input( obj ) );
data/libforms-1.2.3/fdesign/sp_freeobj.c:74:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy( ori_handle_name, obj->c_vdata );
data/libforms-1.2.3/fdesign/sp_freeobj.c:177: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( buf, obj->c_vdata );
data/libforms-1.2.3/fdesign/sp_freeobj.c:179:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "freeobj_%s_handle", name );
data/libforms-1.2.3/fdesign/sp_freeobj.c:181:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "freeobj_%s_handle", obj->label );
data/libforms-1.2.3/fdesign/sp_menu.c:343:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( pupname, "fdmenu_%s_%d", objname, n );
data/libforms-1.2.3/fdesign/sp_menu.c:345:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( pupname, "fdmenu_%s_%d", obj->label, n );
data/libforms-1.2.3/fdesign/sp_pixmap.c:289: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( info->filename, fl_get_input( obj ) );
data/libforms-1.2.3/fdesign/sp_util.c:241: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( strcat( buf, with_spaces ? " | " : "|" ), hr->name );
data/libforms-1.2.3/fdesign/sp_util.c:241:21:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat( strcat( buf, with_spaces ? " | " : "|" ), hr->name );
data/libforms-1.2.3/image/image.c:326:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buf, "Done Reading %s", image->fmt_name );
data/libforms-1.2.3/image/image.c:429:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buf, "Done Reading multi-frame %s", image->fmt_name );
data/libforms-1.2.3/image/image.c:488:17:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
                strcat( strcat( image->outfile, "." ), io->extension );
data/libforms-1.2.3/image/image.c:1247: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( im->comments + im->comments_len, s );
data/libforms-1.2.3/image/image.c:1395: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( im->infile = infile, sim->infile );
data/libforms-1.2.3/image/image.c:1396: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( im->outfile = outfile, sim->outfile );
data/libforms-1.2.3/image/image.c:1717: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( retbuf, fli_get_vn_name( fonts_vn, style ) );
data/libforms-1.2.3/image/image.c:1720: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).
    return strcat( strcat( retbuf, " " ), font_spstyle );
data/libforms-1.2.3/image/image_bmp.c:126: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( im->info,buf );
data/libforms-1.2.3/image/image_bmp.c:131: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( im->info,buf );
data/libforms-1.2.3/image/image_bmp.c:134:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buf,"Encoding=%s", encoding[ sp->encode ] );
data/libforms-1.2.3/image/image_bmp.c:135: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( im->info,buf );
data/libforms-1.2.3/image/image_convolve.c:355:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buf, "%s done", what );
data/libforms-1.2.3/image/image_disp.c:319:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf( stderr, "rshift: %d gshift: %d bshift: %d\n"a,
data/libforms-1.2.3/image/image_fits.c:183:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf[ i++ ], "   NAXIS%d=%d\t%s", j + 1, h->dim[ j ],
data/libforms-1.2.3/image/image_fits.c:191:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buf[ i++ ], "BUNIT\t=%s", h->bunit );
data/libforms-1.2.3/image/image_fits.c:213:17:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat( strcat( im->info, *q ),"\n" );
data/libforms-1.2.3/image/image_fits.c:416:9:  [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.
        sscanf( buf, "%[A-Z0-9]%*[ =]%s", key, val );
data/libforms-1.2.3/image/image_fits.c:432: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( h->bunit, val );
data/libforms-1.2.3/image/image_fits.c:451: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( h->xtname, val );
data/libforms-1.2.3/image/image_fits.c:467:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy( h->label[ i - 1 ], fli_space_de( val ) );
data/libforms-1.2.3/image/image_fits.c:471: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( h->label[ i - 1 ], fli_space_de( val ) );
data/libforms-1.2.3/image/image_gif.c:219:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
   strcat( im->info,buf );
data/libforms-1.2.3/image/image_gif.c:221:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
   strcat( im->info, buf );
data/libforms-1.2.3/image/image_gif.c:223:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
   strcat( im->info, buf );
data/libforms-1.2.3/image/image_io_filter.c:122: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.
        status = system( cmd );
data/libforms-1.2.3/image/image_io_filter.c:146: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( cmd, im->infile );
data/libforms-1.2.3/image/image_io_filter.c:147: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( im->infile, tmpf );
data/libforms-1.2.3/image/image_io_filter.c:168: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( im->infile, cmd );
data/libforms-1.2.3/image/image_io_filter.c:245:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( ofile, im->outfile );
data/libforms-1.2.3/image/image_io_filter.c:246: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( im->outfile, tmpf );
data/libforms-1.2.3/image/image_io_filter.c:272: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.
        status = system( cmd );
data/libforms-1.2.3/image/image_io_filter.c:276: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( im->outfile, ofile );
data/libforms-1.2.3/image/image_pnm.c:361:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf( fp, is_gray16 ? "%4d " : "%4d", *gray );
data/libforms-1.2.3/image/image_postscript.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( tmpf, im->infile );
data/libforms-1.2.3/image/image_postscript.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( im->infile, name );
data/libforms-1.2.3/image/image_postscript.c:172: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( im->infile, tmpf );
data/libforms-1.2.3/image/image_postscript.c:259:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if ( ( status = system( cmd ) ) )
data/libforms-1.2.3/image/image_postscript.c:702:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf( sp->fp, sp->comment ? " %%StartOfMultiImage {\n" : "" );
data/libforms-1.2.3/image/image_tiff.c:1069: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).
    if ( ! *strcpy( doc,
data/libforms-1.2.3/image/image_xpm.c:241: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( map[ icol ].key, key );
data/libforms-1.2.3/image/image_xpm.c:370:29:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    p = get_xpm_pixel_name( strcpy( name, im->outfile ) );
data/libforms-1.2.3/image/image_xpm.c:399: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( map[ i ].key, cpp == 1 ? " " : "  " );
data/libforms-1.2.3/image/image_xwd.c:190: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( im->info, buf );
data/libforms-1.2.3/image/image_xwd.c:194: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( im->info, buf );
data/libforms-1.2.3/image/image_xwd.c:197: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( im->info, buf );
data/libforms-1.2.3/image/postscript.c:457:25:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                label = strcpy( buf, sp->axtic[ i ] );
data/libforms-1.2.3/image/postscript.c:569:25:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                label = strcpy( buf, sp->aytic[ i ] );
data/libforms-1.2.3/image/ps_core.c:153:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf( buf, fmt, args );
data/libforms-1.2.3/lib/choice.c:257:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy( t, ob->label );
data/libforms-1.2.3/lib/clock.c:205:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "%d:%02d:%02d %s", hours > 12 ? hours - 12 : hours,
data/libforms-1.2.3/lib/cmd_br.c:296:5:  [4] (shell) execl:
  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.
    execl( cmd_token[ 0 ],
data/libforms-1.2.3/lib/cmd_br.c:319:22:  [4] (shell) execl:
  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.
#define  fl_execl    execl
data/libforms-1.2.3/lib/counter.c:112: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( str, sp->filter( ob, sp->val, sp->prec ) );
data/libforms-1.2.3/lib/flresource.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( fli_cntl.vname, fli_vclass_name( cntl->vclass ) );
data/libforms-1.2.3/lib/flresource.c:331: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( OpCoordUnit, cu );
data/libforms-1.2.3/lib/flresource.c:422: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( rbuf, rstr );
data/libforms-1.2.3/lib/flsnprintf.c:330:31:  [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.
#define fli_portable_snprintf snprintf
data/libforms-1.2.3/lib/flsnprintf.c:332:32:  [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.
#define fli_portable_vsnprintf vsnprintf
data/libforms-1.2.3/lib/flsnprintf.c:1051:43:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                             str_arg_l += sprintf( tmp + str_arg_l,
data/libforms-1.2.3/lib/flsnprintf.c:1059:51:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                     str_arg_l += sprintf( tmp + str_arg_l,
data/libforms-1.2.3/lib/flsnprintf.c:1064:51:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                     str_arg_l += sprintf( tmp + str_arg_l, f,
data/libforms-1.2.3/lib/flsnprintf.c:1070:51:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                     str_arg_l += sprintf( tmp + str_arg_l,
data/libforms-1.2.3/lib/fonts.c:122: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( flf->fname, *f );
data/libforms-1.2.3/lib/fonts.c:226: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( flf->fname, name );
data/libforms-1.2.3/lib/fonts.c:316: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( fli_curfnt, get_fname( flf->fname, size ) );
data/libforms-1.2.3/lib/fonts.c:638:15:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    for ( q = strcpy( fname, f ); *q && ! isalnum( ( unsigned char ) *q ); q++ )
data/libforms-1.2.3/lib/fselect.c:280:27:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            append_slash( strcpy( fs->retname, fs->dname ) );
data/libforms-1.2.3/lib/fselect.c:283: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).
        return strcat( fs->retname, f );
data/libforms-1.2.3/lib/fselect.c:334: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( append_slash( lfs->dname ), seltext );
data/libforms-1.2.3/lib/fselect.c:346: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( lfs->filename, seltext );
data/libforms-1.2.3/lib/fselect.c:396: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( fs->dname, tmpdir );
data/libforms-1.2.3/lib/fselect.c:857: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( fs->dname, dir );
data/libforms-1.2.3/lib/fselect.c:1071: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( str, rep );
data/libforms-1.2.3/lib/fselect.c:1072: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( str, d );
data/libforms-1.2.3/lib/fselect.c:1096: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( buf, dir );
data/libforms-1.2.3/lib/goodie_alert.c:187:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buf, "%s\n%s", str1 ? str1 : "", str2 ? str2 : "" );
data/libforms-1.2.3/lib/goodie_choice.c:208:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buf, "%s\n%s\n%s",
data/libforms-1.2.3/lib/input.c:1189:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy( sp->str, tmpbuf );
data/libforms-1.2.3/lib/input.c:2474: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( strcpy( sepsep, ssep ), ssep );
data/libforms-1.2.3/lib/input.c:2474: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).
    strcat( strcpy( sepsep, ssep ), ssep );
data/libforms-1.2.3/lib/listdir.c:247: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( strcpy( fname, cdir), d_name );
data/libforms-1.2.3/lib/listdir.c:247: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).
    strcat( strcpy( fname, cdir), d_name );
data/libforms-1.2.3/lib/listdir.c:300: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( strcpy( fname, cdir ), c_file->name );
data/libforms-1.2.3/lib/listdir.c:300: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).
        strcat( strcpy( fname, cdir ), c_file->name );
data/libforms-1.2.3/lib/listdir.c:606: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).
    i = strlen( strcpy( okdir, dir ) );
data/libforms-1.2.3/lib/listdir.c:694: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( ldir, dir );
data/libforms-1.2.3/lib/listdir.c:794: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( dir, ( q = getenv( "HOME" ) ) ? q : "/" );
data/libforms-1.2.3/lib/listdir.c:802: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( dir, p ? p->pw_dir : "/" );
data/libforms-1.2.3/lib/listdir.c:812: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( strcat( dir, "/" ), one );
data/libforms-1.2.3/lib/menu.c:125:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( s, "%s%%x%d%s", sp->items[ i ], sp->mval[ i ],
data/libforms-1.2.3/lib/objects.c:1085: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( obj->label, label );
data/libforms-1.2.3/lib/popup.c:678: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( txt, e->state & FL_POPUP_CHECKED  ? "%T" : "%t" );
data/libforms-1.2.3/lib/popup.c:692: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( txt, e->state & FL_POPUP_CHECKED ? "%R" : "%r" );
data/libforms-1.2.3/lib/private/flsnprintf.h:31: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.
int snprintf( char *,
data/libforms-1.2.3/lib/private/flsnprintf.h:38: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.
int vsnprintf( char *,
data/libforms-1.2.3/lib/private/flsnprintf.h:44:23:  [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.
#define fli_snprintf  snprintf
data/libforms-1.2.3/lib/private/flsnprintf.h:45:23:  [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.
#define fli_vsnprintf vsnprintf
data/libforms-1.2.3/lib/private/flvasprintf.h:94: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( buf, fmt );                                             \
data/libforms-1.2.3/lib/private/flvasprintf.h:119: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( buf, fmt );                                             \
data/libforms-1.2.3/lib/select.c:403: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( txt, items->text );
data/libforms-1.2.3/lib/slider.c:184: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( valstr, sp->filter( ob, sp->val, sp->prec ) );
data/libforms-1.2.3/lib/space.c:114: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).
    return strcpy( s, buf );
data/libforms-1.2.3/lib/strdup.c:42: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).
    return strcpy( fl_malloc( strlen( s ) + 1 ), s );
data/libforms-1.2.3/lib/tbox.c:669: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( tl->fulltext, old_fulltext );
data/libforms-1.2.3/lib/tbox.c:670: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( tl->fulltext, new_text );
data/libforms-1.2.3/lib/version.c:105:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( msg, "FORMS Library Version %d.%d.%s\n%s",
data/libforms-1.2.3/lib/vms_readdir.c:166: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).
    strcat(strcpy(dd->pattern, nambuf), "*.*");
data/libforms-1.2.3/lib/vms_readdir.c:238: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(text, dd->pattern);
data/libforms-1.2.3/lib/vms_readdir.c:239: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).
    strcat(strcpy(&text[i - 3], e->d_name), ";*");
data/libforms-1.2.3/lib/win.c:583: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( machine_name, DisplayString( d ) );
data/libforms-1.2.3/lib/xpopup.c:2298: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( t, p->text );
data/libforms-1.2.3/lib/xyplot.c:1378:26:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                int ll = sprintf( label, fmt, sp->ybase, ( int ) sp->yscmax );
data/libforms-1.2.3/lib/xyplot.c:1381:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                ll = sprintf( label, fmt, sp->ybase, ( int ) sp->yscmin );
data/libforms-1.2.3/demos/demo.c:73:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if ( ( p = getenv( "PATH" ) ))
data/libforms-1.2.3/demos/xyplotactive.c:188: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/libforms-1.2.3/demos/xyplotactivelog.c:212: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/libforms-1.2.3/fd2ps/fd2ps.c:174:18:  [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 ( ( env = getenv( "PAPER" ) ) )
data/libforms-1.2.3/fd2ps/fd2ps.c:180:18:  [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 ( ( env = getenv( "RGBFile" ) ) )
data/libforms-1.2.3/fd2ps/sys.c:65:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char *name = getenv( "USER" );
data/libforms-1.2.3/lib/cmd_br.c:445:10:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
    if ( CreateProcess( NULL, ( LPTSTR ) cmd, NULL, NULL, FL_TRUE, 0,
data/libforms-1.2.3/lib/cmd_br.c:445:10:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
    if ( CreateProcess( NULL, ( LPTSTR ) cmd, NULL, NULL, FL_TRUE, 0,
data/libforms-1.2.3/lib/flresource.c:514:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if ( ( rstr = getenv( "XAPPLRESDIR" ) ) )
data/libforms-1.2.3/lib/flresource.c:532:23:  [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 ( ( rstr = getenv( "HOME" ) ) )
data/libforms-1.2.3/lib/flresource.c:548:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if ( ( rstr = getenv( "XENVIRONMENT" ) ) )
data/libforms-1.2.3/lib/flresource.c:561:23:  [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 ( ( rstr = getenv( "HOME" ) ) )
data/libforms-1.2.3/lib/fselect.c:1085:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char *home = getenv( "HOME" );
data/libforms-1.2.3/lib/listdir.c:143:12:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
    return getwd( a );
data/libforms-1.2.3/lib/listdir.c:794:32:  [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.
            strcat( dir, ( q = getenv( "HOME" ) ) ? q : "/" );
data/libforms-1.2.3/lib/sysdep.c:70:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char *name = getenv( "USER" );
data/libforms-1.2.3/demos/arrowbutton.c:41: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 * argv[ ] )
data/libforms-1.2.3/demos/borderwidth.c:93: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 * argv[ ] )
data/libforms-1.2.3/demos/borderwidth.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 txt[ 9 ];
data/libforms-1.2.3/demos/borderwidth.c:117: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( txt, "%2d Pixel", bw );
data/libforms-1.2.3/demos/boxtype.c:178: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 * browserlines[ ] = {
data/libforms-1.2.3/demos/boxtype.c:203: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 * argv[ ] )
data/libforms-1.2.3/demos/browserall.c:51: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 * argv[ ] )
data/libforms-1.2.3/demos/browserall.c:68: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 *bnames[ ] =
data/libforms-1.2.3/demos/browserall.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 buf[ 1024 ];
data/libforms-1.2.3/demos/browserall.c:127: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 * mb[ ] = { "left", "middle", "right",
data/libforms-1.2.3/demos/browserall.c:290:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 128 ];
data/libforms-1.2.3/demos/browserall.c:296: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( buf, "@NLine with qb %3d", j );
data/libforms-1.2.3/demos/browserall.c:298:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy( buf, "@-trailing text should be ignored" );
data/libforms-1.2.3/demos/browserall.c:300: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( buf, "@mLine with qb %3d", j );
data/libforms-1.2.3/demos/browserall.c:302: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( buf, "Line with qb %3d",j );
data/libforms-1.2.3/demos/browserop.c:147: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 * argv[ ] )
data/libforms-1.2.3/demos/buttonall.c:76: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 * argv[ ] )
data/libforms-1.2.3/demos/butttypes.c:47:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 128 ];
data/libforms-1.2.3/demos/butttypes.c:71: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 * argv[ ] )
data/libforms-1.2.3/demos/canvas.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 buf[ 128 ];
data/libforms-1.2.3/demos/canvas.c:92: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( buf, "KeyPress: keysym=%ld", ( long ) keysymT[ 0 ] );
data/libforms-1.2.3/demos/canvas.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 buf[ 128 ];
data/libforms-1.2.3/demos/canvas.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 buf[ 128 ];
data/libforms-1.2.3/demos/canvas.c:134: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( buf, "Position: %d %d", ev->xmotion.x, ev->xmotion.y );
data/libforms-1.2.3/demos/canvas.c:336: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 * argv[ ] )
data/libforms-1.2.3/demos/chartall.c:73: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 * argv[ ] )
data/libforms-1.2.3/demos/chartstrip.c:133: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 * argv[ ] )
data/libforms-1.2.3/demos/choice.c:97:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char * argv[ ] )
data/libforms-1.2.3/demos/colbrowser.c:47:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char dbname[ FL_PATH_MAX ] ;
data/libforms-1.2.3/demos/colbrowser.c:79: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 * argv[ ] )
data/libforms-1.2.3/demos/colbrowser.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 buf[ 512 ],
data/libforms-1.2.3/demos/colbrowser.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 name[ 256 ],
data/libforms-1.2.3/demos/colbrowser.c:202:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( ! ( fp = fopen( __XOS2RedirRoot( fname ), "r" ) ) )
data/libforms-1.2.3/demos/colbrowser.c:204:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( ! ( fp = fopen( fname, "r" ) ) )
data/libforms-1.2.3/demos/colbrowser.c:332:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 512 ];
data/libforms-1.2.3/demos/colsel.c:35: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 * argv[ ] )
data/libforms-1.2.3/demos/colsel1.c:57:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/libforms-1.2.3/demos/colsel1.c:64: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( str, "%d", 8 * j + i );
data/libforms-1.2.3/demos/colsel1.c:87: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 * argv[ ] )
data/libforms-1.2.3/demos/counter.c:97:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char * argv[ ] )
data/libforms-1.2.3/demos/cursor.c:116: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 * argv[ ] )
data/libforms-1.2.3/demos/demo.c:52: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 * argv[ ] )
data/libforms-1.2.3/demos/demo.c:54:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 1024 ],
data/libforms-1.2.3/demos/demo.c:74:17:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        putenv( strcat( strcat( strcpy( buf, "PATH=" ), p ), ":." ) );
data/libforms-1.2.3/demos/demo.c:74:33:  [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.
        putenv( strcat( strcat( strcpy( buf, "PATH=" ), p ), ":." ) );
data/libforms-1.2.3/demos/demo.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 name[ 64 ];
data/libforms-1.2.3/demos/demo.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 iname[ 9 ][ 64 ];
data/libforms-1.2.3/demos/demo.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 icommand[ 9 ][ 64 ];
data/libforms-1.2.3/demos/demo.c:139: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.
create_menu( char nnn[ ] )
data/libforms-1.2.3/demos/demo.c:154: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.
addto_menu( char men[ ],
data/libforms-1.2.3/demos/demo.c:155: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 item[ ],
data/libforms-1.2.3/demos/demo.c:156: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 comm[ ] )
data/libforms-1.2.3/demos/demo.c:233:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char stack[ 64 ][ 32 ];
data/libforms-1.2.3/demos/demo.c:319: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 cmd[ 1024 ];
data/libforms-1.2.3/demos/demo.c:383:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 256 ],
data/libforms-1.2.3/demos/demo.c:390: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).
    fin = fopen( fname, "r" );
data/libforms-1.2.3/demos/demo05.c:40:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 30 ];
data/libforms-1.2.3/demos/demo05.c:42:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf( str, "%f", fl_get_slider_value( ob ) );
data/libforms-1.2.3/demos/demo05.c:52: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 * argv[ ] )
data/libforms-1.2.3/demos/demo06.c:94: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 * argv[ ] )
data/libforms-1.2.3/demos/demo27.c:351: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 * argv[ ] )
data/libforms-1.2.3/demos/demo33.c:36: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 * argv[ ] )
data/libforms-1.2.3/demos/demotest.c:121: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 * argv[ ] )
data/libforms-1.2.3/demos/demotest.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 *label[ ] = { "Mon", "Tue", "Wed", "Thur", "Fri", "Sat" };
data/libforms-1.2.3/demos/demotest2.c:51: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 * argv[ ] )
data/libforms-1.2.3/demos/demotest2.c:54:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str1[ 100 ],
data/libforms-1.2.3/demos/demotest3.c:97:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char * argv[ ] )
data/libforms-1.2.3/demos/dirlist.c:49:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 2048 ];
data/libforms-1.2.3/demos/dirlist.c:52: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( buf,"Total %d files", nfiles );
data/libforms-1.2.3/demos/dirlist.c:100: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 * argv[ ] )
data/libforms-1.2.3/demos/fbrowse.c:167: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 * argv[ ] )
data/libforms-1.2.3/demos/fbrowse1.c:62: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 * argv[ ] )
data/libforms-1.2.3/demos/fdial.c:96: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 * argv[ ] )
data/libforms-1.2.3/demos/fdial.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 str[ 100 ];
data/libforms-1.2.3/demos/fdial.c:119: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( str, "%d", r );
data/libforms-1.2.3/demos/fdial.c:121: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( str, "%d", g );
data/libforms-1.2.3/demos/fdial.c:123: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( str, "%d", b );
data/libforms-1.2.3/demos/flclock.c:86: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 * argv[ ] )
data/libforms-1.2.3/demos/folder.c:136: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 *label[ ] = { "Mon", "Tue", "Wed", "Thur", "Fri", "Sat" };
data/libforms-1.2.3/demos/folder.c:175: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 *argv[ ] )
data/libforms-1.2.3/demos/fonts.c:99: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 * argv[ ] )
data/libforms-1.2.3/demos/formbrowser.c:108: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 * argv[ ] )
data/libforms-1.2.3/demos/free1.c:93: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 * argv[ ] )
data/libforms-1.2.3/demos/freedraw.c:72: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 * argv[ ] )
data/libforms-1.2.3/demos/freedraw_leak.c:63: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 * argv[ ] )
data/libforms-1.2.3/demos/gl.c:278: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 * argv[ ] )
data/libforms-1.2.3/demos/glwin.c:67: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 * argv[ ] )
data/libforms-1.2.3/demos/goodies.c:51: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 * argv[ ] )
data/libforms-1.2.3/demos/goodies.c:54:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str1[ 100 ],
data/libforms-1.2.3/demos/grav.c:265:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char * label[ ] = { "NW", "N", "NE", "W", "-", "E", "SW", "S", "SE" };
data/libforms-1.2.3/demos/grav.c:413: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 * argv[ ] )
data/libforms-1.2.3/demos/group.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 *label[ ] = { "Mon", "Tue", "Wed", "Thur", "Fri", "Sat" };
data/libforms-1.2.3/demos/group.c:135: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 * argv[ ] )
data/libforms-1.2.3/demos/ibrowser.c:49:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 128 ],
data/libforms-1.2.3/demos/ibrowser.c:56:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
         sprintf( wl, "(l=%d w=%d)", im->level, im->wwidth );
data/libforms-1.2.3/demos/ibrowser.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 buf[ 128 ];
data/libforms-1.2.3/demos/ibrowser.c:195: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( buf, "Text at[%d %d]\nWith Centered display", tx, ty );
data/libforms-1.2.3/demos/ibrowser.c:253: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 *ss[ ] = { "oval", "delta", "rect", "cross",
data/libforms-1.2.3/demos/ibrowser.c:613:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 512 ];
data/libforms-1.2.3/demos/ibrowser.c:638: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 * argv[ ] )
data/libforms-1.2.3/demos/iconify.c:42: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 * argv[ ] )
data/libforms-1.2.3/demos/iconvert.c:55: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 * argv[ ] )
data/libforms-1.2.3/demos/iconvert.c:136:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char * argv[ ] )
data/libforms-1.2.3/demos/inputall.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 buf[ 128 ];
data/libforms-1.2.3/demos/inputall.c:62: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( buf,"x = %d y = %d", cx, cy );
data/libforms-1.2.3/demos/inputall.c:88: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 * argv[ ] )
data/libforms-1.2.3/demos/invslider.c:75: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 * argv[ ] )
data/libforms-1.2.3/demos/itest.c:586:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 256 ];
data/libforms-1.2.3/demos/itest.c:651: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 * argv[ ] )
data/libforms-1.2.3/demos/lalign.c:59: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 * argv[ ] )
data/libforms-1.2.3/demos/ldial.c:54:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 60 ];
data/libforms-1.2.3/demos/ldial.c:59:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf( str, "%d", clr[ arg ] );
data/libforms-1.2.3/demos/ldial.c:75: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 *txt[ ] = { "Red",  "Green",  "Blue"  };
data/libforms-1.2.3/demos/ldial.c:111: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 * argv[ ] )
data/libforms-1.2.3/demos/ll.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 buf[ 64 ];
data/libforms-1.2.3/demos/ll.c:65: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( buf, "X=%g  Y=%g", x, y );
data/libforms-1.2.3/demos/ll.c:136: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 * argv[ ] )
data/libforms-1.2.3/demos/longlabel.c:57: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 * argv[ ] )
data/libforms-1.2.3/demos/menu.c:47: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 * argv[ ] )
data/libforms-1.2.3/demos/minput.c:47: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 * argv[ ] )
data/libforms-1.2.3/demos/minput2.c:76: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 * argv[ ] )
data/libforms-1.2.3/demos/minput2.c:98: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 buf[ 32 ];
data/libforms-1.2.3/demos/minput2.c:100: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( buf, "Input%ld returned", data );
data/libforms-1.2.3/demos/multilabel.c:85: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 * argv[ ] )
data/libforms-1.2.3/demos/ndial.c:44:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 4 ];
data/libforms-1.2.3/demos/ndial.c:49:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf( str, "%d", cols[ data ] );
data/libforms-1.2.3/demos/ndial.c:62: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 *label[ 3 ] = { "Red", "Green", "Blue" };
data/libforms-1.2.3/demos/ndial.c:100: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 * argv[ ] )
data/libforms-1.2.3/demos/new_popup.c:184: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 * argv[ ] )
data/libforms-1.2.3/demos/newbutton.c:52: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 * argv[ ] )
data/libforms-1.2.3/demos/nmenu.c:42: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 * argv[ ] )
data/libforms-1.2.3/demos/objinactive.c:184: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 * argv[ ] )
data/libforms-1.2.3/demos/objpos.c:68: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 * argv[ ] )
data/libforms-1.2.3/demos/objreturn.c:57: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 *mess[ ] = { "slider returned",
data/libforms-1.2.3/demos/objreturn.c:111: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 * argv[ ] )
data/libforms-1.2.3/demos/pmbrowse.c:48: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 * argv[ ] )
data/libforms-1.2.3/demos/popup.c:62: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 * argv[ ] )
data/libforms-1.2.3/demos/popup.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 buf[ 128 ];
data/libforms-1.2.3/demos/popup.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 buf[ 128 ];
data/libforms-1.2.3/demos/popup.c:178:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 128 ];
data/libforms-1.2.3/demos/popup.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 buf[ 128 ];
data/libforms-1.2.3/demos/popup.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 buf[ 128 ];
data/libforms-1.2.3/demos/positioner.c:42:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 30 ];
data/libforms-1.2.3/demos/positioner.c:44:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf( str, "%f", fl_get_positioner_xvalue( ob ) );
data/libforms-1.2.3/demos/positioner.c:46:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf( str, "%f", fl_get_positioner_yvalue( ob ) );
data/libforms-1.2.3/demos/positioner.c:56: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 * argv[ ] )
data/libforms-1.2.3/demos/positionerXOR.c:48:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 30 ];
data/libforms-1.2.3/demos/positionerXOR.c:50:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf( str, "%f", fl_get_positioner_xvalue( obj ) );
data/libforms-1.2.3/demos/positionerXOR.c:53:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf( str, "%f", fl_get_positioner_yvalue( obj ) );
data/libforms-1.2.3/demos/positionerXOR.c:63: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  * argv[ ] )
data/libforms-1.2.3/demos/preemptive.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 buf[ 128 ];
data/libforms-1.2.3/demos/preemptive.c:185:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char * argv[ ] )
data/libforms-1.2.3/demos/pup.c:59: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 * argv[ ] )
data/libforms-1.2.3/demos/pup.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 buf[ 128 ];
data/libforms-1.2.3/demos/pup.c:150: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( buf, "Nothing returned" );
data/libforms-1.2.3/demos/pup.c:320:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 128 ];
data/libforms-1.2.3/demos/pup.c:325: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( buf, "%d", fl_get_menu( ob ) );
data/libforms-1.2.3/demos/pushbutton.c:79: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 * argv[ ] )
data/libforms-1.2.3/demos/pushme.c:33: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 * argv[ ] )
data/libforms-1.2.3/demos/rescale.c:82: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 * argv[ ] )
data/libforms-1.2.3/demos/rescale.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 str[ 32 ];
data/libforms-1.2.3/demos/rescale.c:92:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf( str, "%.2f", sc );
data/libforms-1.2.3/demos/rescale.c:124: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( str, "%.2f", sc );
data/libforms-1.2.3/demos/scrollbar.c:100: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 * argv[ ] )
data/libforms-1.2.3/demos/secretinput.c:37: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 * argv[ ] )
data/libforms-1.2.3/demos/secretinput.c:44: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 str[ 256 ];
data/libforms-1.2.3/demos/select.c:97:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char * argv[ ] )
data/libforms-1.2.3/demos/sld_alt.c:62: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 * argv[ ] )
data/libforms-1.2.3/demos/sld_radio.c:35: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 * argv[ ] )
data/libforms-1.2.3/demos/sldinactive.c:35: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 * argv[ ] )
data/libforms-1.2.3/demos/sldsize.c:35: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 * argv[ ] )
data/libforms-1.2.3/demos/sliderall.c:116: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 * argv[ ] )
data/libforms-1.2.3/demos/strange_button.c:155: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 * argv[ ] )
data/libforms-1.2.3/demos/strsize.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 buf[ 50 ];
data/libforms-1.2.3/demos/strsize.c:64: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( buf, "w = %d, h = %d", w, h );
data/libforms-1.2.3/demos/strsize.c:101: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 * argv[ ] )
data/libforms-1.2.3/demos/symbols.c:35: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 * symbols[ ] =
data/libforms-1.2.3/demos/symbols.c:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 32 ];
data/libforms-1.2.3/demos/symbols.c:132: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 * argv[ ] )
data/libforms-1.2.3/demos/thumbwheel.c:38:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 128 ];
data/libforms-1.2.3/demos/thumbwheel.c:40: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( buf, "%.3f", fl_get_thumbwheel_value( ob ) );
data/libforms-1.2.3/demos/thumbwheel.c:74: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 * argv[ ] )
data/libforms-1.2.3/demos/timeoutprec.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 buf[ 128 ];
data/libforms-1.2.3/demos/timeoutprec.c:83: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( buf,"Timeout: %.3f  Actual: %.3f  DeltaE: %.3f",
data/libforms-1.2.3/demos/timeoutprec.c:99:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[ 128 ];
data/libforms-1.2.3/demos/timeoutprec.c:105: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( buf, "Timer accuracy testing %.3f sec ...", fd->ldata * 0.001 );
data/libforms-1.2.3/demos/timeoutprec.c:117: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 * argv[ ] )
data/libforms-1.2.3/demos/timer.c:124: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 * argv[ ] )
data/libforms-1.2.3/demos/timerprec.c:117: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 * argv[ ] )
data/libforms-1.2.3/demos/touchbutton.c:40: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 * argv[ ] )
data/libforms-1.2.3/demos/touchbutton.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 str[ 32 ];
data/libforms-1.2.3/demos/touchbutton.c:100:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf( str,"%d", val );
data/libforms-1.2.3/demos/xyplotactive.c:58:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 64 ];
data/libforms-1.2.3/demos/xyplotactive.c:64: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( buf, "X=%.3f  Y=%.3f", x, y );
data/libforms-1.2.3/demos/xyplotactive.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 buf[ 50 ];
data/libforms-1.2.3/demos/xyplotactive.c:142:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( buf, "%g", xmin );
data/libforms-1.2.3/demos/xyplotactive.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( buf, "%g", xmax );
data/libforms-1.2.3/demos/xyplotactive.c:155: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( buf, "%g", ymin );
data/libforms-1.2.3/demos/xyplotactive.c:157: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( buf, "%g", ymax );
data/libforms-1.2.3/demos/xyplotactive.c:168:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char * argv[ ] )
data/libforms-1.2.3/demos/xyplotactivelog.c:58:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 64 ];
data/libforms-1.2.3/demos/xyplotactivelog.c:64: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( buf, "X=%.3f  Y=%.3f", x, y );
data/libforms-1.2.3/demos/xyplotactivelog.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 buf[ 50 ];
data/libforms-1.2.3/demos/xyplotactivelog.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( buf, "%g", xmin );
data/libforms-1.2.3/demos/xyplotactivelog.c:156: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( buf, "%g", xmax );
data/libforms-1.2.3/demos/xyplotactivelog.c:179: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( buf, "%g", ymin );
data/libforms-1.2.3/demos/xyplotactivelog.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( buf, "%g", ymax );
data/libforms-1.2.3/demos/xyplotactivelog.c:192: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 * argv[ ] )
data/libforms-1.2.3/demos/xyplotall.c:96:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[ 64 ];
data/libforms-1.2.3/demos/xyplotall.c:99: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( buf, "x=%d y=%d wx=%.1f wy=%.1f", mx, my, wx, wy );
data/libforms-1.2.3/demos/xyplotall.c:123: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 * argv[ ] )
data/libforms-1.2.3/demos/xyplotover.c:56: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 * argv[ ] )
data/libforms-1.2.3/demos/yesno.c:38: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 * argv[ ] )
data/libforms-1.2.3/demos/yesno_cb.c:62: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 * argv[ ] )
data/libforms-1.2.3/fd2ps/fd2ps.c:42:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static int parse_command_line( int argc, char * argv[ ] );
data/libforms-1.2.3/fd2ps/fd2ps.c:47: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 *helpmsg[ ] =
data/libforms-1.2.3/fd2ps/fd2ps.c:94: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 * argv[ ] )
data/libforms-1.2.3/fd2ps/fd2ps.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 outname[ 512 ],
data/libforms-1.2.3/fd2ps/fd2ps.c:107:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat( inname, ".fd" );
data/libforms-1.2.3/fd2ps/fd2ps.c:121:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( ! ( fp = fopen( inname, "r" ) ) )
data/libforms-1.2.3/fd2ps/fd2ps.c:130:30:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    else if ( ! ( flps->fp = fopen( outname, "w" ) ) )
data/libforms-1.2.3/fd2ps/fd2ps.c:190:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char * argv[ ] )
data/libforms-1.2.3/fd2ps/fd2ps.c:198:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            psinfo.user_bw = atoi( argv[ ++i ] );
data/libforms-1.2.3/fd2ps/fd2ps.h:256:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 4 ];
data/libforms-1.2.3/fd2ps/fd2ps.h:257:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 32 ];
data/libforms-1.2.3/fd2ps/flsupport.c:59:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi( name );
data/libforms-1.2.3/fd2ps/flsupport.c:70: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 buf[ 128 ];
data/libforms-1.2.3/fd2ps/flsupport.c:75: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( buf, "%d", val );
data/libforms-1.2.3/fd2ps/flsupport.c:596:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return ob ? ob->classobj.val : atoi( name );
data/libforms-1.2.3/fd2ps/flsupport.c:633:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi( name );
data/libforms-1.2.3/fd2ps/image2ps.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 pscmd[ 128 ];
data/libforms-1.2.3/fd2ps/image2ps.c:146:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pscmd[ 128 ];
data/libforms-1.2.3/fd2ps/image2ps.c:186: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 buf[ 1024 ];
data/libforms-1.2.3/fd2ps/load.c:208:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 1024 ],
data/libforms-1.2.3/fd2ps/load.c:291: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 tmpstr[ 1024 ];
data/libforms-1.2.3/fd2ps/load.c:342:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 128 ],
data/libforms-1.2.3/fd2ps/load.c:365:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                sp->int_val = atoi( val );
data/libforms-1.2.3/fd2ps/load.c:384:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            sp->show_focus = atoi( val );
data/libforms-1.2.3/fd2ps/load.c:442:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 64 ],
data/libforms-1.2.3/fd2ps/load.c:444:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cn1[ 64 ],
data/libforms-1.2.3/fd2ps/load.c:446:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objcls[ 64 ];
data/libforms-1.2.3/fd2ps/load.c:447:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 64 ],
data/libforms-1.2.3/fd2ps/load.c:540:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fname[ 1024 ];
data/libforms-1.2.3/fd2ps/load.c:580:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen( filename, "r" );
data/libforms-1.2.3/fd2ps/load.c:583:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 256 ],
data/libforms-1.2.3/fd2ps/load.c:653: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).
            psinfo.bw = atoi( ubuf );
data/libforms-1.2.3/fd2ps/load.c:725:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi( cc );
data/libforms-1.2.3/fd2ps/load.c:813:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi( cc );
data/libforms-1.2.3/fd2ps/load.c:823:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char lstyle[ 40 ],
data/libforms-1.2.3/fd2ps/load.c:849:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi( cc );
data/libforms-1.2.3/fd2ps/load.c:865:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi( cc );
data/libforms-1.2.3/fd2ps/load.c:881:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi( cc );
data/libforms-1.2.3/fd2ps/load.c:892:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char s[ 128 ],
data/libforms-1.2.3/fd2ps/load.c:904: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.
    if ( ! isdigit( ( unsigned char ) cc[ 0 ] ) )
data/libforms-1.2.3/fd2ps/load.c:907:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi( cc );
data/libforms-1.2.3/fd2ps/pscol.c:212:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return s ? atoi( s ) : 0;
data/libforms-1.2.3/fd2ps/psdraw.c:64:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 2048 ],
data/libforms-1.2.3/fd2ps/psobj.c:347:46:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            else if (    isdigit( ( unsigned char ) str[ i ] )
data/libforms-1.2.3/fd2ps/psobj.c:348:34:  [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).
                      && ( key = atoi( str + i ) ) < 35 )
data/libforms-1.2.3/fd2ps/psobj.c:456: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( obj->shortcut, sc, scsize );
data/libforms-1.2.3/fd2ps/psobj.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 str[ 30 ];
data/libforms-1.2.3/fd2ps/psobj.c:1304:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf( str, "%.*f", sp->prec, sp->val );
data/libforms-1.2.3/fd2ps/psobj.c:1602:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char valstr[ 32 ];
data/libforms-1.2.3/fd2ps/psobj.c:1631: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( valstr, "%.*f", sp->prec, sp->val );
data/libforms-1.2.3/fd2ps/psobj.c:2155: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 buf[ 32 ];
data/libforms-1.2.3/fd2ps/psobj.c:2166: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( buf, "%2d:%0d:%2.1f", hr, minutes, sec );
data/libforms-1.2.3/fd2ps/psobj.c:2172: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( buf, "%2d:%2.1f", minutes, sec );
data/libforms-1.2.3/fd2ps/psobj.c:2175: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(buf, "%2.1f", totalsec);
data/libforms-1.2.3/fd2ps/pstext.c:57: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 *fnts[ FL_MAXFONTS ] =
data/libforms-1.2.3/fd2ps/pstext.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 buf[ 1024 ];
data/libforms-1.2.3/fd2ps/pstext.c:188:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *lines[ 512 ];
data/libforms-1.2.3/fd2ps/pstext.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 newlabel[ 255 ], *p;
data/libforms-1.2.3/fd2ps/readxpm.c:51: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 *keys[ ] = { "c", "g", "m", "g4", "s" };
data/libforms-1.2.3/fd2ps/readxpm.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 buf[ 2048 ],
data/libforms-1.2.3/fd2ps/readxpm.c:102:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( ! ( fp = fopen( file, "r" ) ) )
data/libforms-1.2.3/fd2ps/readxpm.c:274:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 512 ],
data/libforms-1.2.3/fd2ps/readxpm.c:320:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char lname[ 64 ];
data/libforms-1.2.3/fd2ps/readxpm.c:321: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 hexv[ 128 ];
data/libforms-1.2.3/fd2ps/readxpm.c:339:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if ( ! ( fp = fopen( flps->rgbfile, "r" ) ) )
data/libforms-1.2.3/fd2ps/readxpm.c:348: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).
            fp = fopen( "/usr/local/lib/X11/rgb.txt", "r" );
data/libforms-1.2.3/fd2ps/readxpm.c:351: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).
            fp = fopen( "/etc/X11/rgb.txt", "r" );
data/libforms-1.2.3/fd2ps/readxpm.c:355: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).
            fp = fopen( "/usr/openwin/lib/rgb.txt", "r" );
data/libforms-1.2.3/fd2ps/readxpm.c:360: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).
            fp = fopen( "/XFree86/lib/X11/rgb.txt", "r" );
data/libforms-1.2.3/fd2ps/readxpm.c:365: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).
            fp = fopen( "SYS$MANAGER:DECW$RGB.DAT", "r" );
data/libforms-1.2.3/fd2ps/sys.c:40: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 buf[ 64 ];
data/libforms-1.2.3/fd2ps/version.c:42: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 *version[ ] =
data/libforms-1.2.3/fd2ps/version.c:73: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 buf[ 256 ];
data/libforms-1.2.3/fd2ps/xbmtops.c:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 20 ], *p;
data/libforms-1.2.3/fd2ps/xbmtops.c:61: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 *bit_buf[ MAXH ];
data/libforms-1.2.3/fd2ps/xbmtops.c:66:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 256 ];
data/libforms-1.2.3/fd2ps/xbmtops.c:71:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( ! ( fp = fopen( f, "r" ) ) )
data/libforms-1.2.3/fd2ps/xpmtops.c:51:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp = fopen( file, "r" );
data/libforms-1.2.3/fdesign/fd_attribs.c:54:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char        name[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_attribs.c:55: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        cbname[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_attribs.c:56:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char        argname[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_attribs.c:428:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objname[ MAX_VAR_LEN ],
data/libforms-1.2.3/fdesign/fd_attribs.c:437: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 othersize[ 32 ];
data/libforms-1.2.3/fdesign/fd_attribs.c:486: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( othersize, "%d (Variable)", obj->lsize );
data/libforms-1.2.3/fdesign/fd_attribs.c:544:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpbuf[ 128 ];
data/libforms-1.2.3/fdesign/fd_attribs.c:808: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 tmps[ 127 ];
data/libforms-1.2.3/fdesign/fd_attribs.c:1017: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( dest->shortcut, src->shortcut, i * sizeof *dest->shortcut );
data/libforms-1.2.3/fdesign/fd_control.c:275:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 32 ];
data/libforms-1.2.3/fdesign/fd_control.c:337:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 32 ];
data/libforms-1.2.3/fdesign/fd_control.c:400:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static char tmpbuf[ 128 ];
data/libforms-1.2.3/fdesign/fd_control.c:424:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 128 ];
data/libforms-1.2.3/fdesign/fd_control.c:446: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( buf, "%dx%d", x, y );
data/libforms-1.2.3/fdesign/fd_control.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( buf, "%dx%d", w, h );
data/libforms-1.2.3/fdesign/fd_control.c:469:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objname[ MAX_VAR_LEN ],
data/libforms-1.2.3/fdesign/fd_control.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 buf[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_control.c:490: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( buf, "%d object selected", cnt );
data/libforms-1.2.3/fdesign/fd_control.c:507: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( buf, "<no callback>" );
data/libforms-1.2.3/fdesign/fd_control.c:661:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char buf[ 100 ];
data/libforms-1.2.3/fdesign/fd_control.c:665:25:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                        sprintf( buf, "browser line %d", i + 1 );
data/libforms-1.2.3/fdesign/fd_file.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 name[ MAX_VAR_LEN ],
data/libforms-1.2.3/fdesign/fd_file.c:657: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( tmp, "Expected object box sizes as 4 "
data/libforms-1.2.3/fdesign/fd_file.c:823: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      fname[ ] )
data/libforms-1.2.3/fdesign/fd_file_fun.c:194:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( ! ( ff.fp = fopen( ff.fname, "r" ) ) )
data/libforms-1.2.3/fdesign/fd_file_fun.c:665:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              && ! isspace( ( unsigned char ) sp[ -1 ] )
data/libforms-1.2.3/fdesign/fd_file_fun.c:666:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              && ! isspace( ( unsigned char ) sp[ 1 ] ) ) )
data/libforms-1.2.3/fdesign/fd_file_fun.c:738:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              && ! isspace( ( unsigned char ) sp[ -1 ] )
data/libforms-1.2.3/fdesign/fd_file_fun.c:739:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              && ! isspace( ( unsigned char ) sp[ 1 ] ) ) )
data/libforms-1.2.3/fdesign/fd_forms.c:243: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( forms[ fnumb ].fname, "form%d", form_seq++ );
data/libforms-1.2.3/fdesign/fd_forms.c:465:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat( fname, ".fd" );
data/libforms-1.2.3/fdesign/fd_forms.c:710:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fname[ 1024 ],
data/libforms-1.2.3/fdesign/fd_forms.c:761: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( fname, ".fd" );
data/libforms-1.2.3/fdesign/fd_forms.c:764:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( ( fp = fopen( fname, "w" ) ) == 0 )
data/libforms-1.2.3/fdesign/fd_forms.c:809: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 cmdbuf[ 1024 ];
data/libforms-1.2.3/fdesign/fd_forms.c:810: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 optbuf[ 512 ];
data/libforms-1.2.3/fdesign/fd_forms.c:816:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat( optbuf, "-main " );
data/libforms-1.2.3/fdesign/fd_forms.c:818:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat( optbuf, "-callback " );
data/libforms-1.2.3/fdesign/fd_forms.c:820:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat( optbuf, "-altformat " );
data/libforms-1.2.3/fdesign/fd_forms.c:822:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat( optbuf, "-compensate " );
data/libforms-1.2.3/fdesign/fd_forms.c:824:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat( optbuf, "-dir " );
data/libforms-1.2.3/fdesign/fd_groups.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 name[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_groups.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 name[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_groups.c:191:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy( name, "<no name>" );
data/libforms-1.2.3/fdesign/fd_help.c:48: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.
load_it( char str[ ][ 80 ] )
data/libforms-1.2.3/fdesign/fd_help.c:91: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.
extern char testhelp[    ][ 80 ],
data/libforms-1.2.3/fdesign/fd_help.c:145:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char mainhelp[ ][ 80 ] =
data/libforms-1.2.3/fdesign/fd_help.c:167:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char generalhelp[ ][ 80 ] =
data/libforms-1.2.3/fdesign/fd_help.c:247:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char mousehelp[ ][80] =
data/libforms-1.2.3/fdesign/fd_help.c:284:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char keyhelp[ ][ 80 ] =
data/libforms-1.2.3/fdesign/fd_help.c:370:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char grouphelp[ ][ 80 ] =
data/libforms-1.2.3/fdesign/fd_help.c:396:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char savehelp[ ][ 80 ] =
data/libforms-1.2.3/fdesign/fd_help.c:414:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char testhelp[ ][ 80 ] =
data/libforms-1.2.3/fdesign/fd_iconinfo.c:202: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 name[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_iconinfo.c:242: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 name[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_iconinfo.h:28:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 2048 ];
data/libforms-1.2.3/fdesign/fd_iconinfo.h:29:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char focus_filename[ 2048 ];
data/libforms-1.2.3/fdesign/fd_iconinfo.h:30:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char data[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_iconinfo.h:31:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char focus_data[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_iconinfo.h:32:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char width[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_iconinfo.h:33:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char height[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_main.c:59: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 *fd_version[ ] =
data/libforms-1.2.3/fdesign/fd_main.c:84:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char xform_header[ 128 ] = "forms.h";
data/libforms-1.2.3/fdesign/fd_main.c:85:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char glcanvas_header[ 128 ] = "glcanvas.h";
data/libforms-1.2.3/fdesign/fd_main.c:115:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char main_name[ MAX_VAR_LEN ];      /* name of the main calling routine */
data/libforms-1.2.3/fdesign/fd_main.c:171: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( main_name, "create_the_forms" );
data/libforms-1.2.3/fdesign/fd_main.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 keybuf[ 128 ];
data/libforms-1.2.3/fdesign/fd_main.c:344:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[ 3 * MAX_VAR_LEN + 20 ],
data/libforms-1.2.3/fdesign/fd_main.c:346:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cbname[ MAX_VAR_LEN ],
data/libforms-1.2.3/fdesign/fd_main.c:359:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                strcpy( name, "<noname>" );
data/libforms-1.2.3/fdesign/fd_main.c:414: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 fdgeom[ NG ] = DEFGeom;
data/libforms-1.2.3/fdesign/fd_main.c:415: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 fdcntlgeom[ NG ] = DEFcntlGeom;
data/libforms-1.2.3/fdesign/fd_main.c:416: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 fdattribgeom[ NG ] = DEFattribGeom;
data/libforms-1.2.3/fdesign/fd_main.c:417: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 fdtestgeom[ NG ] = DEFtestGeom;
data/libforms-1.2.3/fdesign/fd_main.c:418: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 fdaligngeom[ NG ] = DEFalignGeom;
data/libforms-1.2.3/fdesign/fd_main.c:419: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 fdhelpgeom[ NG ] = DEFhelpGeom;
data/libforms-1.2.3/fdesign/fd_main.c:420: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 fd_attrib_col[ NG ];
data/libforms-1.2.3/fdesign/fd_main.c:421: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 fd_sunit[ 32 ];
data/libforms-1.2.3/fdesign/fd_main.c:422: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 fd_slanguage[ 32 ];
data/libforms-1.2.3/fdesign/fd_main.c:423: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 fd_sfilter[ 32 ];
data/libforms-1.2.3/fdesign/fd_main.c:457:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *helps[ ] =
data/libforms-1.2.3/fdesign/fd_main.c:599: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.
             char * argv[ ] )
data/libforms-1.2.3/fdesign/fd_main.c:603: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 filter[ 128 ];
data/libforms-1.2.3/fdesign/fd_main.c:635: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).
            fd_bwidth = atoi( argv[ ++i ] );
data/libforms-1.2.3/fdesign/fd_main.c:835: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 * argv[ ] )
data/libforms-1.2.3/fdesign/fd_main.c:937: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( main_name, "create_the_forms" );
data/libforms-1.2.3/fdesign/fd_main.h: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      fname[ MAX_VAR_LEN ]; /* Its name */
data/libforms-1.2.3/fdesign/fd_main.h:119: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.
extern char main_name[ ];   /* Main creation routine name */
data/libforms-1.2.3/fdesign/fd_main.h:491: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.
extern char xform_header[ ];
data/libforms-1.2.3/fdesign/fd_main.h:492: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.
extern char glcanvas_header[ ];
data/libforms-1.2.3/fdesign/fd_names.c:47:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_VAR_LEN ];     /* Its name (if any) */
data/libforms-1.2.3/fdesign/fd_names.c:48:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        cbname[  MAX_VAR_LEN ];     /* Callback Routine */
data/libforms-1.2.3/fdesign/fd_names.c:49:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        argname[ MAX_VAR_LEN ];     /* The argument */
data/libforms-1.2.3/fdesign/fd_objects.c:55:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tname[ MAX_TYPE_NAME_LEN ];
data/libforms-1.2.3/fdesign/fd_objects.c:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ MAX_CLASS_NAME_LEN ];         /* add_XXX */
data/libforms-1.2.3/fdesign/fd_objects.c:66:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         formal_cname[ MAX_CLASS_NAME_LEN ];
data/libforms-1.2.3/fdesign/fd_objects.c:144:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              char name[ ] )
data/libforms-1.2.3/fdesign/fd_objects.c:676: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 buf[ MAX_CLASS_NAME_LEN ];
data/libforms-1.2.3/fdesign/fd_objects.c:681: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( buf, "%d", cln );
data/libforms-1.2.3/fdesign/fd_objects.c:694: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 buf[ MAX_CLASS_NAME_LEN ];
data/libforms-1.2.3/fdesign/fd_objects.c:699: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( buf, "%d", cls );
data/libforms-1.2.3/fdesign/fd_objects.c:720:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi( name );
data/libforms-1.2.3/fdesign/fd_objects.c:781: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 buf[ MAX_TYPE_NAME_LEN ];
data/libforms-1.2.3/fdesign/fd_objects.c:786: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( buf, "%d", tyn );
data/libforms-1.2.3/fdesign/fd_printC.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 fname[ PATH_MAX + 1 ];
data/libforms-1.2.3/fdesign/fd_printC.c:159:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( ! ( fn = fopen( fname, "w" ) ) )
data/libforms-1.2.3/fdesign/fd_printC.c:223:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( ! ( fn = fopen( fname, "w" ) ) )
data/libforms-1.2.3/fdesign/fd_printC.c:267:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if ( ! ( fn = fopen( fname, "w" ) ) )
data/libforms-1.2.3/fdesign/fd_printC.c:303:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if ( ! ( fn = fopen( fname, "w" ) ) )
data/libforms-1.2.3/fdesign/fd_printC.c:506: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 buf[ MAX_TYPE_NAME_LEN ];
data/libforms-1.2.3/fdesign/fd_printC.c:512: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( buf, "%d", val );
data/libforms-1.2.3/fdesign/fd_printC.c:549: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 buf[ 64 ];
data/libforms-1.2.3/fdesign/fd_printC.c:558: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( buf, "%d", val );
data/libforms-1.2.3/fdesign/fd_printC.c:574:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return ( vn->name && ! strcmp( cc, vn->name ) ) ? vn->val : atoi( cc );
data/libforms-1.2.3/fdesign/fd_printC.c:584: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 buf[ 64 ];
data/libforms-1.2.3/fdesign/fd_printC.c:590:17:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat( strcat( buf, " + " ), pure_style_name( spstyle ) );
data/libforms-1.2.3/fdesign/fd_printC.c:601:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char lstyle[ MAX_TYPE_NAME_LEN ],
data/libforms-1.2.3/fdesign/fd_printC.c:684: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 buf[ 128 ];
data/libforms-1.2.3/fdesign/fd_printC.c:690:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat( buf, "FL_ALIGN_INSIDE" );
data/libforms-1.2.3/fdesign/fd_printC.c:703:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char s[ MAX_TYPE_NAME_LEN ],
data/libforms-1.2.3/fdesign/fd_printC.c:766: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 *arnames[ MAXARNAME ];
data/libforms-1.2.3/fdesign/fd_printC.c:789:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpstr[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_printC.c:870: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 fdtname[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_printC.c:951:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fdtname[ MAX_VAR_LEN ],
data/libforms-1.2.3/fdesign/fd_printC.c:955: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( fdvname, "fdui" );
data/libforms-1.2.3/fdesign/fd_printC.c:1016:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_printC.c:1111:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cbname[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_printC.c:1136: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 buf[ 1024 ];
data/libforms-1.2.3/fdesign/fd_printC.c:1160: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( buf, "freeobj%d_handle", k );
data/libforms-1.2.3/fdesign/fd_printC.c:1177:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_VAR_LEN ],
data/libforms-1.2.3/fdesign/fd_printC.c:1249:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_VAR_LEN ],
data/libforms-1.2.3/fdesign/fd_printC.c:1288:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_printC.c:1387:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fdtname[ MAX_VAR_LEN ];
data/libforms-1.2.3/fdesign/fd_printC.c:1524:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_VAR_LEN ],
data/libforms-1.2.3/fdesign/fd_printC.c:1527:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char * p,
data/libforms-1.2.3/fdesign/fd_printC.c:1535: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( fdvname, "fdui" );
data/libforms-1.2.3/fdesign/fd_select.c:92: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( selobj, tmpobj, tmpnumb * sizeof *tmpobj );
data/libforms-1.2.3/fdesign/fd_select.c:1133: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( tmpobj, selobj, selnumb * sizeof *selobj );
data/libforms-1.2.3/fdesign/fd_select.c:1206: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( selobj, tmpobj, selnumb * sizeof *selobj );
data/libforms-1.2.3/fdesign/fd_select.c:1229: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( tmpobj, selobj, selnumb * sizeof *selobj );
data/libforms-1.2.3/fdesign/fd_select.c:1300: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( selobj, tmpobj, selnumb * sizeof *selobj );
data/libforms-1.2.3/fdesign/fd_select.c:1713:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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_VAR_LEN ],
data/libforms-1.2.3/fdesign/fd_spec.c:1810:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 64 ];
data/libforms-1.2.3/fdesign/fd_spec.c:1818: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( buf, "%.*f", prec, f );
data/libforms-1.2.3/fdesign/fd_spec.c:1820: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( buf, "%.*g", prec, f );
data/libforms-1.2.3/fdesign/fd_spec.c:1823: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( buf, "%g", f );
data/libforms-1.2.3/fdesign/fd_spec.c:2092:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 32 ];
data/libforms-1.2.3/fdesign/fd_spec.c:2096:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcat( strcpy( buf, "FL_" ), s );
data/libforms-1.2.3/fdesign/fd_super.c:138: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( ssp->mode, sp->mode, ( n + 1 ) * sizeof *ssp->mode );
data/libforms-1.2.3/fdesign/fd_super.c:181: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( ssp->mode, sp->mode, ( n + 1 ) * sizeof *ssp->mode );
data/libforms-1.2.3/fdesign/fd_super.c:182: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( ssp->mval, sp->mval, ( n + 1 ) * sizeof *ssp->mval );
data/libforms-1.2.3/fdesign/fd_super.c:552: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( t->mode, s->mode, ( s->nlines + 1 ) * sizeof *t->mode );
data/libforms-1.2.3/fdesign/fd_super.c:555: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( t->mval, s->mval, ( s->nlines + 1 ) * sizeof *t->mval );
data/libforms-1.2.3/fdesign/sp_button.c:558:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 2048 ];
data/libforms-1.2.3/fdesign/sp_button.c:630:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if ( ( fp = fopen( info->filename, "r" ) ) )
data/libforms-1.2.3/fdesign/sp_button.c:651:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( ( fp = fopen( info->focus_filename, "r" ) ) )
data/libforms-1.2.3/fdesign/sp_freeobj.c:45: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 ori_handle_name[ 128 ];
data/libforms-1.2.3/fdesign/sp_freeobj.c:173: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 buf[ 1024 ];
data/libforms-1.2.3/fdesign/sp_freeobj.c:196: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( buf, "freeobj%d_handle", k );
data/libforms-1.2.3/fdesign/sp_menu.c:309: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 buf[ 20 ];
data/libforms-1.2.3/fdesign/sp_menu.c:311: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( buf, "%d", FL_nint( val ) );
data/libforms-1.2.3/fdesign/sp_menu.c:325:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pupname[ 128 ],
data/libforms-1.2.3/fdesign/sp_menu.c:327:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char objname[ 128 ],
data/libforms-1.2.3/fdesign/sp_menu.c:347: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( pupname, "fdmenu_%d", n );
data/libforms-1.2.3/fdesign/sp_pixmap.c:315:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 2048 ];
data/libforms-1.2.3/fdesign/sp_pixmap.c:388:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( ( fp = fopen( info->filename, "r" ) ) )
data/libforms-1.2.3/fdesign/sp_util.c:227: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 buf[ 256 ];
data/libforms-1.2.3/gl/glcanvas.c:228: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( GLPROP( ob )->glconfig, glconfig, sizeof glconfig );
data/libforms-1.2.3/image/flimage.h:191:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char  ** rgba[ 4 ];    /* alias                         */
data/libforms-1.2.3/image/image.c:176:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( ! ( fp = fopen( file, "rb" ) ) )
data/libforms-1.2.3/image/image.c:216:29:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( ! file || ! ( fp = fopen( file, "rb" ) ) )
data/libforms-1.2.3/image/image.c:290:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 256 ];
data/libforms-1.2.3/image/image.c:365:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 256 ];
data/libforms-1.2.3/image/image.c:419: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( buf, "Done image %d of %d",
data/libforms-1.2.3/image/image.c:457:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 256 ], *p;
data/libforms-1.2.3/image/image.c:491:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            if ( ! ( fp = fopen( image->outfile, "wb" ) ) )
data/libforms-1.2.3/image/image.c:1316: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( dim->red[ 0 ],   sim->red[ 0 ],   size );
data/libforms-1.2.3/image/image.c:1317: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( dim->green[ 0 ], sim->green[ 0 ], size );
data/libforms-1.2.3/image/image.c:1318: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( dim->blue[ 0 ],  sim->blue[ 0 ],  size );
data/libforms-1.2.3/image/image.c:1319: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( dim->alpha[0 ],  sim->alpha[ 0 ], size );
data/libforms-1.2.3/image/image.c:1325: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( dim->ci[ 0 ], sim->ci[ 0 ], size );
data/libforms-1.2.3/image/image.c:1331: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( dim->gray[ 0 ], sim->gray[ 0 ], size );
data/libforms-1.2.3/image/image.c:1376: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( im, sim, sizeof *im );
data/libforms-1.2.3/image/image.c:1411: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( im->red_lut,   sim->red_lut,   mapsize );
data/libforms-1.2.3/image/image.c:1412: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( im->green_lut, sim->green_lut, mapsize );
data/libforms-1.2.3/image/image.c:1413: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( im->blue_lut,  sim->blue_lut,  mapsize );
data/libforms-1.2.3/image/image.c:1414: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( im->alpha_lut, sim->alpha_lut, mapsize );
data/libforms-1.2.3/image/image.c:1421: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( im->io_spec, sim->io_spec, sim->spec_size );
data/libforms-1.2.3/image/image.c:1470:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 1024 ];
data/libforms-1.2.3/image/image.c:1648:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 128 ];
data/libforms-1.2.3/image/image.c:1649: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 name[ 64 ];
data/libforms-1.2.3/image/image.c:1712: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 retbuf[ 128 ];
data/libforms-1.2.3/image/image.c:1778:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 1024 ],
data/libforms-1.2.3/image/image.c:1782: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 name[ 512 ];
data/libforms-1.2.3/image/image.c:1900:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 1024 ];
data/libforms-1.2.3/image/image_bmp.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 buf[ 2 ];
data/libforms-1.2.3/image/image_bmp.c:118: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.
    static const char *encoding[ ] = { "RGB", "RLE8", "RLE4" };
data/libforms-1.2.3/image/image_bmp.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 buf[ 128 ];
data/libforms-1.2.3/image/image_bmp.c:124: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( im->info,"Size=(%d x %d)\n", im->w, im->h );
data/libforms-1.2.3/image/image_bmp.c:125: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( buf, "BitsPerPixel=%d\nBytesPerLine=%d\n", sp->bpp, sp->bpl );
data/libforms-1.2.3/image/image_bmp.c:130: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( buf,"ColorUsed=%d\n", sp->col_used );
data/libforms-1.2.3/image/image_bmp.c:146:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 40 ];
data/libforms-1.2.3/image/image_bmp.c:595: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 junk[ ] = { 0, 0, 0, 0 };
data/libforms-1.2.3/image/image_convolve.c:290:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 128 ];
data/libforms-1.2.3/image/image_crop.c:302: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( us[ i + y ] + x, pix[ i + yy ] + xx, cols * sizeof **us );
data/libforms-1.2.3/image/image_crop.c:326: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( red[   i + y ] + x, im->red[   i + yy ] + xx, cols );
data/libforms-1.2.3/image/image_crop.c:327: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( green[ i + y ] + x, im->green[ i + yy ] + xx, cols );
data/libforms-1.2.3/image/image_crop.c:328: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( blue[  i + y ] + x, im->blue[  i + yy ] + xx, cols );
data/libforms-1.2.3/image/image_disp.c:368:38:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                *ctmp++ = ( unsigned char ) xmapped[ ipixels[ i ] ];
data/libforms-1.2.3/image/image_disp.c:460: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.
                xpixels[ i ] = ( unsigned char ) xc[ ipixels[ i ] ].pixel;
data/libforms-1.2.3/image/image_disp.c:475: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.
                xpixels[ i ] = ( unsigned char ) xc[ ipixels[ i ] ].pixel;
data/libforms-1.2.3/image/image_disp.c:627: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( pix, ci, npix * sizeof *ci );
data/libforms-1.2.3/image/image_disp.c:1085: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( im->pixels[ 0 ], im->ci[ 0 ],
data/libforms-1.2.3/image/image_fits.c:79:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char uc[ 4 ];
data/libforms-1.2.3/image/image_fits.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 buf[ 6 ];
data/libforms-1.2.3/image/image_fits.c:122:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   label[ MAXDIM ][ MAXLEN ];   /* name of each dimension          */
data/libforms-1.2.3/image/image_fits.c:123:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   bunit[ MAXLEN ];             /* unit name of the quantities     */
data/libforms-1.2.3/image/image_fits.c:124:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   xtname[ MAXLEN ];            /* if and what extension           */
data/libforms-1.2.3/image/image_fits.c:170: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 hbuf[ 15 ][ 80 ];
data/libforms-1.2.3/image/image_fits.c:171: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 *buf[ 15 ];
data/libforms-1.2.3/image/image_fits.c:179: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( buf[ i++ ], "SIMPLE\t= %c", h->simple == 1 ? 'Y' : 'N' );
data/libforms-1.2.3/image/image_fits.c:180: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( buf[ i++ ], "NAXIS\t= %d", h->ndim);
data/libforms-1.2.3/image/image_fits.c:186: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( buf[ i++ ], "PSIZE\t= %d", h->bpp );
data/libforms-1.2.3/image/image_fits.c:187: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( buf[ i++ ], "BSCALE\t= %g", h->bscale );
data/libforms-1.2.3/image/image_fits.c:188: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( buf[ i++ ], "BZERO\t= %g", h->bzero );
data/libforms-1.2.3/image/image_fits.c:189: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( buf[ i++ ], "DMIN\t= %g", h->dmin );
data/libforms-1.2.3/image/image_fits.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( buf[ i++ ], "DMAX\t= %g", h->dmax );
data/libforms-1.2.3/image/image_fits.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( buf[ i++ ], "BLANK\t=%d", h->blank );
data/libforms-1.2.3/image/image_fits.c:361: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 *comments[ ] =
data/libforms-1.2.3/image/image_fits.c:398:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 90 ],
data/libforms-1.2.3/image/image_fits.c:428:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            h->bpp = atoi( val );
data/libforms-1.2.3/image/image_fits.c:430:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            h->ndim = atoi( val );
data/libforms-1.2.3/image/image_fits.c:442: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).
            h->pcount = atoi( val );
data/libforms-1.2.3/image/image_fits.c:444: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).
            h->gcount = atoi( val );
data/libforms-1.2.3/image/image_fits.c:447:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            h->blank = atoi( val );
data/libforms-1.2.3/image/image_fits.c:461: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( buf, "NAXIS%d", i );
data/libforms-1.2.3/image/image_fits.c:463: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).
                h->dim[ i - 1 ] = atoi( val );
data/libforms-1.2.3/image/image_fits.c:465: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( buf, "CTYPE%d", i );
data/libforms-1.2.3/image/image_fits.c:469: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( buf, "TTYPE%d", i );
data/libforms-1.2.3/image/image_fits.c:473: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( buf, "CDELT%d", i );
data/libforms-1.2.3/image/image_fits.c:475:38:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                h->cdelta[ i - 1 ] = atoi( val );
data/libforms-1.2.3/image/image_fits.c:571:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char *c,
data/libforms-1.2.3/image/image_fits.c:669:25:  [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( fval + j, uc, 4 );
data/libforms-1.2.3/image/image_fits.c:695:25:  [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( dval + j, uc, 8 );
data/libforms-1.2.3/image/image_genesis.c:57:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 4 ];
data/libforms-1.2.3/image/image_gif.c:57:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 7 ];
data/libforms-1.2.3/image/image_gif.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 str[ 512 ];
data/libforms-1.2.3/image/image_gif.c:125:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[ 15 ];
data/libforms-1.2.3/image/image_gif.c:212:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char buf[ 128 ];
data/libforms-1.2.3/image/image_gif.c:217: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( im->info, "Size=(%d x %d)\n", im->w, im->h );
data/libforms-1.2.3/image/image_gif.c:218: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( buf,"Colors=%d\nGlobalmap=%d\n", im->map_len, sp->globalmap );
data/libforms-1.2.3/image/image_gif.c:220: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( buf,"Aspect=%d\nInterlace=%d\n", sp->aspect, sp->interlace );
data/libforms-1.2.3/image/image_gif.c:222: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( buf,"Offset=(%d %d)\n", im->wx, im->wy );
data/libforms-1.2.3/image/image_gif.c:445:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 258 ];
data/libforms-1.2.3/image/image_gif.c:589:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char *ch,
data/libforms-1.2.3/image/image_gif.c:739: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.
    static unsigned char stack[ MC_SIZE ];
data/libforms-1.2.3/image/image_gif.c:742: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.
    static unsigned char suffix[ MC_SIZE ];
data/libforms-1.2.3/image/image_gif.c:1027:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char s[ 256 ];
data/libforms-1.2.3/image/image_gif.c:1052:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[ 10 ];
data/libforms-1.2.3/image/image_gif.c:1294: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.
    static unsigned char bbuf[ 255 + 3 ];
data/libforms-1.2.3/image/image_gzip.c:42:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 2 ];
data/libforms-1.2.3/image/image_gzip.c:57: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 *cmds[ ] = { "gzip -dc %s > %s", NULL };
data/libforms-1.2.3/image/image_gzip.c:80: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 *cmds[ ] = {"gzip %s > %s", NULL };
data/libforms-1.2.3/image/image_gzip.c:81: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 *formats[ ] = { "ppm", "pgm", "pbm", NULL };
data/libforms-1.2.3/image/image_io_filter.c:57: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 buf[ 15 ][ 256 ];
data/libforms-1.2.3/image/image_io_filter.c:67:21:  [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).
        if ( ( fd = mkstemp( name ) ) >= 0 )
data/libforms-1.2.3/image/image_io_filter.c:78:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            fd = open( name, O_RDWR | O_CREAT | O_EXCL, S_IREAD | S_IWRITE );
data/libforms-1.2.3/image/image_io_filter.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 cmd[ 1024 ],
data/libforms-1.2.3/image/image_io_filter.c:121:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat( cmd, " 2>/dev/null" );
data/libforms-1.2.3/image/image_io_filter.c:145:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    im->fpin = fopen( tmpf, "rb" );
data/libforms-1.2.3/image/image_io_filter.c:187: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.
             char * const   formats[ ] )
data/libforms-1.2.3/image/image_io_filter.c:222:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                          char *const    formats[ ],      /* formats */
data/libforms-1.2.3/image/image_io_filter.c:226:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ofile[ 256 ],
data/libforms-1.2.3/image/image_io_filter.c:248:26:  [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 ( ! ( im->fpout = fopen( im->outfile, "wb" ) ) )
data/libforms-1.2.3/image/image_io_filter.c:269:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat( cmd, " 2>/dev/null" );
data/libforms-1.2.3/image/image_jpeg.c:86:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char buf[ 129 ];
data/libforms-1.2.3/image/image_jpeg.c:130: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 buf[ 1024 ];
data/libforms-1.2.3/image/image_marker.c:65:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char ps_cross[ ] = "-1 0 1 0 L 0 -1 0 1 L";
data/libforms-1.2.3/image/image_marker.c:66: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 ps_rect[ ] = "-1 1 -1 -1 L 1 1 LT 1 -1 LT C";
data/libforms-1.2.3/image/image_marker.c:67: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 ps_delta[ ] = " -1 -1 0 1 L 1 -1 LT C";
data/libforms-1.2.3/image/image_marker.c:68: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 ps_oval[ ] = " 0 0 1 0 360 arc";
data/libforms-1.2.3/image/image_marker.c:69:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char ps_line[ ] = "0 1 0 -1 L";
data/libforms-1.2.3/image/image_marker.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 ps_star[ ] =
data/libforms-1.2.3/image/image_marker.c:74: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 ps_arrow[ ] = 
data/libforms-1.2.3/image/image_marker.c:77: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 ps_thinarrow[ ] =
data/libforms-1.2.3/image/image_marker.c:241: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( imarker, min, sizeof *im->marker );
data/libforms-1.2.3/image/image_png.c:42:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 9 ];
data/libforms-1.2.3/image/image_png.c:43: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.
    static unsigned char sig[ 9 ] = { 137, 80, 78, 71, 13, 10, 26, 10 };
data/libforms-1.2.3/image/image_png.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 *cmds[ ] = { "pnmtopng %s  > %s", NULL };
data/libforms-1.2.3/image/image_png.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 *formats[ ] = { "ppm", "pgm", "pbm", NULL };
data/libforms-1.2.3/image/image_pnm.c:47:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  s[ 4 ];       /* signature */
data/libforms-1.2.3/image/image_pnm.c:57:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 2 ];
data/libforms-1.2.3/image/image_pnm.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 buf[ 2 ];
data/libforms-1.2.3/image/image_pnm.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 buf[ 2 ];
data/libforms-1.2.3/image/image_pnm.c:110: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( im->info,"Size=(%d x %d)\nMaxVal=%d\nRaw=%d\n",
data/libforms-1.2.3/image/image_pnm.c:122:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char s[ 3 ];
data/libforms-1.2.3/image/image_pnm.c:225: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.
                    r[ i ] = ( unsigned char ) ( r[ i ] * sp->fnorm );
data/libforms-1.2.3/image/image_pnm.c:226: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.
                    g[ i ] = ( unsigned char ) ( g[ i ] * sp->fnorm );
data/libforms-1.2.3/image/image_pnm.c:227: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.
                    b[ i ] = ( unsigned char ) ( b[ i ] * sp->fnorm );
data/libforms-1.2.3/image/image_postscript.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 buf[ 2 ];
data/libforms-1.2.3/image/image_postscript.c:113: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( im->extra_io_info, flimage_ps_options( ), sizeof( SPEC ) );
data/libforms-1.2.3/image/image_postscript.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 name[ 1024 ],
data/libforms-1.2.3/image/image_postscript.c:152:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    im->fpin = fopen( name, "rb" );
data/libforms-1.2.3/image/image_postscript.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 name[ 1024 ];
data/libforms-1.2.3/image/image_postscript.c:224:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cmd[ 1024 ];
data/libforms-1.2.3/image/image_postscript.c:231:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 1024 ];
data/libforms-1.2.3/image/image_postscript.c:254:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat( cmd, " 2 > /dev/null" );
data/libforms-1.2.3/image/image_postscript.c:648: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       pscmd[ ] )
data/libforms-1.2.3/image/image_postscript.c:652: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( pscmd, "StartRaster" );
data/libforms-1.2.3/image/image_postscript.c:686:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pscmd[ 512 ];
data/libforms-1.2.3/image/image_postscript.c:694: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( sp, flimage_ps_options( ), sizeof *sp );
data/libforms-1.2.3/image/image_postscript.c:769: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 *mbuf[ MBUFLEN ];
data/libforms-1.2.3/image/image_proc.c:317: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( subm[ i ], mat[ r1 + i ] + offset, size );
data/libforms-1.2.3/image/image_rotate.c:225: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( tmp, mm[ i ], size );
data/libforms-1.2.3/image/image_rotate.c:226: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( mm[ i ], mm[ rows - 1 - i ], size );
data/libforms-1.2.3/image/image_rotate.c:227: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( mm[ rows - 1 - i ], tmp, size );
data/libforms-1.2.3/image/image_scale.c:54:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char **npc[ 3 ],
data/libforms-1.2.3/image/image_scale.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.
    unsigned char **npc[ 3 ],
data/libforms-1.2.3/image/image_sgi.c:40:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 2 ];
data/libforms-1.2.3/image/image_sgi.c:56: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 *cmds[ ] = { "sgitopnm %s > %s", NULL };
data/libforms-1.2.3/image/image_sgi.c:79: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 *cmds[ ] = { "pnmtosgi %s > %s", NULL };
data/libforms-1.2.3/image/image_sgi.c:80: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 *formats[ ] = { "ppm", "pgm", "pbm", NULL };
data/libforms-1.2.3/image/image_text.c:114: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( text, txt, sizeof *text );
data/libforms-1.2.3/image/image_text.c:116: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( text->str, txt->str, txt->len );
data/libforms-1.2.3/image/image_text.c:162: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( &target, fli_internal_init( ), sizeof target );
data/libforms-1.2.3/image/image_tiff.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 c[ 4 ];
data/libforms-1.2.3/image/image_tiff.c:121:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 4 ];
data/libforms-1.2.3/image/image_tiff.c:809:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy( ctmp[ row ], sbuf, bpl );
data/libforms-1.2.3/image/image_tiff.c:1058:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char doc[ 256 ],
data/libforms-1.2.3/image/image_warp.c:100: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.
               unsigned char ** r,
data/libforms-1.2.3/image/image_warp.c:101: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.
               unsigned char ** g,
data/libforms-1.2.3/image/image_warp.c:102: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.
               unsigned char ** b,
data/libforms-1.2.3/image/image_warp.c:331: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.
transform_rgb( unsigned char ** or,
data/libforms-1.2.3/image/image_warp.c:332: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.
               unsigned char ** og,
data/libforms-1.2.3/image/image_warp.c:333: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.
               unsigned char ** ob,
data/libforms-1.2.3/image/image_warp.c:334: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.
               unsigned char ** nr,
data/libforms-1.2.3/image/image_warp.c:335: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.
               unsigned char ** ng,
data/libforms-1.2.3/image/image_warp.c:336: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.
               unsigned char ** nb,
data/libforms-1.2.3/image/image_xbm.c:42:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 128 ];
data/libforms-1.2.3/image/image_xbm.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 tmpstr[ 256 ];
data/libforms-1.2.3/image/image_xbm.c:147:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpstr[ 256 ],
data/libforms-1.2.3/image/image_xpm.c:45:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char key[ 4 ];      /* char keys. max 3 */
data/libforms-1.2.3/image/image_xpm.c:69:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char * get_xpm_pixel_name( char str[ ] );
data/libforms-1.2.3/image/image_xpm.c:69: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.
static char * get_xpm_pixel_name( char str[ ] );
data/libforms-1.2.3/image/image_xpm.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 buf[ 128 ];
data/libforms-1.2.3/image/image_xpm.c:147:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *buf,
data/libforms-1.2.3/image/image_xpm.c:341: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 token[ ] = ".+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMN$%&!";
data/libforms-1.2.3/image/image_xpm.c:362:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 512 ],
data/libforms-1.2.3/image/image_xwd.c:42:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/libforms-1.2.3/image/image_xwd.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 buf[ 128 ];
data/libforms-1.2.3/image/image_xwd.c:185: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( im->info, "file_version=%ld\nheader_size=%ld\n",
data/libforms-1.2.3/image/image_xwd.c:187: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( buf, "visual_class=%d\nbits_per_pixel=%d\nncolors=%d",
data/libforms-1.2.3/image/image_xwd.c:191: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( buf, "PixmapDepth=%d\nPixmapWidth=%d\nPixmapHeight=%d",
data/libforms-1.2.3/image/image_xwd.c:195: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( buf, "red_mask=0x%x\n green_mask=0x%x\n blue_mask=0x%x\n",
data/libforms-1.2.3/image/matrix.c:102: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.
        if ( matrix[ -1 ] == ( char * ) FL_GET_MATRIX )
data/libforms-1.2.3/image/postscript.c:113: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 s[ 64 ];
data/libforms-1.2.3/image/postscript.c:171:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        flps->fp = fopen( fname, "w" );
data/libforms-1.2.3/image/postscript.c:426:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 80 ],
data/libforms-1.2.3/image/postscript.c:483:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[ 80 ];
data/libforms-1.2.3/image/postscript.c:508: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( label, "%g", pow( 10.0, sp->xmajor_val[ i ] ) );
data/libforms-1.2.3/image/postscript.c:518: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.
            ll = sprintf( label, "%g", sp->xbase );
data/libforms-1.2.3/image/postscript.c:522: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.
            ll = sprintf( label, "%d", ( int ) ceil( xw ) );
data/libforms-1.2.3/image/postscript.c:544:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 80 ],
data/libforms-1.2.3/image/postscript.c:593:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[ 80 ];
data/libforms-1.2.3/image/postscript.c:613: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( label, "%g", pow( sp->ybase, yw ) );
data/libforms-1.2.3/image/postscript.c:622: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.
            ll = sprintf( label, "%d", ( int ) ceil( yw ) );
data/libforms-1.2.3/image/postscript.c:626: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( label, "%g", sp->ybase );
data/libforms-1.2.3/image/ps_core.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 buf[ 2048 ],
data/libforms-1.2.3/image/ps_core.c:841:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi( s );
data/libforms-1.2.3/image/ps_text.c:40: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 *fnts[ FL_MAXFONTS ] =
data/libforms-1.2.3/image/ps_text.c:154: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 buf[ 1024 ];
data/libforms-1.2.3/image/ps_text.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 *lines[ 512 ];
data/libforms-1.2.3/image/ps_text.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 newlabel[ 255 ],
data/libforms-1.2.3/lib/canvas.c:50:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char keybuf[ 127 ],
data/libforms-1.2.3/lib/canvas.c:328:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[ 32 ];
data/libforms-1.2.3/lib/canvas.c:381: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( name, "flcanvas%d", nc++ );
data/libforms-1.2.3/lib/chart.c:56:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     str[ MAX_CHART_LABEL_LEN ];   /* Label of the entry       */
data/libforms-1.2.3/lib/choice.c:258:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat( t, "%t" );
data/libforms-1.2.3/lib/clipboard.c:240:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy( buf + buflen, ret, ret_len );
data/libforms-1.2.3/lib/clock.c:201:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 12 ];
data/libforms-1.2.3/lib/clock.c:208: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( buf, "%d:%02d:%02d", hours, minutes, seconds );
data/libforms-1.2.3/lib/cmd_br.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 buf[ 1024 ];
data/libforms-1.2.3/lib/cmd_br.c:277:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cmd_tmp[ 1024 ];
data/libforms-1.2.3/lib/cmd_br.c:278:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *cmd_token[ 16 ];
data/libforms-1.2.3/lib/cmd_br.c:331:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 256 ];
data/libforms-1.2.3/lib/cmd_br.c:418:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 512 ];
data/libforms-1.2.3/lib/cmd_br.c:499:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 512 ];
data/libforms-1.2.3/lib/counter.c:66:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[ 64 ];
data/libforms-1.2.3/lib/counter.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( str, "%.*f", sp->prec, sp->val );
data/libforms-1.2.3/lib/cursor.c:151: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 c_bits[ ] = { 0x00 };
data/libforms-1.2.3/lib/cursor.c:161: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( cursors, prebuilt, sizeof prebuilt );
data/libforms-1.2.3/lib/dirent_vms.h:34:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    d_name[100];        /* File name        */
data/libforms-1.2.3/lib/errmsg.c:56: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.
extern char *sys_errlist[ ];
data/libforms-1.2.3/lib/errmsg.c:140:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ ( int ) log10( INT_MAX ) + 3 ],
data/libforms-1.2.3/lib/errmsg.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( line, "%d", lineno );
data/libforms-1.2.3/lib/events.c:912: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 char buf[ 128 ];
data/libforms-1.2.3/lib/events.c:1156:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char kvec[ 32 ];
data/libforms-1.2.3/lib/extern.h:62: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.
extern char fli_curfnt[ 127 ];
data/libforms-1.2.3/lib/flcolor.c:262: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 buf[ 32 ];
data/libforms-1.2.3/lib/flcolor.c:274: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( buf,"FL_FREE_COL%ld",1+col-FL_FREE_COL1 );
data/libforms-1.2.3/lib/flcolor.c:276: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( buf, "%ld", col );
data/libforms-1.2.3/lib/flcolor.c:301:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        return FL_FREE_COL1 + atoi( s + 11 ) - 1;
data/libforms-1.2.3/lib/flcolor.c:308:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi( s );
data/libforms-1.2.3/lib/flresource.c:102: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.
typedef char Bop[ 8 ];      /* Boolean default */
data/libforms-1.2.3/lib/flresource.c:103: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.
typedef char Iop[ 8 ];      /* Integer default */
data/libforms-1.2.3/lib/flresource.c:113: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 OpBS[ 12 ]       = "1"; /* whenmapped */
data/libforms-1.2.3/lib/flresource.c:114: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 OpSafe[ 12 ];
data/libforms-1.2.3/lib/flresource.c:115: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 OpSCBT[ 16 ]     = "thin";
data/libforms-1.2.3/lib/flresource.c:116: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 OpBLsize[ 20 ]   = NS( FL_DEFAULT_SIZE );
data/libforms-1.2.3/lib/flresource.c:117: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 OpMLsize[ 20 ]   = NS( FL_DEFAULT_SIZE );
data/libforms-1.2.3/lib/flresource.c:118: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 OpBrFsize[ 20 ]  = NS( FL_DEFAULT_SIZE );
data/libforms-1.2.3/lib/flresource.c:119: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 OpChFsize[ 20 ]  = NS( FL_DEFAULT_SIZE );
data/libforms-1.2.3/lib/flresource.c:120:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char OpSLsize[ 20 ]   = NS( FL_DEFAULT_SIZE );
data/libforms-1.2.3/lib/flresource.c:121: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 OpLLsize[ 20 ]   = NS( FL_DEFAULT_SIZE );
data/libforms-1.2.3/lib/flresource.c:122: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 OpILsize[ 20 ]   = NS( FL_DEFAULT_SIZE );
data/libforms-1.2.3/lib/flresource.c:123: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 OpIBW[ 20 ]      = NS( FL_BOUND_WIDTH  );
data/libforms-1.2.3/lib/flresource.c:124: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 OpPsize[ 20 ]    = NS( FL_DEFAULT_SIZE );
data/libforms-1.2.3/lib/flresource.c:125: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 OpVisualID[ 20 ] = "0";
data/libforms-1.2.3/lib/flresource.c:128: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 OpRgamma[ 12 ] = "1";
data/libforms-1.2.3/lib/flresource.c:129: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 OpGgamma[ 12 ] = "1";
data/libforms-1.2.3/lib/flresource.c:130: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 OpBgamma[ 12 ] = "1";
data/libforms-1.2.3/lib/flresource.c:133: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 OpCoordUnit[ 32 ];
data/libforms-1.2.3/lib/flresource.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( OpPrivateMap, "%d", cntl->privateColormap != 0 );
data/libforms-1.2.3/lib/flresource.c:212:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( OpSharedMap, "%d", cntl->sharedColormap != 0 );
data/libforms-1.2.3/lib/flresource.c:218: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( OpStandardMap, "%d", cntl->standardColormap != 0 );
data/libforms-1.2.3/lib/flresource.c:224: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( OpDouble, "%d", cntl->doubleBuffer != 0 );
data/libforms-1.2.3/lib/flresource.c:230: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( OpDepth, "%d", cntl->depth );
data/libforms-1.2.3/lib/flresource.c:242: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( OpBLsize, "%d", cntl->buttonFontSize );
data/libforms-1.2.3/lib/flresource.c:248: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( OpBrFsize, "%d", cntl->browserFontSize );
data/libforms-1.2.3/lib/flresource.c:254: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( OpMLsize, "%d", cntl->menuFontSize );
data/libforms-1.2.3/lib/flresource.c:260: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( OpChFsize, "%d", cntl->choiceFontSize );
data/libforms-1.2.3/lib/flresource.c:266: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( OpSLsize, "%d", cntl->sliderFontSize );
data/libforms-1.2.3/lib/flresource.c:272: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( OpILsize, "%d", cntl->inputFontSize );
data/libforms-1.2.3/lib/flresource.c:278:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( OpLLsize, "%d", cntl->labelFontSize );
data/libforms-1.2.3/lib/flresource.c:290: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( OpPsize, "%d", cntl->pupFontSize );
data/libforms-1.2.3/lib/flresource.c:296: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( OpSafe, "%d", cntl->safe );
data/libforms-1.2.3/lib/flresource.c:302:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( OpBS, "%d", cntl->backingStore );
data/libforms-1.2.3/lib/flresource.c:342: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( OpIBW, "%d", bw );
data/libforms-1.2.3/lib/flresource.c:355: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( OpSCBT, "normal" );
data/libforms-1.2.3/lib/flresource.c:357: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( OpSCBT, "nice" );
data/libforms-1.2.3/lib/flresource.c:359: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( OpSCBT, "plain" );
data/libforms-1.2.3/lib/flresource.c:361: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( OpSCBT, "thin" );
data/libforms-1.2.3/lib/flresource.c:372: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( OpVisualID, "0x%lx", id );
data/libforms-1.2.3/lib/flresource.c:403: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( OpDebug, "%d", fli_cntl.debug );
data/libforms-1.2.3/lib/flresource.c:418:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char rbuf[ 512 ],
data/libforms-1.2.3/lib/flresource.c:444:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   buf[ FL_PATH_MAX + 127 ],
data/libforms-1.2.3/lib/flresource.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 res_name[ 256 ]  = "",
data/libforms-1.2.3/lib/flresource.c:683:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                ( ( char * ) val )[ size - 1 ] = '\0';
data/libforms-1.2.3/lib/flresource.c:703:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 256 ];
data/libforms-1.2.3/lib/flresource.c:717:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[ 256 ],
data/libforms-1.2.3/lib/flresource.c:905:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
               char       * arg[ ],
data/libforms-1.2.3/lib/flresource.c:910:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char disp_name[ 256 ],
data/libforms-1.2.3/lib/flresource.c:1009:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        fli_set_debug_level( atoi( xval.addr ) );
data/libforms-1.2.3/lib/flsnprintf.c:650: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.
             char tmp[ 32 ];                /* temporary buffer for simple
data/libforms-1.2.3/lib/flsnprintf.c:1032: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 f[ 5 ];
data/libforms-1.2.3/lib/flsnprintf.c:1206:26:  [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( str + str_l, str_arg,
data/libforms-1.2.3/lib/flsnprintf.c:1242:26:  [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( str + str_l,
data/libforms-1.2.3/lib/fonts.c:65: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 *fnts[ FL_MAXFONTS ] =
data/libforms-1.2.3/lib/fonts.c:590: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 *tabstop[ MaxTabs ] = { "aaaaaaaa", 0 };
data/libforms-1.2.3/lib/fonts.c:632: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 fname[ FL_MAX_FONTNAME_LENGTH + 1 ];
data/libforms-1.2.3/lib/fonts.c:666: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 fname[ sizeof fli_curfnt ];
data/libforms-1.2.3/lib/fonts.c:667:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char len_str[ 50 ];    /* should be enough for all ints */
data/libforms-1.2.3/lib/fonts.c:678:19:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        int len = sprintf( len_str, "%d0", size );
data/libforms-1.2.3/lib/fselect.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        applabel[ MAX_APPBUTT ][ 32 ];
data/libforms-1.2.3/lib/fselect.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        retname[ MAXFL ];       /* complete filename */
data/libforms-1.2.3/lib/fselect.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        dname[ MAXFL ];         /* current path */
data/libforms-1.2.3/lib/fselect.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        filename[ FL_FLEN ];    /* bare filename */
data/libforms-1.2.3/lib/fselect.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        pattern[ FL_FLEN ];     /* patterns    */
data/libforms-1.2.3/lib/fselect.c:317:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char seltext[ FL_PATH_MAX ];
data/libforms-1.2.3/lib/fselect.c:373:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpdir[ FL_PATH_MAX + 2 ];
data/libforms-1.2.3/lib/fselect.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 tt[ FL_FLEN ];
data/libforms-1.2.3/lib/fselect.c:488: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 tmpbuf[ 256 ],
data/libforms-1.2.3/lib/fselect.c:1060: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.
pat_replace( char         str[ ],
data/libforms-1.2.3/lib/fselect.c:1084: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 buf[ FL_PATH_MAX ];
data/libforms-1.2.3/lib/global.c:90:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char fli_curfnt[ 127 ];
data/libforms-1.2.3/lib/goodie_alert.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 but_text[ 256 ] = "Dismiss";
data/libforms-1.2.3/lib/goodie_choice.c:43: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 * sc[ 3 ];
data/libforms-1.2.3/lib/goodie_choice.c:97: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 *c[ ] = { c0, c1, c2 };
data/libforms-1.2.3/lib/goodie_msg.c:64:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char but_text[ 256 ] = "Ok";
data/libforms-1.2.3/lib/goodie_yesno.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 shortcut[ 4 ];
data/libforms-1.2.3/lib/goodies.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 s[ 256 ];
data/libforms-1.2.3/lib/goodies.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 s[ 256 ];
data/libforms-1.2.3/lib/handling.c:937:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char keybuf[ 227 ];
data/libforms-1.2.3/lib/include/XBasic.h:174:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          fname[ FL_MAX_FONTNAME_LENGTH + 1 ];  /* without size info */
data/libforms-1.2.3/lib/include/XBasic.h:659: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       * arg[ ],
data/libforms-1.2.3/lib/include/XBasic.h:718:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char   vname[ 24 ];
data/libforms-1.2.3/lib/input.c:497: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 cutbuf[ MAXCBLEN ];
data/libforms-1.2.3/lib/input.c:1303: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( sp->str + sp->position, thebytes, nb );
data/libforms-1.2.3/lib/input.c:2453:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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,
data/libforms-1.2.3/lib/input.c:2456:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ssep[ ] = { 0, 0 };
data/libforms-1.2.3/lib/input.c:2495:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        ival[ i++ ] = atoi( val );
data/libforms-1.2.3/lib/input.c:2965: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( keymap, &kmap, sizeof kmap );
data/libforms-1.2.3/lib/listdir.c:177: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 fname[ MAXFL + 2 ];
data/libforms-1.2.3/lib/listdir.c:432:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cwd[ FL_PATH_MAX ];
data/libforms-1.2.3/lib/listdir.c:507: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 *lastdir[ MAXCACHE ],
data/libforms-1.2.3/lib/listdir.c:596:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char okdir[ FL_PATH_MAX + 1 ];
data/libforms-1.2.3/lib/listdir.c:646: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.
         && isalpha( ( unsigned char ) name[ 0 ] )
data/libforms-1.2.3/lib/listdir.c:671: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 ldir[ FL_PATH_MAX ],
data/libforms-1.2.3/lib/listdir.c:698: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 (    isalpha( ( unsigned char ) ldir[ 0 ] )
data/libforms-1.2.3/lib/listdir.c:709: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.
         && isalpha( ( unsigned char ) ldir[ 2 ] ) )
data/libforms-1.2.3/lib/listdir.c:758: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.
         && isalpha( ( unsigned char ) ldir[ 2 ] ) )
data/libforms-1.2.3/lib/listdir.c:975: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( head[ n ] = fl_malloc( total ), dentry, total );
data/libforms-1.2.3/lib/menu.c:473: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.
        if ( ! isdigit( ( unsigned char ) p[ 2 ] ) )
data/libforms-1.2.3/lib/menu.c:640:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 ( isdigit( ( unsigned char ) p[ 2 ] ) )
data/libforms-1.2.3/lib/objects.c:1774:50:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                else if (    isdigit( ( unsigned char ) c[ 1 ] )
data/libforms-1.2.3/lib/objects.c:1779:49:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 (    isdigit( ( unsigned char ) c[ 2 ] )
data/libforms-1.2.3/lib/objects.c:1888: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( obj->shortcut, sc, scsize );
data/libforms-1.2.3/lib/popup.c:626: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( txt + cnt, "%x%f%s", 6 );
data/libforms-1.2.3/lib/popup.c:633: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( txt + cnt, "%d", 2 );
data/libforms-1.2.3/lib/popup.c:639: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( txt + cnt, "%h", 2 );
data/libforms-1.2.3/lib/popup.c:709:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat( txt, "%m" );
data/libforms-1.2.3/lib/popup.c:1062:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *t,
data/libforms-1.2.3/lib/popup.c:2740: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( entry->shortcut, sc, ( cnt + 1 ) * sizeof *entry->shortcut );
data/libforms-1.2.3/lib/popup.c:3829:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 16 ];
data/libforms-1.2.3/lib/private/pchoice.h:39:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          * items[ CMAXITEMS ];    /* choice items */
data/libforms-1.2.3/lib/private/pchoice.h:40:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          * shortcut[ CMAXITEMS ];
data/libforms-1.2.3/lib/private/pchoice.h:41:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char   mode[ CMAXITEMS ];
data/libforms-1.2.3/lib/private/pchoice.h:47:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char   modechange[ CMAXITEMS ];
data/libforms-1.2.3/lib/private/pformbrowser.h:62:30:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define memmove( a, b, c )   bcopy( b, a, c )
data/libforms-1.2.3/lib/private/pmenu.h:35:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          * items[ MMAXITEMS ];     /* individual menu items   */
data/libforms-1.2.3/lib/private/pmenu.h:36:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char          * shortcut[ MMAXITEMS ];  /* shortcuts for items */
data/libforms-1.2.3/lib/private/pmenu.h:37:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char   mode[ MMAXITEMS ];      /* menu item mode */
data/libforms-1.2.3/lib/private/pmenu.h:42:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            mval[ MMAXITEMS ];      /* entry value, position based */
data/libforms-1.2.3/lib/private/pmenu.h:43:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            modechange[ MMAXITEMS ];
data/libforms-1.2.3/lib/private/pxyplot.h:64:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char              * axtic[ MAX_MAJOR + 1 ]; /* alphanumerical tic marks */
data/libforms-1.2.3/lib/private/pxyplot.h:65:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char              * aytic[ MAX_MAJOR + 1 ]; /* alphanumerical tic marks */
data/libforms-1.2.3/lib/select.c:414:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat( txt, "%d" );
data/libforms-1.2.3/lib/select.c:416:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat( txt, "%h" );
data/libforms-1.2.3/lib/select.c:417:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat( txt, "%f%s" );
data/libforms-1.2.3/lib/slider.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 valstr[ 64 ];
data/libforms-1.2.3/lib/slider.c:186:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf( valstr, "%.*f", sp->prec, sp->val );
data/libforms-1.2.3/lib/space.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 buf[ 1024 ];
data/libforms-1.2.3/lib/spinner.c:219: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( buf, "%d", sp->i_val );
data/libforms-1.2.3/lib/spinner.c:276: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( buf, "%.*f", sp->prec, sp->f_val );
data/libforms-1.2.3/lib/spinner.c:422: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( buf, "%.*f", sp->prec, f_val );
data/libforms-1.2.3/lib/symbols.c:217:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
             && isdigit( ( unsigned char ) label[ pos + 1 ] )
data/libforms-1.2.3/lib/symbols.c:224:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                  && isdigit( ( unsigned char ) label[ pos + 1 ] )
data/libforms-1.2.3/lib/symbols.c:235: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.
        else if ( isdigit( ( unsigned char ) label[ pos ] ) )
data/libforms-1.2.3/lib/sysdep.c:78: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 buf[ 32 ];
data/libforms-1.2.3/lib/sysdep.c:94: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 buf[ 64 ];
data/libforms-1.2.3/lib/tbox.c:637: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( new_text, tl->fulltext, old_len );
data/libforms-1.2.3/lib/tbox.c:639: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( new_text + old_len, "@ ", 2 );
data/libforms-1.2.3/lib/tbox.c:641: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( new_text + old_len + insert, add, len ); 
data/libforms-1.2.3/lib/tbox.c:656: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( new_text, add, del - add );
data/libforms-1.2.3/lib/tbox.c:810:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ( ! ( fp = fopen( filename, "r" ) ) )
data/libforms-1.2.3/lib/timer.c:60: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 buf[ 32 ];
data/libforms-1.2.3/lib/timer.c:71: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( buf, "%d:%02d:%04.1f", hr, minutes, sec );
data/libforms-1.2.3/lib/timer.c:77: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( buf, "%d:%04.1f", minutes, sec );
data/libforms-1.2.3/lib/timer.c:80: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( buf, "%.1f", totalsec );
data/libforms-1.2.3/lib/util.c:261: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( dest, src, l + 1 );
data/libforms-1.2.3/lib/util.c:264: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( dest, src, n - 1 );
data/libforms-1.2.3/lib/vms_readdir.c:81: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 nambuf[255 + 1];
data/libforms-1.2.3/lib/vms_readdir.c:166: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(strcpy(dd->pattern, nambuf), "*.*");
data/libforms-1.2.3/lib/vms_readdir.c:223:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buff[sizeof dd->entry.d_name];
data/libforms-1.2.3/lib/vms_readdir.c:239: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(strcpy(&text[i - 3], e->d_name), ";*");
data/libforms-1.2.3/lib/vms_readdir.c:255: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).
            e->vms_versions[e->vms_verscount] = atoi(p + 1);
data/libforms-1.2.3/lib/vn_pair.c:66: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 buf[ 5 ][ 16 ];
data/libforms-1.2.3/lib/vn_pair.c:75: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( buf[ k ], "%d", val );
data/libforms-1.2.3/lib/win.c:558: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 res[ 54 ];
data/libforms-1.2.3/lib/win.c:562:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 ( res[ 0 ] && isupper( ( unsigned char ) res[ 0 ] ) )
data/libforms-1.2.3/lib/win.c:563:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        res[ 0 ] = tolower( ( unsigned char ) res[ 0 ] );
data/libforms-1.2.3/lib/win.c:574: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 machine_name[ 256 ] = "";
data/libforms-1.2.3/lib/xdraw.c:559: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 dots[ ]    = { 2, 4 };
data/libforms-1.2.3/lib/xdraw.c:560: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 dotdash[ ] = { 7, 3, 2, 3 };
data/libforms-1.2.3/lib/xdraw.c:561: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 ldash[ ]   = { 10, 4 };
data/libforms-1.2.3/lib/xdraw.c:636: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 default_dash[ ] = { 4, 4 };
data/libforms-1.2.3/lib/xdraw.c:655: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 default_dash[ ] = { 4, 4 };
data/libforms-1.2.3/lib/xpopup.c:967:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 16 ];
data/libforms-1.2.3/lib/xpopup.c:2313: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( t + strlen( t ), "%%x%d", val );
data/libforms-1.2.3/lib/xpopup.c:2333: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( t + strlen( t ), "%%x%d%%m", val );
data/libforms-1.2.3/lib/xyplot.c:516: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( sp->xpactive, sp->xp, sp->nxp * sizeof *xp );
data/libforms-1.2.3/lib/xyplot.c:531: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( sp->xpactive, sp->xp, sp->nxp * sizeof *xp );
data/libforms-1.2.3/lib/xyplot.c:674: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.
                       char  label[ ] )
data/libforms-1.2.3/lib/xyplot.c:679: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( label, "%.1f", f );
data/libforms-1.2.3/lib/xyplot.c:681: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( label, "%.0f", f );
data/libforms-1.2.3/lib/xyplot.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( label, "%.1f", f );
data/libforms-1.2.3/lib/xyplot.c:685: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( label, "%.2f", f );
data/libforms-1.2.3/lib/xyplot.c:687: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( label, "%g", f );
data/libforms-1.2.3/lib/xyplot.c:1101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 80 ],
data/libforms-1.2.3/lib/xyplot.c:1161:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[ 80 ];
data/libforms-1.2.3/lib/xyplot.c:1187: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( label, "%g", pow( sp->xbase, xw ) );
data/libforms-1.2.3/lib/xyplot.c:1197: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.
            ll = sprintf( label, "%g", sp->xbase );
data/libforms-1.2.3/lib/xyplot.c:1202: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.
            ll = sprintf( label, "%d", ( int ) ceil( xw ) );
data/libforms-1.2.3/lib/xyplot.c:1222:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char label[ 80 ];
data/libforms-1.2.3/lib/xyplot.c:1242: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( label, "%g", pow( sp->ybase, yw ) );
data/libforms-1.2.3/lib/xyplot.c:1251: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.
            ll = sprintf( label, "%d", ( int ) ceil( yw ) );
data/libforms-1.2.3/lib/xyplot.c:1255: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( label, "%g", sp->ybase );
data/libforms-1.2.3/lib/xyplot.c:1274:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 80 ],
data/libforms-1.2.3/lib/xyplot.c:1321:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 80 ],
data/libforms-1.2.3/lib/xyplot.c:1751: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 s[ 2 ] = "";
data/libforms-1.2.3/lib/xyplot.c:2272: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( x, *sp->x, *sp->n * sizeof *x );
data/libforms-1.2.3/lib/xyplot.c:2273: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( y, *sp->y, *sp->n * sizeof *y );
data/libforms-1.2.3/lib/xyplot.c:2842: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( *sp->x, x, n * sizeof **sp->x );
data/libforms-1.2.3/lib/xyplot.c:2843: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( *sp->y, y, n * sizeof **sp->y );
data/libforms-1.2.3/lib/xyplot.c:2895: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( xx, sp->x[ id ], n * sizeof *xx );
data/libforms-1.2.3/lib/xyplot.c:2896: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( yy, sp->y[ id ], n * sizeof *yy );
data/libforms-1.2.3/lib/xyplot.c:2902: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( xx + n + 1, sp->x[ id ] + n,
data/libforms-1.2.3/lib/xyplot.c:2904: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( yy + n + 1, sp->y[ id ] + n,
data/libforms-1.2.3/lib/xyplot.c:2961: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( sp->x[ id ], x, n * sizeof **sp->x );
data/libforms-1.2.3/lib/xyplot.c:2962: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( sp->y[ id ], y, n * sizeof **sp->y );
data/libforms-1.2.3/lib/xyplot.c:2995:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[ 128 ];
data/libforms-1.2.3/lib/xyplot.c:2999:26:  [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 ( ! f || ! ( fp = fopen( f, "r" ) ) )
data/libforms-1.2.3/lib/xyplot.c:3140: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( x, sp->x[ id ], sp->n[ id ] * sizeof *x );
data/libforms-1.2.3/lib/xyplot.c:3141: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( y, sp->y[ id ], sp->n[ id ] * sizeof *y );
data/libforms-1.2.3/demos/demo.c:327:21:  [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( strcat( cmd, " " ), vv[ i ] );
data/libforms-1.2.3/demos/ibrowser.c:229:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    flimage_add_text( curr_image, buf, strlen( buf ),
data/libforms-1.2.3/demos/ibrowser.c:237: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).
    text.len = strlen( text.str );
data/libforms-1.2.3/demos/strsize.c:60: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).
    int w = fl_get_string_width( ob->lstyle, ob->lsize, s, strlen( s ) );
data/libforms-1.2.3/demos/strsize.c:61:61:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int h = fl_get_string_height( ob->lstyle, ob->lsize, s, strlen( s ), 0, 0 );
data/libforms-1.2.3/demos/symbols.c:98:17:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
        strcat( strcpy( buf, "@" ) , *p );
data/libforms-1.2.3/demos/symbols.c:104:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                   *p, strlen( *p ) )
data/libforms-1.2.3/fd2ps/load.c:213:9:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
        strcpy( key, "?" );
data/libforms-1.2.3/fd2ps/load.c:227:9:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
        strcpy( key, "?" );
data/libforms-1.2.3/fd2ps/load.c:347:27:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( ungetc( ( c = getc( fp ) ), fp ) != '-' && c != '=' )
data/libforms-1.2.3/fd2ps/load.c:350:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if ( strlen( de_space( key ) ) < 2 )
data/libforms-1.2.3/fd2ps/load.c:460:23:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
              && (    fscanf( fl, "type: %999s\n", val ) != 1
data/libforms-1.2.3/fd2ps/load.c:487:18:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
            if ( sscanf( val, "%63s %63s", cn1, cn2 ) != 2 )
data/libforms-1.2.3/fd2ps/load.c:544:13:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
         || fscanf( fl, "Name: %1023s\n", fname ) != 1 )
data/libforms-1.2.3/fd2ps/load.c:609:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
         || fgetc( fp ) != '\n'
data/libforms-1.2.3/fd2ps/load.c:634:18:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
            if ( sscanf( buf, "Unit of measure: %31s", ubuf ) != 1 )
data/libforms-1.2.3/fd2ps/load.c:646:18:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
            if ( sscanf( buf, "Border Width: %31s", ubuf ) != 1 )
data/libforms-1.2.3/fd2ps/load.c:831: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).
        memmove( spstyle, p + 1, strlen( p ) );
data/libforms-1.2.3/fd2ps/psobj.c:466: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).
        obj->label = malloc( strlen( q ) + 2 );
data/libforms-1.2.3/fd2ps/psobj.c:467:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( obj->label, q, n );
data/libforms-1.2.3/fd2ps/psobj.c:1894: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).
    est = strlen( ob->label ) * ob->lsize;
data/libforms-1.2.3/fd2ps/psobj.c:2107: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).
            cur_size += strlen( sp->content[ i ] ) + 2;
data/libforms-1.2.3/fd2ps/psobj.c:2110:13:  [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( str, "\n" );
data/libforms-1.2.3/fd2ps/readxpm.c:120:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( ( c = getc( fp ) ) != EOF && c != '"' )
data/libforms-1.2.3/fd2ps/readxpm.c:129:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( getc(fp) != '\n' )
data/libforms-1.2.3/fd2ps/readxpm.c:167:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( key, head, char_per_pixel );
data/libforms-1.2.3/fd2ps/readxpm.c:172:9:  [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.
        sscanf( head, " %7s %63s %n", ckey, val, &n );
data/libforms-1.2.3/fd2ps/readxpm.c:173:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if ( val[ strlen( val ) - 1 ] == '"')
data/libforms-1.2.3/fd2ps/readxpm.c:174: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).
            val[ strlen( val ) - 1 ] = '\0';
data/libforms-1.2.3/fd2ps/readxpm.c:175:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if ( val[ strlen( val ) - 1 ] == ',' )
data/libforms-1.2.3/fd2ps/readxpm.c:176: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).
            val[ strlen( val ) - 2 ] = '\0';
data/libforms-1.2.3/fd2ps/readxpm.c:399:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if ( ( match = strlen( name ) ) == 7 )    /* #rrggbb */
data/libforms-1.2.3/fd2ps/sys.c:43:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    buf[ strlen( buf ) - 1 ] = '\0';
data/libforms-1.2.3/fd2ps/sys.c:77: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).
    char *p = malloc( strlen( s ) + 1 );
data/libforms-1.2.3/fd2ps/xbmtops.c:44:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( ( c = getc( fp ) ) == ',' || isspace( ( unsigned char ) c ) )
data/libforms-1.2.3/fd2ps/xbmtops.c:51:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          c = getc( fp ) )
data/libforms-1.2.3/fd2ps/xbmtops.c:106:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( ( c = getc( fp ) ) != EOF && c != '{' )
data/libforms-1.2.3/fd2ps/xpmtops.c:60:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( ( c = getc( fp ) ) != '"' && c != EOF )
data/libforms-1.2.3/fdesign/fd_attribs.c:631:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *tmpstr = fl_malloc( strlen( str ) + 1 );
data/libforms-1.2.3/fdesign/fd_attribs.c:711:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen( label );
data/libforms-1.2.3/fdesign/fd_file.c:621:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            char *tmp = fl_malloc(   strlen( "Invalid type for object class: " )
data/libforms-1.2.3/fdesign/fd_file.c:622: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).
                                   + strlen( type_name ) + 1 );
data/libforms-1.2.3/fdesign/fd_file.c:652:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                char *tmp = fl_malloc( strlen( "Expected object box sizes as "
data/libforms-1.2.3/fdesign/fd_file_fun.c:441: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).
    *p = ff.pos + strlen( ff.pos ) - 1;
data/libforms-1.2.3/fdesign/fd_file_fun.c:460:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *ep = ff.pos + strlen( ff.pos ) - 1,
data/libforms-1.2.3/fdesign/fd_file_fun.c:698: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).
        align_name = fl_malloc( strlen( a1 ) + strlen( a2 ) + 2 );
data/libforms-1.2.3/fdesign/fd_file_fun.c:698: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).
        align_name = fl_malloc( strlen( a1 ) + strlen( a2 ) + 2 );
data/libforms-1.2.3/fdesign/fd_file_fun.c:771: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).
        lstyle_name = fl_malloc( strlen( l1 ) + strlen( l2 ) + 2 );
data/libforms-1.2.3/fdesign/fd_file_fun.c:771: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).
        lstyle_name = fl_malloc( strlen( l1 ) + strlen( l2 ) + 2 );
data/libforms-1.2.3/fdesign/fd_forms.c:460:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t l = strlen( fn );
data/libforms-1.2.3/fdesign/fd_forms.c:747: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).
    i = strlen( filename ) - 1;
data/libforms-1.2.3/fdesign/fd_iconinfo.c:156: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 ( ( line = fl_realloc( line, strlen( line ) + 1 ) ) == NULL )
data/libforms-1.2.3/fdesign/fd_iconinfo.c:222: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).
    if ( len > MAX_VAR_LEN - 1 || len <= strlen( what ) )
data/libforms-1.2.3/fdesign/fd_iconinfo.c:225:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( name, start, len );
data/libforms-1.2.3/fdesign/fd_iconinfo.c:228: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 ( strcmp( name + len - strlen( what ), what ) )
data/libforms-1.2.3/fdesign/fd_iconinfo.c:341:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( name, start, len );
data/libforms-1.2.3/fdesign/fd_main.c:650:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            fdopt.output_dir = malloc( strlen( argv[ ++i ] ) + 1 );
data/libforms-1.2.3/fdesign/fd_names.c:94:9:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
        strcpy( objects[ on ].argname, "0" );
data/libforms-1.2.3/fdesign/fd_printC.c:62: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).
    buf = malloc( strlen( s ) + 5 );
data/libforms-1.2.3/fdesign/fd_printC.c:109: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).
                            fdopt.output_dir[ strlen( fdopt.output_dir ) - 1 ]
data/libforms-1.2.3/fdesign/fd_select.c:1410: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).
                memmove( b, b + 1, strlen( b ) );
data/libforms-1.2.3/fdesign/fd_select.c:1729: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).
        memmove( s, s + 1, strlen( s ) + 1 );
data/libforms-1.2.3/fdesign/fd_spec.c:1062:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ( strlen( p ) >= sizeof info->filename )
data/libforms-1.2.3/fdesign/fd_spec.c:1089:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ( strlen( p ) >= sizeof info->focus_filename )
data/libforms-1.2.3/fdesign/fd_spec.c:1744:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            char *tmp = fl_malloc(   strlen( "Read invalid object specific "
data/libforms-1.2.3/fdesign/fd_spec.c:1746: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).
                                   + strlen( key ) + 1 );
data/libforms-1.2.3/fdesign/fd_util.c:154: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).
            abs_path = fl_realloc( abs_path, size + strlen( rel_path ) + 2 );
data/libforms-1.2.3/fdesign/fd_util.c:161:17:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat( strcat( abs_path, "/" ), rel_path );
data/libforms-1.2.3/fdesign/fd_util.c:165: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).
        memmove( res, res + 2, strlen( res ) - 1 );
data/libforms-1.2.3/fdesign/fd_util.c:176: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).
			memmove( dest, res + 3, strlen( res ) - 2 );
data/libforms-1.2.3/fdesign/fd_util.c:179: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).
			memmove( abs_path, abs_path + 3, strlen( abs_path ) - 2 );
data/libforms-1.2.3/fdesign/fd_util.c:182: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).
    return fl_realloc( abs_path, strlen( abs_path ) + 1 );
data/libforms-1.2.3/fdesign/sp_button.c:574: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).
        fn += strlen( cwd ) + 1;
data/libforms-1.2.3/fdesign/sp_pixmap.c:331: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).
        fn += strlen( cwd ) + 1;
data/libforms-1.2.3/image/image.c:193:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy( image->infile, file, MaxImageFileNameLen - 5 );
data/libforms-1.2.3/image/image.c:479:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy( image->outfile, filename, MaxImageFileNameLen - 5 );
data/libforms-1.2.3/image/image.c:488:25:  [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( strcat( image->outfile, "." ), io->extension );
data/libforms-1.2.3/image/image.c:1662:10:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    if ( sscanf( buf, "%63s %d %d %d %d %d %d %d %d %d %d %d %d %d %d", name,
data/libforms-1.2.3/image/image.c:1720:20:  [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.
    return strcat( strcat( retbuf, " " ), font_spstyle );
data/libforms-1.2.3/image/image.c:1802:10:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    if ( sscanf( p + 1, "%63s %63s %d %d %d %63s %d %d %d %d %d %d %d %d",
data/libforms-1.2.3/image/image.c:1829:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( ( c = getc( fp ) ) == '#' )
data/libforms-1.2.3/image/image.c:1831:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while ( ( c = getc( fp ) ) != '\n' && c != EOF )
data/libforms-1.2.3/image/image.c:1911:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while ( ( c = getc( fp ) ) != EOF && c != '#' )
data/libforms-1.2.3/image/image_bmp.c:223:34:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            im->blue_lut[ i ]  = getc( im->fpin );
data/libforms-1.2.3/image/image_bmp.c:224:34:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            im->green_lut[ i ] = getc( im->fpin );
data/libforms-1.2.3/image/image_bmp.c:225:34:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            im->red_lut[ i ]   = getc( im->fpin );
data/libforms-1.2.3/image/image_bmp.c:226:34:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            im->alpha_lut[ i ] = getc( im->fpin );
data/libforms-1.2.3/image/image_bmp.c:299:26:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            blue[ j ]  = getc( fp );
data/libforms-1.2.3/image/image_bmp.c:300:26:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            green[ j ] = getc( fp );
data/libforms-1.2.3/image/image_bmp.c:301:26:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            red[ j ]   = getc( fp );
data/libforms-1.2.3/image/image_bmp.c:305:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            getc( fp );
data/libforms-1.2.3/image/image_bmp.c:339:30:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                if ( ( pix = getc( fp ) ) != EOF && j < im->w )
data/libforms-1.2.3/image/image_bmp.c:353:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            int len = getc( fp );
data/libforms-1.2.3/image/image_bmp.c:354:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            pix = getc( fp );
data/libforms-1.2.3/image/image_bmp.c:371:27:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    ci += getc( fp );
data/libforms-1.2.3/image/image_bmp.c:372:34:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    i += ( pix = getc( fp ) );
data/libforms-1.2.3/image/image_bmp.c:380:33:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        *ci++ = getc( fp );
data/libforms-1.2.3/image/image_bmp.c:382:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        getc( fp );
data/libforms-1.2.3/image/image_bmp.c:419:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                int c = getc( fp );
data/libforms-1.2.3/image/image_bmp.c:426:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                getc( fp );
data/libforms-1.2.3/image/image_bmp.c:436:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            int len = getc( fp );
data/libforms-1.2.3/image/image_bmp.c:437:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            int pix = getc( fp );
data/libforms-1.2.3/image/image_bmp.c:457:27:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    ci += getc( fp );
data/libforms-1.2.3/image/image_bmp.c:458:34:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    i += ( pix = getc( fp ) );
data/libforms-1.2.3/image/image_bmp.c:468:35:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            pix = getc( fp );
data/libforms-1.2.3/image/image_bmp.c:476:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        getc( fp );
data/libforms-1.2.3/image/image_fits.c:213:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat( strcat( im->info, *q ),"\n" );
data/libforms-1.2.3/image/image_fits.c:331: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).
        flimage_add_text( im, sp->label[ 0 ], strlen( sp->label[ 0 ] ),
data/libforms-1.2.3/image/image_fits.c:343: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).
        flimage_add_text( im, sp->label[ 1 ], strlen( sp->label[ 1 ] ),
data/libforms-1.2.3/image/image_fits.c:481:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( ( i = getc( fp ) ) == ' ' || i == '\n' )
data/libforms-1.2.3/image/image_gif.c:173:30:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        im->red_lut[   i ] = getc( im->fpin );
data/libforms-1.2.3/image/image_gif.c:174:30:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        im->green_lut[ i ] = getc( im->fpin );
data/libforms-1.2.3/image/image_gif.c:175:30:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        im->blue_lut[  i ] = getc( im->fpin );
data/libforms-1.2.3/image/image_gif.c:265:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    inbyte = getc( fp );
data/libforms-1.2.3/image/image_gif.c:342: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).
        flimage_add_text( im, p->str, strlen( p->str ), 0, fsize, tcol, bcol,
data/libforms-1.2.3/image/image_gif.c:420:20:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( ( count = getc( fp ) ) != EOF && count != 0 )
data/libforms-1.2.3/image/image_gif.c:449:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    label = getc( fp );
data/libforms-1.2.3/image/image_gif.c:455:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ( getc( fp ) != 12 )
data/libforms-1.2.3/image/image_gif.c:465:21:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            t->cw = fgetc( fp );    /* cell width   */
data/libforms-1.2.3/image/image_gif.c:466:21:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            t->ch = fgetc( fp );    /* cell height  */
data/libforms-1.2.3/image/image_gif.c:467:21:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            t->tc = fgetc( fp );    /* text color   */
data/libforms-1.2.3/image/image_gif.c:468:21:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            t->bc = fgetc( fp );    /* bk color     */
data/libforms-1.2.3/image/image_gif.c:476: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 ( strlen( t->str ) + count > sizeof t->str )
data/libforms-1.2.3/image/image_gif.c:477: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).
                    count = sizeof t->str - strlen( t->str ) - 1;
data/libforms-1.2.3/image/image_gif.c:478: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.
                strncat( t->str, buf, count );
data/libforms-1.2.3/image/image_gif.c:506:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ( getc( fp ) != 11 ) /* block length */
data/libforms-1.2.3/image/image_gif.c:540:32:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( ! err && ( pchar = getc( fp ) ) != EOF && pchar != IMAGESEP )
data/libforms-1.2.3/image/image_gif.c:597:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CodeSize = getc( fp );
data/libforms-1.2.3/image/image_gif.c:609:32:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( ! err && ( count = getc( fp ) ) != EOF && count > 0 )
data/libforms-1.2.3/image/image_gif.c:639:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if ( ( code = getc( fp ) ) == EXTENSION )
data/libforms-1.2.3/image/image_gif.c:654:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                  && getc( fp ) != EOF )
data/libforms-1.2.3/image/image_gif.c:1030: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).
        k = strlen( str );
data/libforms-1.2.3/image/image_gif.c:1034:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( s, p, 255 );
data/libforms-1.2.3/image/image_gif.c:1036: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).
        len = strlen( s );
data/libforms-1.2.3/image/image_pnm.c:200:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                *r++ = getc( im->fpin );
data/libforms-1.2.3/image/image_pnm.c:201:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                *g++ = getc( im->fpin );
data/libforms-1.2.3/image/image_pnm.c:202:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                *b++ = getc( im->fpin );
data/libforms-1.2.3/image/image_pnm.c:238:29:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                gray[ i ] = getc( im->fpin );
data/libforms-1.2.3/image/image_pnm.c:260:29:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        k = getc( im->fpin );
data/libforms-1.2.3/image/image_postscript.c:277:38:  [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.
    dl = fl_get_dirlist( sp->tmpdir, strcat( prefix, "*" ), &npages, 1 );
data/libforms-1.2.3/image/image_tiff.c:39:5:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int fgetc( FILE *stream );
data/libforms-1.2.3/image/image_tiff.c:526:48:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    sp->readit[ kUByte ] = sp->readit[SBYTE] = fgetc;
data/libforms-1.2.3/image/image_tiff.c:528:27:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    sp->readit[ ASCII ] = fgetc;
data/libforms-1.2.3/image/image_tiff.c:1130: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).
        write_tag( fp, sp, DocumentName, strlen( doc ), ( int * ) doc, &itag );
data/libforms-1.2.3/image/image_tiff.c:1132: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).
    write_tag( fp, sp, Description, strlen(desc), (int *) desc, &itag );
data/libforms-1.2.3/image/image_xbm.c:94:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( ( h = getc( im->fpin ) ) != EOF && h != '{' )     /* } VI */
data/libforms-1.2.3/image/image_xbm.c:157:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( tmpstr, im->outfile, sizeof tmpstr - 25 );
data/libforms-1.2.3/image/image_xpm.c:107:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( ( c = getc( fp ) ) && c != '"' )
data/libforms-1.2.3/image/image_xpm.c:129:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( getc( fp ) != '\n' )
data/libforms-1.2.3/image/image_xpm.c:204:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( key, head, sp->char_per_pix );
data/libforms-1.2.3/image/image_xpm.c:212:25:  [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.
                      ( sscanf( head, "%7s %31s %n", ckey, val, &n ) < 2 ) ) )
data/libforms-1.2.3/image/image_xpm.c:237: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).
                for ( len = strlen( val ), p = val + len - 1;
data/libforms-1.2.3/image/image_xpm.c:359:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen( token ),
data/libforms-1.2.3/image/image_xwd.c:383:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    getc( fp );
data/libforms-1.2.3/image/image_xwd.c:397:30:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        us = getc( fp );
data/libforms-1.2.3/image/image_xwd.c:410:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        getc( fp );
data/libforms-1.2.3/image/image_xwd.c:420:44:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        im->ci[ y ][ x ] = getc( fp );
data/libforms-1.2.3/image/image_xwd.c:423:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        getc( fp );
data/libforms-1.2.3/image/image_xwd.c:451:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        getc( fp );
data/libforms-1.2.3/image/image_xwd.c:464:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        getc( fp );
data/libforms-1.2.3/image/image_xwd.c:549: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).
    h->header_size = sizeof *h + strlen( im->outfile ) + 1;
data/libforms-1.2.3/image/image_xwd.c:623: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).
    fwrite( im->outfile, 1, strlen( im->outfile ) + 1, fp );
data/libforms-1.2.3/image/postscript.c:116:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( s, str, 63 );
data/libforms-1.2.3/lib/chart.c:194: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).
        l = fl_get_string_width( sp->lstyle, sp->lsize, s, strlen( s ) );
data/libforms-1.2.3/lib/choice.c:255:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        char *t = fl_malloc( strlen( ob->label ) + 3 );
data/libforms-1.2.3/lib/cmd_br.c:80:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( ( n = read( fd, buf, sizeof buf - 1 ) ) > 0 )
data/libforms-1.2.3/lib/cmd_br.c:289:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( cmd_tmp, arg2, 1024 );
data/libforms-1.2.3/lib/errmsg.c:156:9:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
        strcpy( line, "?" );
data/libforms-1.2.3/lib/flresource.c:566: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).
            l = strlen( strcat( buf, "-" ) );
data/libforms-1.2.3/lib/flresource.c:566:25:  [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.
            l = strlen( strcat( buf, "-" ) );
data/libforms-1.2.3/lib/flresource.c:682:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy( val, entry.addr, size );
data/libforms-1.2.3/lib/flresource.c:984:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( buf, xval.addr, sizeof buf );
data/libforms-1.2.3/lib/flresource.c:1026: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).
                         ( int ) strlen( fli_argv[ 0 ] ), "" );
data/libforms-1.2.3/lib/flsnprintf.c:620:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
             int n = ! q ? strlen( p ) : ( q - p );
data/libforms-1.2.3/lib/flsnprintf.c:867: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).
                                 str_arg_l = strlen( str_arg );
data/libforms-1.2.3/lib/fonts.c:208:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ( strlen( name ) > FL_MAX_FONTNAME_LENGTH )
data/libforms-1.2.3/lib/fonts.c:607: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).
        *tabstopNchar = strlen( *tabstop );
data/libforms-1.2.3/lib/fonts.c:648:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for ( p = fname + strlen( fname ) - 1;
data/libforms-1.2.3/lib/fonts.c:673:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( fname, str, sizeof fname - 1 );
data/libforms-1.2.3/lib/fonts.c:680: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 ( len + strlen( str ) <= sizeof fname - 1 )
data/libforms-1.2.3/lib/fonts.c:682: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( p + len, p + 1, strlen( p ) );
data/libforms-1.2.3/lib/fonts.c:683:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy( p, len_str, len );
data/libforms-1.2.3/lib/forms.c:2113: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).
                             strlen( obj->label ), &sw, &sh );
data/libforms-1.2.3/lib/forms.c:2261: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( obj->label ), &sw, &sh );
data/libforms-1.2.3/lib/fselect.c:123:9:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
        strcpy( fs->dname, "." );
data/libforms-1.2.3/lib/fselect.c:124:9:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
        strcpy( fs->pattern, "*" );
data/libforms-1.2.3/lib/fselect.c:255: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( d );
data/libforms-1.2.3/lib/fselect.c:299: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 i = strlen( d ) - 1;
data/libforms-1.2.3/lib/fselect.c:326: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).
    lfs->last_len = strlen( seltext + 2 );
data/libforms-1.2.3/lib/fselect.c:612:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen( ip );
data/libforms-1.2.3/lib/fselect.c:937: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.
                strncat( append_slash( fs->dname ), tmp, sizeof fs->dname );
data/libforms-1.2.3/lib/fselect.c:1069: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).
    d = fl_strdup( t + strlen( pat ) );
data/libforms-1.2.3/lib/fselect.c:1093: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).
                              dir, strlen( dir ) ) < ob->w - 4 )
data/libforms-1.2.3/lib/fselect.c:1102: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).
                              strlen( buf ) ) < ob->w - 4 )
data/libforms-1.2.3/lib/fselect.c:1107:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ( ( l = strlen( buf ) ) > limit )
data/libforms-1.2.3/lib/fselect.c:1123: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).
                memmove( p, q, strlen( q ) + 1 );
data/libforms-1.2.3/lib/fselect.c:1131:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ( strlen( buf ) > ( size_t ) limit )
data/libforms-1.2.3/lib/fselect.c:1140:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen( buf );
data/libforms-1.2.3/lib/goodie_alert.c:80: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).
                                 title, strlen( title ), &w_tit, &h_tit );
data/libforms-1.2.3/lib/goodie_alert.c:83:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        fl_get_string_dimension( style, size, msg, strlen( msg ),
data/libforms-1.2.3/lib/goodie_alert.c:89: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).
    fl_get_string_dimension( style, size, but_text, strlen( but_text ),
data/libforms-1.2.3/lib/goodie_alert.c:185: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).
    buf = fl_malloc(   ( str1 ? strlen( str1 ) : 0 ) + 1
data/libforms-1.2.3/lib/goodie_alert.c:186: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).
                     + ( str2 ? strlen( str2 ) : 0 ) + 1 );
data/libforms-1.2.3/lib/goodie_choice.c:196: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).
    len =   ( m1 ? strlen( m1 ) : 0 ) + 1
data/libforms-1.2.3/lib/goodie_choice.c:197: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).
          + ( m2 ? strlen( m2 ) : 0 ) + 1
data/libforms-1.2.3/lib/goodie_choice.c:198: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).
          + ( m3 ? strlen( m3 ) : 0 ) + 1;
data/libforms-1.2.3/lib/goodie_msg.c:74: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).
    fl_get_string_dimension( style, size, str, strlen( str ), &w_msg, &h_msg );
data/libforms-1.2.3/lib/goodie_msg.c:87: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).
    fl_get_string_dimension( style, size, but_text, strlen( but_text ),
data/libforms-1.2.3/lib/goodie_msg.c:188: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).
    len =   ( s1 ? strlen( s1 ) : 0 ) + 1
data/libforms-1.2.3/lib/goodie_msg.c:189: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).
          + ( s2 ? strlen( s2 ) : 0 ) + 1
data/libforms-1.2.3/lib/goodie_msg.c:190: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).
          + ( s3 ? strlen( s3 ) : 0 ) + 1;
data/libforms-1.2.3/lib/input.c:288: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).
        memset( sp->str, sp->field_char, strlen( saved ) );
data/libforms-1.2.3/lib/input.c:533: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).
    memmove( sp->str + start, sp->str + end + 1, strlen( sp->str + end ) );
data/libforms-1.2.3/lib/input.c:1015:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        paste_it( obj, ( unsigned char * ) cutbuf, strlen( cutbuf ) );
data/libforms-1.2.3/lib/input.c:1065: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).
    slen = strlen( sp->str );
data/libforms-1.2.3/lib/input.c:1129: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).
            slen = strlen( sp->str );
data/libforms-1.2.3/lib/input.c:1224: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( sp->str ), &sp->max_pixels, &junk );
data/libforms-1.2.3/lib/input.c:1292: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).
        slen = strlen( sp->str );
data/libforms-1.2.3/lib/input.c:1393: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).
        sp->position = sp->str ? strlen( sp->str ) : 0;
data/libforms-1.2.3/lib/input.c:1417:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy( buff, sp->str + beginrange, nc );
data/libforms-1.2.3/lib/input.c:1501:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if ( sp->position > ( int ) strlen( sp->str ) )
data/libforms-1.2.3/lib/input.c:1502: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).
                    sp->position = strlen( sp->str );
data/libforms-1.2.3/lib/input.c:2082:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen( sp->str );
data/libforms-1.2.3/lib/input.c:2163: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).
        sp->position = sp->endrange = strlen( sp->str );
data/libforms-1.2.3/lib/input.c:2218:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen( sp->str );
data/libforms-1.2.3/lib/input.c:2468: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).
    if ( ( len = strlen( newstr ) ) == 0 )
data/libforms-1.2.3/lib/input.c:2599:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen( str );
data/libforms-1.2.3/lib/lframe.c:66: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 ( ! ( len = strlen( ob->label ) ) )
data/libforms-1.2.3/lib/listdir.c:606: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).
    i = strlen( strcpy( okdir, dir ) );
data/libforms-1.2.3/lib/listdir.c:692:20:  [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.
            return strcpy( dir, "/" );
data/libforms-1.2.3/lib/listdir.c:747:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ( strlen( dir ) == 2 && dir[ 1 ] == ':' )
data/libforms-1.2.3/lib/listdir.c:755: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( dir ) == 3
data/libforms-1.2.3/lib/listdir.c:812:17:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat( strcat( dir, "/" ), one );
data/libforms-1.2.3/lib/listdir.c:818: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( dir );
data/libforms-1.2.3/lib/listdir.c:971: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).
        total = dname_is_1 ? strlen( dentry->d_name ) : sizeof *dentry;
data/libforms-1.2.3/lib/menu.c:122: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).
            char *s = fl_malloc(   strlen( sp->items[ i ] )
data/libforms-1.2.3/lib/menu.c:464: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).
        memmove( p, p + 2, strlen( p ) - 1 );
data/libforms-1.2.3/lib/menu.c:486: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).
                memmove( p, eptr, strlen( eptr ) + 1 );
data/libforms-1.2.3/lib/menu.c:635: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).
        memmove( p, p + 2, strlen( p ) - 1 );
data/libforms-1.2.3/lib/menu.c:646: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).
                memmove( p, eptr, strlen( eptr ) + 1 );
data/libforms-1.2.3/lib/menu.c:653: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).
            memmove( p, p + 2, strlen( p ) - 1 );
data/libforms-1.2.3/lib/objects.c:1084: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).
    obj->label = fl_realloc( obj->label, strlen( label ) + 1 );
data/libforms-1.2.3/lib/objects.c:1901: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).
        size_t len = strlen( obj->label ) + 1;
data/libforms-1.2.3/lib/objects.c:3501: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).
                             strlen( obj->label ), &sw, &sh );
data/libforms-1.2.3/lib/oneliner.c:82:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    fl_get_string_dimension( fntstyle, fntsize, s, strlen( s ), &w, &h );
data/libforms-1.2.3/lib/popup.c:608: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 ( ( txt = fl_malloc( strlen( c ) + cnt + 13 ) ) == NULL )
data/libforms-1.2.3/lib/popup.c:2434:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    memmove( s, s + 1, strlen( s ) );
data/libforms-1.2.3/lib/popup.c:2440:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    memmove( s, s + 2, strlen( s + 1 ) );
data/libforms-1.2.3/lib/popup.c:2445:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    memmove( s, s + 2, strlen( s + 1 ) );
data/libforms-1.2.3/lib/popup.c:2450:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    memmove( s, s + 2, strlen( s + 1 ) );
data/libforms-1.2.3/lib/popup.c:2455:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    memmove( s, s + 2, strlen( s + 1 ) );
data/libforms-1.2.3/lib/popup.c:2460:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    memmove( s, s + 2, strlen( s + 1 ) );
data/libforms-1.2.3/lib/popup.c:2487:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    memmove( s, s + 2, strlen( s + 1 ) );
data/libforms-1.2.3/lib/popup.c:2499:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    memmove( s, s + 2, strlen( s + 1 ) );
data/libforms-1.2.3/lib/popup.c:2517:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    memmove( s, s + 2, strlen( s + 1 ) );
data/libforms-1.2.3/lib/popup.c:2538:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    memmove( s, s + 2, strlen( s + 1 ) );
data/libforms-1.2.3/lib/popup.c:2543:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    memmove( s, s + 2, strlen( s + 1 ) );
data/libforms-1.2.3/lib/popup.c:2548:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    memmove( s, s + 2, strlen( s + 1 ) );
data/libforms-1.2.3/lib/popup.c:2553:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    memmove( s, s + 2, strlen( s + 1 ) );
data/libforms-1.2.3/lib/popup.c:2846: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).
                                          c, strlen( c ) ) );
data/libforms-1.2.3/lib/popup.c:2849:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                    c, strlen( c ), &dummy, &dummy );
data/libforms-1.2.3/lib/popup.c:2902: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).
                                              c, strlen( c ) ) );
data/libforms-1.2.3/lib/popup.c:2905: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).
                                        c, strlen( c ), &asc, &dummy );
data/libforms-1.2.3/lib/popup.c:2914:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if ( ulpos < ( int ) strlen( c ) )
data/libforms-1.2.3/lib/popup.c:2926: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).
                ulpos -= strlen( c ) + 1;
data/libforms-1.2.3/lib/popup.c:2950: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).
                                              c, strlen( c ) ) );
data/libforms-1.2.3/lib/popup.c:2953: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).
                                        c, strlen( c ), &dummy, &dummy );
data/libforms-1.2.3/lib/popup.c:4288: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).
        memmove( c, c + 1, strlen( c ) );
data/libforms-1.2.3/lib/private/flvasprintf.h:93: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 ( ( buf = fl_malloc( strlen( fmt ) + 1 ) ) )                     \
data/libforms-1.2.3/lib/private/flvasprintf.h:118: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 ( ( buf = fl_malloc( strlen( fmt ) + 1 ) ) )                     \
data/libforms-1.2.3/lib/private/flvasprintf.h:123: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 l1I_min_needed = strlen( fmt ) + 1;                             \
data/libforms-1.2.3/lib/read2lsbf.c:44:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ret = getc( fp );
data/libforms-1.2.3/lib/read2lsbf.c:46:20:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return ( ret | getc( fp ) << 8 );
data/libforms-1.2.3/lib/read2msbf.c:44:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ret = getc(fp);
data/libforms-1.2.3/lib/read2msbf.c:46:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return (ret << 8) + getc(fp);
data/libforms-1.2.3/lib/read4lsb.c:34:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ret  = getc(fp);
data/libforms-1.2.3/lib/read4lsb.c:36:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ret |= getc(fp) << 8;
data/libforms-1.2.3/lib/read4lsb.c:37:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ret |= getc(fp) << 16;
data/libforms-1.2.3/lib/read4lsb.c:38:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ret |= getc(fp) << 24;
data/libforms-1.2.3/lib/read4msb.c:44:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int ret = getc(fp);
data/libforms-1.2.3/lib/read4msb.c:46:26:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ret = ( ret << 8 ) | getc( fp );
data/libforms-1.2.3/lib/read4msb.c:47:26:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ret = ( ret << 8 ) | getc( fp );
data/libforms-1.2.3/lib/read4msb.c:48:26:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ret = ( ret << 8 ) | getc( fp );
data/libforms-1.2.3/lib/readint.c:69:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( ( c = getc( fp ) ) != EOF && c != '\n' )
data/libforms-1.2.3/lib/readint.c:71:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return c != EOF ? getc( fp ) : EOF;
data/libforms-1.2.3/lib/readint.c:88:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc( fp );
data/libforms-1.2.3/lib/readint.c:96:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc( fp );
data/libforms-1.2.3/lib/readint.c:102:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc( fp );
data/libforms-1.2.3/lib/readint.c:127:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc( fp );
data/libforms-1.2.3/lib/readint.c:141:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc( fp );
data/libforms-1.2.3/lib/readint.c:172:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc( fp );
data/libforms-1.2.3/lib/readint.c:179:30:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( c != '0' || ( ( c = getc( fp ) ) != 'x' && c != 'X' ) )
data/libforms-1.2.3/lib/readint.c:187:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( ( c = getc( fp ) ), isxdigit( ( unsigned char ) c ) )
data/libforms-1.2.3/lib/select.c:391: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).
        size_t len = strlen( items->text ) + 9;
data/libforms-1.2.3/lib/select.c:409:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            memmove( t + 1, t, strlen( t ) + 1 );
data/libforms-1.2.3/lib/space.c:55:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return p == s ? s : memmove( s, p, strlen( p ) + 1 );
data/libforms-1.2.3/lib/space.c:72: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).
    q = p = s + strlen( s ) - 1;
data/libforms-1.2.3/lib/space.c:105: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).
         *q = s + strlen( s ),
data/libforms-1.2.3/lib/strdup.c:42: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).
    return strcpy( fl_malloc( strlen( s ) + 1 ), s );
data/libforms-1.2.3/lib/sysdep.c:97: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).
    if ( buf[ strlen( buf ) - 1 ] == '\n' )
data/libforms-1.2.3/lib/sysdep.c:98:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        buf[ strlen( buf ) - 1 ] = '\0';
data/libforms-1.2.3/lib/sysdep.c:144:12:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    return usleep( msec * 1000 );
data/libforms-1.2.3/lib/tabfolder.c:549: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).
    fl_get_string_dimension( ob->lstyle, ob->lsize, label, strlen( label ),
data/libforms-1.2.3/lib/tbox.c:477: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).
        tl->text = tl->fulltext + strlen( tl->fulltext );
data/libforms-1.2.3/lib/tbox.c:479: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).
    tl->len = strlen( tl->text );
data/libforms-1.2.3/lib/tbox.c:627: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).
        size_t old_len = strlen( tl->fulltext );
data/libforms-1.2.3/lib/tbox.c:628: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).
        size_t len = strlen( add ) + 1;
data/libforms-1.2.3/lib/tbox.c:664: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).
    new_len = strlen( tl->fulltext ) + strlen( new_text ) + 1;
data/libforms-1.2.3/lib/tbox.c:664:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    new_len = strlen( tl->fulltext ) + strlen( new_text ) + 1;
data/libforms-1.2.3/lib/tbox.c:672: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).
    tl->len = strlen( tl->text ); //new_len;
data/libforms-1.2.3/lib/tooltip.c:120: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).
                             s, strlen( s ), &maxw, &maxh );
data/libforms-1.2.3/lib/util.c:238: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 ( ( line = fl_realloc( line, strlen( line ) + 1 ) ) == NULL )
data/libforms-1.2.3/lib/util.c:255: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).
    size_t l = src ? strlen( src ) : 0;
data/libforms-1.2.3/lib/version.c:102:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *msg = fl_malloc(   strlen( version ) + sizeof "FORMS Library Version "
data/libforms-1.2.3/lib/vms_readdir.c:94:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(nambuf, name, sizeof nambuf - 1);
data/libforms-1.2.3/lib/vms_readdir.c:122:20:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    name_dsc.adr = strncpy(nambuf, name, sizeof nambuf - 1);
data/libforms-1.2.3/lib/vms_readdir.c:126: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).
    name_dsc.len = len = strlen(nambuf);
data/libforms-1.2.3/lib/vms_readdir.c:157: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).
    dd->pattern = fl_malloc( strlen( nambuf ) + sizeof "*.*" );
data/libforms-1.2.3/lib/vms_readdir.c:171: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).
    dd->pat.len = strlen(dd->pattern);
data/libforms-1.2.3/lib/vms_readdir.c:232: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).
    i = strlen(dd->pattern);
data/libforms-1.2.3/lib/vms_readdir.c:235: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).
    text = fl_malloc( (i - 3) + strlen(e->d_name) + sizeof ";*");
data/libforms-1.2.3/lib/vms_readdir.c:243: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).
    pat.len = strlen(text);
data/libforms-1.2.3/lib/vms_readdir.c:298:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void) strncpy(dd->entry.d_name, p, sizeof dd->entry.d_name - 1);
data/libforms-1.2.3/lib/xpopup.c:265: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).
            memmove( b, b + 1, strlen( b ) );
data/libforms-1.2.3/lib/xpopup.c:268: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).
                                                  t, strlen( t ) ) );
data/libforms-1.2.3/lib/xpopup.c:276: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).
            memmove( b, b + 1, strlen( b ) );
data/libforms-1.2.3/lib/xpopup.c:277:64:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        m->title_width = XTextWidth( pup_title_font_struct, t, strlen( t ) );
data/libforms-1.2.3/lib/xpopup.c:291: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).
#define MV( d, s )   memmove( ( d ), ( s ), strlen( s ) + 1 )
data/libforms-1.2.3/lib/xpopup.c:481: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).
                memmove( b, b + 1, strlen( b ) );
data/libforms-1.2.3/lib/xpopup.c:483: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).
                                         t, strlen( t ) );
data/libforms-1.2.3/lib/xpopup.c:494: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).
            item->len = strlen( item->str );
data/libforms-1.2.3/lib/xpopup.c:498: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).
                memmove( b, b + 1, strlen( b ) );
data/libforms-1.2.3/lib/xpopup.c:502:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                                      t, strlen( t ) ) );
data/libforms-1.2.3/lib/xpopup.c:1581: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).
        memmove( b, b + 1, strlen( b ) );
data/libforms-1.2.3/lib/xpopup.c:1582: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).
    m->title_width = XTextWidth( pup_title_font_struct, t, strlen( t ) );
data/libforms-1.2.3/lib/xpopup.c:1836: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).
                       strlen( str ) - j, 0 );
data/libforms-1.2.3/lib/xpopup.c:1882: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).
        memmove( b, b + 1, strlen( b ) );
data/libforms-1.2.3/lib/xpopup.c:1884:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen( t );
data/libforms-1.2.3/lib/xpopup.c:2297: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).
        w = t = fl_malloc( strlen( p->text ) + cnt + 6 + log10( INT_MAX ) );
data/libforms-1.2.3/lib/xpopup.c:2304: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).
            memmove( w + 1, w, strlen( w ) + 1 );
data/libforms-1.2.3/lib/xpopup.c:2313: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).
            sprintf( t + strlen( t ), "%%x%d", val );
data/libforms-1.2.3/lib/xpopup.c:2333: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).
            sprintf( t + strlen( t ), "%%x%d%%m", val );
data/libforms-1.2.3/lib/xtext.c:220: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).
                                 ( int ) strlen( lines[ lnumb ].str );
data/libforms-1.2.3/lib/xtext.c:650: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).
        line->len = strlen( line->str );
data/libforms-1.2.3/lib/xyplot.c:1347: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( label ) ) / 2;
data/libforms-1.2.3/lib/xyplot.c:1361: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).
                                     strlen( label ) ) / 2;
data/libforms-1.2.3/lib/xyplot.c:1389: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).
                                         strlen( label ) );
data/libforms-1.2.3/lib/xyplot.c:1393: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).
                                            strlen( label ) );
data/libforms-1.2.3/lib/xyplot.c:1406: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).
                                     strlen( label ) );
data/libforms-1.2.3/lib/xyplot.c:1434: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).
                                        strlen( sp->xmargin1 ) ) - 1;
data/libforms-1.2.3/lib/xyplot.c:1436: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).
                                        strlen( sp->xmargin2 ) ) + 1;
data/libforms-1.2.3/lib/xyplot.c:1443: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).
                                        strlen( sp->ymargin1 ) ) - 1;
data/libforms-1.2.3/lib/xyplot.c:1445: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).
                                        strlen( sp->ymargin2 ) ) + 1;
data/libforms-1.2.3/lib/xyplot.c:1578:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                     sp->key[ i ], strlen( sp->key[ i ] ) );
data/libforms-1.2.3/lib/xyplot.c:1749: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).
        int nc = strlen( sp->ylabel );

ANALYSIS SUMMARY:

Hits = 1527
Lines analyzed = 154651 in approximately 4.09 seconds (37807 lines/second)
Physical Source Lines of Code (SLOC) = 97669
Hits@level = [0] 642 [1] 355 [2] 896 [3]  16 [4] 260 [5]   0
Hits@level+ = [0+] 2169 [1+] 1527 [2+] 1172 [3+] 276 [4+] 260 [5+]   0
Hits/KSLOC@level+ = [0+] 22.2077 [1+] 15.6344 [2+] 11.9997 [3+] 2.82587 [4+] 2.66205 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.