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/yuma123-2.11/libtoaster/src/toaster.h
Examining data/yuma123-2.11/libtoaster/src/toaster.c
Examining data/yuma123-2.11/example-modules/helloworld/helloworld.c
Examining data/yuma123-2.11/example-modules/ietf-network-bridge/ietf-network-bridge.c
Examining data/yuma123-2.11/example-modules/ietf-alarms/ietf-alarms.c
Examining data/yuma123-2.11/example-modules/ietf-alarms/alarmctrl.c
Examining data/yuma123-2.11/example-modules/ietf-alarms/alarmctrl.h
Examining data/yuma123-2.11/example-modules/chat/chat.c
Examining data/yuma123-2.11/example-modules/external-handler/external-handler.c
Examining data/yuma123-2.11/example-modules/yuma-arp/yuma-arp.c
Examining data/yuma123-2.11/example-modules/yuma-arp/yuma-arp.h
Examining data/yuma123-2.11/example-modules/interfaces-alarms/interfaces-alarms.c
Examining data/yuma123-2.11/example-modules/ietf-interfaces/ietf-interfaces.c
Examining data/yuma123-2.11/example-modules/ietf-system/ietf-system.c
Examining data/yuma123-2.11/libtecla/homedir.h
Examining data/yuma123-2.11/libtecla/strngmem.h
Examining data/yuma123-2.11/libtecla/strngmem.c
Examining data/yuma123-2.11/libtecla/expand.h
Examining data/yuma123-2.11/libtecla/demo2.c
Examining data/yuma123-2.11/libtecla/pathutil.c
Examining data/yuma123-2.11/libtecla/hash.h
Examining data/yuma123-2.11/libtecla/direader.h
Examining data/yuma123-2.11/libtecla/history.c
Examining data/yuma123-2.11/libtecla/keytab.c
Examining data/yuma123-2.11/libtecla/cplfile.c
Examining data/yuma123-2.11/libtecla/expand.c
Examining data/yuma123-2.11/libtecla/cplmatch.h
Examining data/yuma123-2.11/libtecla/stringrp.c
Examining data/yuma123-2.11/libtecla/ioutil.c
Examining data/yuma123-2.11/libtecla/cplfile.h
Examining data/yuma123-2.11/libtecla/history.h
Examining data/yuma123-2.11/libtecla/pathutil.h
Examining data/yuma123-2.11/libtecla/version.c
Examining data/yuma123-2.11/libtecla/demo3.c
Examining data/yuma123-2.11/libtecla/chrqueue.c
Examining data/yuma123-2.11/libtecla/enhance.c
Examining data/yuma123-2.11/libtecla/cplmatch.c
Examining data/yuma123-2.11/libtecla/chrqueue.h
Examining data/yuma123-2.11/libtecla/freelist.h
Examining data/yuma123-2.11/libtecla/direader.c
Examining data/yuma123-2.11/libtecla/getline.h
Examining data/yuma123-2.11/libtecla/keytab.h
Examining data/yuma123-2.11/libtecla/homedir.c
Examining data/yuma123-2.11/libtecla/errmsg.h
Examining data/yuma123-2.11/libtecla/hash.c
Examining data/yuma123-2.11/libtecla/demo.c
Examining data/yuma123-2.11/libtecla/stringrp.h
Examining data/yuma123-2.11/libtecla/pcache.c
Examining data/yuma123-2.11/libtecla/getline.c
Examining data/yuma123-2.11/libtecla/freelist.c
Examining data/yuma123-2.11/libtecla/ioutil.h
Examining data/yuma123-2.11/libtecla/errmsg.c
Examining data/yuma123-2.11/libtecla/libtecla.h
Examining data/yuma123-2.11/netconf/src/agt/agt_ncx.h
Examining data/yuma123-2.11/netconf/src/agt/agt_rpc.h
Examining data/yuma123-2.11/netconf/src/agt/agt_hello.h
Examining data/yuma123-2.11/netconf/src/agt/agt_sys.h
Examining data/yuma123-2.11/netconf/src/agt/agt_acm.c
Examining data/yuma123-2.11/netconf/src/agt/agt_timer.h
Examining data/yuma123-2.11/netconf/src/agt/agt_signal.h
Examining data/yuma123-2.11/netconf/src/agt/agt_cb.h
Examining data/yuma123-2.11/netconf/src/agt/agt_rpcerr.h
Examining data/yuma123-2.11/netconf/src/agt/agt_top.h
Examining data/yuma123-2.11/netconf/src/agt/agt_nmda.c
Examining data/yuma123-2.11/netconf/src/agt/agt_plock.c
Examining data/yuma123-2.11/netconf/src/agt/agt_commit_complete.c
Examining data/yuma123-2.11/netconf/src/agt/agt_cb.c
Examining data/yuma123-2.11/netconf/src/agt/agt_ncxserver.h
Examining data/yuma123-2.11/netconf/src/agt/agt_xml.h
Examining data/yuma123-2.11/netconf/src/agt/agt_rpcerr.c
Examining data/yuma123-2.11/netconf/src/agt/agt_util.h
Examining data/yuma123-2.11/netconf/src/agt/agt_top.c
Examining data/yuma123-2.11/netconf/src/agt/agt_not.c
Examining data/yuma123-2.11/netconf/src/agt/agt_rpc.c
Examining data/yuma123-2.11/netconf/src/agt/agt_nmda.h
Examining data/yuma123-2.11/netconf/src/agt/agt_time_filter.h
Examining data/yuma123-2.11/netconf/src/agt/agt_tree.c
Examining data/yuma123-2.11/netconf/src/agt/agt_xpath.c
Examining data/yuma123-2.11/netconf/src/agt/agt_util.c
Examining data/yuma123-2.11/netconf/src/agt/agt_sys.c
Examining data/yuma123-2.11/netconf/src/agt/agt_val_parse.c
Examining data/yuma123-2.11/netconf/src/agt/agt_timer.c
Examining data/yuma123-2.11/netconf/src/agt/agt_if.c
Examining data/yuma123-2.11/netconf/src/agt/agt_proc.h
Examining data/yuma123-2.11/netconf/src/agt/agt_if.h
Examining data/yuma123-2.11/netconf/src/agt/agt.c
Examining data/yuma123-2.11/netconf/src/agt/agt_yang_library.h
Examining data/yuma123-2.11/netconf/src/agt/agt_ses.c
Examining data/yuma123-2.11/netconf/src/agt/agt_xpath.h
Examining data/yuma123-2.11/netconf/src/agt/agt_connect.c
Examining data/yuma123-2.11/netconf/src/agt/agt_proc.c
Examining data/yuma123-2.11/netconf/src/agt/agt_yang_library.c
Examining data/yuma123-2.11/netconf/src/agt/agt_val.c
Examining data/yuma123-2.11/netconf/src/agt/agt_cap.h
Examining data/yuma123-2.11/netconf/src/agt/agt_plock.h
Examining data/yuma123-2.11/netconf/src/agt/agt_not_queue_notification_cb.c
Examining data/yuma123-2.11/netconf/src/agt/agt_cap.c
Examining data/yuma123-2.11/netconf/src/agt/agt_xml.c
Examining data/yuma123-2.11/netconf/src/agt/agt_ncx.c
Examining data/yuma123-2.11/netconf/src/agt/agt.h
Examining data/yuma123-2.11/netconf/src/agt/agt_connect.h
Examining data/yuma123-2.11/netconf/src/agt/agt_signal.c
Examining data/yuma123-2.11/netconf/src/agt/agt_not_queue_notification_cb.h
Examining data/yuma123-2.11/netconf/src/agt/agt_commit_validate.c
Examining data/yuma123-2.11/netconf/src/agt/agt_state.c
Examining data/yuma123-2.11/netconf/src/agt/agt_cfg.c
Examining data/yuma123-2.11/netconf/src/agt/agt_val.h
Examining data/yuma123-2.11/netconf/src/agt/agt_commit_complete.h
Examining data/yuma123-2.11/netconf/src/agt/agt_not.h
Examining data/yuma123-2.11/netconf/src/agt/agt_acm.h
Examining data/yuma123-2.11/netconf/src/agt/agt_ncxserver.c
Examining data/yuma123-2.11/netconf/src/agt/agt_tree.h
Examining data/yuma123-2.11/netconf/src/agt/agt_commit_validate.h
Examining data/yuma123-2.11/netconf/src/agt/agt_hello.c
Examining data/yuma123-2.11/netconf/src/agt/agt_val_parse.h
Examining data/yuma123-2.11/netconf/src/agt/agt_state.h
Examining data/yuma123-2.11/netconf/src/agt/agt_cfg.h
Examining data/yuma123-2.11/netconf/src/agt/agt_cli.c
Examining data/yuma123-2.11/netconf/src/agt/agt_time_filter.c
Examining data/yuma123-2.11/netconf/src/agt/agt_cli.h
Examining data/yuma123-2.11/netconf/src/agt/agt_ses.h
Examining data/yuma123-2.11/netconf/src/platform/procdefs.h
Examining data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c
Examining data/yuma123-2.11/netconf/src/ncx/rpc_err.c
Examining data/yuma123-2.11/netconf/src/ncx/getcb.h
Examining data/yuma123-2.11/netconf/src/ncx/yang.c
Examining data/yuma123-2.11/netconf/src/ncx/status.h
Examining data/yuma123-2.11/netconf/src/ncx/xpath1.h
Examining data/yuma123-2.11/netconf/src/ncx/ncx.c
Examining data/yuma123-2.11/netconf/src/ncx/top.c
Examining data/yuma123-2.11/netconf/src/ncx/yang_obj.h
Examining data/yuma123-2.11/netconf/src/ncx/obj.h
Examining data/yuma123-2.11/netconf/src/ncx/ncx_num.h
Examining data/yuma123-2.11/netconf/src/ncx/obj.c
Examining data/yuma123-2.11/netconf/src/ncx/xmlns.h
Examining data/yuma123-2.11/netconf/src/ncx/top.h
Examining data/yuma123-2.11/netconf/src/ncx/yang_typ.h
Examining data/yuma123-2.11/netconf/src/ncx/version.h
Examining data/yuma123-2.11/netconf/src/ncx/val_set_cplxval_obj.h
Examining data/yuma123-2.11/netconf/src/ncx/yang_parse.h
Examining data/yuma123-2.11/netconf/src/ncx/ncx_list.h
Examining data/yuma123-2.11/netconf/src/ncx/xpath_wr.c
Examining data/yuma123-2.11/netconf/src/ncx/ncx_num.c
Examining data/yuma123-2.11/netconf/src/ncx/xml_wr.h
Examining data/yuma123-2.11/netconf/src/ncx/val_get_leafref_targval.h
Examining data/yuma123-2.11/netconf/src/ncx/help.c
Examining data/yuma123-2.11/netconf/src/ncx/plock_cb.h
Examining data/yuma123-2.11/netconf/src/ncx/ses_msg.c
Examining data/yuma123-2.11/netconf/src/ncx/uptime.h
Examining data/yuma123-2.11/netconf/src/ncx/ses_msg.h
Examining data/yuma123-2.11/netconf/src/ncx/typ.c
Examining data/yuma123-2.11/netconf/src/ncx/cli.c
Examining data/yuma123-2.11/netconf/src/ncx/conf.c
Examining data/yuma123-2.11/netconf/src/ncx/ext.h
Examining data/yuma123-2.11/netconf/src/ncx/tstamp.c
Examining data/yuma123-2.11/netconf/src/ncx/bobhash.h
Examining data/yuma123-2.11/netconf/src/ncx/help.h
Examining data/yuma123-2.11/netconf/src/ncx/yang_ext.c
Examining data/yuma123-2.11/netconf/src/ncx/yinyang.c
Examining data/yuma123-2.11/netconf/src/ncx/b64.h
Examining data/yuma123-2.11/netconf/src/ncx/rpc_err.h
Examining data/yuma123-2.11/netconf/src/ncx/log.c
Examining data/yuma123-2.11/netconf/src/ncx/uptime.c
Examining data/yuma123-2.11/netconf/src/ncx/val_parse.c
Examining data/yuma123-2.11/netconf/src/ncx/runstack.c
Examining data/yuma123-2.11/netconf/src/ncx/send_buff.h
Examining data/yuma123-2.11/netconf/src/ncx/conf.h
Examining data/yuma123-2.11/netconf/src/ncx/send_buff.c
Examining data/yuma123-2.11/netconf/src/ncx/yangconst.h
Examining data/yuma123-2.11/netconf/src/ncx/xpath_wr.h
Examining data/yuma123-2.11/netconf/src/ncx/def_reg.c
Examining data/yuma123-2.11/netconf/src/ncx/xml_util.h
Examining data/yuma123-2.11/netconf/src/ncx/tstamp.h
Examining data/yuma123-2.11/netconf/src/ncx/val123.h
Examining data/yuma123-2.11/netconf/src/ncx/dlq.c
Examining data/yuma123-2.11/netconf/src/ncx/val_parse.h
Examining data/yuma123-2.11/netconf/src/ncx/cap.h
Examining data/yuma123-2.11/netconf/src/ncx/val_util.c
Examining data/yuma123-2.11/netconf/src/ncx/ncx_feature.c
Examining data/yuma123-2.11/netconf/src/ncx/xml_msg.c
Examining data/yuma123-2.11/netconf/src/ncx/tk.c
Examining data/yuma123-2.11/netconf/src/ncx/ses.c
Examining data/yuma123-2.11/netconf/src/ncx/val.h
Examining data/yuma123-2.11/netconf/src/ncx/xmlns.c
Examining data/yuma123-2.11/netconf/src/ncx/grp.h
Examining data/yuma123-2.11/netconf/src/ncx/xpath_yang.c
Examining data/yuma123-2.11/netconf/src/ncx/val_util.h
Examining data/yuma123-2.11/netconf/src/ncx/ncx_str.h
Examining data/yuma123-2.11/netconf/src/ncx/ncx_appinfo.c
Examining data/yuma123-2.11/netconf/src/ncx/ncxtypes.h
Examining data/yuma123-2.11/netconf/src/ncx/yang_obj.c
Examining data/yuma123-2.11/netconf/src/ncx/var.h
Examining data/yuma123-2.11/netconf/src/ncx/yang.h
Examining data/yuma123-2.11/netconf/src/ncx/yang_ext.h
Examining data/yuma123-2.11/netconf/src/ncx/dlq.h
Examining data/yuma123-2.11/netconf/src/ncx/cfg.c
Examining data/yuma123-2.11/netconf/src/ncx/status.c
Examining data/yuma123-2.11/netconf/src/ncx/ncx_list.c
Examining data/yuma123-2.11/netconf/src/ncx/cfg.h
Examining data/yuma123-2.11/netconf/src/ncx/rpc.h
Examining data/yuma123-2.11/netconf/src/ncx/plock_cb.c
Examining data/yuma123-2.11/netconf/src/ncx/ses.h
Examining data/yuma123-2.11/netconf/src/ncx/xml_msg.h
Examining data/yuma123-2.11/netconf/src/ncx/ext.c
Examining data/yuma123-2.11/netconf/src/ncx/json_wr.c
Examining data/yuma123-2.11/netconf/src/ncx/xml_rd.c
Examining data/yuma123-2.11/netconf/src/ncx/xml_val.h
Examining data/yuma123-2.11/netconf/src/ncx/log.h
Examining data/yuma123-2.11/netconf/src/ncx/xml_rd.h
Examining data/yuma123-2.11/netconf/src/ncx/plock.h
Examining data/yuma123-2.11/netconf/src/ncx/runstack.h
Examining data/yuma123-2.11/netconf/src/ncx/op.c
Examining data/yuma123-2.11/netconf/src/ncx/ncx_feature.h
Examining data/yuma123-2.11/netconf/src/ncx/obj_help.h
Examining data/yuma123-2.11/netconf/src/ncx/xml_wr.c
Examining data/yuma123-2.11/netconf/src/ncx/ncx.h
Examining data/yuma123-2.11/netconf/src/ncx/xpath1.c
Examining data/yuma123-2.11/netconf/src/ncx/yin.h
Examining data/yuma123-2.11/netconf/src/ncx/cli.h
Examining data/yuma123-2.11/netconf/src/ncx/yang_grp.c
Examining data/yuma123-2.11/netconf/src/ncx/ncxmod.h
Examining data/yuma123-2.11/netconf/src/ncx/val123.c
Examining data/yuma123-2.11/netconf/src/ncx/ncxconst.h
Examining data/yuma123-2.11/netconf/src/ncx/xml_util.c
Examining data/yuma123-2.11/netconf/src/ncx/ncxmod.c
Examining data/yuma123-2.11/netconf/src/ncx/op.h
Examining data/yuma123-2.11/netconf/src/ncx/rpc.c
Examining data/yuma123-2.11/netconf/src/ncx/val.c
Examining data/yuma123-2.11/netconf/src/ncx/b64.c
Examining data/yuma123-2.11/netconf/src/ncx/cap.c
Examining data/yuma123-2.11/netconf/src/ncx/blob.h
Examining data/yuma123-2.11/netconf/src/ncx/xpath.c
Examining data/yuma123-2.11/netconf/src/ncx/yang_parse.c
Examining data/yuma123-2.11/netconf/src/ncx/plock.c
Examining data/yuma123-2.11/netconf/src/ncx/ncx_str.c
Examining data/yuma123-2.11/netconf/src/ncx/yin.c
Examining data/yuma123-2.11/netconf/src/ncx/obj_help.c
Examining data/yuma123-2.11/netconf/src/ncx/ncx_appinfo.h
Examining data/yuma123-2.11/netconf/src/ncx/xpath_yang.h
Examining data/yuma123-2.11/netconf/src/ncx/blob.c
Examining data/yuma123-2.11/netconf/src/ncx/xpath.h
Examining data/yuma123-2.11/netconf/src/ncx/yinyang.h
Examining data/yuma123-2.11/netconf/src/ncx/def_reg.h
Examining data/yuma123-2.11/netconf/src/ncx/grp.c
Examining data/yuma123-2.11/netconf/src/ncx/var.c
Examining data/yuma123-2.11/netconf/src/ncx/tk.h
Examining data/yuma123-2.11/netconf/src/ncx/val_set_cplxval_obj.c
Examining data/yuma123-2.11/netconf/src/ncx/json_wr.h
Examining data/yuma123-2.11/netconf/src/ncx/typ.h
Examining data/yuma123-2.11/netconf/src/ncx/bobhash.c
Examining data/yuma123-2.11/netconf/src/ncx/yang_typ.c
Examining data/yuma123-2.11/netconf/src/ncx/xml_val.c
Examining data/yuma123-2.11/netconf/src/ncx/val_get_leafref_targval.c
Examining data/yuma123-2.11/netconf/src/ncx/libncx.h
Examining data/yuma123-2.11/netconf/src/ncx/yang_grp.h
Examining data/yuma123-2.11/netconf/src/yangdiff/yangdiff_grp.h
Examining data/yuma123-2.11/netconf/src/yangdiff/yangdiff.h
Examining data/yuma123-2.11/netconf/src/yangdiff/yangdiff_util.h
Examining data/yuma123-2.11/netconf/src/yangdiff/yangdiff.c
Examining data/yuma123-2.11/netconf/src/yangdiff/yangdiff_util.c
Examining data/yuma123-2.11/netconf/src/yangdiff/yangdiff_grp.c
Examining data/yuma123-2.11/netconf/src/yangdiff/yangdiff_typ.h
Examining data/yuma123-2.11/netconf/src/yangdiff/yangdiff_typ.c
Examining data/yuma123-2.11/netconf/src/yangdiff/yangdiff_obj.h
Examining data/yuma123-2.11/netconf/src/yangdiff/yangdiff_obj.c
Examining data/yuma123-2.11/netconf/src/mgr/mgr_ses.c
Examining data/yuma123-2.11/netconf/src/mgr/mgr.c
Examining data/yuma123-2.11/netconf/src/mgr/mgr_not.c
Examining data/yuma123-2.11/netconf/src/mgr/mgr_top.h
Examining data/yuma123-2.11/netconf/src/mgr/mgr_signal.c
Examining data/yuma123-2.11/netconf/src/mgr/mgr_ses.h
Examining data/yuma123-2.11/netconf/src/mgr/mgr_rpc.h
Examining data/yuma123-2.11/netconf/src/mgr/mgr_load.h
Examining data/yuma123-2.11/netconf/src/mgr/mgr_cap.h
Examining data/yuma123-2.11/netconf/src/mgr/mgr_xml.c
Examining data/yuma123-2.11/netconf/src/mgr/mgr_val_parse.c
Examining data/yuma123-2.11/netconf/src/mgr/mgr_hello.c
Examining data/yuma123-2.11/netconf/src/mgr/mgr_rpc.c
Examining data/yuma123-2.11/netconf/src/mgr/mgr_not.h
Examining data/yuma123-2.11/netconf/src/mgr/mgr_io.c
Examining data/yuma123-2.11/netconf/src/mgr/mgr_hello.h
Examining data/yuma123-2.11/netconf/src/mgr/mgr_cap.c
Examining data/yuma123-2.11/netconf/src/mgr/mgr_top.c
Examining data/yuma123-2.11/netconf/src/mgr/mgr_io.h
Examining data/yuma123-2.11/netconf/src/mgr/mgr.h
Examining data/yuma123-2.11/netconf/src/mgr/mgr_val_parse.h
Examining data/yuma123-2.11/netconf/src/mgr/mgr_signal.h
Examining data/yuma123-2.11/netconf/src/mgr/mgr_load.c
Examining data/yuma123-2.11/netconf/src/mgr/mgr_xml.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_eval.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_util.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_cond.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_timer.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_cmd.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_globals.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_wordexp.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_alias.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_autoload.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_autolock.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_autoload.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_util.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_cond.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_autolock.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_alias.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_yang_library.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_wordexp.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_globals.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_save.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_save.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_list.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_show.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_eval.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_uservars.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_timer.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_show.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_uservars.h
Examining data/yuma123-2.11/netconf/src/yangcli/tecla2readline/tecla2readline.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_cmd.h
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_list.c
Examining data/yuma123-2.11/netconf/src/yangcli/yangcli_yang_library.c
Examining data/yuma123-2.11/netconf/src/yangdump/yangdump.c
Examining data/yuma123-2.11/netconf/src/ydump/h.h
Examining data/yuma123-2.11/netconf/src/ydump/py_util.c
Examining data/yuma123-2.11/netconf/src/ydump/xsd_yang.c
Examining data/yuma123-2.11/netconf/src/ydump/yangstats.h
Examining data/yuma123-2.11/netconf/src/ydump/xsd_typ.c
Examining data/yuma123-2.11/netconf/src/ydump/ydump.c
Examining data/yuma123-2.11/netconf/src/ydump/xsd_util.c
Examining data/yuma123-2.11/netconf/src/ydump/yangyin.h
Examining data/yuma123-2.11/netconf/src/ydump/cyang.h
Examining data/yuma123-2.11/netconf/src/ydump/yangdump_util.c
Examining data/yuma123-2.11/netconf/src/ydump/py_util.h
Examining data/yuma123-2.11/netconf/src/ydump/cyang.c
Examining data/yuma123-2.11/netconf/src/ydump/tg2.c
Examining data/yuma123-2.11/netconf/src/ydump/c_util.h
Examining data/yuma123-2.11/netconf/src/ydump/xsd_yang.h
Examining data/yuma123-2.11/netconf/src/ydump/yangtree.c
Examining data/yuma123-2.11/netconf/src/ydump/xsd.h
Examining data/yuma123-2.11/netconf/src/ydump/yangdump_util.h
Examining data/yuma123-2.11/netconf/src/ydump/tg2.h
Examining data/yuma123-2.11/netconf/src/ydump/xsd_typ.h
Examining data/yuma123-2.11/netconf/src/ydump/c_util.c
Examining data/yuma123-2.11/netconf/src/ydump/c.h
Examining data/yuma123-2.11/netconf/src/ydump/xsd_util.h
Examining data/yuma123-2.11/netconf/src/ydump/html.h
Examining data/yuma123-2.11/netconf/src/ydump/sql.h
Examining data/yuma123-2.11/netconf/src/ydump/yangdump.h
Examining data/yuma123-2.11/netconf/src/ydump/yangyin.c
Examining data/yuma123-2.11/netconf/src/ydump/yangtree.h
Examining data/yuma123-2.11/netconf/src/ydump/yangstats.c
Examining data/yuma123-2.11/netconf/src/ydump/html.c
Examining data/yuma123-2.11/netconf/src/ydump/h.c
Examining data/yuma123-2.11/netconf/src/ydump/sql.c
Examining data/yuma123-2.11/netconf/src/ydump/xsd.c
Examining data/yuma123-2.11/netconf/src/ydump/c.c
Examining data/yuma123-2.11/netconf/src/ydump/ydump.h
Examining data/yuma123-2.11/netconf/src/yangrpc/yangrpc.h
Examining data/yuma123-2.11/netconf/src/yangrpc/example/yangrpc-parse-example.c
Examining data/yuma123-2.11/netconf/src/yangrpc/example/yangrpc-example.c
Examining data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c
Examining data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c
Examining data/yuma123-2.11/netconf/src/netconfd/netconfd.c
Examining data/yuma123-2.11/netconf/perl/yangcli/ppport.h
Examining data/yuma123-2.11/netconf/perl/yuma/ppport.h
Examining data/yuma123-2.11/netconf/perl/yangrpc/ppport.h
Examining data/yuma123-2.11/netconf/test/subsys-test/ncx-init/ncx-init-test.cpp
Examining data/yuma123-2.11/netconf/test/sys-test/simple-edit-running.cpp
Examining data/yuma123-2.11/netconf/test/sys-test/lock-load-running.cpp
Examining data/yuma123-2.11/netconf/test/sys-test/lock-load-candidate.cpp
Examining data/yuma123-2.11/netconf/test/sys-test/configure-yuma-systest.h
Examining data/yuma123-2.11/netconf/test/sys-test/simple-edit-candidate.cpp
Examining data/yuma123-2.11/netconf/test/sys-test/device-edit-running.cpp
Examining data/yuma123-2.11/netconf/test/sys-test/shutdown.cpp
Examining data/yuma123-2.11/netconf/test/sys-test/device-edit-candidate.cpp
Examining data/yuma123-2.11/netconf/test/sys-test/define-yuma-systest-global-fixture.h
Examining data/yuma123-2.11/netconf/test/modules/build-sil/simple_yang_test/simple_yang_test.c
Examining data/yuma123-2.11/netconf/test/modules/build-sil/simple_yang_test/simple_yang_test.h
Examining data/yuma123-2.11/netconf/test/modules/build-sil/simple_yang_test/simple_yang_test.cpp
Examining data/yuma123-2.11/netconf/test/modules/build-sil/device_test/device_test.h
Examining data/yuma123-2.11/netconf/test/modules/build-sil/device_test/device_test.cpp
Examining data/yuma123-2.11/netconf/test/modules/build-sil/simple_list_test/simple_list_test.cpp
Examining data/yuma123-2.11/netconf/test/modules/build-sil/simple_list_test/simple_list_test.c
Examining data/yuma123-2.11/netconf/test/modules/build-sil/simple_list_test/simple_list_test.h
Examining data/yuma123-2.11/netconf/test/test-suites/integ/test_yangcli_wordex.c
Examining data/yuma123-2.11/netconf/test/test-suites/integ/test-b64.c
Examining data/yuma123-2.11/netconf/test/test-suites/integ/test_boost_unit_test_framework.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/integ/base-64-tests.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/system/shutdown-tests.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/system/simple-edit-tests-confirmed-commit.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/system/my-session-tests.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/default-none-tests.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/db-lock-test-suite-common.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/startup-delete-config-tests.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/simple-edit-tests-startup.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/module-load-test-suite.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/simple-edit-tests.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/device-tests-create.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/callback-failures-tests.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/db-lock-test-suite-candidate.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/simple-choice-tests.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/simple-edit-tests-candidate.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/discard-changes-tests.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/simple-edit-tests-validate.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/device-tests-get.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/device-tests-replace.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/device-tests-merge.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/db-lock-test-suite-running.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/device-tests-misc.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/simple-must-tests.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/device-tests-delete.cpp
Examining data/yuma123-2.11/netconf/test/test-suites/common/state-data-tests-get.cpp
Examining data/yuma123-2.11/netconf/test/include/boost_includes.hpp
Examining data/yuma123-2.11/netconf/test/support/checkers/xml-content-checker.h
Examining data/yuma123-2.11/netconf/test/support/checkers/checker-group.h
Examining data/yuma123-2.11/netconf/test/support/checkers/checker-group.cpp
Examining data/yuma123-2.11/netconf/test/support/checkers/log-entry-presence-checkers.cpp
Examining data/yuma123-2.11/netconf/test/support/checkers/log-entry-presence-checkers.h
Examining data/yuma123-2.11/netconf/test/support/checkers/string-presence-checkers.h
Examining data/yuma123-2.11/netconf/test/support/checkers/string-presence-checkers.cpp
Examining data/yuma123-2.11/netconf/test/support/nc-session/spoof-nc-session.cpp
Examining data/yuma123-2.11/netconf/test/support/nc-session/abstract-nc-session.h
Examining data/yuma123-2.11/netconf/test/support/nc-session/sys-test-nc-session-base.h
Examining data/yuma123-2.11/netconf/test/support/nc-session/remote-nc-session-factory.cpp
Examining data/yuma123-2.11/netconf/test/support/nc-session/remote-nc-session.cpp
Examining data/yuma123-2.11/netconf/test/support/nc-session/spoof-nc-session-factory.h
Examining data/yuma123-2.11/netconf/test/support/nc-session/spoof-nc-session.h
Examining data/yuma123-2.11/netconf/test/support/nc-session/abstract-nc-session.cpp
Examining data/yuma123-2.11/netconf/test/support/nc-session/abstract-nc-session-factory.h
Examining data/yuma123-2.11/netconf/test/support/nc-session/remote-nc-session-factory.h
Examining data/yuma123-2.11/netconf/test/support/nc-session/remote-nc-session.h
Examining data/yuma123-2.11/netconf/test/support/nc-session/spoof-nc-session-factory.cpp
Examining data/yuma123-2.11/netconf/test/support/nc-session/sys-test-nc-session-base.cpp
Examining data/yuma123-2.11/netconf/test/support/db-models/db-check-utils.h
Examining data/yuma123-2.11/netconf/test/support/db-models/device-test-db-debug.h
Examining data/yuma123-2.11/netconf/test/support/db-models/device-test-db-debug.cpp
Examining data/yuma123-2.11/netconf/test/support/db-models/device-test-db.h
Examining data/yuma123-2.11/netconf/test/support/db-models/device-test-db.cpp
Examining data/yuma123-2.11/netconf/test/support/db-models/state-data-test-db.cpp
Examining data/yuma123-2.11/netconf/test/support/db-models/state-data-test-db.h
Examining data/yuma123-2.11/netconf/test/support/callbacks/system-cb-checker.cpp
Examining data/yuma123-2.11/netconf/test/support/callbacks/system-cb-checker-factory.h
Examining data/yuma123-2.11/netconf/test/support/callbacks/callback-checker.h
Examining data/yuma123-2.11/netconf/test/support/callbacks/running-cb-checker.h
Examining data/yuma123-2.11/netconf/test/support/callbacks/abstract-cb-checker-factory.h
Examining data/yuma123-2.11/netconf/test/support/callbacks/candidate-cb-checker.cpp
Examining data/yuma123-2.11/netconf/test/support/callbacks/sil-callback-controller.h
Examining data/yuma123-2.11/netconf/test/support/callbacks/candidate-cb-checker.h
Examining data/yuma123-2.11/netconf/test/support/callbacks/integ-cb-checker-factory.h
Examining data/yuma123-2.11/netconf/test/support/callbacks/integ-cb-checker-factory.cpp
Examining data/yuma123-2.11/netconf/test/support/callbacks/sil-callback-log.h
Examining data/yuma123-2.11/netconf/test/support/callbacks/sil-callback-controller.cpp
Examining data/yuma123-2.11/netconf/test/support/callbacks/callback-checker.cpp
Examining data/yuma123-2.11/netconf/test/support/callbacks/system-cb-checker-factory.cpp
Examining data/yuma123-2.11/netconf/test/support/callbacks/running-cb-checker.cpp
Examining data/yuma123-2.11/netconf/test/support/callbacks/system-cb-checker.h
Examining data/yuma123-2.11/netconf/test/support/callbacks/sil-callback-log.cpp
Examining data/yuma123-2.11/netconf/test/support/msg-util/xpo-query-builder.h
Examining data/yuma123-2.11/netconf/test/support/msg-util/xpo-query-builder.cpp
Examining data/yuma123-2.11/netconf/test/support/msg-util/NCMessageBuilder.cpp
Examining data/yuma123-2.11/netconf/test/support/msg-util/NCMessageBuilder.h
Examining data/yuma123-2.11/netconf/test/support/msg-util/state-data-query-builder.h
Examining data/yuma123-2.11/netconf/test/support/msg-util/state-data-query-builder.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/abstract-fixture-helper.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/simple-yang-fixture.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/abstract-global-fixture.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/spoofed-args.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/device-module-fixture.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/system-fixture-helper-factory.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/query-suite-fixture.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/system-fixture-helper.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/test-context.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/integ-test-fixture.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/device-module-fixture.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/state-get-module-fixture.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/device-get-module-fixture.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/base-suite-fixture.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/system-fixture-helper-factory.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/simple-yang-fixture.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/simple-container-module-fixture.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/integ-fixture-helper.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/simple-container-module-fixture.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/device-module-common-fixture.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/integ-fixture-helper-factory.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/base-suite-fixture.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/abstract-fixture-helper-factory.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/test-context.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/system-fixture-helper.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/device-module-common-fixture.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/integ-fixture-helper.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/system-test-fixture.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/abstract-global-fixture.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/query-suite-fixture.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/state-data-module-common-fixture.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/state-data-module-common-fixture.h
Examining data/yuma123-2.11/netconf/test/support/fixtures/state-get-module-fixture.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/device-get-module-fixture.cpp
Examining data/yuma123-2.11/netconf/test/support/fixtures/integ-fixture-helper-factory.h
Examining data/yuma123-2.11/netconf/test/support/misc-util/cpp-unit-op-formatter.h
Examining data/yuma123-2.11/netconf/test/support/misc-util/log-utils.cpp
Examining data/yuma123-2.11/netconf/test/support/misc-util/base64.cpp
Examining data/yuma123-2.11/netconf/test/support/misc-util/ptree-utils.h
Examining data/yuma123-2.11/netconf/test/support/misc-util/base64.h
Examining data/yuma123-2.11/netconf/test/support/misc-util/array-deleter.h
Examining data/yuma123-2.11/netconf/test/support/misc-util/cpp-unit-op-formatter.cpp
Examining data/yuma123-2.11/netconf/test/support/misc-util/log-utils.h
Examining data/yuma123-2.11/netconf/test/support/misc-util/ptree-utils.cpp
Examining data/yuma123-2.11/netconf/test/support/nc-query-util/nc-strings.h
Examining data/yuma123-2.11/netconf/test/support/nc-query-util/nc-default-operation-config.cpp
Examining data/yuma123-2.11/netconf/test/support/nc-query-util/nc-query-test-engine.h
Examining data/yuma123-2.11/netconf/test/support/nc-query-util/nc-query-utils.cpp
Examining data/yuma123-2.11/netconf/test/support/nc-query-util/yuma-op-policies.h
Examining data/yuma123-2.11/netconf/test/support/nc-query-util/yuma-op-policies.cpp
Examining data/yuma123-2.11/netconf/test/support/nc-query-util/nc-query-utils.h
Examining data/yuma123-2.11/netconf/test/support/nc-query-util/nc-strings.cpp
Examining data/yuma123-2.11/netconf/test/support/nc-query-util/nc-query-test-engine.cpp
Examining data/yuma123-2.11/netconf/test/support/nc-query-util/nc-base-query-test-engine.h
Examining data/yuma123-2.11/netconf/test/support/nc-query-util/nc-base-query-test-engine.cpp
Examining data/yuma123-2.11/netconf/test/support/nc-query-util/nc-default-operation-config.h
Examining data/yuma123-2.11/netconf/test/integ-tests/define-yuma-integtest-global-fixture.h
Examining data/yuma123-2.11/netconf/test/integ-tests/state-edit-candidate.cpp
Examining data/yuma123-2.11/netconf/test/integ-tests/discard-changes.cpp
Examining data/yuma123-2.11/netconf/test/integ-tests/configure-yuma-integtest.h
Examining data/yuma123-2.11/netconf/test/integ-tests/simple-edit-running.cpp
Examining data/yuma123-2.11/netconf/test/integ-tests/state-edit-running.cpp
Examining data/yuma123-2.11/netconf/test/integ-tests/lock-load-running.cpp
Examining data/yuma123-2.11/netconf/test/integ-tests/lock-load-candidate.cpp
Examining data/yuma123-2.11/netconf/test/integ-tests/simple-yang.cpp
Examining data/yuma123-2.11/netconf/test/integ-tests/simple-edit-candidate.cpp
Examining data/yuma123-2.11/netconf/test/integ-tests/simple-edit-startup-true.cpp
Examining data/yuma123-2.11/netconf/test/integ-tests/simple-edit-startup-false.cpp
Examining data/yuma123-2.11/netconf/test/integ-tests/device-edit-running.cpp
Examining data/yuma123-2.11/netconf/test/integ-tests/device-edit-candidate.cpp
Examining data/yuma123-2.11/netconf/test/integ-tests/default-none-running.cpp
Examining data/yuma123-2.11/netconf/test/netconfd/ietf-interfaces-bis/test-ietf-interfaces-bis.c
Examining data/yuma123-2.11/netconf/test/netconfd/multiple-edit-callbacks/multiple-edit-callbacks.c
Examining data/yuma123-2.11/netconf/test/netconfd/ietf-routing-bis/test-ietf-routing-bis.c
Examining data/yuma123-2.11/netconf/test/netconfd/ietf-routing/test-ietf-routing.c
Examining data/yuma123-2.11/netconf/test/netconfd/rollback-on-error/rollback-on-error.c
Examining data/yuma123-2.11/netconf/test/netconfd/ietf-ip-bis/test-ietf-ip-bis.c
Examining data/yuma123-2.11/netconf/test/netconfd/agt-commit-complete/test_agt_commit_complete.c
Examining data/yuma123-2.11/netconf/test/stubs/agt/agt_ncxserver.cpp
Examining data/yuma123-2.11/netconf/test/stubs/ncx/send_buff.cpp
Examining data/yuma123-2.11/netconf/python/yuma.c
Examining data/yuma123-2.11/netconf/python/yangrpc.c

FINAL RESULTS:

data/yuma123-2.11/netconf/src/agt/agt_ncxserver.c:125:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    ret = chmod(filename, (S_IRUSR | S_IWUSR |
data/yuma123-2.11/netconf/src/ncx/grp.c:191:27:  [5] (race) chgrp:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchgrp( ) instead.
    const grp_template_t *chgrp;
data/yuma123-2.11/netconf/src/ncx/grp.c:206:10:  [5] (race) chgrp:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchgrp( ) instead.
         chgrp != NULL;
data/yuma123-2.11/netconf/src/ncx/grp.c:207:56:  [5] (race) chgrp:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchgrp( ) instead.
         chgrp = (const grp_template_t *)dlq_nextEntry(chgrp)) {
data/yuma123-2.11/netconf/src/ncx/grp.c:208:30:  [5] (race) chgrp:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchgrp( ) instead.
        if (grp_has_typedefs(chgrp)) {
data/yuma123-2.11/example-modules/external-handler/external-handler.c:46: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.
    res=fprintf(fp,str);
data/yuma123-2.11/example-modules/external-handler/external-handler.c:66: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(before,EMPTY_CONFIG);
data/yuma123-2.11/example-modules/external-handler/external-handler.c:75:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    res=system(cmd_buf);
data/yuma123-2.11/example-modules/ietf-interfaces/ietf-interfaces.c:176:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(cmd_buf, "cat /sys/class/net/%s/operstate", VAL_STRING(name_val));
data/yuma123-2.11/example-modules/ietf-interfaces/ietf-interfaces.c:177:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    f = popen(cmd_buf, "r");
data/yuma123-2.11/example-modules/ietf-system/ietf-system.c:94:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    ret=system("hwclock --systohc");
data/yuma123-2.11/example-modules/ietf-system/ietf-system.c:122:22:  [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("reboot");
data/yuma123-2.11/example-modules/ietf-system/ietf-system.c:167:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(buf,"hostname %s", VAL_STRING(newval));
data/yuma123-2.11/example-modules/ietf-system/ietf-system.c:169: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.
                ret=system(buf);
data/yuma123-2.11/example-modules/interfaces-alarms/interfaces-alarms.c:103:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(description_str,"Link down - %s",VAL_STRING(payload_val));
data/yuma123-2.11/example-modules/interfaces-alarms/interfaces-alarms.c:106:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(resource_str,"/interfaces/interface[name=\'%s\']",VAL_STRING(payload_val));
data/yuma123-2.11/libtecla/cplfile.c:849:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cf->buff->name, suffix);
data/yuma123-2.11/libtecla/cplmatch.c:335:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(string + word_end - word_start, suffix);
data/yuma123-2.11/libtecla/enhance.c:132:8:  [4] (shell) execvp:
  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(execvp(argv[1], argv + 1) < 0) {
data/yuma123-2.11/libtecla/enhance.c:231:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(slave_name, name);
data/yuma123-2.11/libtecla/enhance.c:270:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(master_name, PTY_DEV_DIR);
data/yuma123-2.11/libtecla/enhance.c:271:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(master_name, PTY_CNTRL);
data/yuma123-2.11/libtecla/enhance.c:272:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(master_name, ext);
data/yuma123-2.11/libtecla/enhance.c:279:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(slave_name, PTY_DEV_DIR);
data/yuma123-2.11/libtecla/enhance.c:280:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(slave_name, PTY_SLAVE);
data/yuma123-2.11/libtecla/enhance.c:281:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(slave_name, ext);
data/yuma123-2.11/libtecla/enhance.c:520:6:  [4] (shell) execvp:
  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(execvp(argv[0], argv) < 0) {
data/yuma123-2.11/libtecla/getline.c:4257:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(gl->cutbuf, gl->line);
data/yuma123-2.11/libtecla/getline.c:4289:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(gl->cutbuf, gl->line + gl->buff_curpos);
data/yuma123-2.11/libtecla/getline.c:5967:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(gl->term, term);
data/yuma123-2.11/libtecla/getline.c:7823:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(gl->vi.undo.line, gl->line);
data/yuma123-2.11/libtecla/getline.c:7862:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(undo_ptr, line_ptr);
data/yuma123-2.11/libtecla/getline.c:7865:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(line_ptr, undo_ptr);
data/yuma123-2.11/libtecla/getline.c:8514:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(*sptr, string);
data/yuma123-2.11/libtecla/getline.c:10003:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(gl->prompt, prompt);
data/yuma123-2.11/libtecla/hash.c:504:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(node->symbol.name, name);
data/yuma123-2.11/libtecla/pathutil.c:428:5:  [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(pathname, X_OK) == 0;
data/yuma123-2.11/libtecla/pcache.c:1476:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(pc->path->name, suffix);
data/yuma123-2.11/libtecla/stringrp.c:198:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(copy, string);
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:7084:14:  [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.
    retval = vsnprintf(buffer, len, format, ap);
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:7086:14:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    retval = vsprintf(buffer, format, ap);
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:7115:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf(buffer, pat, args);
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:7084:14:  [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.
    retval = vsnprintf(buffer, len, format, ap);
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:7086:14:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    retval = vsprintf(buffer, format, ap);
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:7115:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf(buffer, pat, args);
data/yuma123-2.11/netconf/perl/yuma/ppport.h:7084:14:  [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.
    retval = vsnprintf(buffer, len, format, ap);
data/yuma123-2.11/netconf/perl/yuma/ppport.h:7086:14:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    retval = vsprintf(buffer, format, ap);
data/yuma123-2.11/netconf/perl/yuma/ppport.h:7115:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf(buffer, pat, args);
data/yuma123-2.11/netconf/python/yuma.c:73:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(startup_arg,"%s",cfg_filename_str);
data/yuma123-2.11/netconf/src/agt/agt_acm.c:184:32:  [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.
    check_mode (const xmlChar *access,
data/yuma123-2.11/netconf/src/agt/agt_acm.c:190:21:  [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 (!xml_strcmp(access, nacm_E_allowedRights_create)) {
data/yuma123-2.11/netconf/src/agt/agt_acm.c:192:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    } else if (!xml_strcmp(access, nacm_E_allowedRights_update)) {
data/yuma123-2.11/netconf/src/agt/agt_acm.c:194:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    } else if (!xml_strcmp(access, nacm_E_allowedRights_delete)) {
data/yuma123-2.11/netconf/src/agt/agt_acm.c:196:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    } else if (!xml_strcmp(access, nacm_E_allowedRights_exec)) {
data/yuma123-2.11/netconf/src/agt/agt_acm.c:682:38:  [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.
                      const xmlChar *access,
data/yuma123-2.11/netconf/src/agt/agt_acm.c:718:46:  [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.
                granted = ncx_string_in_list(access, bits);
data/yuma123-2.11/netconf/src/agt/agt_acm.c:720:47:  [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(strstr(VAL_STRING(rights), access) != NULL) {
data/yuma123-2.11/netconf/src/agt/agt_acm.c:998:40:  [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.
                        const xmlChar *access,
data/yuma123-2.11/netconf/src/agt/agt_acm.c:1078:36:  [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,
data/yuma123-2.11/netconf/src/agt/agt_acm.c:1434:38:  [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.
                      const xmlChar *access,
data/yuma123-2.11/netconf/src/agt/agt_acm.c:1461:42:  [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_id = get_rule_queue_access_id(access);
data/yuma123-2.11/netconf/src/agt/agt_acm.c:1524:11:  [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.
    char* access;
data/yuma123-2.11/netconf/src/agt/agt_acm.c:1592:20:  [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 (check_mode(access, val->obj)) {
data/yuma123-2.11/netconf/src/agt/agt_acm.c:1642:61:  [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.
            retval = check_data_rules(cache, nacmroot, val, access,
data/yuma123-2.11/netconf/src/agt/agt_acm.c:1648:72:  [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.
                retval = check_module_rules(cache, nacmroot, val->obj, access,
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:655:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer, 
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1018:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(str,"%sout",VAL_STRING(val));
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1024:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(str,"%sout.ts",VAL_STRING(val));
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1030:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(str,"%sin",VAL_STRING(val));
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1036:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(str,"%sin.ts",VAL_STRING(val));
data/yuma123-2.11/netconf/src/ncx/cap.c:1514:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buf,format,revision,module_set_id);
data/yuma123-2.11/netconf/src/ncx/cap.c:1653:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(newstr,"%s%s",pre_features_str, features_str);
data/yuma123-2.11/netconf/src/ncx/log.c:340:5:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vprintf(fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:369:9:  [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(logfile, fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:372:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:399:9:  [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(auditlogfile, fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:426:9:  [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(altlogfile, fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:476:9:  [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(logfile, fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:479:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:527:9:  [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(logfile, fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:530:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:561:9:  [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(logfile, fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:564:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:595:9:  [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(logfile, fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:598:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:629:9:  [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(logfile, fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:632:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:663:9:  [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(logfile, fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:666:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:697:9:  [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(logfile, fstr, args);
data/yuma123-2.11/netconf/src/ncx/log.c:700:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf(fstr, args);
data/yuma123-2.11/netconf/src/ncx/val.c:7853:24:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                icnt = sprintf((char *)buff, "<%s/>", val->name);
data/yuma123-2.11/netconf/src/ncx/val.c:7885:24:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                icnt = sprintf((char *)buff, "%s", val->v.enu.name);
data/yuma123-2.11/netconf/src/ncx/val.c:7979:24:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                icnt = sprintf((char *)buff,
data/yuma123-2.11/netconf/src/ncx/val.c:8036:24:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                icnt = sprintf((char *)buff, "%s ", 
data/yuma123-2.11/netconf/src/ncx/xpath_yang.c:527: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,get_target_module_for_nsid(matched_objs[i]->nsid)->name);
data/yuma123-2.11/netconf/src/ncx/xpath_yang.c:529: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,obj_get_name(matched_objs[i]));
data/yuma123-2.11/netconf/src/netconfd/netconfd.c:179: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(buff, START_MSG);
data/yuma123-2.11/netconf/src/netconfd/netconfd.c:180: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(buff, COPYRIGHT_STRING_LINE0);
data/yuma123-2.11/netconf/src/netconfd/netconfd.c:181: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(buff, COPYRIGHT_STRING_LINE1);
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:109:37:  [4] (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( errfile, fmt, ##__VA_ARGS__); \
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:115:37:  [4] (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( errfile, fmt, ##__VA_ARGS__); \
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:121:37:  [4] (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( errfile, fmt, ##__VA_ARGS__); \
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:170:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(match,"--ncxserver-sockname=%s@",port);
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:364:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(msgbuff, BUFFLEN, connectmsg, (const char *)XML_START_MSG, 
data/yuma123-2.11/netconf/src/yangcli/tecla2readline/tecla2readline.c:98:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(expanded,"%s%s",pw->pw_dir,&filename[1]);
data/yuma123-2.11/netconf/src/yangcli/tecla2readline/tecla2readline.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(str+prefix_len, my_completions[0]);
data/yuma123-2.11/netconf/src/yangcli/yangcli_cmd.c:1900:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                sprintf(buf,fmt,obj_get_name(parm));
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:401: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(pathname, obj_get_name(obj));
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:407: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(pathname, obj_get_name(obj));
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:150:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(username, pwd.pw_name);
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:209:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(xpath_str, "/interfaces-state/interface[name='%s']/statistics/%s", VAL_STRING(name_val), obj_get_name(counter_abs_val->obj));
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:638:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(rpc_str, rpc_format_str, config_xml_str);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:306:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(prog_w_args, "prog-placeholder %s",(args==NULL)?"":args);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:582:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(server_arg,"--server=%s",server);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:592:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(user_arg,"--user=%s",user);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:601:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(password_arg,"--password=%s",password);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:608:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(public_key_arg,"--public-key=%s",public_key);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:613:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(private_key_arg,"--private-key=%s",private_key);
data/yuma123-2.11/netconf/src/ydump/sql.c:321:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buff, "\n    '', '%s', '%s', '%s', '%s', '%u',",
data/yuma123-2.11/netconf/src/ydump/sql.c:518:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buff, "\n    '', '%s');", mod->name);
data/yuma123-2.11/netconf/src/ydump/sql.c:548:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buff, "\n    '', '%s', '%s', ",
data/yuma123-2.11/netconf/src/ydump/sql.c:560:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buff, "'%s',", (mod->prefix) ? mod->prefix : mod->name);
data/yuma123-2.11/netconf/src/ydump/sql.c:647:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buff, "\n    '%s',", mod->source);
data/yuma123-2.11/netconf/src/ydump/sql.c:651:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buff, "\n    '%s',", mod->sourcefn);
data/yuma123-2.11/netconf/src/ydump/sql.c:706:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buff, "'%s', ", (const char *)typ_get_basetype_name(typ));
data/yuma123-2.11/netconf/src/ydump/sql.c:710:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buff, "'%s', ", (const char *)typ_get_parenttype_name(typ));
data/yuma123-2.11/netconf/src/ydump/sql.c:716:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buff, "\n    '%s', '%u', ", 
data/yuma123-2.11/netconf/src/ydump/sql.c:832:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buff, "\n    '%s', ", (const char *)obj_get_typestr(obj));
data/yuma123-2.11/netconf/src/ydump/sql.c:855:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buff, "\n    '%s',", 
data/yuma123-2.11/netconf/src/ydump/sql.c:859:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buff, "\n    '%s',", 
data/yuma123-2.11/netconf/src/ydump/sql.c:863:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buff, "\n    '%s',", obj->def.uses->grp->name);
data/yuma123-2.11/netconf/src/ydump/sql.c:890:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buff, "\n    '%s',",  defval);  
data/yuma123-2.11/netconf/src/ydump/sql.c:898:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buff, "\n    '%s',", obj_get_keystr(obj));
data/yuma123-2.11/netconf/src/ydump/sql.c:981:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buff, "\n    '%s', '%u',",
data/yuma123-2.11/netconf/src/ydump/xsd_util.c:2683:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf((char *)numbuff, "%s", XSD_UNBOUNDED);
data/yuma123-2.11/netconf/src/ydump/yangdump_util.c:280:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf((char *)cp->buff, "\nmodule %s", mod->name);
data/yuma123-2.11/netconf/src/ydump/yangdump_util.c:282:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf((char *)cp->buff, "\nsubmodule %s", mod->name);
data/yuma123-2.11/netconf/src/ydump/yangdump_util.c:287:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf((char *)cp->buff, "@%s", mod->version);
data/yuma123-2.11/netconf/src/ydump/yangtree.c:322:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(child_line_prefix, "%s|  ",line_prefix);
data/yuma123-2.11/netconf/src/ydump/yangtree.c:324:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(child_line_prefix, "%s   ",line_prefix);
data/yuma123-2.11/netconf/src/ydump/ydump.c:741:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buff, "\nnamespace %s", mod->ns);
data/yuma123-2.11/netconf/src/ydump/ydump.c:744:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buff, "\nprefix %s", mod->prefix);
data/yuma123-2.11/netconf/src/ydump/ydump.c:747:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buff, "\nprefix %s", mod->name);
data/yuma123-2.11/netconf/src/ydump/ydump.c:755:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buff, "\ntypedef %s", typ->name);
data/yuma123-2.11/netconf/src/ydump/ydump.c:763:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buff, "\ngrouping %s", grp->name);
data/yuma123-2.11/netconf/src/ydump/ydump.c:779:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buff, "\n%s %s", obj_get_typestr(obj),
data/yuma123-2.11/netconf/src/ydump/ydump.c:789:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buff, "\nextension %s", ext->name);
data/yuma123-2.11/netconf/src/ydump/ydump.c:797:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buff, "\nfeature %s", feature->name);
data/yuma123-2.11/netconf/src/ydump/ydump.c:883:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cp->buff, "\nimport %s", impptr->modname);
data/yuma123-2.11/netconf/src/ydump/ydump.c:886:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(cp->buff, "@%s", testmod->version);
data/yuma123-2.11/netconf/src/ydump/ydump.c:896:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(cp->buff, "\ninclude %s", node->name);
data/yuma123-2.11/netconf/src/ydump/ydump.c:899:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(cp->buff, "@%s", node->submod->version);
data/yuma123-2.11/netconf/src/ydump/ydump.c:1165:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buff, "\nmodule %s", mod->name);
data/yuma123-2.11/netconf/src/ydump/ydump.c:1167:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buff, "\nsubmodule %s", mod->name);
data/yuma123-2.11/netconf/src/ydump/ydump.c:1171:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buff, "@%s", (mod->version) ? mod->version : NCX_EL_NONE);
data/yuma123-2.11/example-modules/external-handler/external-handler.c:129:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    commit_prog=getenv("COMMIT_PROG");
data/yuma123-2.11/example-modules/external-handler/external-handler.c:131:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    get_prog=getenv("GET_PROG");
data/yuma123-2.11/example-modules/external-handler/external-handler.c:133: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.
    get_cb_schema_map=getenv("GET_CB_SCHEMA_MAP");
data/yuma123-2.11/libtecla/cplfile.c:367:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      value = getenv(cf->envnam);
data/yuma123-2.11/libtecla/demo2.c:296:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if(pca_scan_path(res->pc, getenv("PATH")))
data/yuma123-2.11/libtecla/expand.c:1106:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      value = getenv(ef->envnam);
data/yuma123-2.11/libtecla/getline.c:2013:45:  [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(_gl_change_terminal(gl, stdin, stdout, getenv("TERM")))
data/yuma123-2.11/libtecla/getline.c:9403:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      if((env = getenv("LINES")) && (n=atoi(env)) > 0)
data/yuma123-2.11/libtecla/getline.c:9420:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      if((env = getenv("COLUMNS")) && (n=atoi(env)) > 0)
data/yuma123-2.11/libtecla/homedir.c:238: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.
    home_dir = getenv("HOME");
data/yuma123-2.11/libtecla/homedir.c:447:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *pwd = getenv("PWD");
data/yuma123-2.11/netconf/src/agt/agt_sys.c:687:35:  [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.
    myhostname = (const xmlChar *)getenv("HOSTNAME");
data/yuma123-2.11/netconf/src/ncx/ncxmod.c:2765:41:  [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.
    ncxmod_yuma_home = (const xmlChar *)getenv(NCXMOD_HOME);
data/yuma123-2.11/netconf/src/ncx/ncxmod.c:2770:43:  [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.
    ncxmod_env_install = (const xmlChar *)getenv(NCXMOD_INSTALL);
data/yuma123-2.11/netconf/src/ncx/ncxmod.c:2773:36:  [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.
    ncxmod_home = (const xmlChar *)getenv(USER_HOME);
data/yuma123-2.11/netconf/src/ncx/ncxmod.c:2778:40:  [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.
    ncxmod_mod_path = (const xmlChar *)getenv(NCXMOD_MODPATH);
data/yuma123-2.11/netconf/src/ncx/ncxmod.c:2794:41:  [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.
    ncxmod_data_path = (const xmlChar *)getenv(NCXMOD_DATAPATH);
data/yuma123-2.11/netconf/src/ncx/ncxmod.c:2799:40:  [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.
    ncxmod_run_path = (const xmlChar *)getenv(NCXMOD_RUNPATH);
data/yuma123-2.11/netconf/src/ncx/ncxmod.c:4617:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    return (const xmlChar *)getenv(buff);
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:210:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    con = getenv("SSH_CONNECTION");
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:244:10:  [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.
    cp = getenv("USER");
data/yuma123-2.11/netconf/src/yangcli/yangcli.c:1747:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    envstr = getenv(NCXMOD_PWD);
data/yuma123-2.11/netconf/src/yangcli/yangcli.c:1759:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    envstr = getenv(ENV_HOST);
data/yuma123-2.11/netconf/src/yangcli/yangcli.c:1765:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    envstr = getenv(ENV_SHELL);
data/yuma123-2.11/netconf/src/yangcli/yangcli.c:1771:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    envstr = getenv(ENV_USER);
data/yuma123-2.11/netconf/src/yangcli/yangcli.c:1777:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    envstr = getenv(ENV_LANG);
data/yuma123-2.11/netconf/src/yangcli/yangcli.c:1783:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    envstr = getenv(NCXMOD_HOME);
data/yuma123-2.11/netconf/src/yangcli/yangcli.c:1789:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    envstr = getenv(NCXMOD_MODPATH);
data/yuma123-2.11/netconf/src/yangcli/yangcli.c:1795:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    envstr = getenv(NCXMOD_DATAPATH);
data/yuma123-2.11/netconf/src/yangcli/yangcli.c:1801:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    envstr = getenv(NCXMOD_RUNPATH);
data/yuma123-2.11/netconf/src/yangcli/yangcli.c:1957:35:  [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.
        strval = (const xmlChar *)getenv(ENV_USER);
data/yuma123-2.11/example-modules/external-handler/external-handler.c:44:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen(filename, "w");
data/yuma123-2.11/example-modules/ietf-alarms/alarmctrl.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 tstamp_buf[21];
data/yuma123-2.11/example-modules/ietf-alarms/alarmctrl.c:211:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tstamp_buf[21];
data/yuma123-2.11/example-modules/ietf-interfaces/ietf-interfaces.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.
        char tstamp_buf[32];
data/yuma123-2.11/example-modules/ietf-interfaces/ietf-interfaces.c:163:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cmd_buf[NCX_MAX_LINELEN];
data/yuma123-2.11/example-modules/ietf-interfaces/ietf-interfaces.c:164:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char status_buf[NCX_MAX_LINELEN];
data/yuma123-2.11/example-modules/ietf-interfaces/ietf-interfaces.c:201: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(status_buf, "unknown");
data/yuma123-2.11/example-modules/ietf-interfaces/ietf-interfaces.c:421:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen("/proc/net/dev", "r");
data/yuma123-2.11/example-modules/ietf-system/ietf-system.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 tstamp_buf[32];
data/yuma123-2.11/example-modules/interfaces-alarms/interfaces-alarms.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 description_str[1024];
data/yuma123-2.11/example-modules/yuma-arp/yuma-arp.c:70:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fp = fopen(name, "w")) == NULL) {
data/yuma123-2.11/example-modules/yuma-arp/yuma-arp.c:344: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(&req.arp_pa , &sa_in, sizeof(sa_in));
data/yuma123-2.11/example-modules/yuma-arp/yuma-arp.c:532: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 tmp[255];
data/yuma123-2.11/example-modules/yuma-arp/yuma-arp.c:1126:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file = fopen("/proc/net/arp", "r");
data/yuma123-2.11/example-modules/yuma-arp/yuma-arp.c:1389: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).
    testfile = fopen("/proc/net/arp", "r");
data/yuma123-2.11/libtecla/chrqueue.c:61:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char bytes[GL_CQ_SIZE];    /* The fixed size buffer of this node */
data/yuma123-2.11/libtecla/chrqueue.c:253: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(cq->buffers.tail->bytes + boff, chars + ndone, nnew);
data/yuma123-2.11/libtecla/cplfile.c:79:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char usrnam[USR_LEN+1];      /* The buffer used when reading the names of */
data/yuma123-2.11/libtecla/cplfile.c:81:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char envnam[ENV_LEN+1];      /* The buffer used when reading the names of */
data/yuma123-2.11/libtecla/cplfile.c:664: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(pathname + start, FS_DIR_SEP, FS_DIR_SEP_LEN);
data/yuma123-2.11/libtecla/demo.c:66:52:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *)my_tab_context_string_array[i]+word_end-word_start,
data/yuma123-2.11/libtecla/demo3.c:689:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&action.sa_mask, mask, sizeof(*mask));
data/yuma123-2.11/libtecla/enhance.c:107:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char slave_name[PTY_MAX_NAME]; /* The filename of the slave end of the */
data/yuma123-2.11/libtecla/enhance.c:206:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char master_name[PTY_MAX_NAME]; /* The filename of the master device */
data/yuma123-2.11/libtecla/enhance.c:220:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  *cntrl = open("/dev/ptmx", O_RDWR);
data/yuma123-2.11/libtecla/enhance.c:273:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	*cntrl = open(master_name, O_RDWR);
data/yuma123-2.11/libtecla/enhance.c:339:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fd = open(slave_name, O_RDWR);
data/yuma123-2.11/libtecla/errmsg.c:43:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg[ERR_MSG_LEN+1];  /* An error message */
data/yuma123-2.11/libtecla/expand.c:107:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char usrnam[USR_LEN+1]; /* A user name */
data/yuma123-2.11/libtecla/expand.c:108:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char envnam[ENV_LEN+1]; /* An environment variable name */
data/yuma123-2.11/libtecla/getline.c:429:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[GL_KEY_MAX+1]; /* A buffer of currently unprocessed key presses */
data/yuma123-2.11/libtecla/getline.c:2110:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char keyseq[2];
data/yuma123-2.11/libtecla/getline.c:2483:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&act.sa_mask, &gl->all_signal_set, sizeof(sigset_t));
data/yuma123-2.11/libtecla/getline.c:4086:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char string[TAB_WIDTH + 4]; /* A work area for composing compound strings */
data/yuma123-2.11/libtecla/getline.c:4108: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(string, "\\%o", (int)(unsigned char)c);
data/yuma123-2.11/libtecla/getline.c:4381: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(gl->cutbuf, gl->line + gl->buff_curpos, nc);
data/yuma123-2.11/libtecla/getline.c:4887:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char from[3];     /* The original string of 2 characters */
data/yuma123-2.11/libtecla/getline.c:4888:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char swap[3];     /* The swapped string of two characters */
data/yuma123-2.11/libtecla/getline.c:5052:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(gl->cutbuf, gl->line + ca, cb + 1 - ca);
data/yuma123-2.11/libtecla/getline.c:6301:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(expansion->files[0], "r");
data/yuma123-2.11/libtecla/getline.c:6385:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[GL_CONF_BUFLEN+1];  /* The input line buffer */
data/yuma123-2.11/libtecla/getline.c:6386:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[GL_CONF_MAXARG];     /* The argument list */
data/yuma123-2.11/libtecla/getline.c:6551:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char lnum[20];   /* A buffer in which to render a single integer */
data/yuma123-2.11/libtecla/getline.c:6555:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(lnum, "%d", lineno);
data/yuma123-2.11/libtecla/getline.c:6635: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).
    gl->file_fp = fopen(result->files[0], "r");
data/yuma123-2.11/libtecla/getline.c:6791:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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]; s[0] = count; s[1] = '\0';
data/yuma123-2.11/libtecla/getline.c:6792:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    n = atoi(s);
data/yuma123-2.11/libtecla/getline.c:7221:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(gl->cutbuf, gl->line + gl->buff_curpos, count);
data/yuma123-2.11/libtecla/getline.c:7244:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(gl->cutbuf, gl->line + gl->buff_curpos, count);
data/yuma123-2.11/libtecla/getline.c:7287:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(gl->cutbuf, gl->line + gl->buff_curpos, gl->ntotal - gl->buff_curpos);
data/yuma123-2.11/libtecla/getline.c:7301:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(gl->cutbuf, gl->line, gl->buff_curpos);
data/yuma123-2.11/libtecla/getline.c:7315:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(gl->cutbuf, gl->line, gl->ntotal);
data/yuma123-2.11/libtecla/getline.c:7646:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(gl->cutbuf, gl->line + gl->buff_curpos, n);
data/yuma123-2.11/libtecla/getline.c:7669:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(gl->cutbuf, gl->line + next, n);
data/yuma123-2.11/libtecla/getline.c:7707: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(gl->cutbuf, gl->line + gl->buff_curpos, n);
data/yuma123-2.11/libtecla/getline.c:7710: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(gl->cutbuf, gl->line + pos, n);
data/yuma123-2.11/libtecla/getline.c:8197:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char keyseq[GL_KEY_MAX+1]; /* A special key sequence being read */
data/yuma123-2.11/libtecla/getline.c:9403:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      if((env = getenv("LINES")) && (n=atoi(env)) > 0)
data/yuma123-2.11/libtecla/getline.c:9420:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      if((env = getenv("COLUMNS")) && (n=atoi(env)) > 0)
data/yuma123-2.11/libtecla/getline.c:11603:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(set, &gl->all_signal_set, sizeof(*set));
data/yuma123-2.11/libtecla/history.c:61:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s[GLH_SEG_SIZE]; /* The sub-string. Beware that only the final */
data/yuma123-2.11/libtecla/history.c:1027:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(filename, "w");
data/yuma123-2.11/libtecla/history.c:1184:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp = fopen(filename, "r");
data/yuma123-2.11/libtecla/history.c:1273:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char lnum[20];
data/yuma123-2.11/libtecla/history.c:1277:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(lnum, "%d", lineno);
data/yuma123-2.11/libtecla/history.c:1311:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char timestr[TSLEN+1];   /* The timestamp part of the string */
data/yuma123-2.11/libtecla/history.c:1458:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[TSMAX+1];  /* The buffer in which to write the date and time */
data/yuma123-2.11/libtecla/history.c:1482:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buffer, "%lu", (unsigned long) glh->list.tail->id);
data/yuma123-2.11/libtecla/history.c:1495:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buffer, "%u", (unsigned) grpmax);
data/yuma123-2.11/libtecla/history.c:1574: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(buffer, "%*lu", idlen, (unsigned long) node->id);
data/yuma123-2.11/libtecla/history.c:1580: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(buffer, "%*u", grplen, (unsigned) node->group);
data/yuma123-2.11/libtecla/history.c:2205:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(seg->s, line + offset, GLH_SEG_SIZE);
data/yuma123-2.11/libtecla/history.c:2206: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(seg->s, line + offset, n-offset);
data/yuma123-2.11/libtecla/homedir.c:357:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[512];          /* The buffer in which the string members of */
data/yuma123-2.11/libtecla/ioutil.c:272:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fill[FILL_SIZE+1];
data/yuma123-2.11/libtecla/pathutil.c:195: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(path->name + pathlen, string, slen);
data/yuma123-2.11/libtecla/pathutil.c:279: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(path->name, string, slen);
data/yuma123-2.11/libtecla/pcache.c:160:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char usrnam[USR_LEN+1];/* The buffer used when reading the names of */
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:4025:42:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define CopyD(s,d,n,t)                 memcpy((char*)(d),(char*)(s), (n) * sizeof(t))
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:6939: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.
                && (xdigit = strchr((char *) PL_hexdigit, s[1])))
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:7161: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(dst + used, src, copy);
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:7190: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(dst, src, copy);
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:7282:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char octbuf[32] = "%123456789ABCDF";
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:7352: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 tmp[2];
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:4025:42:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define CopyD(s,d,n,t)                 memcpy((char*)(d),(char*)(s), (n) * sizeof(t))
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:6939: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.
                && (xdigit = strchr((char *) PL_hexdigit, s[1])))
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:7161: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(dst + used, src, copy);
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:7190: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(dst, src, copy);
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:7282:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char octbuf[32] = "%123456789ABCDF";
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:7352: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 tmp[2];
data/yuma123-2.11/netconf/perl/yuma/ppport.h:4025:42:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define CopyD(s,d,n,t)                 memcpy((char*)(d),(char*)(s), (n) * sizeof(t))
data/yuma123-2.11/netconf/perl/yuma/ppport.h:6939: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.
                && (xdigit = strchr((char *) PL_hexdigit, s[1])))
data/yuma123-2.11/netconf/perl/yuma/ppport.h:7161: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(dst + used, src, copy);
data/yuma123-2.11/netconf/perl/yuma/ppport.h:7190: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(dst, src, copy);
data/yuma123-2.11/netconf/perl/yuma/ppport.h:7282:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char octbuf[32] = "%123456789ABCDF";
data/yuma123-2.11/netconf/perl/yuma/ppport.h:7352: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 tmp[2];
data/yuma123-2.11/netconf/src/agt/agt_cfg.c:278:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fil = fopen((const char *)txidfile, "r");
data/yuma123-2.11/netconf/src/agt/agt_cfg.c:286:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer [128];
data/yuma123-2.11/netconf/src/agt/agt_cfg.c:350:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fil = fopen((const char *)txidfile, "w");
data/yuma123-2.11/netconf/src/agt/agt_cfg.c:359:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer [128];
data/yuma123-2.11/netconf/src/agt/agt_cli.c:461: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((const char *)AGT_DEF_CONF_FILE, "r");
data/yuma123-2.11/netconf/src/agt/agt_if.c:467: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).
    countersfile = fopen("/proc/net/dev", "r");
data/yuma123-2.11/netconf/src/agt/agt_if.c:562: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).
    countersfile = fopen("/proc/net/dev", "r");
data/yuma123-2.11/netconf/src/agt/agt_ncxserver.c:184: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((char *) &name.sin_addr, hp->h_addr, hp->h_length);
data/yuma123-2.11/netconf/src/agt/agt_proc.c:350: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).
    cpuinfofile = fopen("/proc/cpuinfo", "r");
data/yuma123-2.11/netconf/src/agt/agt_proc.c:467: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).
    meminfofile = fopen("/proc/meminfo", "r");
data/yuma123-2.11/netconf/src/agt/agt_util.c:1520: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).
    fil = fopen((const char *)msg->rpc_user1, "r");
data/yuma123-2.11/netconf/src/agt/agt_val.c:3898: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 buff[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/agt/agt_yang_library.c:306: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.
        unsigned char hash[SHA_DIGEST_LENGTH];
data/yuma123-2.11/netconf/src/agt/agt_yang_library.c:307: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.
        unsigned char hash_str[SHA_DIGEST_LENGTH*2+1];
data/yuma123-2.11/netconf/src/agt/agt_yang_library.c:313: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(hash_str + (i*2), "%02x", hash[i]);
data/yuma123-2.11/netconf/src/mgr/mgr_rpc.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             numbuff[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/mgr/mgr_rpc.c:337: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(numbuff, "%u", mscb->next_id);
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:153: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((char *)&targ.sin_addr.s_addr,
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:587:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        buffer[64];
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:595:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char addrbuff[16];
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:654:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        buffer[1024];
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1019:39:  [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).
                scb->dump_output_data=fopen(str,"w");
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1025:45:  [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).
                scb->dump_output_timestamps=fopen(str,"w");
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1031:38:  [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).
                scb->dump_input_data=fopen(str,"w");
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1037:44:  [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).
                scb->dump_input_timestamps=fopen(str,"w");
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1247: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((char *)(&buff[cnt]), "%u", scb->sid);
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1501: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(tsbuf,"%010u.%09u %d\n",(unsigned int)tp.tv_sec,(unsigned int)tp.tv_nsec, (unsigned int)ret);
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1627: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(buf,"%010u.%09u %d\n",(unsigned int)tp.tv_sec,(unsigned int)tp.tv_nsec, (unsigned int)buff->bufflen);
data/yuma123-2.11/netconf/src/ncx/b64.c:29: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 decode_character_table[256] = {
data/yuma123-2.11/netconf/src/ncx/conf.c:897:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen((const char *)sourcespec, "r");
data/yuma123-2.11/netconf/src/ncx/json_wr.c:431:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen((const char *)filespec, "w");
data/yuma123-2.11/netconf/src/ncx/log.c:111:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    logfile = fopen(fname, str);
data/yuma123-2.11/netconf/src/ncx/log.c:197: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).
    auditlogfile = fopen(fname, str);
data/yuma123-2.11/netconf/src/ncx/log.c:287: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).
    altlogfile = fopen(fname, str);
data/yuma123-2.11/netconf/src/ncx/ncx.c:960: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).
    tracefile = fopen("tracefile.xml", "w");
data/yuma123-2.11/netconf/src/ncx/ncx_num.c:2141:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        ilen = sprintf((char *)buff, "%d", num->i);
data/yuma123-2.11/netconf/src/ncx/ncx_num.c:2144:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        ilen = sprintf((char *)buff, "%lld", (long long)num->l);
data/yuma123-2.11/netconf/src/ncx/ncx_num.c:2149:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        ilen = sprintf((char *)buff, "%u", num->u);
data/yuma123-2.11/netconf/src/ncx/ncx_num.c:2152:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        ilen = sprintf((char *)buff, "%llu", (unsigned long long)num->ul);
data/yuma123-2.11/netconf/src/ncx/ncx_num.c:2164: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.
            ilen += sprintf((char *)&buff[ilen], "%lld", 
data/yuma123-2.11/netconf/src/ncx/ncx_num.c:2171:23:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                pos = sprintf((char *)decbuff, 
data/yuma123-2.11/netconf/src/ncx/ncx_num.c:2204:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        ilen = sprintf((char *)buff, "%.14f", num->d);
data/yuma123-2.11/netconf/src/ncx/ncx_num.c:2213:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        ilen = sprintf((char *)buff, "%lld", (long long)num->d);
data/yuma123-2.11/netconf/src/ncx/ncxmod.c:4511:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NCX_MAX_USERNAME_LEN+1];
data/yuma123-2.11/netconf/src/ncx/ncxmod.c:4592:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NCX_MAX_USERNAME_LEN+1];
data/yuma123-2.11/netconf/src/ncx/obj_help.c:242:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                  numbuff[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/ncx/ses.c:821:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char    tempbuff[4];
data/yuma123-2.11/netconf/src/ncx/ses.c:2054: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).
    fil = fopen((const char *)fname, "r");
data/yuma123-2.11/netconf/src/ncx/ses_msg.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 numbuff[SES_MAX_CHUNKNUM_SIZE];
data/yuma123-2.11/netconf/src/ncx/ses_msg.c:924: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(p, numbuff, numlen);
data/yuma123-2.11/netconf/src/ncx/ses_msg.c:929: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(&buff->buff[buff->bufflen], 
data/yuma123-2.11/netconf/src/ncx/status.c:69:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char             filename[MAX_ERR_FILENAME];
data/yuma123-2.11/netconf/src/ncx/tk.c:2414:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        return (const char *)blist[btyp].bid;
data/yuma123-2.11/netconf/src/ncx/tstamp.c:72:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    (void)sprintf((char *)buff, 
data/yuma123-2.11/netconf/src/ncx/tstamp.c:100:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    (void)sprintf((char *)buff, 
data/yuma123-2.11/netconf/src/ncx/tstamp.c:172:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    (void)sprintf((char *)buff, 
data/yuma123-2.11/netconf/src/ncx/tstamp.c:208:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    (void)sprintf((char *)buff, 
data/yuma123-2.11/netconf/src/ncx/val.c:159: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).
    fil = fopen((const char *)fname, "r");
data/yuma123-2.11/netconf/src/ncx/val.c:200: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).
    fil = fopen((const char *)fname, "r");
data/yuma123-2.11/netconf/src/ncx/val.c:241: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).
    fil = fopen((const char *)fname, "r");
data/yuma123-2.11/netconf/src/ncx/val.c:650: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->v.binary.ustr, src->v.binary.ustr, 
data/yuma123-2.11/netconf/src/ncx/val.c:1441: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(copy->v.binary.ustr, 
data/yuma123-2.11/netconf/src/ncx/val.c:3676: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(ser->cur,buffer,size);
data/yuma123-2.11/netconf/src/ncx/val.c:4575: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(val->v.binary.ustr, valstr, ulen);
data/yuma123-2.11/netconf/src/ncx/val.c:7837:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char               numbuff[VAL_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/ncx/val.c:7872: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((char *)buff, "true");
data/yuma123-2.11/netconf/src/ncx/val.c:7877: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((char *)buff, "false");
data/yuma123-2.11/netconf/src/ncx/val123.c:469: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(qname_mod_id_buf,qname,qname_mod_id_len);
data/yuma123-2.11/netconf/src/ncx/val123.c:818: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(buf,cli_str+1,len_wo_quotes);
data/yuma123-2.11/netconf/src/ncx/val123.c:932: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(modname_or_prefix,parmname,str-parmname);
data/yuma123-2.11/netconf/src/ncx/val_util.c:3234: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).
    fil = fopen((const char *)val->v.fname, "r");
data/yuma123-2.11/netconf/src/ncx/var.c:1692:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        num = atoi((const char *)str);
data/yuma123-2.11/netconf/src/ncx/xml_wr.c:1780:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen((const char *)filespec, "w");
data/yuma123-2.11/netconf/src/ncx/xmlns.c:339:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NCX_MAX_NUMLEN+2];
data/yuma123-2.11/netconf/src/ncx/xpath_yang.c:525: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(buf,", ");
data/yuma123-2.11/netconf/src/ncx/yang_parse.c:3787:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen( (const char *)filename, "r" );
data/yuma123-2.11/netconf/src/netconfd/netconfd.c:165:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char         buff[BUFFLEN];
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:126:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char msgbuff[BUFFLEN];
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:139:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  defname[21];
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:154:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            traceLevel = atoi( argv[++arg_idx] );
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:160: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).
        errfile = fopen( err_filename, "a" );
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:205:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            ncxport_inet = atoi(argv[i]+strlen("--tcp-direct-port=")); 
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:277: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((char *) &ncxname_inet.sin_addr, hp->h_addr, hp->h_length);
data/yuma123-2.11/netconf/src/yangcli/tecla2readline/tecla2readline.c:153: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(str,text,prefix_len);
data/yuma123-2.11/netconf/src/yangcli/tecla2readline/tecla2readline.c:337:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str+word_end-word_start,suffix,suffix_len);
data/yuma123-2.11/netconf/src/yangcli/tecla2readline/tecla2readline.c:338: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(str,line+word_start,word_end-word_start);
data/yuma123-2.11/netconf/src/yangcli/yangcli.c:1300:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fil = fopen((const char *)server_cb->result_filename, "w");
data/yuma123-2.11/netconf/src/yangcli/yangcli.c:1979: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((char *)numbuff, "%u", default_timeout);
data/yuma123-2.11/netconf/src/yangcli/yangcli.c:1986: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((char *)numbuff, "%d", defindent);
data/yuma123-2.11/netconf/src/yangcli/yangcli.c:4256: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((char *)numbuff, "%ld.%06ld", sec, usec);
data/yuma123-2.11/netconf/src/yangcli/yangcli_alias.c:878:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen((const char *)fullspec, "r");
data/yuma123-2.11/netconf/src/yangcli/yangcli_alias.c:951:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen((const char *)fullspec, "w");
data/yuma123-2.11/netconf/src/yangcli/yangcli_autoload.c:523: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).
    destfile = fopen((const char *)temp_filcb->source, "w+");
data/yuma123-2.11/netconf/src/yangcli/yangcli_autoload.c:532:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    srcfile = fopen((const char *)source, "r");
data/yuma123-2.11/netconf/src/yangcli/yangcli_cmd.c:232:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char             *myargv[2];
data/yuma123-2.11/netconf/src/yangcli/yangcli_cmd.c:1513:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                casenum = atoi((const char *)str);
data/yuma123-2.11/netconf/src/yangcli/yangcli_cmd.c:2822:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp = fopen((const char *)fspec, "r");
data/yuma123-2.11/netconf/src/yangcli/yangcli_cmd.c:5078: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(primary_args,&line[len],secondary_args_offset-len);
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:456: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 childName[128];
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:1383: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(param,p.we_wordv[i],param_len);
data/yuma123-2.11/netconf/src/yangcli/yangcli_timer.c:413: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((char *)numbuff, "%ld.%06ld", sec, usec);
data/yuma123-2.11/netconf/src/yangcli/yangcli_wordexp.c:39: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(pwordexp->we_wordv[pwordexp->we_wordc],&words[i-len],len);
data/yuma123-2.11/netconf/src/yangcli/yangcli_wordexp.c:52: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(pwordexp->we_wordv[pwordexp->we_wordc],&words[i-len],len);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff.c:764:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  oldnumbuff[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/yangdiff/yangdiff.c:765:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char  newnumbuff[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/yangdiff/yangdiff.c:780: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(oldnumbuff, "%u", oldpcb->top->langver);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff.c:781: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(newnumbuff, "%u", newpcb->top->langver);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff.c:1441:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp = fopen((const char *)namebuff, "w");
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_obj.c:959:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char              oldnum[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_obj.c:960:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char              newnum[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_obj.c:989: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(oldnum, "%u", old->minelems);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_obj.c:995: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(newnum, "%u", new->minelems);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_obj.c:1010: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(oldnum, "%u", old->maxelems);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_obj.c:1016: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(newnum, "%u", new->maxelems);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_obj.c:1200:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char              oldnum[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_obj.c:1201:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char              newnum[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_obj.c:1231: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(oldnum, "%u", old->minelems);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_obj.c:1237: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(newnum, "%u", new->minelems);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_obj.c:1252: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(oldnum, "%u", old->maxelems);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_obj.c:1258: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(newnum, "%u", new->maxelems);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_typ.c:180: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.
    p += (uint32)sprintf((char *)p, "%u", patnum);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_typ.c:304: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((char *)oldnum, "%u", oldval->pos);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_typ.c:305: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((char *)newnum, "%u", newval->pos);                     
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_typ.c:310: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((char *)oldnum, "%d", oldval->val);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_typ.c:311: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((char *)newnum, "%d", newval->val);                     
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_typ.c:537:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                 oldnum[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_typ.c:538:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char                 newnum[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_typ.c:574: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(oldnum, "[%u]", oldid);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_typ.c:582: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(newnum, "[%u]", newid);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_typ.c:601: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(newnum, "[%u]", newid);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_typ.c:611: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(newnum, "[%u]", oldid);
data/yuma123-2.11/netconf/src/yangdiff/yangdiff_typ.c:628: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(newnum, "[%u]", newid);
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:68:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    server_port=atoi(arg);
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:423:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buf[20+1];
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:516: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 buff[AP_IOBUFSIZE];
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:528: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((char*)*rbuf + rpos, buff, rsize);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:587: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(port_arg,"--ncport=%u", (unsigned int)port);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:627: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(argv,mandatory_argv,argc*sizeof(char*));
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:628: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(argv+argc,p.we_wordv,p.we_wordc*sizeof(char*));
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:633: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(argv,mandatory_argv,argc*sizeof(char*));
data/yuma123-2.11/netconf/src/ydump/cyang.c:784:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/ydump/cyang.c:844: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(buff, "%u", bit->pos);
data/yuma123-2.11/netconf/src/ydump/cyang.c:898: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(buff, "%d", enu->val);
data/yuma123-2.11/netconf/src/ydump/cyang.c:938: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(buff, "%d", typ_get_fraction_digits(typdef));
data/yuma123-2.11/netconf/src/ydump/cyang.c:1714:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/ydump/cyang.c:1717: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(buff, "%u", minval);
data/yuma123-2.11/netconf/src/ydump/cyang.c:1736: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(buff, "%u", maxval);
data/yuma123-2.11/netconf/src/ydump/cyang.c:2973:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/ydump/cyang.c:2991: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(buff, "%u", mod->langver);
data/yuma123-2.11/netconf/src/ydump/html.c:463:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/ydump/html.c:473: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(buff, "%u", linenum);
data/yuma123-2.11/netconf/src/ydump/html.c:621:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/ydump/html.c:653: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(buff, ".%u", linenum);
data/yuma123-2.11/netconf/src/ydump/html.c:698:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/ydump/html.c:730: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(buff, ".%u", linenum);
data/yuma123-2.11/netconf/src/ydump/html.c:1507:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/ydump/html.c:1558: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(buff, "%u", bit->pos);
data/yuma123-2.11/netconf/src/ydump/html.c:1602: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(buff, "%d", enu->val);
data/yuma123-2.11/netconf/src/ydump/html.c:1635: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(buff, "%d", typ_get_fraction_digits(typdef));
data/yuma123-2.11/netconf/src/ydump/html.c:2441:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/ydump/html.c:2444: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(buff, "%u", minval);
data/yuma123-2.11/netconf/src/ydump/html.c:2462: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(buff, "%u", maxval);
data/yuma123-2.11/netconf/src/ydump/html.c:3839:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/ydump/html.c:3860: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(buff, "%u", mod->langver);
data/yuma123-2.11/netconf/src/ydump/sql.c:255:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char           numbuff[NCX_MAX_NUMLEN];
data/yuma123-2.11/netconf/src/ydump/sql.c:291: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(numbuff, ".%u", linenum);
data/yuma123-2.11/netconf/src/ydump/sql.c:658: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(buff, " '%u', '1',",
data/yuma123-2.11/netconf/src/ydump/sql.c:843: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(buff, 
data/yuma123-2.11/netconf/src/ydump/sql.c:849: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(buff, "\n    '%u',", obj_is_data_db(obj) ? 1 : 0);
data/yuma123-2.11/netconf/src/ydump/sql.c:866:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buff, "\n    '',");
data/yuma123-2.11/netconf/src/ydump/sql.c:905: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(buff, "\n    '%u', '%u', '%u',",
data/yuma123-2.11/netconf/src/ydump/sql.c:913: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(buff, "\n    '%u', '%u',",
data/yuma123-2.11/netconf/src/ydump/sql.c:918:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buff, "\n    '%u', '%u',",
data/yuma123-2.11/netconf/src/ydump/xsd_util.c:1001: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((char *)numbuff, "%u", maxrows);
data/yuma123-2.11/netconf/src/ydump/xsd_util.c:2669: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((char *)numbuff, "%u", obj->def.leaflist->minelems);
data/yuma123-2.11/netconf/src/ydump/xsd_util.c:2681: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((char *)numbuff, "%u", obj->def.leaflist->maxelems);
data/yuma123-2.11/netconf/src/ydump/xsd_yang.c:197: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((char *)p, "%u", idnum);
data/yuma123-2.11/netconf/src/ydump/xsd_yang.c:642: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((char *)numbuff, "%u", list->minelems);
data/yuma123-2.11/netconf/src/ydump/xsd_yang.c:651: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((char *)numbuff, "%u", list->maxelems);
data/yuma123-2.11/netconf/src/ydump/xsd_yang.c:743: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((char *)str, "%u", get_next_seqnum());
data/yuma123-2.11/netconf/src/ydump/xsd_yang.c:810: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((char *)numbuff, "%u", ++uniqcnt);
data/yuma123-2.11/netconf/src/ydump/yangstats.c:131: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(cp->buff, "%u", statval);
data/yuma123-2.11/netconf/src/ydump/ydump.c:677: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).
                fp = fopen((const char *)namebuff, "w");
data/yuma123-2.11/netconf/src/ydump/ydump.c:684: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).
                fp = fopen(cp->output, "w");
data/yuma123-2.11/netconf/src/ydump/ydump.c:687: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).
                fp = fopen(cp->output, "a");
data/yuma123-2.11/netconf/src/ydump/ydump.c:689: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).
                fp = fopen(cp->output, "w");
data/yuma123-2.11/netconf/src/ydump/ydump.c:1255:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    srcfile = fopen((const char *)mod->source, "r");
data/yuma123-2.11/netconf/test/support/checkers/log-entry-presence-checkers.cpp:52:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        logFile.open( logFilePath );
data/yuma123-2.11/netconf/test/support/checkers/log-entry-presence-checkers.cpp:89:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        logFile.open( logFilePath );
data/yuma123-2.11/netconf/test/support/misc-util/base64.cpp: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.
    unsigned char char_array_3[3];
data/yuma123-2.11/netconf/test/support/misc-util/base64.cpp: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 char_array_4[4];
data/yuma123-2.11/netconf/test/support/misc-util/base64.cpp:96: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 char_array_4[4], char_array_3[3];
data/yuma123-2.11/netconf/test/support/nc-session/spoof-nc-session.cpp:99: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( logFilename.c_str(), "w" );
data/yuma123-2.11/netconf/test/test-suites/integ/base-64-tests.cpp: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 decodedChars[ 200 ];
data/yuma123-2.11/netconf/test/test-suites/integ/base-64-tests.cpp: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 decodedChars[ 200 ];
data/yuma123-2.11/netconf/test/test-suites/integ/base-64-tests.cpp:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char encodedChars[ 200 ];
data/yuma123-2.11/example-modules/external-handler/external-handler.c:47: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).
    assert(res==strlen(str));
data/yuma123-2.11/example-modules/external-handler/external-handler.c:65: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).
        before=malloc(strlen(EMPTY_CONFIG)+1);
data/yuma123-2.11/example-modules/ietf-system/ietf-system.c:166: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).
                buf=malloc(strlen("hostname ") + strlen(VAL_STRING(newval))+1);
data/yuma123-2.11/example-modules/ietf-system/ietf-system.c:166: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).
                buf=malloc(strlen("hostname ") + strlen(VAL_STRING(newval))+1);
data/yuma123-2.11/example-modules/interfaces-alarms/interfaces-alarms.c:105: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).
                resource_str=malloc(strlen("/interfaces/interface[name=\'%s\']")+strlen(VAL_STRING(payload_val))+1);
data/yuma123-2.11/example-modules/interfaces-alarms/interfaces-alarms.c:105:82:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                resource_str=malloc(strlen("/interfaces/interface[name=\'%s\']")+strlen(VAL_STRING(payload_val))+1);
data/yuma123-2.11/example-modules/yuma-arp/yuma-arp.c:542:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if ((strncmp(dit->d_name, ".", strlen(dit->d_name)) == 0) || 
data/yuma123-2.11/example-modules/yuma-arp/yuma-arp.c:543: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).
                    strncmp(dit->d_name, "..", strlen(dit->d_name)) == 0) {
data/yuma123-2.11/libtecla/cplfile.c:269: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(cf->usrnam);
data/yuma123-2.11/libtecla/cplfile.c:361: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).
      nlen = strlen(cf->envnam);
data/yuma123-2.11/libtecla/cplfile.c:373: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).
      vlen = strlen(value);
data/yuma123-2.11/libtecla/cplfile.c:398: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).
	if(_pn_append_to_path(cf->path, value, strlen(value), escaped)==NULL) {
data/yuma123-2.11/libtecla/cplfile.c:527: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).
  args.prefix_len = strlen(prefix);
data/yuma123-2.11/libtecla/cplfile.c:560:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(errmsg, _err_get_msg(cf->err), maxerr);
data/yuma123-2.11/libtecla/cplfile.c:569:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(errmsg, cpl_last_error(cpl), maxerr);
data/yuma123-2.11/libtecla/cplfile.c:617: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 pathlen = strlen(pathname);
data/yuma123-2.11/libtecla/cplfile.c:671: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).
  prefix_len = strlen(prefix);
data/yuma123-2.11/libtecla/cplfile.c:677: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).
    int name_len = strlen(file_name);
data/yuma123-2.11/libtecla/cplfile.c:816: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).
  int suffix_len = strlen(suffix);
data/yuma123-2.11/libtecla/cplmatch.c:325: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).
  string = _sg_alloc_string(cpl->sg, word_end-word_start + strlen(suffix));
data/yuma123-2.11/libtecla/cplmatch.c:334:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(string, line + word_start, word_end - word_start);
data/yuma123-2.11/libtecla/cplmatch.c:471:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(result->suffix, result->matches[0].suffix, length);
data/yuma123-2.11/libtecla/cplmatch.c:533: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).
  line_len = strlen(line);
data/yuma123-2.11/libtecla/cplmatch.c:1045: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(match->completion) + strlen(match->type_suffix);
data/yuma123-2.11/libtecla/cplmatch.c:1045:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen(match->completion) + strlen(match->type_suffix);
data/yuma123-2.11/libtecla/cplmatch.c:1125: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 clen = strlen(match->completion);
data/yuma123-2.11/libtecla/cplmatch.c:1126: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 tlen = strlen(match->type_suffix);
data/yuma123-2.11/libtecla/cplmatch.c:1165: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(s);
data/yuma123-2.11/libtecla/demo.c:63:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(strlen(my_tab_context_string_array[i])>=(word_end-word_start)) {
data/yuma123-2.11/libtecla/enhance.c:227: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)+1 > PTY_MAX_NAME) {
data/yuma123-2.11/libtecla/enhance.c:265:5:  [1] (buffer) strlen:
  Does not handle 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(ext) > PTY_MAX_SUFFIX)
data/yuma123-2.11/libtecla/enhance.c:419: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(pty_write_to_fd(cntrl, line, strlen(line)))
data/yuma123-2.11/libtecla/enhance.c:558: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(rbuff);
data/yuma123-2.11/libtecla/enhance.c:562:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int nnew = read(fd, rbuff + len, PTY_MAX_READ - len);
data/yuma123-2.11/libtecla/errmsg.c:124:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t slen = strlen(s);
data/yuma123-2.11/libtecla/errmsg.c:131:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(err->msg + msglen, s, nnew);
data/yuma123-2.11/libtecla/expand.c:367: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(pathlen < 0 || pathlen > strlen(path))
data/yuma123-2.11/libtecla/expand.c:368: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).
    pathlen = strlen(path);
data/yuma123-2.11/libtecla/expand.c:509: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).
  pathlen = strlen(ef->path->name);
data/yuma123-2.11/libtecla/expand.c:1148: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).
    plen = strlen(ef->path->name);
data/yuma123-2.11/libtecla/expand.c:1180: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).
    homelen = strlen(homedir);
data/yuma123-2.11/libtecla/expand.c:1327: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(result->files[i]);
data/yuma123-2.11/libtecla/expand.c:1407: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 flen = strlen(file);
data/yuma123-2.11/libtecla/expand.c:1441: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(s);
data/yuma123-2.11/libtecla/getline.c:3076: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).
  buff_slen = strlen(s);
data/yuma123-2.11/libtecla/getline.c:3309:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    nread = read(fd, c, 1);
data/yuma123-2.11/libtecla/getline.c:3847: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).
    nc = strlen(string);
data/yuma123-2.11/libtecla/getline.c:3897:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      n = strlen(string);
data/yuma123-2.11/libtecla/getline.c:4109: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).
    nchar = strlen(string);
data/yuma123-2.11/libtecla/getline.c:5533: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).
    suffix_len = strlen(matches->suffix);
data/yuma123-2.11/libtecla/getline.c:5534: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).
    cont_len = strlen(matches->cont_suffix);
data/yuma123-2.11/libtecla/getline.c:5965: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).
      gl->term = (char *) malloc(strlen(term)+1);
data/yuma123-2.11/libtecla/getline.c:6224:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(_kt_lookup_keybinding(gl->bindings, name, strlen(name), &keysym, &nsym)
data/yuma123-2.11/libtecla/getline.c:6568:10:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return fgetc((FILE *) stream);
data/yuma123-2.11/libtecla/getline.c:8508: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).
    *sptr = (char *) malloc(strlen(string) + 1);
data/yuma123-2.11/libtecla/getline.c:9989:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t slen = strlen(prompt);
data/yuma123-2.11/libtecla/getline.c:9993: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).
    if(!gl->prompt || slen > strlen(gl->prompt)) {
data/yuma123-2.11/libtecla/getline.c:10424:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int start_len = strlen(start_line);
data/yuma123-2.11/libtecla/getline.c:11544:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(buff, msg, n);
data/yuma123-2.11/libtecla/getline.c:11559:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(buff, _err_get_msg(gl->err), n);
data/yuma123-2.11/libtecla/hash.c:496:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					  strlen(name) + 1);
data/yuma123-2.11/libtecla/history.c:429: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(line);
data/yuma123-2.11/libtecla/history.c:544:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(dim < strlen(line) + 1) {
data/yuma123-2.11/libtecla/history.c:632:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(dim < strlen(line) + 1) {
data/yuma123-2.11/libtecla/history.c:805:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(dim < strlen(line) + 1) {
data/yuma123-2.11/libtecla/history.c:878:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(dim < strlen(line) + 1) {
data/yuma123-2.11/libtecla/history.c:1059: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).
      size_t slen = seg->next ? GLH_SEG_SIZE : strlen(seg->s);
data/yuma123-2.11/libtecla/history.c:1175: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).
  comment_len = strlen(comment);
data/yuma123-2.11/libtecla/history.c:1325:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(strlen(string) < TSLEN) {
data/yuma123-2.11/libtecla/history.c:1332:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(timestr, string, TSLEN);
data/yuma123-2.11/libtecla/history.c:1483: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).
  idlen = strlen(buffer);
data/yuma123-2.11/libtecla/history.c:1496: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).
  grplen = strlen(buffer);
data/yuma123-2.11/libtecla/history.c:1561:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      len = strlen(buffer);
data/yuma123-2.11/libtecla/history.c:1568:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      len = strlen(buffer);
data/yuma123-2.11/libtecla/history.c:1575: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).
	    len = strlen(buffer);
data/yuma123-2.11/libtecla/history.c:1581: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).
	    len = strlen(buffer);
data/yuma123-2.11/libtecla/history.c:1587:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      len = seg->next ? GLH_SEG_SIZE : strlen(seg->s);
data/yuma123-2.11/libtecla/history.c:2500: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).
     !_glh_is_line(glh->recall->line, line, strlen(line))) {
data/yuma123-2.11/libtecla/homedir.c:342: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).
  prefix_len = strlen(prefix);
data/yuma123-2.11/libtecla/ioutil.c:135: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).
  prefix_len = prefix ? strlen(prefix) : 0;
data/yuma123-2.11/libtecla/ioutil.c:139: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).
  suffix_len = suffix ? strlen(suffix) : 0;
data/yuma123-2.11/libtecla/pathutil.c:165: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).
  pathlen = strlen(path->name);
data/yuma123-2.11/libtecla/pathutil.c:169:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(slen < 0 || slen > strlen(string))
data/yuma123-2.11/libtecla/pathutil.c:170: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(string);
data/yuma123-2.11/libtecla/pathutil.c:236: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).
  pathlen = strlen(path->name);
data/yuma123-2.11/libtecla/pathutil.c:240:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if(slen < 0 || slen > strlen(string))
data/yuma123-2.11/libtecla/pathutil.c:241: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(string);
data/yuma123-2.11/libtecla/pcache.c:586: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(pca_expand_tilde(pc, path, strlen(path), 0, &pptr))
data/yuma123-2.11/libtecla/pcache.c:613: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 dirlen = strlen(pc->path->name);
data/yuma123-2.11/libtecla/pcache.c:1020: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).
    name_len = strlen(name);
data/yuma123-2.11/libtecla/pcache.c:1443: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).
  int suffix_len = strlen(suffix);
data/yuma123-2.11/libtecla/stringrp.c:171: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).
  copy = _sg_alloc_string(sg, strlen(string));
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:5529: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).
  sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:5537:59:  [1] (buffer) strlen:
  Does not handle 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 sv_vcatpvf(sv, pat, args)  sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:5541:59:  [1] (buffer) strlen:
  Does not handle 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 sv_vsetpvf(sv, pat, args)  sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:5561: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).
  sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:5589: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).
  sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:5610:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));  \
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:5632: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).
  sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:5660: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).
  sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:5681:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));  \
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:5735:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#  define HvNAMELEN_get(hv)              (HvNAME_get(hv) ? (I32)strlen(HvNAME_get(hv)) : 0)
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:6533: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).
        STRLEN len = strlen(radix);
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:7117: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).
    return strlen(buffer);
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:7157: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).
    used = strlen(dst);
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:7158:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(src);
data/yuma123-2.11/netconf/perl/yangcli/ppport.h:7187:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(src);
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:5529: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).
  sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:5537:59:  [1] (buffer) strlen:
  Does not handle 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 sv_vcatpvf(sv, pat, args)  sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:5541:59:  [1] (buffer) strlen:
  Does not handle 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 sv_vsetpvf(sv, pat, args)  sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:5561: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).
  sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:5589: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).
  sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:5610:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));  \
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:5632: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).
  sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:5660: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).
  sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:5681:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));  \
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:5735:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#  define HvNAMELEN_get(hv)              (HvNAME_get(hv) ? (I32)strlen(HvNAME_get(hv)) : 0)
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:6533: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).
        STRLEN len = strlen(radix);
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:7117: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).
    return strlen(buffer);
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:7157: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).
    used = strlen(dst);
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:7158:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(src);
data/yuma123-2.11/netconf/perl/yangrpc/ppport.h:7187:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(src);
data/yuma123-2.11/netconf/perl/yuma/ppport.h:5529: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).
  sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));
data/yuma123-2.11/netconf/perl/yuma/ppport.h:5537:59:  [1] (buffer) strlen:
  Does not handle 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 sv_vcatpvf(sv, pat, args)  sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
data/yuma123-2.11/netconf/perl/yuma/ppport.h:5541:59:  [1] (buffer) strlen:
  Does not handle 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 sv_vsetpvf(sv, pat, args)  sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
data/yuma123-2.11/netconf/perl/yuma/ppport.h:5561: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).
  sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/yuma123-2.11/netconf/perl/yuma/ppport.h:5589: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).
  sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/yuma123-2.11/netconf/perl/yuma/ppport.h:5610:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));  \
data/yuma123-2.11/netconf/perl/yuma/ppport.h:5632: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).
  sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/yuma123-2.11/netconf/perl/yuma/ppport.h:5660: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).
  sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/yuma123-2.11/netconf/perl/yuma/ppport.h:5681:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));  \
data/yuma123-2.11/netconf/perl/yuma/ppport.h:5735:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#  define HvNAMELEN_get(hv)              (HvNAME_get(hv) ? (I32)strlen(HvNAME_get(hv)) : 0)
data/yuma123-2.11/netconf/perl/yuma/ppport.h:6533: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).
        STRLEN len = strlen(radix);
data/yuma123-2.11/netconf/perl/yuma/ppport.h:7117: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).
    return strlen(buffer);
data/yuma123-2.11/netconf/perl/yuma/ppport.h:7157: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).
    used = strlen(dst);
data/yuma123-2.11/netconf/perl/yuma/ppport.h:7158:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(src);
data/yuma123-2.11/netconf/perl/yuma/ppport.h:7187:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen(src);
data/yuma123-2.11/netconf/python/yuma.c:72: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).
    startup_arg = malloc(strlen(cfg_filename_str)+1);
data/yuma123-2.11/netconf/src/agt/agt_ncxserver.c:115:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(name.sun_path, filename, sizeof(name.sun_path)-1);
data/yuma123-2.11/netconf/src/agt/agt_proc.c:398: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(buffer) == 1 && *buffer == '\n') {
data/yuma123-2.11/netconf/src/agt/agt_proc.c:489: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(buffer) == 1 && *buffer == '\n') {
data/yuma123-2.11/netconf/src/agt/agt_yang_library.c:310: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).
        SHA1(modules_state_str, strlen(modules_state_str), hash);
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:287: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).
                                         user, strlen(user));
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:405:25:  [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.
                        usleep(10);
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:477:25:  [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.
                        usleep(10);
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1017: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).
                str=malloc(strlen("out")+strlen(VAL_STRING(val))+1);
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1017: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).
                str=malloc(strlen("out")+strlen(VAL_STRING(val))+1);
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1023: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).
                str=malloc(strlen("out.ts")+strlen(VAL_STRING(val))+1);
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1023: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).
                str=malloc(strlen("out.ts")+strlen(VAL_STRING(val))+1);
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1029: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).
                str=malloc(strlen("in")+strlen(VAL_STRING(val))+1);
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1029: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).
                str=malloc(strlen("in")+strlen(VAL_STRING(val))+1);
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1035: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).
                str=malloc(strlen("in.ts")+strlen(VAL_STRING(val))+1);
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1035: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).
                str=malloc(strlen("in.ts")+strlen(VAL_STRING(val))+1);
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1502: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).
            if (ret || (fwrite (tsbuf, strlen(tsbuf), 1, scb->dump_input_timestamps) != 1)) {
data/yuma123-2.11/netconf/src/mgr/mgr_ses.c:1628:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    if (ret || (fwrite (buf, strlen(buf), 1, scb->dump_output_timestamps) != 1)) {
data/yuma123-2.11/netconf/src/ncx/cap.c:465:27:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    const xmlChar  *str, *equal;
data/yuma123-2.11/netconf/src/ncx/cap.c:474:13:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    while (*equal && *equal != (xmlChar)'=') {
data/yuma123-2.11/netconf/src/ncx/cap.c:474:23:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    while (*equal && *equal != (xmlChar)'=') {
data/yuma123-2.11/netconf/src/ncx/cap.c:477:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (!*equal || equal == parmname) {
data/yuma123-2.11/netconf/src/ncx/cap.c:479:17:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        while (*equal && *equal != (xmlChar)'&') {
data/yuma123-2.11/netconf/src/ncx/cap.c:479:27:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        while (*equal && *equal != (xmlChar)'&') {
data/yuma123-2.11/netconf/src/ncx/cap.c:482:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (*equal) {
data/yuma123-2.11/netconf/src/ncx/cap.c:484:31:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            *nextparmname = ++equal;
data/yuma123-2.11/netconf/src/ncx/cap.c:884: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).
                   strlen(revision_str)!=(strlen(CAP_REVISION_EQ)+strlen("2017-07-28")) ||
data/yuma123-2.11/netconf/src/ncx/cap.c:884:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                   strlen(revision_str)!=(strlen(CAP_REVISION_EQ)+strlen("2017-07-28")) ||
data/yuma123-2.11/netconf/src/ncx/cap.c:884:67:  [1] (buffer) strlen:
  Does not handle 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(revision_str)!=(strlen(CAP_REVISION_EQ)+strlen("2017-07-28")) ||
data/yuma123-2.11/netconf/src/ncx/cap.c:885: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).
                   strlen(module_set_id_str)<=strlen(CAP_MODULE_SET_ID_EQ)
data/yuma123-2.11/netconf/src/ncx/cap.c:885: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).
                   strlen(module_set_id_str)<=strlen(CAP_MODULE_SET_ID_EQ)
data/yuma123-2.11/netconf/src/ncx/cap.c:1512: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).
    buf = (char*)malloc(strlen(format)+strlen(revision)+strlen(module_set_id)+1);
data/yuma123-2.11/netconf/src/ncx/cap.c:1512: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).
    buf = (char*)malloc(strlen(format)+strlen(revision)+strlen(module_set_id)+1);
data/yuma123-2.11/netconf/src/ncx/cap.c:1512:57:  [1] (buffer) strlen:
  Does not handle 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 = (char*)malloc(strlen(format)+strlen(revision)+strlen(module_set_id)+1);
data/yuma123-2.11/netconf/src/ncx/cap.c:1546:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int prefixlen = strlen(prefix);
data/yuma123-2.11/netconf/src/ncx/cap.c:1551:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(strlen(VAL_STRING(childval))<prefixlen) {
data/yuma123-2.11/netconf/src/ncx/cap.c:1554: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).
        if(0==memcmp(prefix,VAL_STRING(childval),strlen(prefix))) {
data/yuma123-2.11/netconf/src/ncx/cap.c:1651: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).
        newstr = malloc(strlen(pre_features_str)+strlen(features_str)+1);
data/yuma123-2.11/netconf/src/ncx/cap.c:1651: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).
        newstr = malloc(strlen(pre_features_str)+strlen(features_str)+1);
data/yuma123-2.11/netconf/src/ncx/cli.c:409: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(parm->name) == (size_t)namelen &&
data/yuma123-2.11/netconf/src/ncx/cli.c:608: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).
        *bufflen += (strlen(argv[parmnum]) + padamount);
data/yuma123-2.11/netconf/src/ncx/cli.c:789:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        strlen((const char *)name));
data/yuma123-2.11/netconf/src/ncx/cli.c:1617: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).
                            min(strlen("(in default parm)"), ERRLEN));
data/yuma123-2.11/netconf/src/ncx/cli.c:1621: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).
                            min(strlen(&buff[buffpos]), ERRLEN));
data/yuma123-2.11/netconf/src/ncx/ncx_num.c:126: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((const char *)buff);
data/yuma123-2.11/netconf/src/ncx/ncxmod.c:2337:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(&buff[pathlen], ep->d_name, bufflen-pathlen);
data/yuma123-2.11/netconf/src/ncx/ncxmod.c:2350:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(&buff[pathlen], ep->d_name, bufflen-pathlen);
data/yuma123-2.11/netconf/src/ncx/ncxmod.c:4423:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(startspec) >= NCXMOD_MAX_FSPEC_LEN) {
data/yuma123-2.11/netconf/src/ncx/ncxmod.c:4453:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buff, (const char *)sourcespec, bufflen);
data/yuma123-2.11/netconf/src/ncx/ncxmod.c:4526:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(buff, (const char *)user, userlen);
data/yuma123-2.11/netconf/src/ncx/ncxmod.c:4615:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buff, (const char *)name, namelen);
data/yuma123-2.11/netconf/src/ncx/ses.c:858:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(tempbuff, buffer, *retlen);
data/yuma123-2.11/netconf/src/ncx/ses.c:898:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(&buffer[i], (const char *)XML_START_MSG, bufflen-i);
data/yuma123-2.11/netconf/src/ncx/ses.c:1704:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
        strncpy(buffer, "\n<?x", len);
data/yuma123-2.11/netconf/src/ncx/ses.c:1844:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                ret = read(scb->fd, 
data/yuma123-2.11/netconf/src/ncx/ses.c:2062:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ch = fgetc(fil);
data/yuma123-2.11/netconf/src/ncx/status.c:121:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(error_stack[error_level].filename, 
data/yuma123-2.11/netconf/src/ncx/val.c:167:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ch = fgetc(fil);
data/yuma123-2.11/netconf/src/ncx/val.c:208:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ch = fgetc(fil);
data/yuma123-2.11/netconf/src/ncx/val.c:249:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ch = fgetc(fil);
data/yuma123-2.11/netconf/src/ncx/val123.c:101: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).
        assert(strlen(pathbuff)>strlen(root_pathbuff));
data/yuma123-2.11/netconf/src/ncx/val123.c:101: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).
        assert(strlen(pathbuff)>strlen(root_pathbuff));
data/yuma123-2.11/netconf/src/ncx/val123.c:102:95:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        res = xpath_find_val_target(haystack_root_val, obj_get_mod(needle_val->obj), pathbuff+strlen(root_pathbuff)+1, &val);
data/yuma123-2.11/netconf/src/ncx/val_set_cplxval_obj.c:43: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).
    fp = fmemopen((void*)xmlstr, strlen(xmlstr), "r");
data/yuma123-2.11/netconf/src/ncx/val_util.c:3249:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ch = fgetc(fil);
data/yuma123-2.11/netconf/src/ncx/xml_util.c:1778: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).
    len = min(maxlen, (uint32)strlen(copyFrom));
data/yuma123-2.11/netconf/src/ncx/xpath_yang.c:514: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).
            len+=strlen(", ");
data/yuma123-2.11/netconf/src/ncx/xpath_yang.c:516:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len+=strlen(get_target_module_for_nsid(matched_objs[i]->nsid)->name);
data/yuma123-2.11/netconf/src/ncx/xpath_yang.c:517:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len+=strlen(":");
data/yuma123-2.11/netconf/src/ncx/xpath_yang.c:518:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len+=strlen(obj_get_name(matched_objs[i]));
data/yuma123-2.11/netconf/src/ncx/xpath_yang.c:528: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(buf,":");
data/yuma123-2.11/netconf/src/netconfd/netconfd.c:176: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(START_MSG) + strlen(COPYRIGHT_STRING_LINE0) + strlen(COPYRIGHT_STRING_LINE1) + 2;
data/yuma123-2.11/netconf/src/netconfd/netconfd.c:176: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).
    len = strlen(START_MSG) + strlen(COPYRIGHT_STRING_LINE0) + strlen(COPYRIGHT_STRING_LINE1) + 2;
data/yuma123-2.11/netconf/src/netconfd/netconfd.c:176: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).
    len = strlen(START_MSG) + strlen(COPYRIGHT_STRING_LINE0) + strlen(COPYRIGHT_STRING_LINE1) + 2;
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:141:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy(defname, "/tmp/subsys-err.log", 20);
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:172:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(strlen(argv[i])>strlen(match) && 0==memcmp(argv[i],match,strlen(match))) {
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:172: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(strlen(argv[i])>strlen(match) && 0==memcmp(argv[i],match,strlen(match))) {
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:172:69:  [1] (buffer) strlen:
  Does not handle 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(argv[i])>strlen(match) && 0==memcmp(argv[i],match,strlen(match))) {
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:173: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).
            return argv[i]+strlen(match);
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:204:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    	if(strlen(argv[i])>strlen("--tcp-direct-port=") && 0==memcmp(argv[i],"--tcp-direct-port=",strlen("--tcp-direct-port="))) {
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:204:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    	if(strlen(argv[i])>strlen("--tcp-direct-port=") && 0==memcmp(argv[i],"--tcp-direct-port=",strlen("--tcp-direct-port="))) {
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:204:96:  [1] (buffer) strlen:
  Does not handle 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(argv[i])>strlen("--tcp-direct-port=") && 0==memcmp(argv[i],"--tcp-direct-port=",strlen("--tcp-direct-port="))) {
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:205: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).
            ncxport_inet = atoi(argv[i]+strlen("--tcp-direct-port=")); 
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:289:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(ncxname_unix.sun_path, 
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:367: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).
    res = send_buff(ncxsock, msgbuff, strlen(msgbuff));
data/yuma123-2.11/netconf/src/subsys/netconf-subsystem.c:397:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        retcnt = read(readfd, readbuff, readcnt);
data/yuma123-2.11/netconf/src/yangcli/tecla2readline/tecla2readline.c:95:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(strlen(filename)>0 && filename[0]=='~') {
data/yuma123-2.11/netconf/src/yangcli/tecla2readline/tecla2readline.c:97:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        expanded = malloc(strlen(pw->pw_dir) + strlen(filename) + 1);
data/yuma123-2.11/netconf/src/yangcli/tecla2readline/tecla2readline.c:97: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).
        expanded = malloc(strlen(pw->pw_dir) + strlen(filename) + 1);
data/yuma123-2.11/netconf/src/yangcli/tecla2readline/tecla2readline.c:119: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).
        assert(strlen(comment)==1);
data/yuma123-2.11/netconf/src/yangcli/tecla2readline/tecla2readline.c:152: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).
    str = malloc(prefix_len + strlen(my_completions[0])+1);
data/yuma123-2.11/netconf/src/yangcli/tecla2readline/tecla2readline.c:328: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).
    suffix_len = strlen(suffix);
data/yuma123-2.11/netconf/src/yangcli/tecla2readline/tecla2readline.c:347: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).
        for(i=0;i<strlen(my_completions[0]);i++) {
data/yuma123-2.11/netconf/src/yangcli/tecla2readline/tecla2readline.c:356: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).
    assert(strlen(cont_suffix)<=1);
data/yuma123-2.11/netconf/src/yangcli/yangcli_cmd.c:1898: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).
                buf=malloc(strlen(fmt)+strlen(obj_get_name(parm))+1);
data/yuma123-2.11/netconf/src/yangcli/yangcli_cmd.c:1898: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).
                buf=malloc(strlen(fmt)+strlen(obj_get_name(parm))+1);
data/yuma123-2.11/netconf/src/yangcli/yangcli_cmd.c:4380:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(strlen(target)>1 && target[strlen(target)-1]=='/') {
data/yuma123-2.11/netconf/src/yangcli/yangcli_cmd.c:4380:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(strlen(target)>1 && target[strlen(target)-1]=='/') {
data/yuma123-2.11/netconf/src/yangcli/yangcli_cmd.c:4384: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).
            t[strlen(target)-1]=0;
data/yuma123-2.11/netconf/src/yangcli/yangcli_cmd.c:5081:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        secondary_args = line + secondary_args_offset + strlen("--");
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:399: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).
            pathname = malloc(strlen(obj_get_name(obj))+2);
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:402: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).
            pathname[strlen(obj_get_name(obj))] ='/';
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:403: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).
            pathname[strlen(obj_get_name(obj))+1] =0;
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:405: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).
            pathname = malloc(strlen(obj_get_name(obj))+1);
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:408: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).
            pathname[strlen(obj_get_name(obj))] =0;
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:458:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy (childName, &line[word_start], child_name_len);
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:623: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(pathname)==cmdlen && !strncmp((const char *)pathname,
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:1234: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(str));
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:1241: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).
                                       strlen(str),
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:1351: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(p.we_word_line_offset[i]+strlen(p.we_wordv[i])==word_end) {
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:1354:85:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        } else if((p.we_word_line_offset[i]<=word_end) && (p.we_word_line_offset[i]+strlen(p.we_wordv[i])>word_end)) {
data/yuma123-2.11/netconf/src/yangcli/yangcli_tab.c:1566: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(line);
data/yuma123-2.11/netconf/src/yangcli/yangcli_wordexp.c:28: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).
    for(i=0,len=0;i<strlen(words);i++){
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:149: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).
    username = malloc(strlen(pwd.pw_gecos)+1);
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:242: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(r->args && strlen(r->args)>strlen("xpath=") && 0==memcmp(r->args,"xpath=",strlen("xpath="))) {
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:242:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(r->args && strlen(r->args)>strlen("xpath=") && 0==memcmp(r->args,"xpath=",strlen("xpath="))) {
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:242:82:  [1] (buffer) strlen:
  Does not handle 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(r->args && strlen(r->args)>strlen("xpath=") && 0==memcmp(r->args,"xpath=",strlen("xpath="))) {
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:623: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).
    fp = fmemopen((void*)config_xml_str, strlen(config_xml_str), "r");
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:637: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).
    rpc_str = malloc(strlen(rpc_format_str)+strlen(config_xml_str)+1);
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:637: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).
    rpc_str = malloc(strlen(rpc_format_str)+strlen(config_xml_str)+1);
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:734: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(r->args && strlen(r->args)>strlen("xpath=") && 0==memcmp(r->args,"xpath=",strlen("xpath="))) {
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:734:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if(r->args && strlen(r->args)>strlen("xpath=") && 0==memcmp(r->args,"xpath=",strlen("xpath="))) {
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:734:82:  [1] (buffer) strlen:
  Does not handle 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(r->args && strlen(r->args)>strlen("xpath=") && 0==memcmp(r->args,"xpath=",strlen("xpath="))) {
data/yuma123-2.11/netconf/src/yangrpc/libapache2-mod-yangrpc-example/mod_yangrpc_example.c:735:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        char* xpath_buf = strdup(r->args+strlen("xpath="));
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:305: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).
    prog_w_args = malloc(strlen("prog-placeholder ") + ((args==NULL)?0:strlen(args)) + 1);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:305:72:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    prog_w_args = malloc(strlen("prog-placeholder ") + ((args==NULL)?0:strlen(args)) + 1);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:580: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).
    server_arg = malloc(strlen("--server=")+strlen(server)+1);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:580: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).
    server_arg = malloc(strlen("--server=")+strlen(server)+1);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:585: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).
    port_arg = malloc(strlen("--ncport=")+strlen("65535")+1);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:585:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    port_arg = malloc(strlen("--ncport=")+strlen("65535")+1);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:590: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).
    user_arg = malloc(strlen("--user=")+strlen(user)+1);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:590: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).
    user_arg = malloc(strlen("--user=")+strlen(user)+1);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:599: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).
        password_arg = malloc(strlen("--password=")+strlen(password)+1);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:599: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).
        password_arg = malloc(strlen("--password=")+strlen(password)+1);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:606: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).
        public_key_arg = malloc(strlen("--public-key=")+strlen(public_key)+1);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:606:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        public_key_arg = malloc(strlen("--public-key=")+strlen(public_key)+1);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:611: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).
        private_key_arg = malloc(strlen("--private-key=")+strlen(private_key)+1);
data/yuma123-2.11/netconf/src/yangrpc/yangrpc.c:611:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        private_key_arg = malloc(strlen("--private-key=")+strlen(private_key)+1);
data/yuma123-2.11/netconf/src/ydump/yangtree.c:157: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).
            len = strlen(obj_get_name(chobj));
data/yuma123-2.11/netconf/src/ydump/yangtree.c:320: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).
            child_line_prefix=malloc(strlen(line_prefix)+3+1);
data/yuma123-2.11/netconf/test/netconfd/rollback-on-error/rollback-on-error.c:99:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            ret = !memcmp("error",VAL_STRING(newval),(strlen("error")>strlen(VAL_STRING(newval)))?strlen(VAL_STRING(newval)):strlen("error"));
data/yuma123-2.11/netconf/test/netconfd/rollback-on-error/rollback-on-error.c:99:71:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            ret = !memcmp("error",VAL_STRING(newval),(strlen("error")>strlen(VAL_STRING(newval)))?strlen(VAL_STRING(newval)):strlen("error"));
data/yuma123-2.11/netconf/test/netconfd/rollback-on-error/rollback-on-error.c:99:99:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            ret = !memcmp("error",VAL_STRING(newval),(strlen("error")>strlen(VAL_STRING(newval)))?strlen(VAL_STRING(newval)):strlen("error"));
data/yuma123-2.11/netconf/test/netconfd/rollback-on-error/rollback-on-error.c:99:126:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            ret = !memcmp("error",VAL_STRING(newval),(strlen("error")>strlen(VAL_STRING(newval)))?strlen(VAL_STRING(newval)):strlen("error"));
data/yuma123-2.11/netconf/test/support/nc-session/sys-test-nc-session-base.cpp:106:13:  [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.
            usleep( 1000 );
data/yuma123-2.11/netconf/test/support/nc-session/sys-test-nc-session-base.cpp:193:13:  [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.
            usleep( 1000 );
data/yuma123-2.11/netconf/test/test-suites/integ/test-b64.c:78: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).
        expected_result_len=strlen(known_pairs[i][1]);
data/yuma123-2.11/netconf/test/test-suites/integ/test-b64.c:80:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        res=b64_encode(known_pairs[i][0], strlen(known_pairs[i][0]),
data/yuma123-2.11/netconf/test/test-suites/integ/test-b64.c:86: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).
        assert(result_len==strlen(known_pairs[i][1]));
data/yuma123-2.11/netconf/test/test-suites/integ/test-b64.c:90: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).
        expected_result_len=strlen(known_pairs[i][0]);
data/yuma123-2.11/netconf/test/test-suites/integ/test-b64.c:93:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        res=b64_decode(known_pairs[i][1], strlen(known_pairs[i][1]),
data/yuma123-2.11/netconf/test/test-suites/integ/test-b64.c:99: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).
        assert(result_len==strlen(known_pairs[i][0]));

ANALYSIS SUMMARY:

Hits = 768
Lines analyzed = 388050 in approximately 8.52 seconds (45556 lines/second)
Physical Source Lines of Code (SLOC) = 205988
Hits@level = [0] 162 [1] 289 [2] 292 [3]  31 [4] 151 [5]   5
Hits@level+ = [0+] 930 [1+] 768 [2+] 479 [3+] 187 [4+] 156 [5+]   5
Hits/KSLOC@level+ = [0+] 4.51483 [1+] 3.72837 [2+] 2.32538 [3+] 0.90782 [4+] 0.757326 [5+] 0.0242733
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.