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/umps3-3.0.4/src/base/basic_types.h
Examining data/umps3-3.0.4/src/base/bit_tricks.h
Examining data/umps3-3.0.4/src/base/json.cc
Examining data/umps3-3.0.4/src/base/json.h
Examining data/umps3-3.0.4/src/base/lang.h
Examining data/umps3-3.0.4/src/base/trackable_mixin.cc
Examining data/umps3-3.0.4/src/base/trackable_mixin.h
Examining data/umps3-3.0.4/src/frontends/qmps/add_breakpoint_dialog.cc
Examining data/umps3-3.0.4/src/frontends/qmps/add_breakpoint_dialog.h
Examining data/umps3-3.0.4/src/frontends/qmps/add_suspect_dialog.cc
Examining data/umps3-3.0.4/src/frontends/qmps/add_suspect_dialog.h
Examining data/umps3-3.0.4/src/frontends/qmps/add_tracepoint_dialog.cc
Examining data/umps3-3.0.4/src/frontends/qmps/add_tracepoint_dialog.h
Examining data/umps3-3.0.4/src/frontends/qmps/address_line_edit.cc
Examining data/umps3-3.0.4/src/frontends/qmps/address_line_edit.h
Examining data/umps3-3.0.4/src/frontends/qmps/application.cc
Examining data/umps3-3.0.4/src/frontends/qmps/application.h
Examining data/umps3-3.0.4/src/frontends/qmps/boolean_item_delegate.cc
Examining data/umps3-3.0.4/src/frontends/qmps/boolean_item_delegate.h
Examining data/umps3-3.0.4/src/frontends/qmps/code_view.cc
Examining data/umps3-3.0.4/src/frontends/qmps/code_view.h
Examining data/umps3-3.0.4/src/frontends/qmps/code_view_priv.h
Examining data/umps3-3.0.4/src/frontends/qmps/cpu_status_map.cc
Examining data/umps3-3.0.4/src/frontends/qmps/cpu_status_map.h
Examining data/umps3-3.0.4/src/frontends/qmps/create_machine_dialog.cc
Examining data/umps3-3.0.4/src/frontends/qmps/create_machine_dialog.h
Examining data/umps3-3.0.4/src/frontends/qmps/debug_session.cc
Examining data/umps3-3.0.4/src/frontends/qmps/debug_session.h
Examining data/umps3-3.0.4/src/frontends/qmps/device_tree_model.cc
Examining data/umps3-3.0.4/src/frontends/qmps/device_tree_model.h
Examining data/umps3-3.0.4/src/frontends/qmps/device_tree_view.cc
Examining data/umps3-3.0.4/src/frontends/qmps/device_tree_view.h
Examining data/umps3-3.0.4/src/frontends/qmps/error_hooks.cc
Examining data/umps3-3.0.4/src/frontends/qmps/flat_push_button.cc
Examining data/umps3-3.0.4/src/frontends/qmps/flat_push_button.h
Examining data/umps3-3.0.4/src/frontends/qmps/hex_view.cc
Examining data/umps3-3.0.4/src/frontends/qmps/hex_view.h
Examining data/umps3-3.0.4/src/frontends/qmps/hex_view_priv.h
Examining data/umps3-3.0.4/src/frontends/qmps/mac_id_edit.cc
Examining data/umps3-3.0.4/src/frontends/qmps/mac_id_edit.h
Examining data/umps3-3.0.4/src/frontends/qmps/machine_config_dialog.cc
Examining data/umps3-3.0.4/src/frontends/qmps/machine_config_dialog.h
Examining data/umps3-3.0.4/src/frontends/qmps/machine_config_dialog_priv.h
Examining data/umps3-3.0.4/src/frontends/qmps/machine_config_view.cc
Examining data/umps3-3.0.4/src/frontends/qmps/machine_config_view.h
Examining data/umps3-3.0.4/src/frontends/qmps/main.cc
Examining data/umps3-3.0.4/src/frontends/qmps/memory_view_delegate.h
Examining data/umps3-3.0.4/src/frontends/qmps/monitor_window.cc
Examining data/umps3-3.0.4/src/frontends/qmps/monitor_window.h
Examining data/umps3-3.0.4/src/frontends/qmps/monitor_window_priv.h
Examining data/umps3-3.0.4/src/frontends/qmps/processor_list_model.cc
Examining data/umps3-3.0.4/src/frontends/qmps/processor_list_model.h
Examining data/umps3-3.0.4/src/frontends/qmps/processor_window.cc
Examining data/umps3-3.0.4/src/frontends/qmps/processor_window.h
Examining data/umps3-3.0.4/src/frontends/qmps/register_item_delegate.cc
Examining data/umps3-3.0.4/src/frontends/qmps/register_item_delegate.h
Examining data/umps3-3.0.4/src/frontends/qmps/register_set_snapshot.cc
Examining data/umps3-3.0.4/src/frontends/qmps/register_set_snapshot.h
Examining data/umps3-3.0.4/src/frontends/qmps/register_set_widget.cc
Examining data/umps3-3.0.4/src/frontends/qmps/register_set_widget.h
Examining data/umps3-3.0.4/src/frontends/qmps/stop_mask_view.cc
Examining data/umps3-3.0.4/src/frontends/qmps/stop_mask_view.h
Examining data/umps3-3.0.4/src/frontends/qmps/stoppoint_list_model.cc
Examining data/umps3-3.0.4/src/frontends/qmps/stoppoint_list_model.h
Examining data/umps3-3.0.4/src/frontends/qmps/suspect_type_delegate.cc
Examining data/umps3-3.0.4/src/frontends/qmps/suspect_type_delegate.h
Examining data/umps3-3.0.4/src/frontends/qmps/symbol_table_model.cc
Examining data/umps3-3.0.4/src/frontends/qmps/symbol_table_model.h
Examining data/umps3-3.0.4/src/frontends/qmps/terminal_view.cc
Examining data/umps3-3.0.4/src/frontends/qmps/terminal_view.h
Examining data/umps3-3.0.4/src/frontends/qmps/terminal_window.cc
Examining data/umps3-3.0.4/src/frontends/qmps/terminal_window.h
Examining data/umps3-3.0.4/src/frontends/qmps/terminal_window_priv.h
Examining data/umps3-3.0.4/src/frontends/qmps/tlb_model.cc
Examining data/umps3-3.0.4/src/frontends/qmps/tlb_model.h
Examining data/umps3-3.0.4/src/frontends/qmps/trace_browser.cc
Examining data/umps3-3.0.4/src/frontends/qmps/trace_browser.h
Examining data/umps3-3.0.4/src/frontends/qmps/trace_browser_priv.h
Examining data/umps3-3.0.4/src/frontends/qmps/tree_view.cc
Examining data/umps3-3.0.4/src/frontends/qmps/tree_view.h
Examining data/umps3-3.0.4/src/frontends/qmps/ui_utils.cc
Examining data/umps3-3.0.4/src/frontends/qmps/ui_utils.h
Examining data/umps3-3.0.4/src/include/umps/aout.h
Examining data/umps3-3.0.4/src/include/umps/arch.h
Examining data/umps3-3.0.4/src/include/umps/bios_defs.h
Examining data/umps3-3.0.4/src/include/umps/cp0.h
Examining data/umps3-3.0.4/src/include/umps/regdef.h
Examining data/umps3-3.0.4/src/support/libumps/const.h
Examining data/umps3-3.0.4/src/support/libumps/libumps.h
Examining data/umps3-3.0.4/src/support/libumps/types.h
Examining data/umps3-3.0.4/src/tests/test_json_serialize.cc
Examining data/umps3-3.0.4/src/umps/blockdev.cc
Examining data/umps3-3.0.4/src/umps/blockdev.h
Examining data/umps3-3.0.4/src/umps/blockdev_params.h
Examining data/umps3-3.0.4/src/umps/const.h
Examining data/umps3-3.0.4/src/umps/device.cc
Examining data/umps3-3.0.4/src/umps/device.h
Examining data/umps3-3.0.4/src/umps/disassemble.cc
Examining data/umps3-3.0.4/src/umps/disassemble.h
Examining data/umps3-3.0.4/src/umps/elf2umps.cc
Examining data/umps3-3.0.4/src/umps/error.h
Examining data/umps3-3.0.4/src/umps/event.cc
Examining data/umps3-3.0.4/src/umps/event.h
Examining data/umps3-3.0.4/src/umps/libvdeplug_dyn.h
Examining data/umps3-3.0.4/src/umps/machine.cc
Examining data/umps3-3.0.4/src/umps/machine.h
Examining data/umps3-3.0.4/src/umps/machine_config.cc
Examining data/umps3-3.0.4/src/umps/machine_config.h
Examining data/umps3-3.0.4/src/umps/memspace.cc
Examining data/umps3-3.0.4/src/umps/memspace.h
Examining data/umps3-3.0.4/src/umps/mkdev.cc
Examining data/umps3-3.0.4/src/umps/mp_controller.cc
Examining data/umps3-3.0.4/src/umps/mp_controller.h
Examining data/umps3-3.0.4/src/umps/mpic.cc
Examining data/umps3-3.0.4/src/umps/mpic.h
Examining data/umps3-3.0.4/src/umps/objdump.cc
Examining data/umps3-3.0.4/src/umps/processor.cc
Examining data/umps3-3.0.4/src/umps/processor.h
Examining data/umps3-3.0.4/src/umps/processor_defs.h
Examining data/umps3-3.0.4/src/umps/stoppoint.cc
Examining data/umps3-3.0.4/src/umps/stoppoint.h
Examining data/umps3-3.0.4/src/umps/symbol_table.cc
Examining data/umps3-3.0.4/src/umps/symbol_table.h
Examining data/umps3-3.0.4/src/umps/systembus.cc
Examining data/umps3-3.0.4/src/umps/systembus.h
Examining data/umps3-3.0.4/src/umps/time_stamp.cc
Examining data/umps3-3.0.4/src/umps/time_stamp.h
Examining data/umps3-3.0.4/src/umps/types.h
Examining data/umps3-3.0.4/src/umps/utility.cc
Examining data/umps3-3.0.4/src/umps/utility.h
Examining data/umps3-3.0.4/src/umps/vde_network.cc
Examining data/umps3-3.0.4/src/umps/vde_network.h

FINAL RESULTS:

data/umps3-3.0.4/src/umps/vde_network.cc:106:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	if ((size = readlink(name,name2,1023)) > 0) {
data/umps3-3.0.4/src/umps/vde_network.cc:121:12:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	if ((size=readlink(name,name2,1023)) > 0) {
data/umps3-3.0.4/src/umps/device.cc:352:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "Cannot open printer %u file : %s", devNum, strerror(errno));
data/umps3-3.0.4/src/umps/device.cc:361:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "Cannot close printer file %u : %s", devNum, strerror(errno));
data/umps3-3.0.4/src/umps/device.cc:384:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(statStr, "Resetting (last op: %s)", isSuccess(dType, reg[STATUS]));
data/umps3-3.0.4/src/umps/device.cc:390:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(statStr, "Idle (last op: %s)", isSuccess(dType, reg[STATUS]));
data/umps3-3.0.4/src/umps/device.cc:396:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(statStr, "Printing char 0x%.2X (last op: %s)",
data/umps3-3.0.4/src/umps/device.cc:403:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(statStr, "Unknown command (last op: %s)", isSuccess(dType, reg[STATUS]));
data/umps3-3.0.4/src/umps/device.cc:446:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(strbuf, "Error writing printer %u file : %s", devNum, strerror(errno));
data/umps3-3.0.4/src/umps/device.cc:507:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "Cannot open terminal %u file : %s", devNum, strerror(errno));
data/umps3-3.0.4/src/umps/device.cc:518:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "Cannot close terminal file %u : %s", devNum, strerror(errno));
data/umps3-3.0.4/src/umps/device.cc:542:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(recvStatStr, "Resetting (last op: %s)",
data/umps3-3.0.4/src/umps/device.cc:551:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(recvStatStr, "Idle (last op: %s)",
data/umps3-3.0.4/src/umps/device.cc:560:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(recvStatStr, "Receiving (last op: %s)",
data/umps3-3.0.4/src/umps/device.cc:567:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(recvStatStr, "Unknown command (last op: %s)",
data/umps3-3.0.4/src/umps/device.cc:593:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(tranStatStr, "Resetting (last op: %s)",
data/umps3-3.0.4/src/umps/device.cc:602:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(tranStatStr, "Idle (last op: %s)",
data/umps3-3.0.4/src/umps/device.cc:611:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(tranStatStr, "Transm. char 0x%.2X (last op: %s)",
data/umps3-3.0.4/src/umps/device.cc:620:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(tranStatStr, "Unknown command (last op: %s)",
data/umps3-3.0.4/src/umps/device.cc:640:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(strbuf, "%s\n%s", recvStatStr, tranStatStr);
data/umps3-3.0.4/src/umps/device.cc:756:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(strbuf, "Error writing terminal %u file : %s", devNum, strerror(errno));
data/umps3-3.0.4/src/umps/device.cc:800:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(recvBuf, "%s\n", inputstr);
data/umps3-3.0.4/src/umps/device.cc:805:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strp, "%s%s\n",&(recvBuf[recvBp]), inputstr);
data/umps3-3.0.4/src/umps/device.cc:813:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "Error writing terminal %u file : %s", devNum, strerror(errno));
data/umps3-3.0.4/src/umps/device.cc:850:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "Cannot open disk %u file : %s", devNum, strerror(errno));
data/umps3-3.0.4/src/umps/device.cc:877:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "Cannot close disk file %u : %s", devNum, strerror(errno));
data/umps3-3.0.4/src/umps/device.cc:906:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(statStr, "Resetting (last op: %s)", isSuccess(dType, reg[STATUS]));
data/umps3-3.0.4/src/umps/device.cc:912:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(statStr, "Idle (last op: %s)", isSuccess(dType, reg[STATUS]));
data/umps3-3.0.4/src/umps/device.cc:921:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(statStr, "Seeking Cyl 0x%.4X (last op: %s)", cyl, isSuccess(dType, reg[STATUS]));
data/umps3-3.0.4/src/umps/device.cc:943:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(statStr, "Reading C/H/S 0x%.4X/0x%.2X/0x%.2X (last op: %s)",
data/umps3-3.0.4/src/umps/device.cc:987:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(statStr, "Writing C/H/S 0x%.4X/0x%.2X/0x%.2X (last op: %s)",
data/umps3-3.0.4/src/umps/device.cc:1030:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(statStr, "Unknown command (last op: %s)", isSuccess(dType, reg[STATUS]));
data/umps3-3.0.4/src/umps/device.cc:1190:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "Cannot open flash device %u file : %s", devNum, strerror(errno));
data/umps3-3.0.4/src/umps/device.cc:1215:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "Cannot close flash device file %u : %s", devNum, strerror(errno));
data/umps3-3.0.4/src/umps/device.cc:1242:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(statStr, "Resetting (last op: %s)", isSuccess(dType, reg[STATUS]));
data/umps3-3.0.4/src/umps/device.cc:1248:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(statStr, "Idle (last op: %s)", isSuccess(dType, reg[STATUS]));
data/umps3-3.0.4/src/umps/device.cc:1257:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(statStr, "Reading block 0x%.6X (last op: %s)",
data/umps3-3.0.4/src/umps/device.cc:1284:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(statStr, "Writing block 0x%.6X (last op: %s)",
data/umps3-3.0.4/src/umps/device.cc:1309:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(statStr, "Unknown command (last op: %s)", isSuccess(dType, reg[STATUS]));
data/umps3-3.0.4/src/umps/device.cc:1510:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(statStr, "Idle (last op: %s)", isSuccess(dType, reg[STATUS] & READPENDINGMASK));
data/umps3-3.0.4/src/umps/device.cc:1544:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(statStr, "Unknown command (last op: %s)", isSuccess(dType, reg[STATUS] & READPENDINGMASK));
data/umps3-3.0.4/src/umps/disassemble.cc:475:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "%s", iName[RIUNKINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:492:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "%s", regIName[RIREGINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:510:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "%s\t$%s, $%s, $%s",
data/umps3-3.0.4/src/umps/disassemble.cc:521:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(strbuf, "%s", regIName[NOPINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:523:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(strbuf, "%s\t$%s, $%s, %.2lu",
data/umps3-3.0.4/src/umps/disassemble.cc:534:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "%s\t$%s, $%s",
data/umps3-3.0.4/src/umps/disassemble.cc:539:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "%s\t$%s, $%s",
data/umps3-3.0.4/src/umps/disassemble.cc:545:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "%s\t$%s", regIName[FUNCT(instr)], regName[RD(instr)]);
data/umps3-3.0.4/src/umps/disassemble.cc:551:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "%s\t$%s", regIName[FUNCT(instr)], regName[RS(instr)]);
data/umps3-3.0.4/src/umps/disassemble.cc:556:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "%s\t(%lu)", regIName[FUNCT(instr)], CALLVAL(instr));
data/umps3-3.0.4/src/umps/disassemble.cc:561:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "%s", regIName[RIREGINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:576:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "%s\t$%s, $%s, %+ld",
data/umps3-3.0.4/src/umps/disassemble.cc:586:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "%s\t$%s, $%s, 0x%.8lX",
data/umps3-3.0.4/src/umps/disassemble.cc:595:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "%s\t$%s, 0x%.4lX",
data/umps3-3.0.4/src/umps/disassemble.cc:599:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "%s", iName[RIIMMINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:603:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "%s", iName[RIIMMINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:615:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "%s\t$%s, $%s, %+ld",
data/umps3-3.0.4/src/umps/disassemble.cc:630:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "%s\t$%s, %+ld",
data/umps3-3.0.4/src/umps/disassemble.cc:638:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "%s", iName[RIBRANCHINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:647:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "%s\t$%s, %+ld",
data/umps3-3.0.4/src/umps/disassemble.cc:653:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "%s", iName[RIBRANCHINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:658:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "%s\t(4 bit PC)+0x%.7lX", iName[OPCODE(instr)], (instr & ~(OPCODEMASK)) << WORDSHIFT);
data/umps3-3.0.4/src/umps/disassemble.cc:662:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "%s", iName[RIBRANCHINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:685:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "%s\t$%s, %+ld($%s)",
data/umps3-3.0.4/src/umps/disassemble.cc:690:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf, "%s", iName[RILSINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:709:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(strbuf, "CP%.1lu %s", COPNUM(instr), cp0IName[CPUILLINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:714:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(strbuf, "%s", cp0IName[RFEINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:721:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(strbuf, "%s", cp0IName[FUNCT(instr)]);
data/umps3-3.0.4/src/umps/disassemble.cc:730:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(strbuf, "CP%.1lu %s", COPNUM(instr), cp0IName[CPUILLINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:738:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(strbuf, "%s\t%+ld", cp0IName[BC0FINAME], (long int) (SignExtImm(instr) << WORDSHIFT));
data/umps3-3.0.4/src/umps/disassemble.cc:742:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(strbuf, "%s\t%+ld", cp0IName[BC0TINAME], (long int) (SignExtImm(instr) << WORDSHIFT));
data/umps3-3.0.4/src/umps/disassemble.cc:748:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(strbuf, "CP%.1lu %s", COPNUM(instr), cp0IName[CPUILLINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:758:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(strbuf, "%s\t$%s, $%s", cp0IName[COPOPTYPE(instr)], regName[RT(instr)], cp0RegName[cp0Num]);
data/umps3-3.0.4/src/umps/disassemble.cc:761:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(strbuf, "CP%.1lu %s", COPNUM(instr), cp0IName[CPUILLINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:769:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(strbuf, "%s\t$%s, $%s", cp0IName[COPOPTYPE(instr)], regName[RT(instr)], cp0RegName[cp0Num]);
data/umps3-3.0.4/src/umps/disassemble.cc:776:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(strbuf, "CP%.1lu %s", COPNUM(instr), cp0IName[CPUILLINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:781:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "CP%.1lu %s", COPNUM(instr), cp0IName[CPUILLINAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:787:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "%s", iName[RIR40INAME]);
data/umps3-3.0.4/src/umps/disassemble.cc:792:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf, "CP%.1lu %s", COPNUM(instr), cp0IName[CPUILLINAME]);
data/umps3-3.0.4/src/umps/elf2umps.cc:214:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, format, ap);
data/umps3-3.0.4/src/umps/machine.cc:145:48:  [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.
void Machine::HandleBusAccess(Word pAddr, Word access, Processor* cpu)
data/umps3-3.0.4/src/umps/machine.cc:148:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	switch (access) {
data/umps3-3.0.4/src/umps/machine.cc:186:58:  [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.
void Machine::HandleVMAccess(Word asid, Word vaddr, Word access, Processor* cpu)
data/umps3-3.0.4/src/umps/machine.cc:188:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	switch (access) {
data/umps3-3.0.4/src/umps/machine.h:76: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.
	void HandleBusAccess(Word pAddr, Word access, Processor* cpu);
data/umps3-3.0.4/src/umps/machine.h:77:50:  [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.
	void HandleVMAccess(Word asid, Word vaddr, Word access, Processor* cpu);
data/umps3-3.0.4/src/umps/symbol_table.cc:48: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(sNamep, sName);
data/umps3-3.0.4/src/umps/symbol_table.cc:153:7:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		if (fscanf(file, "%s :%s ", sName, sType) != 2) {
data/umps3-3.0.4/src/umps/utility.cc:179:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, format, args);
data/umps3-3.0.4/src/umps/vde_network.cc:111:6:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (access(name,R_OK) != 0)
data/umps3-3.0.4/src/umps/vde_network.cc:165:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strbuf,"poll: %s",strerror(errno));
data/umps3-3.0.4/src/umps/vde_network.cc:188:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(strbuf,"poll: %s",strerror(errno));
data/umps3-3.0.4/src/frontends/qmps/terminal_view.cc:54: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).
	if (!file.open(QFile::ReadOnly | QFile::Text)) {
data/umps3-3.0.4/src/frontends/qmps/trace_browser.cc:332:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char bytes[WS];
data/umps3-3.0.4/src/support/libumps/types.h:128:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char dest[ETH_ALEN];
data/umps3-3.0.4/src/support/libumps/types.h:129:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char src[ETH_ALEN];
data/umps3-3.0.4/src/support/libumps/types.h:130:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char proto[2];
data/umps3-3.0.4/src/support/libumps/types.h:131:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char data[ETH_PAYLOAD];
data/umps3-3.0.4/src/support/libumps/types.h:132:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char dummy[2];
data/umps3-3.0.4/src/umps/device.cc:68:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
HIDDEN char strbuf[STRBUFSIZE];
data/umps3-3.0.4/src/umps/device.cc:349:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(statStr, "Idle");
data/umps3-3.0.4/src/umps/device.cc:351:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((prntFile = fopen(config->getDeviceFile(il, devNo).c_str(), "w")) == NULL) {
data/umps3-3.0.4/src/umps/device.cc:438: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(statStr, "Reset completed : waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:450:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(statStr, "Printed char 0x%.2X : waiting for ACK", (unsigned char) reg[DATA0]);
data/umps3-3.0.4/src/umps/device.cc:454:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(statStr, "Error printing char 0x%.2X : waiting for ACK", (unsigned char) reg[DATA0]);
data/umps3-3.0.4/src/umps/device.cc:498:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(recvStatStr, "Idle");
data/umps3-3.0.4/src/umps/device.cc:499:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(tranStatStr, "Idle");
data/umps3-3.0.4/src/umps/device.cc:506:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((termFile = fopen(config->getDeviceFile(il, devNo).c_str(), "w")) == NULL) {
data/umps3-3.0.4/src/umps/device.cc:706:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(recvStatStr, "Reset completed : waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:719: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(recvStatStr, "Received char 0x%.2X : waiting for ACK", recvBuf[recvBp]);
data/umps3-3.0.4/src/umps/device.cc:724: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(recvStatStr, "Error receiving char : waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:749:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(tranStatStr, "Reset completed : waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:762: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(tranStatStr, "Transm. char 0x%.2lX : waiting for ACK",
data/umps3-3.0.4/src/umps/device.cc:767: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(tranStatStr, "Error transm. char 0x%.2lX : waiting for ACK",
data/umps3-3.0.4/src/umps/device.cc:845:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(statStr, "Idle");
data/umps3-3.0.4/src/umps/device.cc:849:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((diskFile = fopen(config->getDeviceFile(intL, devNum).c_str(), "r+")) == NULL) {
data/umps3-3.0.4/src/umps/device.cc:859: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(strbuf, "Cannot open disk %u file : invalid/corrupted file", devNum);
data/umps3-3.0.4/src/umps/device.cc:931: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(statStr, "Cyl 0x%.4X out of range : waiting for ACK", cyl);
data/umps3-3.0.4/src/umps/device.cc:975: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(statStr, "Head/sect 0x%.2X/0x%.2X out of range : waiting for ACK", head, sect);
data/umps3-3.0.4/src/umps/device.cc:1023: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(statStr, "Head/sect 0x%.2X/0x%.2X out of range : waiting for ACK", head, sect);
data/umps3-3.0.4/src/umps/device.cc:1067: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(statStr, "Reset completed : waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:1075:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(statStr, "Cyl 0x%.4X reached : waiting for ACK", currCyl);
data/umps3-3.0.4/src/umps/device.cc:1080:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(statStr, "Cyl 0x%.4X seek error : waiting for ACK", currCyl);
data/umps3-3.0.4/src/umps/device.cc:1101: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(statStr, "DMA error reading C/H/S 0x%.4X/0x%.2X/0x%.2X : waiting for ACK",
data/umps3-3.0.4/src/umps/device.cc:1105: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(statStr, "C/H/S 0x%.4X/0x%.2X/0x%.2X block read: waiting for ACK",
data/umps3-3.0.4/src/umps/device.cc:1111: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(strbuf, "Unable to read disk %u file : invalid/corrupted file", devNum);
data/umps3-3.0.4/src/umps/device.cc:1116:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(statStr, "Error reading C/H/S 0x%.4X/0x%.2X/0x%.2X : waiting for ACK",
data/umps3-3.0.4/src/umps/device.cc:1134: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(strbuf, "Unable to write disk %u file : invalid/corrupted file", devNum);
data/umps3-3.0.4/src/umps/device.cc:1138:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(statStr, "C/H/S 0x%.4X/0x%.2X/0x%.2X block written : waiting for ACK",
data/umps3-3.0.4/src/umps/device.cc:1144:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(statStr, "Error writing C/H/S 0x%.4X/0x%.2X/0x%.2X : waiting for ACK",
data/umps3-3.0.4/src/umps/device.cc:1185:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(statStr, "Idle");
data/umps3-3.0.4/src/umps/device.cc:1189:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((flashFile = fopen(config->getDeviceFile(intL, devNum).c_str(), "r+")) == NULL) {
data/umps3-3.0.4/src/umps/device.cc:1199: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(strbuf, "Cannot open flash device %u file : invalid/corrupted file", devNum);
data/umps3-3.0.4/src/umps/device.cc:1273: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(statStr, "Block 0x%.6X out of range : waiting for ACK", block);
data/umps3-3.0.4/src/umps/device.cc:1302: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(statStr, "Block 0x%.6X out of range : waiting for ACK", block);
data/umps3-3.0.4/src/umps/device.cc:1346: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(statStr, "Reset completed : waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:1363: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(statStr, "DMA error reading block 0x%.6X : waiting for ACK", block);
data/umps3-3.0.4/src/umps/device.cc:1366: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(statStr, "Block 0x%.6X read: waiting for ACK", block);
data/umps3-3.0.4/src/umps/device.cc:1371: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(strbuf, "Unable to read flash device %u file : invalid/corrupted file", devNum);
data/umps3-3.0.4/src/umps/device.cc:1376:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(statStr, "Error reading block 0x%.6X : waiting for ACK", block);
data/umps3-3.0.4/src/umps/device.cc:1391: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(strbuf, "Unable to write flash device %u file : invalid/corrupted file", devNum);
data/umps3-3.0.4/src/umps/device.cc:1395:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(statStr, "Block 0x%.6X written : waiting for ACK", block);
data/umps3-3.0.4/src/umps/device.cc:1400:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(statStr, "Error writing block 0x%.6X : waiting for ACK", block);
data/umps3-3.0.4/src/umps/device.cc:1464:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(statStr, "Idle");
data/umps3-3.0.4/src/umps/device.cc:1504: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(statStr, "Reset requested : waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:1516: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(statStr, "Reading Interface Configuration");
data/umps3-3.0.4/src/umps/device.cc:1522: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(statStr, "Writing Interface Configuration");
data/umps3-3.0.4/src/umps/device.cc:1529: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(statStr, "Receiving Data");
data/umps3-3.0.4/src/umps/device.cc:1535: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(statStr, "DMA error on netwrite: waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:1540: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(statStr, "Sending Data");
data/umps3-3.0.4/src/umps/device.cc:1603:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(statStr, "Reset completed : waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:1609:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char macaddr[6];
data/umps3-3.0.4/src/umps/device.cc:1610:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(statStr, "Interface Configuration Read : waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:1620:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char macaddr[6];
data/umps3-3.0.4/src/umps/device.cc:1632:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(statStr, "Interface Reconfigured: waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:1641: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(statStr, "Net reading error: waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:1644: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(statStr, "No pending packet for read: waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:1649:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
						sprintf(statStr, "DMA error on netread: waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:1651:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
						sprintf(statStr, "Packet received: waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:1660: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(statStr, "Net reading error : waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:1667:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				if (reg[DATA1] == netint->writedata((char *)writebuf, reg[DATA1]))
data/umps3-3.0.4/src/umps/device.cc:1669: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(statStr, "Packet Sent: waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:1674: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(statStr, "Net writing error: waiting for ACK");
data/umps3-3.0.4/src/umps/device.cc:1681: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(statStr, "Net writing error : waiting for ACK");
data/umps3-3.0.4/src/umps/device.h:180:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char statStr[PRNTBUFSIZE];
data/umps3-3.0.4/src/umps/device.h:229:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char recvStatStr[TERMBUFSIZE];
data/umps3-3.0.4/src/umps/device.h:232:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tranStatStr[TERMBUFSIZE];
data/umps3-3.0.4/src/umps/device.h:283:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char statStr[DISKBUFSIZE];
data/umps3-3.0.4/src/umps/device.h:335:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char statStr[FLASHBUFSIZE];
data/umps3-3.0.4/src/umps/device.h:373:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char statStr[ETHBUFSIZE];
data/umps3-3.0.4/src/umps/disassemble.cc:269: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.
HIDDEN char strbuf[STRBUFSIZE];
data/umps3-3.0.4/src/umps/disassemble.cc:725:11:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
					std::strcpy(strbuf, "wait");
data/umps3-3.0.4/src/umps/disassemble.cc:773: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(strbuf, "TLBCLR");
data/umps3-3.0.4/src/umps/elf2umps.cc:167: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).
	int fd = open(fileName, O_RDONLY);
data/umps3-3.0.4/src/umps/elf2umps.cc:426:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				std::memcpy(buf, data->d_buf, data->d_size);
data/umps3-3.0.4/src/umps/elf2umps.cc:445: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).
	FILE* file = fopen(outName.c_str(), "w");
data/umps3-3.0.4/src/umps/elf2umps.cc:485: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).
	FILE* file = fopen(outName.c_str(), "w");
data/umps3-3.0.4/src/umps/elf2umps.cc:563: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).
	FILE* file = fopen(outName.c_str(), "w");
data/umps3-3.0.4/src/umps/machine_config.cc:356: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).
		file = fopen(fName, "a");
data/umps3-3.0.4/src/umps/machine_config.cc:359: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).
		file = fopen(fName, "r");
data/umps3-3.0.4/src/umps/memspace.cc:49: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).
		if ((cFile = fopen(fName, "r")) == NULL)
data/umps3-3.0.4/src/umps/memspace.cc:97:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((file = fopen(fileName, "r")) == NULL)
data/umps3-3.0.4/src/umps/mkdev.cc:346: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 ((dfile = fopen(fname, "w")) == NULL || \
data/umps3-3.0.4/src/umps/mkdev.cc:386: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 ((ffile = fopen(fname, "w")) == NULL || \
data/umps3-3.0.4/src/umps/mkdev.cc:393: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((rfile = fopen(file, "r")) == NULL)
data/umps3-3.0.4/src/umps/objdump.cc:186: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).
	if ((inFile = fopen(fileName, "r")) == NULL)
data/umps3-3.0.4/src/umps/objdump.cc:247: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).
	if ((inFile = fopen(fileName, "r")) == NULL)
data/umps3-3.0.4/src/umps/objdump.cc:355: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).
	if ((inFile = fopen(fileName, "r")) == NULL)
data/umps3-3.0.4/src/umps/objdump.cc:432:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[CBUFSIZE];
data/umps3-3.0.4/src/umps/objdump.cc:438:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((inFile = fopen(fileName, "r")) == NULL)
data/umps3-3.0.4/src/umps/symbol_table.cc:114:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char sName[STRBUFSIZE];
data/umps3-3.0.4/src/umps/symbol_table.cc:115:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char sType[STRBUFSIZE];
data/umps3-3.0.4/src/umps/symbol_table.cc:122:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((file = fopen(fName, "r")) == NULL) {
data/umps3-3.0.4/src/umps/utility.cc:229:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[6*3 + 1];
data/umps3-3.0.4/src/umps/utility.cc:230:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "%02x:%02x:%02x:%02x:%02x:%02x",
data/umps3-3.0.4/src/umps/vde_network.cc:63: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.
HIDDEN char strbuf[STRBUFLEN];
data/umps3-3.0.4/src/umps/vde_network.cc:64: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.
HIDDEN char packbuf[MAXPACKETLEN];
data/umps3-3.0.4/src/umps/vde_network.cc:97:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name2[1024];
data/umps3-3.0.4/src/umps/vde_network.cc:118:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name2[1024];
data/umps3-3.0.4/src/umps/vde_network.cc:135:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char tempaddr[7];
data/umps3-3.0.4/src/umps/vde_network.cc:173: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(buf+6,ethaddr,6);
data/umps3-3.0.4/src/umps/vde_network.cc:239: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(content,icontent,ilen);
data/umps3-3.0.4/src/umps/vde_network.cc:325: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(pcontent,oldhead->getContent(),packlen);
data/umps3-3.0.4/src/umps/vde_network.h:55:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char ethaddr[6];
data/umps3-3.0.4/src/umps/device.cc:799: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).
		recvBuf = new char[strlen(inputstr) + 2];
data/umps3-3.0.4/src/umps/device.cc:804: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).
		strp = new char [(strlen(recvBuf) - recvBp) + strlen(inputstr) + 2];
data/umps3-3.0.4/src/umps/device.cc:804:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		strp = new char [(strlen(recvBuf) - recvBp) + strlen(inputstr) + 2];
data/umps3-3.0.4/src/umps/symbol_table.cc:47: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).
	sNamep = new char [strlen(sName) + 1];
data/umps3-3.0.4/src/umps/utility.cc:182:2:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getchar();

ANALYSIS SUMMARY:

Hits = 210
Lines analyzed = 23899 in approximately 0.56 seconds (43055 lines/second)
Physical Source Lines of Code (SLOC) = 15281
Hits@level = [0]  92 [1]   5 [2] 112 [3]   0 [4]  91 [5]   2
Hits@level+ = [0+] 302 [1+] 210 [2+] 205 [3+]  93 [4+]  93 [5+]   2
Hits/KSLOC@level+ = [0+] 19.7631 [1+] 13.7426 [2+] 13.4154 [3+] 6.08599 [4+] 6.08599 [5+] 0.130881
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.