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/owfs-3.2p4+dfsg1/module/owcapi/src/c/owcapi.c
Examining data/owfs-3.2p4+dfsg1/module/owcapi/src/example++/owcapiexample.cpp
Examining data/owfs-3.2p4+dfsg1/module/owcapi/src/example/owcapiexample.c
Examining data/owfs-3.2p4+dfsg1/module/owcapi/src/include/owcapi.h
Examining data/owfs-3.2p4+dfsg1/module/owfs/src/c/fuse_line.c
Examining data/owfs-3.2p4+dfsg1/module/owfs/src/c/owfs_callback.c
Examining data/owfs-3.2p4+dfsg1/module/owfs/src/c/owfs.c
Examining data/owfs-3.2p4+dfsg1/module/owfs/src/include/owfs.h
Examining data/owfs-3.2p4+dfsg1/module/owftpd/src/c/daemon_assert.c
Examining data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_cd.c
Examining data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c
Examining data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_command.c
Examining data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_listener.c
Examining data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c
Examining data/owfs-3.2p4+dfsg1/module/owftpd/src/c/owftpd.c
Examining data/owfs-3.2p4+dfsg1/module/owftpd/src/c/telnet_session.c
Examining data/owfs-3.2p4+dfsg1/module/owftpd/src/c/watchdog.c
Examining data/owfs-3.2p4+dfsg1/module/owftpd/src/include/owftpd.h
Examining data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd.c
Examining data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_dir.c
Examining data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_escape.c
Examining data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_favicon.c
Examining data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_handler.c
Examining data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_present.c
Examining data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_read.c
Examining data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_write.c
Examining data/owfs-3.2p4+dfsg1/module/owhttpd/src/include/owhttpd.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/compat.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/getline.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/getopt.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/globals.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/jsmn.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1820.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1821.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1921.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1923.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1954.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1963.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1977.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1991.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1993.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2401.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2404.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2405.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2408.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2409.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2413.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2415.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2423.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2430.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2433.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2436.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2438.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2450.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2502.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2505.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2760.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2804.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2810.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2890.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_add_inflight.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alloc.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_api.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_arg.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_avahi_announce.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_avahi_browse.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_badadapter.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bae.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_baud.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bitfield.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_browse.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_browse_monitor.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_browse_resolve.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bus.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bus_bitdata.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bus_config.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bus_data.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_buslock.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_byte.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_charblob.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cmciel.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_com.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_com_change.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_com_close.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_com_free.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_com_open.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_com_read.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_com_write.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_connect.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_connect_out.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_crc.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_daemon.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_date.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_del_inflight.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_delay.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_detail.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_devicelock.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dirblob.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dl.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dnssd.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds1410.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds1wm.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds2482.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds9097.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds9097U.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds9123O.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds9490.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_eds.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_eeef.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_elabnet.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_enet_discover.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_enet_monitor.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_eprom_write.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_etherweather.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_example_slave.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_exec.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_exit.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_external.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_fake.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_fakeread.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_filelength.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_find_external.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_fs_address.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_fs_alias.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_fs_code.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_fs_crc8.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_fs_id.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_fs_type.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_fstat.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ftdi.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_generic_read.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_get.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_getbit.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_getbit_U.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha5.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7e.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_help.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_iblss.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ie_firmware_updater.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ie_rgbw_controller.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ie_switch_master.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_infernoembedded.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_inotify.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_interface.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_iterate.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_k1wm.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_kevent.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_launchd.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_lcd.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_lib_close.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_lib_setup.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_lib_stop.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_link.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_locator.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_locks.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_masterhub.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_memblob.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_memory.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_multicast.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_name.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_net_client.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_net_server.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_none.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_offset.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_opt.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_address.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_sn.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseinput.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseobject.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseoutput.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseshallow.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_pid.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_powerbit.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_powerbyte.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_presence.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_pressure.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_printparse.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_programpulse.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_read.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_read_external.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_read_telnet.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_reconnect.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_regex.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_remote_alias.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_reset.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_return_code.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_rwlock.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_search.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_select.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_serial_free.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_serial_open.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_enet.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_message.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_set_telnet.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_settings.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_sibling.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_sibling_binary.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_sibling_float.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_sibling_uint.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_sibling_yesno.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_sig_handlers.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_simultaneous.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_size.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_slurp.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_stateinfo.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_stats.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_system.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_systemd.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_tcp_free.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_tcp_open.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_tcp_read.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_telnet_write.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_temp.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_testerread.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_thermocouple.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_traffic.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_transaction.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_tree.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_udp_read.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_usb_cycle.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_usb_monitor.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_usb_msg.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_util.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_verify.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_visibility.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_addremove.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_bind.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_browse.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_dispatch.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_list.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_monitor.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_parse.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_print.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_scan.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_select.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_send.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_write.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_write_external.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_zero.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/owlib.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/sd-daemon.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/c/timegm.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/compat.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/compat_getopt.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/compat_netdb.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/connector.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/i2c-dev.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/jsmn.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/libusb.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/netlink.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_1820.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_1821.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_1921.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_1923.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_1954.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_1963.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_1977.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_1991.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_1993.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2401.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2404.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2405.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2406.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2408.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2409.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2413.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2415.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2423.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2430.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2433.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2436.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2438.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2450.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2502.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2505.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2760.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2804.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2810.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_2890.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_alloc.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_arg.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_avahi.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_bae.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_bitfield.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_bitwork.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_bus_routines.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_busnumber.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_cache.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_charblob.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_cmciel.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_codes.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_communication.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_connection.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_connection_in.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_connection_out.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_counters.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_debug.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_detail.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_detect.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_device.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_devices.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_dirblob.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_dl.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_dnssd.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_eds.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_eeef.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_example_slave.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_exec.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_external.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_fd.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_filetype.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_ftdi.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_functions.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_generic_read.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_generic_write.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_global.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_iblss.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_infernoembedded.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_inotify.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_integer.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_interface.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_kevent.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_launchd.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_lcd.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_localreturns.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_localtypes.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_master.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_memblob.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_message.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_mutex.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_mutexes.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_none.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_onewirequery.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_opt.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_parse_address.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_parse_sn.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_parsedname.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_pid.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_port_in.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_pressure.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_programs.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_regex.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_reset.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_return_code.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_search.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_settings.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_sibling.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_simultaneous.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_standard.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_stateinfo.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_stats.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_stub.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_system.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_temperature.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_thermocouple.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_timer.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_traffic.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_transaction.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_usb_cycle.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_usb_msg.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_visibility.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_w1.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_w1_seq.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/ownet.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/rwlock.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/sd-daemon.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/sem.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/telnet.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/src/include/w1_netlink.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/tests/check_ow_parseinput.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/tests/ow_testhelper.c
Examining data/owfs-3.2p4+dfsg1/module/owlib/tests/ow_testhelper.h
Examining data/owfs-3.2p4+dfsg1/module/owlib/tests/owlib_test.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/compat.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getopt.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/globals.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_browse.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_charblob.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_connect.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_dl.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_dnssd.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_locks.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_net_client.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_rwlock.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_server.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_tcp_read.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ownet_close.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ownet_dir.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ownet_init.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ownet_present.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ownet_read.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ownet_setget.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ownet_write.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/example/ownet_init_test.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/example/ownet_rep_test.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/example/ownet_tree.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/example/ownetexample.c
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/compat.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/compat_getopt.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/compat_netdb.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_charblob.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_connection.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_debug.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_dl.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_dnssd.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_functions.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_global.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_localtypes.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_message.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_mutex.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_mutexes.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_pressure.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_server.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_stub.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_temperature.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ownetapi.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/rwlock.h
Examining data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/sem.h
Examining data/owfs-3.2p4+dfsg1/module/owserver/src/c/data.c
Examining data/owfs-3.2p4+dfsg1/module/owserver/src/c/dir.c
Examining data/owfs-3.2p4+dfsg1/module/owserver/src/c/dirall.c
Examining data/owfs-3.2p4+dfsg1/module/owserver/src/c/dirallslash.c
Examining data/owfs-3.2p4+dfsg1/module/owserver/src/c/error.c
Examining data/owfs-3.2p4+dfsg1/module/owserver/src/c/from_client.c
Examining data/owfs-3.2p4+dfsg1/module/owserver/src/c/handler.c
Examining data/owfs-3.2p4+dfsg1/module/owserver/src/c/loop.c
Examining data/owfs-3.2p4+dfsg1/module/owserver/src/c/md5.c
Examining data/owfs-3.2p4+dfsg1/module/owserver/src/c/owserver.c
Examining data/owfs-3.2p4+dfsg1/module/owserver/src/c/ping.c
Examining data/owfs-3.2p4+dfsg1/module/owserver/src/c/read.c
Examining data/owfs-3.2p4+dfsg1/module/owserver/src/c/to_client.c
Examining data/owfs-3.2p4+dfsg1/module/owserver/src/c/write.c
Examining data/owfs-3.2p4+dfsg1/module/owserver/src/include/owserver.h
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/compat.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/getopt.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/globals.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_browse.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_connect.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_dl.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_dnssd.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_help.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_net.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_opt.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_server.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_tcp_read.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/owdir.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/owexist.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/owget.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/owpresent.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/owread.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/owusbprobe.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/c/owwrite.c
Examining data/owfs-3.2p4+dfsg1/module/owshell/src/include/owshell.h
Examining data/owfs-3.2p4+dfsg1/module/owtcl/ow.c
Examining data/owfs-3.2p4+dfsg1/module/owtcl/owtclInitScript.h
Examining data/owfs-3.2p4+dfsg1/module/owtcl/version.h
Examining data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c
Examining data/owfs-3.2p4+dfsg1/src/sniffer/xt.c

FINAL RESULTS:

data/owfs-3.2p4+dfsg1/module/owfs/src/c/owfs_callback.c:69:3:  [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.
  readlink:NULL,
data/owfs-3.2p4+dfsg1/module/owfs/src/c/owfs_callback.c:78:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  chmod:FS_chmod,
data/owfs-3.2p4+dfsg1/module/owfs/src/c/owfs_callback.c:79:3:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
  chown:FS_chown,
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_cd.c:103:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat(cps->buffer, oldrest);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_cd.c:119:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(cps->buffer, cps->rest);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_cd.c:168: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(&wlcd->end[1], FS_DirName(pn_entry));
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:168:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat(fps->buffer, oldrest);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:185:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				strcat(fps->buffer, fps->rest);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:236: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(&wlp->end[1], FS_DirName(pn_entry));
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:306:11:  [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.
	buflen = vsnprintf(buf, sizeof(buf), fmt, ap);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_command.c:79:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(cmd->command, command_def[match].name);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_listener.c:74:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(newname, oldname);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:322:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buf + 4, sizeof(buf) - 4, fmt, ap);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:440: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(cps.buffer, (ASCII *) f->dir);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:886: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(fname, file);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:900:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(fname, file);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:1261: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(fps.buffer, f->dir);
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_dir.c:159:2:  [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(out, format, data ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:85:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buf, MAXLINE, format, va);    /* safe */
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:87:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(buf, format, va);      /* not safe */
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:157:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buf, MAXLINE, format, ap);	/* safe */
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:159:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(buf, format, ap);		/* not safe */
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:217:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		vsnprintf(buf, MAXLINE, format, ap);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:219:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
		vsprintf(buf, fmt, ap);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:227:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		vsnprintf(buf, MAXLINE, format, ap);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:229:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
		vsprintf(buf, format, ap);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:273:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s.%d", Globals.fatal_debug_file, getpid());
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:277:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
				vsnprintf(buf, MAXLINE, format, ap);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:279:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
				vsprintf(buf, format, ap);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:304:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(format, "%s%s:%s(%d) [%s] %s", level_string,file,func,line,strerror(errno_save),fmt);		/* not safe */
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:306:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(format, "%s%s:%s(%d) %s", level_string,file,func,line,fmt);		/* not safe */
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:232:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(sunp->sun_path, service->name);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:251:26:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		(*pai)->ai_canonname = strcpy((char *) *pai + sizeof(struct addrinfo)
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:828:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
					strcpy((*pai)->ai_canonname, c);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:1037: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).
	return strcpy(dst, tmp);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1991.c:426: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( & convert_text[ text_length - strlen(text) ] , text ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:168: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( path, pn->path ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:177: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( pn_copy->path, pn->path ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:191: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( pn_copy->path, pn->path ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:196:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat( pn_copy->path, name ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:199:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat( pn_copy->path, path_segment ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:202:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				strcat( pn_copy->path, path_segment ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds2482.c:290:8:  [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(dev_name, F_OK) < 0 ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_elabnet.c:215:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy(type_string, version_string);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_enet_discover.c:147:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
							strcpy( found_ip, tok_start ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_enet_discover.c:154:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
							strcpy( found_port, tok_start ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_enet_discover.c:311: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( new->name, ip ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_enet_discover.c:313: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( new->name, port ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_exec.c:104:2:  [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.
	execvp( argv[0], argv ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha5.c:125: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(DEVICENAME(in), ap->first.alpha) ; // subset so will fit
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha5.c:129:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
					strcat(DEVICENAME(in), ap->second.alpha) ; // subset so will fit
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha5.c:133: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(DEVICENAME(in), ap->second.alpha) ; // subset so will fit
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha5.c:157:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy(DEVICENAME(in), ap->first.alpha) ; // subset so will fit
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:307: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(full_command, ha7->command);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:313:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(full_command, ha7->address);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:318:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(full_command, first ? "?" : "&");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:320:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(full_command, ha7->conditional);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:325:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(full_command, first ? "?" : "&");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:331:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(full_command, first ? "?" : "&");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:333:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(full_command, ha7->lock);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_address.c:140: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( ap->first.alpha, orm.match[1] ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_address.c:146: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( ap->second.alpha, orm.match[2] ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_address.c:152:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy( ap->third.alpha, orm.match[3] ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:112:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
				strcpy( new_string_pointer+1, quoted_string ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:511: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( s->name, s_name ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:514: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( s->family, s_family ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:517: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( s->description, s_description ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:520: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( s->data, s_data ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:540: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( s->family, s_family ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:574: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( s->property, s_property ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:577: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( s->family, s_family ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:580: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( s->read, s_read ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:583: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( s->write, s_write ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:586: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( s->data, s_data ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:589: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( s->other, s_other ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:367: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(pn->path+1, path[0]=='/'?path+1:path);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:368: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(pn->path_to_server, pn->path);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:371: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(pp->pathcpy,&pn->path[1]);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:576: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( pn->path_to_server, orm.pre[0] ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:578:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat( pn->path_to_server, orm.post[0] ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:593: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( &augmented_segment[1], segment ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:937: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(fullpath, path);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:941: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(fullpath, file);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseobject.c:61: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(&path[dirlength],sibling) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_read_external.c:125:13:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	script_f = popen( cmd, "r" ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_enet.c:488: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( &full_buffer[length], buf ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_print.c:36:38:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define printcase( flag ) case flag: printf(#flag); break
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_write_external.c:125:13:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	script_f = popen( cmd, "w" ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/include/compat.h:129:9:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
#define syslog(a,...)	{ /* ignore_syslog */ }
data/owfs-3.2p4+dfsg1/module/owlib/src/include/sd-daemon.h:72:59:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#    define _sd_printf_attr_(a,b) __attribute__ ((format (printf, a, b)))
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:80:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buf, MAXLINE, format, va);    /* safe */
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:82:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(buf, format, va);      /* not safe */
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:127:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(buf, MAXLINE, format, ap);	/* safe */
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:129:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(buf, format, ap);		/* not safe */
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:175:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		vsnprintf(buf, MAXLINE, format, ap);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:177:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
		vsprintf(buf, fmt, ap);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:185:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		vsnprintf(buf, MAXLINE, format, ap);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:187:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
		vsprintf(buf, format, ap);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:231:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s.%d", Globals.fatal_debug_file, getpid());
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:235:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
				vsnprintf(buf, MAXLINE, format, ap);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:237:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
				vsprintf(buf, format, ap);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:262:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(format, "%s%s:%s(%d) [%s] %s", level_string,file,func,line,strerror(errno_save),fmt);		/* not safe */
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:264:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(format, "%s%s:%s(%d) %s", level_string,file,func,line,fmt);		/* not safe */
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:232:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(sunp->sun_path, service->name);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:251:26:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		(*pai)->ai_canonname = strcpy((char *) *pai + sizeof(struct addrinfo)
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:828:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
					strcpy((*pai)->ai_canonname, c);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:1037: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).
	return strcpy(dst, tmp);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/compat.h:129:9:  [4] (format) syslog:
  If syslog's format strings can be influenced by an attacker, they can be
  exploited (CWE-134). Use a constant format string for syslog.
#define syslog(a,...)	{ /* ignore_syslog */ }
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:232:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(sunp->sun_path, service->name);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:251:26:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		(*pai)->ai_canonname = strcpy((char *) *pai + sizeof(struct addrinfo)
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:828:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
					strcpy((*pai)->ai_canonname, c);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:1037: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).
	return strcpy(dst, tmp);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_server.c:189:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf((ret >= 0) ? "1" : "0");
data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_server.c:376:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		printf( fmt, (unsigned char) buffer[i]);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owusbprobe.c:25:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(stderr, msg"\n", ##args); \
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owusbprobe.c:30:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(stderr, msg": %s\n", ##args, libusb_strerror(usb_ret)); \
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owusbprobe.c:34:27:  [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.
#define log(msg, args...) fprintf(stdout, msg"\n", ##args)
data/owfs-3.2p4+dfsg1/module/owshell/src/include/owshell.h:294:55:  [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.
#define PRINT_ERROR(...)		while ( ! Globals.quiet ) { fprintf( stderr, __VA_ARGS__ ) ; break ; }
data/owfs-3.2p4+dfsg1/module/owtcl/ow.c:94:6:  [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.
	if (vsnprintf(buf, ErrBufSize, format, argsPtr) < 0)
data/owfs-3.2p4+dfsg1/module/owtcl/ow.c:438:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, "owtcl:\t%s\nlibow:\t%s", OWTCL_VERSION, VERSION);
data/owfs-3.2p4+dfsg1/module/owfs/src/c/owfs.c:50:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, OWLIB_OPT, owopts_long, NULL)) != -1) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:770:2:  [3] (random) seed48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	seed48(seed);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:785:10:  [3] (random) lrand48:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	port = (lrand48() % 64512) + 1024;
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/owftpd.c:33:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, OWLIB_OPT, owopts_long, NULL)) != -1) {
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd.c:50:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, OWLIB_OPT, owopts_long, NULL)) != -1) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getopt.c:235:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	} else if (getenv("POSIXLY_CORRECT") != NULL) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getopt.c:702:5:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
int getopt_long(int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index)
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getopt.c:721:5:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
int getopt(int argc, char *const *argv, const char *optstring)
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_api.c:117:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		int c = getopt_long(argc, argv, OWLIB_OPT, owopts_long, NULL) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dl.c:20:9:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
	return LoadLibrary(pathname);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_lib_stop.c:34:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	(void) getopt_long(1, argv, " ", NULL, NULL);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_opt.c:584:22:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		if ((option_char = getopt_long(argc, argv, OWLIB_OPT, owopts_long, NULL)) == -1) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/owlib.c:40:2:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	srand(1);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/sd-daemon.c:76:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        e = getenv("LISTEN_PID");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/sd-daemon.c:101:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        e = getenv("LISTEN_FDS");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/sd-daemon.c:434:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        e = getenv("NOTIFY_SOCKET");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/timegm.c:42:7:  [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.
	tz = getenv("TZ");
data/owfs-3.2p4+dfsg1/module/owlib/src/include/compat_getopt.h:142:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	extern int getopt(int __argc, char *const *__argv, const char *__shortopts);
data/owfs-3.2p4+dfsg1/module/owlib/src/include/compat_getopt.h:146:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	extern int getopt_long(int __argc, char *const *__argv, const char *__shortopts, const struct option *__longopts, int *__longind);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getopt.c:236:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	} else if (getenv("POSIXLY_CORRECT") != NULL)
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getopt.c:687:5:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
int getopt_long(int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index)
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getopt.c:706:5:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
int getopt(int argc, char *const *argv, const char *optstring)
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_dl.c:20:9:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
	return LoadLibrary(pathname);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/compat_getopt.h:142:13:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	extern int getopt(int __argc, char *const *__argv, const char *__shortopts);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/compat_getopt.h:146:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	extern int getopt_long(int __argc, char *const *__argv, const char *__shortopts, const struct option *__longopts, int *__longind);
data/owfs-3.2p4+dfsg1/module/owserver/src/c/data.c:56:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		srand((unsigned int) tv.tv_usec);
data/owfs-3.2p4+dfsg1/module/owserver/src/c/owserver.c:59:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, OWLIB_OPT, owopts_long, NULL)) != -1) {
data/owfs-3.2p4+dfsg1/module/owserver/src/c/owserver.c:133:2:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	srandom(time(0)) ;
data/owfs-3.2p4+dfsg1/module/owserver/src/c/owserver.c:134:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	data_struct.rand = random() ;
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getopt.c:233:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	} else if (getenv("POSIXLY_CORRECT") != NULL)
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getopt.c:651:5:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
int getopt_long(int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index)
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getopt.c:670:5:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
int getopt(int argc, char *const *argv, const char *optstring)
data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_dl.c:20:9:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
	return LoadLibrary(pathname);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owdir.c:33:7:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		c = getopt_long(argc, argv, OWLIB_OPT, owopts_long, NULL);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owexist.c:30:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		int c = getopt_long(argc, argv, OWLIB_OPT, owopts_long, NULL);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owget.c:33:7:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		c = getopt_long(argc, argv, OWLIB_OPT, owopts_long, NULL);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owpresent.c:30:7:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		c = getopt_long(argc, argv, OWLIB_OPT, owopts_long, NULL);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owread.c:30:7:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		c = getopt_long(argc, argv, OWLIB_OPT, owopts_long, NULL);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owwrite.c:33:7:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		c = getopt_long(argc, argv, OWLIB_OPT, owopts_long, NULL);
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:170:11:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		switch (getopt(argc, argv, "p:o:")) {
data/owfs-3.2p4+dfsg1/src/sniffer/xt.c:167:11:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		switch (getopt(argc, argv, "t:p:b:s:o:t:")) {
data/owfs-3.2p4+dfsg1/module/owcapi/src/example++/owcapiexample.cpp:17:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fullpath[PATH_MAX+1] ;
data/owfs-3.2p4+dfsg1/module/owcapi/src/example/owcapiexample.c:18:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fullpath[PATH_MAX + 1];
data/owfs-3.2p4+dfsg1/module/owfs/src/c/owfs.c:30: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 umount_cmd[1024] = "";
data/owfs-3.2p4+dfsg1/module/owfs/src/c/owfs_callback.c:82:3:  [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).
  open:FS_open,
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:52: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 date_buf[13];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:296: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[PATH_MAX + 1];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_command.c:284: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 addr_str[16];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_command.c:319: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(addr_str, "%d.%d.%d.%d", octets[0], octets[1], octets[2], octets[3]);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_command.c:347: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 addr[255];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_command.c:349: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 port[255];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_command.c:411: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(&SINADDR(sa), addr, addr_len);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_command.c:422: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(&SIN6ADDR(sa), addr, addr_len);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_command.c:439: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 addr_str[256];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_command.c:474:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(addr_str, s, len);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_command.c:519: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(sa, res->ai_addr, res->ai_addrlen);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_listener.c:73:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(newname, "0.0.0.0:");
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_listener.c:299:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		static char addr[IP_ADDRSTRLEN + 1];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_listener.c:322: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 drop_reason[80];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_listener.c:351: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(drop_reason, "Too many users logged in, dropping connection (%d logins maximum)", f->max_connections);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:125: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(&f->server_ipv4_addr, res->ai_addr, res->ai_addrlen);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:177: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[2048];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:308: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[256];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:317: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, "%d", code);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:652: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 addr[80];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:1416:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_path[PATH_MAX + 1 + MAX_STRING_LEN];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:1419: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 time_buf[16];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:1444: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 code_str[8];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:1454: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(code_str, "%03d-", code);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/telnet_session.c:223: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[BUF_LEN];
data/owfs-3.2p4+dfsg1/module/owftpd/src/include/owftpd.h:179: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 in_buf[BUF_LEN];
data/owfs-3.2p4+dfsg1/module/owftpd/src/include/owftpd.h:189: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 out_buf[BUF_LEN];
data/owfs-3.2p4+dfsg1/module/owftpd/src/include/owftpd.h:253: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 client_addr_str[ADDRPORT_STRLEN];
data/owfs-3.2p4+dfsg1/module/owftpd/src/include/owftpd.h:263: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 dir[PATH_MAX + 1];
data/owfs-3.2p4+dfsg1/module/owftpd/src/include/owftpd.h:302: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 dir[3];				// only root directory for OWFS
data/owfs-3.2p4+dfsg1/module/owftpd/src/include/owftpd.h:333: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 command[5];
data/owfs-3.2p4+dfsg1/module/owftpd/src/include/owftpd.h:336:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[MAX_STRING_LEN + 1];
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_escape.c:85: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.
				escaped_p += sprintf( escaped_p, "%%%.2X", *original_p++ ) ;
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_present.c:22: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 d[44];
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_read.c:218: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 rw[4] ;
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_read.c:512: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 rw[4] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:73: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[MAXLINE + 3];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:74: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 format[MAXLINE + 3];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:99:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char format[MAXLINE + 3];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:100:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[MAXLINE + 3];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:206: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 format[MAXLINE + 1];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:207: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[MAXLINE + 1];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.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 filename[64];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/error.c:274: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).
		if((fp = fopen(filename, "a")) != NULL) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:114:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char addr[16];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:121:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[4];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:274: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(result, res, sizeof(struct hostent));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:300: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(result, res, sizeof(struct servent));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:394: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 ((*pat)->addr, h->h_addr_list[i],		\
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:455: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 ((*pat)->addr, h->h_addr_list[i],		\
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:478: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(result, res, sizeof(struct hostent));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:697: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(at->addr, &__in6addr_loopback, sizeof(struct in6_addr));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:723:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:807: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(&sin6p->sin6_addr, at2->addr, sizeof(struct in6_addr));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:821:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy(&sinp->sin_addr, at2->addr, sizeof(struct in_addr));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:1008: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 tmp[sizeof("255.255.255.255") + 1] = "\0";
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:1084: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 tmp[4], *tp;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:1112:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(dst, tmp, 4);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1820.c:1367:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( &p_write[2 + (offset - page_offset)], data, size ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1921.c:941:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[3], data, size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1923.c:502:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[3], data, size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1923.c:563:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(data, &p[3], size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1954.c:144:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[2],data,size) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1954.c:162:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(OWQ_buffer(owq), &p[2], size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1954.c:196:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(OWQ_buffer(owq), &p[1], size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1954.c:231:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(OWQ_buffer(owq), &p[2], size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1963.c:159:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[3], data, size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1977.c:254:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[3],data,size) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1977.c:296:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(passwd,pwd,8) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1977.c:299:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(data,&p[3],size) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1977.c:317:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(passwd,pwd,8) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1991.c:203:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( new_password, (BYTE *)OWQ_buffer(owq) , _DS1991_PASSWORD_LENGTH ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1991.c:285:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( &id[OWQ_offset(owq)], OWQ_buffer(owq), OWQ_size(owq) ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1991.c:413: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 convert_text[ text_length + 1 ] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:585:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&pn_copy, PN(owq), sizeof(struct parsedname));	//shallow copy
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:604:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&pn_copy, PN(owq), sizeof(struct parsedname));	//shallow copy
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:913:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pn->sn, tai->reader, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:915:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pn->sn, tai->writer, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:922:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pn->sn, tai->reader, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:924:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pn->sn, tai->writer, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:933:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pn->sn, tai->writer, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:949:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pn->sn, tai->writer, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:966:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pn->sn, tai->reader, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:997:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pn->sn, tai->writer, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:1080:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tai->master, pn->sn, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:1091:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tai->sibling, &data[1], 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:1093: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(tai->writer, tai->master, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:1094: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(tai->reader, tai->sibling, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:1096: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(tai->reader, tai->master, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:1097: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(tai->writer, tai->sibling, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:1122:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pn->sn, tai->master, 8);	// restore original for cache
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2408.c:671:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(data, &p[3], 6);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2423.c:206:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[3], data, size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2433.c:168:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[3], data, size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2433.c:225:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[3 + pageoff], data, size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2438.c:239:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((BYTE *) OWQ_buffer(owq), &data[OWQ_offset(owq)], OWQ_size(owq));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2438.c:251: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(&data[OWQ_offset(owq)], (BYTE *) OWQ_buffer(owq), OWQ_size(owq));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2438.c:832:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(p, data, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2502.c:213:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(data, q, size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2760.c:1349:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( data, &resp[1], 5 ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2760.c:1360:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( data, &resp[1], 5 ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2804.c:318:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[3], data, size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2810.c:267:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[3],data,size) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2810.c:309:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(passwd,pwd,8) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2810.c:312:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(data,&p[3],size) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2810.c:330:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(passwd,pwd,8) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2810.c:380:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(secret, &p[1], 8) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2810.c:399:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(data, &p[3], 4) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:28:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	alias_file_pointer = fopen(file, "r");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:164: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( pn_copy, pn, sizeof(struct parsedname) ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_api.c:55:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		Globals.error_level = atoi(params);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_api.c:64:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		Globals.error_print = atoi(params);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_avahi_announce.c:86:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[63] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bae.c:1107: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 mask[255],*pt; 
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bae.c:1143: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 mask[255],*pt;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bae.c:1390: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 v[6];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bae.c:1433: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 t[6];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bae.c:1589:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[2], data, size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bae.c:1722:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(p+4, wparam, wlen);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bae.c:1741:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(p+3, wparam, wlen);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bae.c:1791: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(rparam,p+3, rlen);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bae.c:1888:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(data, &p[4], size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bae.c:1905:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[4], data, size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bae.c:1979:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[3], data, 32 ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bae.c:1996:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[3], data, 32 ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_browse.c:39: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 service[11] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_browse_resolve.c:55:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char addr_name[128] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:223: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 b[26];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:318:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&old_avg, &new_avg, sizeof(struct average));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:428: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(TREE_DATA(tn), data, datasize);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:486: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(TREE_DATA(tn), db->snlist, size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:550:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(TREE_DATA(tn), &bus_nr, sizeof(int));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:589: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(TREE_DATA(tn), data, datasize);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:621:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((ASCII *)TREE_DATA(tn), name, size+1 ); // includes NULL
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1051:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy( alias_name, (ASCII *)TREE_DATA(opaque->key), opaque->key->dsize+1 ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1094:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy(data, TREE_DATA(opaque->key), dsize[0]);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1125: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(data, TREE_DATA(opaque->key), dsize[0]);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1209: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((ASCII *)TREE_DATA(tn), alias_name, size+1); // includes NULL
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1409:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(tn->tk.sn, sn, SERIAL_NUMBER_SIZE);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1426: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 SN_address[SERIAL_NUMBER_SIZE*2] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1482:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( ALIAS_TREE_DATA(atn), alias_name, datasize + 1 ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1534:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( atn->sn, sn, SERIAL_NUMBER_SIZE ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1535:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( ALIAS_TREE_DATA(atn), alias_name, datasize+1 ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1576:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( ALIAS_TREE_DATA(atn), alias_name, datasize+1 ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1625:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( ALIAS_TREE_DATA(atn), alias_name, datasize+1 ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1639: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( sn, ((struct alias_tree_node *)(opaque->key))->sn, SERIAL_NUMBER_SIZE ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1664:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( ALIAS_TREE_DATA(atn), alias_name, datasize+1 ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_charblob.c:83:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&cb->blob[cb->used], a, s);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cmciel.c:323:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(data, q, 2);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_connect.c:99:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(new_in, old_in, len);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_connect.c:142:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(new_pin, old_pin, len);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_daemon.c:49:8:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
	pid = vfork();
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_daemon.c:79:8:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
	pid = vfork();
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_daemon.c:101:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (dup(dup(open("/dev/null", O_APPEND))) == -1) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_devicelock.c:98:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(local_devicelock->sn, pn->sn, SERIAL_NUMBER_SIZE);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:306: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( &(dacs_next.pn_directory), &(dacs->pn_directory), sizeof(struct parsedname));	// shallow copy
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:340:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( &(dacs.pn_directory), pn_directory, sizeof(struct parsedname));	// shallow copy
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:359: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 subdir_name[OW_FULLNAME_MAX + 1];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:460: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 subdir_name[OW_FULLNAME_MAX + 1];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:576:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char dev[PROPERTY_LENGTH_ALIAS + 1];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:642:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char dev[PROPERTY_LENGTH_ALIAS + 1];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:698: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(pn_directory->sn, pn_directory->bp[pn_directory->ds2409_depth].sn, SERIAL_NUMBER_SIZE-1);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:736:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char dev[PROPERTY_LENGTH_ALIAS + 1];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:781:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pn_type_device, pn_type_directory, sizeof(struct parsedname));	// shallow copy
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:829:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pn_external_device, pn_external_directory, sizeof(struct parsedname));	// shallow copy
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:849: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 bus[OW_FULLNAME_MAX];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dirblob.c:97:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&(db->snlist[DIRBLOB_ELEMENT_LENGTH * db->devices]), sn, DIRBLOB_ELEMENT_LENGTH);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dirblob.c:107:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(sn, &(db->snlist[DIRBLOB_ELEMENT_LENGTH * device_index]), DIRBLOB_ELEMENT_LENGTH);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dirblob.c:145:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(db->snlist, snlist, size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dnssd.c:53: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 libdirs[3][80] = {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds1wm.c:144: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).
	mem_fd = open( mem_device, O_RDWR | O_SYNC ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds1wm.c:381:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ds->sn, sn, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds2482.c:229:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char dev_name[128] ; // room for /dev/name
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds2482.c:281:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char dev_name[128] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds2482.c:380:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file_descriptor = open(i2c_device, O_RDWR);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds2482.c:459:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	file_descriptor = open(ap.first.alpha, O_RDWR );
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds9097U.c:913:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ds->sn, sn, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds9097U.c:1129: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( &cmd_plus[1], cmd, len ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds9490.c:799:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(discrepancy, ds->sn, SERIAL_NUMBER_SIZE);	/* set buffer to zeros */
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds9490.c:858:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( data, const_data, len ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_eds.c:1324:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[3], data, size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_eds.c:1360:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&p[3], data, size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_eeef.c:453:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char v[_EEEF_version_length];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_eeef.c:745:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy( data, OWQ_buffer(owq), len ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_elabnet.c:123:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp[MAX_PBM_VERSION_LENGTH+1];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_elabnet.c:199: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 version_string[MAX_PBM_VERSION_LENGTH+1] = {0};
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_elabnet.c:313: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 resp[1+in->CRLF_size];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_elabnet.c:427: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 resp[3+in->CRLF_size];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_elabnet.c:477: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 resp[DEVICE_LENGTH+COMMA_LENGTH+PLUS_LENGTH+in->CRLF_size];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_enet_discover.c:216: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 response_buffer[RESPONSE_BUFFER_LENGTH] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_enet_discover.c:232:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char enet_ip[ENET_PARAM_SIZE] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_enet_discover.c:233:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char enet_port[ENET_PARAM_SIZE] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_etherweather.c:74:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( &packet[2], idata, datalen);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_etherweather.c:148:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(sendbuf, ds->sn, SERIAL_NUMBER_SIZE);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_etherweather.c:167:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ds->sn, sendbuf, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_exec.c:88: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 * argv[argc+1] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_fake.c:169:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[20] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_fakeread.c:152: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(&OWQ_array(owq)[extension], &OWQ_val(owq_single), sizeof(union value_object));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_find_external.c:31:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char other[0] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_find_external.c:56:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char other[0] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_find_external.c:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char other[0] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_fs_alias.c:47:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( alias_name, OWQ_buffer(owq), size ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_get.c:62:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( data_copy, data, size ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha5.c:287: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( &mod_buffer[2], raw_string, length ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha5.c:480: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 resp[20];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha5.c:547: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( in->remembered_sn, sn, SERIAL_NUMBER_SIZE ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha5.c:588: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 send_address[16] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha5.c:589: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 resp_address[19] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha5.c:626:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( in->remembered_sn, pn->sn, SERIAL_NUMBER_SIZE) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha5.c:634: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 send_data[2+2*size] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha5.c:635: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 get_data[32*2+3] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:306:2:  [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(full_command, "GET /1Wire/");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:308:2:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	strcat(full_command, ".html");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:312:3:  [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(full_command, "Address=");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:319:3:  [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(full_command, "Conditional=");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:326:3:  [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(full_command, "Data=");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:332:3:  [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(full_command, "LockID=");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:336:2:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	strcat(full_command, " HTTP/1.0\n\n");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7e.c:163: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 resp[17];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7e.c:215: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( pn->selected_connection->remembered_sn, sn, SERIAL_NUMBER_SIZE) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7e.c:248: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 send_address[18] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7e.c:249: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 resp_address[17] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7e.c:287:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( pn->selected_connection->remembered_sn, pn->sn, SERIAL_NUMBER_SIZE) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7e.c:295: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 send_data[1+2+32*2+1] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7e.c:296: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 get_data[32*2+1] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ie_switch_master.c:591:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(temp, data + port * bytes_per_port, bytes_per_port);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_infernoembedded.c:371:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(device->address, pn->sn, SERIAL_NUMBER_SIZE);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_inotify.c:48: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 buffer[buffer_len] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_interface.c:483: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 res[64];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_interface.c:485: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(res, "%d.%3.3d", majorvers, minorvers);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_interface.c:495: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 res[256] = {0};
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_interface.c:517:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&cmd_string[2], OWQ_buffer(owq), size ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_interface.c:564: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 res[256];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_interface.c:565: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 buffer[ DS9490_getstatus_BUFFER_LENGTH + 1 ];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_interface.c:572: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(res, "DS9490_getstatus failed: %d\n", ret);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_interface.c:574: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(res,
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_k1wm.c:150: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).
	mem_fd = open( mem_device, O_RDWR | O_SYNC ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_k1wm.c:358:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ds->sn, sn, 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_k1wm.c:496: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 uio_map_offset_file[path_length];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_k1wm.c:500: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).
	file = fopen(uio_map_offset_file, "r");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_k1wm.c:529: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 uio_map_size_file[path_length];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_k1wm.c:533: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).
	file = fopen(uio_map_size_file, "r");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_kevent.c:38:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open( filename, O_EVTONLY ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_kevent.c:41:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open( filename, O_RDONLY) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_lcd.c:245: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 line[width];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_lcd.c:256:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&line[start], OWQ_buffer(owq), size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_lcd.c:451:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&location_and_buffer[1], data, size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_lcd.c:486:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&location_and_string[1], text, length);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_lib_stop.c:21: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 *argv[1] = { NULL };
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_link.c:104: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 verstring[36];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_link.c:105:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[30];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_link.c:417: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 version_string[MAX_LINK_VERSION_LENGTH+1] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_link.c:657: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 resp[3+in->CRLF_size];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_link.c:730: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 resp[DEVICE_LENGTH+COMMA_LENGTH+PLUS_LENGTH+in->CRLF_size];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_locator.c:73:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(loc, &addr[2], SERIAL_NUMBER_SIZE);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_masterhub.c:402: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 send_address[16] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_masterhub.c:403: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 resp[22] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_masterhub.c:445: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 send_address[16] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_masterhub.c:446: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 resp[22] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_masterhub.c:529: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 send_string[250] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_masterhub.c:536: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 send_string[250] = { cmd, } ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_masterhub.c:579:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( &send_string[length_so_far], data, length ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_masterhub.c:709:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy( data, &buffer[2], length ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_masterhub.c:719:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( data, &buffer[2], maxlength ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_memblob.c:136: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(&(mb->memory_storage[used]), data, length);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_memory.c:99:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(OWQ_buffer(owq), &p[3], size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_memory.c:133:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(OWQ_buffer(owq), &p[3], OWQ_size(owq));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_memory.c:153:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(extra, &p[3 + _1W_Throw_Away_Bytes], 8);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_multicast.c:32: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 signature[2] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_multicast.c:36: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 serial_num[12] ; // MAC
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_multicast.c:37: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 dev_name[64] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_net_server.c:352:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[2] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_opt.c:513:37:  [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 *configuration_file_pointer = fopen(file, "r");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_address.c:83:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		ae->number = atoi(ae->alpha ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:632:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char other[0] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:649:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char other[0] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:669:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char other[0] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_sn.c:74:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char ID[2] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseinput.c:119:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char default_input_buffer[DEFAULT_INPUT_BUFFER_LENGTH + 1];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseinput.c:133:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(input_buffer, OWQ_buffer(owq), OWQ_size(owq));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseinput.c:181:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char default_input_buffer[DEFAULT_INPUT_BUFFER_LENGTH + 1];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseinput.c:193:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(input_buffer, OWQ_buffer(owq), OWQ_size(owq));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseinput.c:215: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 default_input_buffer[DEFAULT_INPUT_BUFFER_LENGTH + 1];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseinput.c:227:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(input_buffer, OWQ_buffer(owq), OWQ_size(owq));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseinput.c:250: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 default_input_buffer[DEFAULT_INPUT_BUFFER_LENGTH + 1];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseinput.c:264:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(input_buffer, OWQ_buffer(owq), OWQ_size(owq));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseinput.c:301: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 default_input_buffer[DEFAULT_INPUT_BUFFER_LENGTH + 1];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseinput.c:315:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(input_buffer, OWQ_buffer(owq), OWQ_size(owq));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseinput.c:414: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(&(OWQ_array(owq)[extension]), &OWQ_val(owq_single), sizeof(union value_object));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:27: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 pathcpy[PATH_MAX+1];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:420:48:  [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).
		INDEX_OR_ERROR bus_number = (INDEX_OR_ERROR) atoi(orm.match[1]) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:588: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 augmented_segment[ segment_length + 2 ] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:821:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				pn->extension = atoi( &orm.match[0][1] );	/* Number conversion */
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:852:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				pn->extension = atoi( &orm.match[0][1] );	/* Number conversion */
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:907:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pn->bp[pn->ds2409_depth].sn, pn->sn, SERIAL_NUMBER_SIZE);	/* copy over DS2409 name */
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:960:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[2] = { 'A'+extension, 0x00, } ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:963:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char name[OW_FULLNAME_MAX];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:974:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[OW_FULLNAME_MAX];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseobject.c:55:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[PATH_MAX] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseobject.c:79:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
				strcpy( aggregate_point, ".BYTE" ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseobject.c:81:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
				strcpy( aggregate_point, ".ALL" ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseobject.c:124:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( PN(owq_sep), PN(owq_aggregate), sizeof(struct parsedname) ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseobject.c:148:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( PN(owq_all), PN(owq_single), sizeof(struct parsedname) ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseobject.c:290:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( buffer_copy, write_buffer, buffer_length) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseoutput.c:113:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char c[PROPERTY_LENGTH_INTEGER + 2];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseoutput.c:133:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char c[PROPERTY_LENGTH_UNSIGNED + 2];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseoutput.c:153: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 c[PROPERTY_LENGTH_FLOAT + 2];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseoutput.c:186: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 c[PROPERTY_LENGTH_DATE + 2];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseoutput.c:249:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(OWQ_buffer(owq), &string[offset], copy_length);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseoutput.c:280: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(&OWQ_val(&owq_single), &OWQ_array(owq)[extension], sizeof(union value_object));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseshallow.c:22:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(PN(owq_temporary), pn, sizeof(struct parsedname));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_pid.c:27: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 *pid = fopen(pid_file, "w+");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_presence.c:243:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pn_copy, pn, sizeof(struct parsedname));	// shallow copy
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_printparse.c:19: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 c[32];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_read.c:175:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(owq_given, owq, sizeof(struct one_wire_query));	// shallow copy
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_read.c:446: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 structure_text[PROPERTY_LENGTH_STRUCTURE+1] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_read.c:689:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy( buffer_pointer, OWQ_buffer(owq_part), part_length ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_read.c:696: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(&OWQ_array(owq_all)[extension], &OWQ_val(owq_part), sizeof(union value_object));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_read.c:803: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( &OWQ_val(owq_part), &OWQ_array(owq_all)[pn->extension], sizeof(union value_object) );
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_read_external.c:83: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 cmd[PATH_MAX+1] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_regex.c:26:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char e[101];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_regex.c:90: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( orm->pre[i], string, s ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_regex.c:94: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( orm->match[i], &string[s], l ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_regex.c:98: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( orm->post[i], &string[e], len-e+1 ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_remote_alias.c:73: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(pn_copy, pn, sizeof(struct parsedname));	// shallow copy
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_remote_alias.c:76: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( sn, pn_copy->sn, SERIAL_NUMBER_SIZE );
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_remote_alias.c:118: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( ras->sn, ras_next.sn, SERIAL_NUMBER_SIZE ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_remote_alias.c:154: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( ras->sn, ras_next.sn, SERIAL_NUMBER_SIZE ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_remote_alias.c:174:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( pn->sn, ras.sn, SERIAL_NUMBER_SIZE ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_select.c:99:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(in->branch.sn, pn->bp[ds2409_depth - 1].sn, SERIAL_NUMBER_SIZE);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_select.c:184:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&sent[1], bp->sn, SERIAL_NUMBER_SIZE);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_select.c:224:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&sent[1], pn->sn, SERIAL_NUMBER_SIZE);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_serial_free.c:34: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( pin->init_data, O_RDWR | O_NONBLOCK | O_NOCTTY ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_serial_open.c:33:32:  [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).
	FILE_DESCRIPTOR_OR_ERROR fd = open( DEVICENAME(connection), O_RDWR | O_NONBLOCK | O_NOCTTY) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_enet.c:225: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 cmd_response[1+in->CRLF_size] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_enet.c:325: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 resp[DEVICE_LENGTH+in->CRLF_size];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_enet.c:397: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( in->remembered_sn, sn, SERIAL_NUMBER_SIZE) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_enet.c:432:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char send_address[SERIAL_NUMBER_SIZE*2+1] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_enet.c:443: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( in->remembered_sn, pn->sn, SERIAL_NUMBER_SIZE) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_enet.c:455: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 cmd_response[1+in->CRLF_size] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_enet.c:478:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char full_buffer[ENET2_FIFO_SIZE+4] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_enet.c:511: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 send_data[ENET_FIFO_SIZE+1] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_enet.c:512: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  get_data[ENET_FIFO_SIZE+4] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_message.c:130: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( pn_file_entry->sn, serial_number, SERIAL_NUMBER_SIZE ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_message.c:384:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char BigBuffer[path_length + 12];
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_sibling_binary.c:60:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy( data, OWQ_buffer(owq_sibling), size[0] ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_size.c:48: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( &pn2, pn , sizeof( struct parsedname ) ) ; /*shallow copy */
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_size.c:83: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( &pn2, pn , sizeof( struct parsedname ) ) ; /*shallow copy */
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_system.c:115:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char ver[VERSION_LENGTH+1] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_temp.c:15:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *tempscale[4] = {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_testerread.c:94: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(&return_chars[buffer_index], address, copy_length);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_testerread.c:112: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(&return_chars[buffer_index], pn->sn, copy_length);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_testerread.c:165: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(&OWQ_array(owq)[extension], &OWQ_val(owq_single), sizeof(union value_object));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_transaction.c:212:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&pn2, pn, sizeof(struct parsedname));	//shallow copy
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_tree.c:280:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_usb_cycle.c:127:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(in->master.usb.ds1420_address, sn, SERIAL_NUMBER_SIZE);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_usb_cycle.c:139:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(in->master.usb.ds1420_address, sn, SERIAL_NUMBER_SIZE);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_usb_cycle.c:149:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(in->master.usb.ds1420_address, sn, SERIAL_NUMBER_SIZE);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1.c:213:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( w1m.id.id, pn->sn, 8) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1.c:236: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( ts->resp, nlp->data, nlp->data_size ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_addremove.c:27:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[63] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_dispatch.c:113:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( nlp_copy, nlp, sizeof(struct netlink_parse) ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_dispatch.c:115:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( nlp_copy->follow, nlp->nlm, nlp->nlm->nlmsg_len ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_parse.c:172:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( nlm, &peek_nlm, W1_NLM_LENGTH ) ; // copy header
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_send.c:113:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(w1m, msg, W1_W1M_LENGTH);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_send.c:122: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(w1c, cmd, W1_W1C_LENGTH); // set command
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_send.c:126: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(pdata, data, data_size);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_write.c:293: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( &(ss_next.owq), &(ss->owq), sizeof(struct one_wire_query));	// shallow copy
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_write.c:322: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( &(ss_next.owq), &(ss->owq), sizeof(struct one_wire_query));	// shallow copy
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_write.c:344: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( &(ss.owq), owq, sizeof(struct one_wire_query));	// shallow copy
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_write.c:565: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(&OWQ_array(owq_all)[pn->extension], &OWQ_val(owq_part), sizeof(union value_object));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_write.c:626:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(&OWQ_val(owq_part), &OWQ_array(owq_all)[extension], sizeof(union value_object));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_write_external.c:83: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 cmd[PATH_MAX+1] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_zero.c:68:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[63] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/sd-daemon.c:393: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 fpath[PATH_MAX];
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_connection_in.h:160: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 remembered_sn[SERIAL_NUMBER_SIZE] ;       /* last address */
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_connection_out.h:54:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char avahi_host[INET6_ADDRSTRLEN+1] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_connection_out.h:56:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char avahi_host[INET_ADDRSTRLEN+1] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_connection_out.h:58: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 avahi_service[10] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_detect.h:80:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[0] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_dnssd.h:1614: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 PrivateData[16];
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_dnssd.h:1999: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 assert0[(sizeof(union _TXTRecordRef_t) == 16) ? 1 : -1];
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_external.h:52: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 payload[0] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_external.h:65: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 payload[0] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_external.h:71: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 payload[0] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_master.h:199: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 host[INET6_ADDRSTRLEN+1] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_master.h:201: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 host[INET_ADDRSTRLEN+1] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_master.h:203: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 service[10] ;
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_message.h:65:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char text[120];
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_parsedname.h:129:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[2*PATH_MAX+2];				// full device name
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_parsedname.h:130: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 path_to_server[PATH_MAX+2];			// path without first bus
data/owfs-3.2p4+dfsg1/module/owlib/tests/check_ow_parseinput.c:31: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[20];
data/owfs-3.2p4+dfsg1/module/owlib/tests/check_ow_parseinput.c:43: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[20];
data/owfs-3.2p4+dfsg1/module/owlib/tests/check_ow_parseinput.c:44:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf, "aaa", 3);
data/owfs-3.2p4+dfsg1/module/owlib/tests/check_ow_parseinput.c:63: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[20];
data/owfs-3.2p4+dfsg1/module/owlib/tests/check_ow_parseinput.c:64:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf, "aaa,bbb,ccc,ddd", 15);
data/owfs-3.2p4+dfsg1/module/owlib/tests/check_ow_parseinput.c:86: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[200];
data/owfs-3.2p4+dfsg1/module/owlib/tests/check_ow_parseinput.c:88:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf,
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:71: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[MAXLINE + 3];
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:72: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 format[MAXLINE + 3];
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:93:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char format[MAXLINE + 3];
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:94: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[MAXLINE + 3];
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:165: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 format[MAXLINE + 1];
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:166:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[MAXLINE + 1];
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:230:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char filename[64];
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/error.c:232: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).
		if((fp = fopen(filename, "a")) != NULL) {
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:114:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char addr[16];
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:121:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[4];
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:274: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(result, res, sizeof(struct hostent));
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:300: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(result, res, sizeof(struct servent));
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:394: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 ((*pat)->addr, h->h_addr_list[i],		\
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:455: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 ((*pat)->addr, h->h_addr_list[i],		\
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:478: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(result, res, sizeof(struct hostent));
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:697: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(at->addr, &__in6addr_loopback, sizeof(struct in6_addr));
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:723:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"];
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:807: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(&sin6p->sin6_addr, at2->addr, sizeof(struct in6_addr));
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:821:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy(&sinp->sin_addr, at2->addr, sizeof(struct in_addr));
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:1008: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 tmp[sizeof("255.255.255.255") + 1] = "\0";
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:1084: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 tmp[4], *tp;
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:1112:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(dst, tmp, 4);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_charblob.c:104:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(&cb->blob[cb->used], a, s);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_dnssd.c:44: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 libdirs[3][80] = {
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_dnssd.c:69:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char file[255];
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_dnssd.c:70:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(file, "dnssd.dll");
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_dnssd.c:80: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 libdirs[2][80] = {
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_dnssd.c:103: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 libdirs[3][80] = {
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ownet_present.c:19: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 buffer[MAX_READ_BUFFER_SIZE];
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ownet_read.c:19: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 buffer[MAX_READ_BUFFER_SIZE];
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ownet_read.c:45:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(*return_string, buffer, return_value);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/example/ownet_rep_test.c:58:20:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					number_reps = atol( argv[argc_index] ) ;
data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_dnssd.h:1629:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char PrivateData[16];
data/owfs-3.2p4+dfsg1/module/ownet/c/src/include/ow_dnssd.h:2015: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 assert0[(sizeof(union _TXTRecordRef_t) == 16) ? 1 : -1];
data/owfs-3.2p4+dfsg1/module/owserver/src/c/data.c:136:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy( retbuffer, pn->sn, SERIAL_NUMBER_SIZE ) ;
data/owfs-3.2p4+dfsg1/module/owserver/src/c/md5.c:88: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(msg, initial_msg, initial_len);
data/owfs-3.2p4+dfsg1/module/owserver/src/c/owserver.c:120:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char args[ARG_STRING_LENGTH+1] ;
data/owfs-3.2p4+dfsg1/module/owserver/src/c/owserver.c:148:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( Globals.Token.uuid, (void *) &data_struct, 16 ) ;
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:114:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char addr[16];
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:121:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[4];
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:274: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(result, res, sizeof(struct hostent));
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:300: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(result, res, sizeof(struct servent));
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:394: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 ((*pat)->addr, h->h_addr_list[i],		\
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:455: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 ((*pat)->addr, h->h_addr_list[i],		\
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:478: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(result, res, sizeof(struct hostent));
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:697: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(at->addr, &__in6addr_loopback, sizeof(struct in6_addr));
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:723:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"];
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:807: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(&sin6p->sin6_addr, at2->addr, sizeof(struct in6_addr));
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:821:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy(&sinp->sin_addr, at2->addr, sizeof(struct in_addr));
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:1008: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 tmp[sizeof("255.255.255.255") + 1] = "\0";
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:1084: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 tmp[4], *tp;
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:1112:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(dst, tmp, 4);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_dnssd.c:44: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 libdirs[3][80] = {
data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_dnssd.c:69:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char file[255];
data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_dnssd.c:70:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(file, "dnssd.dll");
data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_dnssd.c:80: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 libdirs[2][80] = {
data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_dnssd.c:103: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 libdirs[3][80] = {
data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_server.c:43: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[size + 1];
data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_server.c:281:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char extra[d];
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owusbprobe.c:59: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 manufacturer[255], description[255];
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owusbprobe.c:63:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char serial[255];
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owusbprobe.c:64:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char tty_name[255];
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owusbprobe.c:265:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char addr[255];
data/owfs-3.2p4+dfsg1/module/owtcl/ow.c:85: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[ErrBufSize];
data/owfs-3.2p4+dfsg1/module/owtcl/ow.c:412: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[128], *arg;
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:145: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 ttyname[PATH_MAX] = "";	// pseudo-tty slave name
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:176: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).
			outfile = fopen(optarg, "w");
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:203:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((devfd = open(devname, O_RDWR | O_NOCTTY | O_NONBLOCK)) < 0)
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:252: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 inbuf[BUFLEN];
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:253: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 outbuf[BUFLEN];
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:300:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[BUFLEN];
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:312:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[BUFLEN];
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:349: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 inbuf[BUFLEN];
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:350: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 outbuf[BUFLEN];
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:398:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[BUFLEN];
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:410:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[BUFLEN];
data/owfs-3.2p4+dfsg1/src/sniffer/xt.c:143: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 ttyname[PATH_MAX] = "";	// pseudo-tty slave name
data/owfs-3.2p4+dfsg1/src/sniffer/xt.c:241:14:  [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).
			stopbit = atoi(optarg);
data/owfs-3.2p4+dfsg1/src/sniffer/xt.c:251: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).
			outfile = fopen(optarg, "w");
data/owfs-3.2p4+dfsg1/src/sniffer/xt.c:278:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((devfd = open(devname, O_RDWR | O_NOCTTY | O_NONBLOCK)) < 0)
data/owfs-3.2p4+dfsg1/src/sniffer/xt.c:342: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 inbuf[BUFLEN];
data/owfs-3.2p4+dfsg1/src/sniffer/xt.c:343: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 outbuf[BUFLEN];
data/owfs-3.2p4+dfsg1/src/sniffer/xt.c:391:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[BUFLEN];
data/owfs-3.2p4+dfsg1/src/sniffer/xt.c:403:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[BUFLEN];
data/owfs-3.2p4+dfsg1/module/owcapi/src/example++/owcapiexample.cpp:25:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ( path==NULL || strlen(path)==0) {
data/owfs-3.2p4+dfsg1/module/owcapi/src/example++/owcapiexample.cpp:34:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(fullpath, path, length_left) ;
data/owfs-3.2p4+dfsg1/module/owcapi/src/example++/owcapiexample.cpp:35: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).
    length_left -= strlen(fullpath) ;
data/owfs-3.2p4+dfsg1/module/owcapi/src/example++/owcapiexample.cpp:39:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
            strcat(fullpath, "/" ) ;
data/owfs-3.2p4+dfsg1/module/owcapi/src/example++/owcapiexample.cpp:47:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(&fullpath[PATH_MAX-length_left], name, length_left) ;
data/owfs-3.2p4+dfsg1/module/owcapi/src/example/owcapiexample.c:26:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (path == NULL || strlen(path) == 0) {
data/owfs-3.2p4+dfsg1/module/owcapi/src/example/owcapiexample.c:35:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(fullpath, path, length_left);
data/owfs-3.2p4+dfsg1/module/owcapi/src/example/owcapiexample.c:36: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).
	length_left -= strlen(fullpath);
data/owfs-3.2p4+dfsg1/module/owcapi/src/example/owcapiexample.c:40:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(fullpath, "/");
data/owfs-3.2p4+dfsg1/module/owcapi/src/example/owcapiexample.c:48:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(&fullpath[PATH_MAX - length_left], name, length_left);
data/owfs-3.2p4+dfsg1/module/owfs/src/c/owfs_callback.c:83:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read:CB_read,
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_cd.c:96: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(cps->buffer) + strlen(oldrest) + 4 > PATH_MAX) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_cd.c:96:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if (strlen(cps->buffer) + strlen(oldrest) + 4 > PATH_MAX) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_cd.c:101:7:  [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(cps->buffer, "/");
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_cd.c:112:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (cps->rest && (strlen(cps->buffer) + strlen(cps->rest) + 4 > PATH_MAX)) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_cd.c:112: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).
			if (cps->rest && (strlen(cps->buffer) + strlen(cps->rest) + 4 > PATH_MAX)) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_cd.c:117:5:  [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(cps->buffer, "/");
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_cd.c:138:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (cps->rest && (strlen(cps->buffer) + strlen(cps->rest) + 4 > PATH_MAX)) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_cd.c:138: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).
			if (cps->rest && (strlen(cps->buffer) + strlen(cps->rest) + 4 > PATH_MAX)) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_cd.c:186: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(cps->buffer) + OW_FULLNAME_MAX + 2 > PATH_MAX) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_cd.c:202: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).
		wlcd.end = &cps->buffer[strlen(cps->buffer)];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:98: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).
			fps->start = strlen(fps->buffer);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:133: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).
				fps->start = strlen(fps->buffer);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:161: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(fps->buffer) + strlen(oldrest) + 4 > PATH_MAX) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:161:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if (strlen(fps->buffer) + strlen(oldrest) + 4 > PATH_MAX) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:166:7:  [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(fps->buffer, "/");
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:178: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(fps->buffer) + strlen(fps->rest) + 4 > PATH_MAX ) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:178:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if ( strlen(fps->buffer) + strlen(fps->rest) + 4 > PATH_MAX ) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:183:6:  [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(fps->buffer, "/");
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:189: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).
					fps->start = strlen(fps->buffer) + 1;
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:210:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (fps->rest && (strlen(fps->buffer) + strlen(fps->rest) + 4 > PATH_MAX)) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:210: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).
			if (fps->rest && (strlen(fps->buffer) + strlen(fps->rest) + 4 > PATH_MAX)) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:260: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(fps->buffer) + OW_FULLNAME_MAX + 2 > PATH_MAX) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/file_list.c:277: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).
		wlp.end = &fps->buffer[strlen(fps->buffer)];
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_command.c:77:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strncasecmp(input, command_def[match].name, strlen(command_def[match].name)) == 0) {
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_command.c:82: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).
			input += strlen(command_def[match].name);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_listener.c:68: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).
		newname = owmalloc(8 + strlen(oldname) + 1); // "0.0.0.0:" + null-char.
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_listener.c:114:2:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	strcpy(f->dir, "/");
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_listener.c:168: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).
	dir_len = strlen(f->dir);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:100: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).
	daemon_assert(strlen(dir) <= PATH_MAX);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:152: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).
	daemon_assert(strlen(dir) < sizeof(f->dir));
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:153:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(f->dir, dir, sizeof(f->dir) - 1);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:206:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(buf);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:210:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				len = strlen(buf);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:275:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(f->client_addr_str);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:387:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(buf);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:463:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(f->dir, cps.dir, PATH_MAX);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:885: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).
		daemon_assert(strlen(file) < fname_len);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:891: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).
		daemon_assert(strlen(dir) + 1 + strlen(file) < fname_len);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:891: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).
		daemon_assert(strlen(dir) + 1 + strlen(file) < fname_len);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:892:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(fname, dir, fname_len - 1);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:896:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(fname, "/");
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/ftp_session.c:1478:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ignore_result = read(file_descriptor, &c, 1); // ignore warning
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/telnet_session.c:80:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(s);
data/owfs-3.2p4+dfsg1/module/owftpd/src/c/telnet_session.c:228:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read_ret = read(t->in_fd, buf, max_input_read(t));
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_dir.c:28: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).
	int i = strlen(path) - 1;
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_escape.c:56: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).
	escaped_p = escaped_string = owmalloc( strlen(original_string)*3 + 1 ) ;
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_handler.c:199:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t req_leng = strlen(up->request) ;
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_handler.c:200:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t fil_leng = strlen(up->file) ;
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_handler.c:220: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).
		OWQ_assign_write_buffer( up->value, strlen(up->value), 0, owq_write ) ;
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_handler.c:301: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).
			int l = strlen( extension ) ;
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_read.c:68:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (ft->read != NO_READ_FUNCTION) {
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_read.c:221:7:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	if ( sscanf( structure_details, "%c,%d,%d,%2s,%d,", &format_type, &extension, &elements, rw, &size ) < 5 ) {
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_read.c:355:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (ft->read != NO_READ_FUNCTION) {
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_read.c:479:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (ft->read != NO_READ_FUNCTION) {
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_read.c:515:7:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	if ( sscanf( structure_details, "[\"%c\",\"%d\",\"%d\",\"%2s\",\"%d\",", &format_type, &extension, &elements, rw, &size ) < 5 ) {
data/owfs-3.2p4+dfsg1/module/owhttpd/src/c/owhttpd_write.c:45: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).
			OWQ_size(owq) = strlen(value_string);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:206: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).
					 ? (strlen(utsname.nodename) + 1) : 0));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:229: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(service->name) >= sizeof(sunp->sun_path))
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:234:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(P_tmpdir "/") + 1 + strlen(service->name) >= sizeof(sunp->sun_path))
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:234: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 (strlen(P_tmpdir "/") + 1 + strlen(service->name) >= sizeof(sunp->sun_path))
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:770: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).
				namelen = strlen(c) + 1;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getaddrinfo.c:1032: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(tmp) > size) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getline.c:59:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      register int c = getc (stream);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getopt.c:439: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).
					== (UINT) strlen(p->name)) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getopt.c:458: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).
			nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getopt.c:487: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).
					nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getopt.c:499: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).
					nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getopt.c:504: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).
			nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getopt.c:601: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 ((UINT) (nameend - nextchar) == strlen(p->name)) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getopt.c:619: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).
				nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getopt.c:636: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).
						nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getopt.c:646: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).
						nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/getopt.c:650: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).
				nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1991.c:421:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if ( strlen( text ) > text_length ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_1991.c:426: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).
	strcpy( & convert_text[ text_length - strlen(text) ] , text ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_2406.c:942: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).
	size_t len = strlen((ASCII *) cmd);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:44: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(sn_char)>0 ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:60: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).
			size_t len = strlen(name_char) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:100:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for ( len = strlen(name) ; len > 0 && name[len-1]==' ' ; ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:175:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if ( PATH_MAX < strlen(pn_copy->path) + strlen(path_segment) ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:175: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).
			if ( PATH_MAX < strlen(pn_copy->path) + strlen(path_segment) ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:189:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					if ( PATH_MAX < strlen(pn_copy->path) + strlen(name) ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:189: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 ( PATH_MAX < strlen(pn_copy->path) + strlen(name) ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_alias.c:206:5:  [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( pn_copy->path, "/" ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_avahi_browse.c:134:4:  [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(in->master.browse.host,"Unknown address",sizeof(in->master.browse.host)) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bae.c:1117:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy( mask, pn->selected_filetype->data.a, 254);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_bae.c:1154:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy( mask, pn->selected_filetype->data.a, 254 );
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:606:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t size = strlen(name) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1204: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).
	size = strlen( alias_name ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1465:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t datasize = strlen(alias_name) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1519:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t datasize = strlen(alias_name) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1562:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t datasize = strlen(alias_name) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1611:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t datasize = strlen(alias_name) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_cache.c:1654:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t datasize = strlen(alias_name) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_delay.c:89:2:  [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((unsigned long) len);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:373:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(subdir_name, pn_device_directory->subdir->name, OW_FULLNAME_MAX);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:374:3:  [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(subdir_name, "/");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:375: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).
		subdir_len = strlen(subdir_name);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:471:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(subdir_name, pn_device_directory->subdir->name, OW_FULLNAME_MAX);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:472:3:  [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(subdir_name, "/");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_dir.c:473: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).
		subdir_len = strlen(subdir_name);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds2482.c:432: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).
			DEVICENAME(in) = owmalloc( strlen(i2c_device) + 10 ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ds2482.c:435: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).
				snprintf(DEVICENAME(in), strlen(i2c_device) + 10, "%s:%.2X", i2c_device, trial_address);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_eeef.c:129:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	BYTE read ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_eeef.c:622:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	BYTE cmd = lp->read ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_eeef.c:708:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	BYTE cmd = lp->read ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_enet_discover.c:53: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 (sendto(file_descriptor, message, strlen(message), 0, now->ai_addr, now->ai_addrlen) < 0) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_enet_discover.c:298:97:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	struct enet_member * new = (struct enet_member *) owmalloc( sizeof( struct enet_member ) + 2 + strlen( ip ) + strlen( port ) ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_enet_discover.c:298:112:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	struct enet_member * new = (struct enet_member *) owmalloc( sizeof( struct enet_member ) + 2 + strlen( ip ) + strlen( port ) ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_enet_discover.c:312:2:  [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( new->name, ":" ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_example_slave.c:230: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).
	OWQ_U(owq) = strlen( pn->sparse_name ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_fstat.c:90:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (pn->selected_filetype->read != NO_READ_FUNCTION) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ftdi.c:95: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(target) < 2) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ftdi.c:194:2:  [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(100000);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ftdi.c:204:2:  [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(400000);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ftdi.c:442:4:  [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(min(timeleft, (retries < 10) ? 200 : 1000));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ftdi.c:537:4:  [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(min(timeleft, 200));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_get.c:35: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).
	CharblobAdd( buf, strlen(buf), cb ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha5.c:128:6:  [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(DEVICENAME(in), ":") ; // subset so will fit
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:294: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).
	probable_length = 11 + strlen(ha7->command) + 5 + ((ha7->address[0]) ? 1 + 8 + 16 : 0)
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:311:3:  [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(full_command, "?" ); // first (if exists)
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ha7.c:327: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).
		bytes2string(&full_command[strlen(full_command)], ha7->data, ha7->length);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_iblss.c:177:56:  [1] (buffer) strlen:
  Does not handle 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 OWQ_format_output_offset_and_size((ASCII *) v, strlen((ASCII *) v), owq);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_iblss.c:192:4:  [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(s, "TH", sizeof(s));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_iblss.c:197:56:  [1] (buffer) strlen:
  Does not handle 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 OWQ_format_output_offset_and_size((ASCII *) s, strlen((ASCII *) s), owq);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_ie_firmware_updater.c:373:4:  [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(100000);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_inotify.c:49:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ( read( inotify_fd, buffer, buffer_len ) < 0 ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_masterhub.c:582:2:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	strcpy( &send_string[length_so_far], "\r" ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_net_server.c:353:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			ignore_result = read( shutdown_pipe[fd_pipe_read],buf,1) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_opt.c:333: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).
	option_name_length = strlen(lp->opt);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_opt.c:709:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (arg == NULL || strlen(arg) == 0) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_opt.c:718:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (arg == NULL || strlen(arg) == 0) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_address.c:145: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).
		ap->second.alpha = ap->first.alpha + strlen(ap->first.alpha) + 1 ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_address.c:151: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).
			ap->third.alpha = ap->second.alpha + strlen(ap->second.alpha) + 1 ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:113: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).
				new_string_pointer += strlen( quoted_string ) + 1 ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:164: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).
	for ( end_position = return_string + strlen( return_string ) ; end_position >= return_string ; -- end_position ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:198:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				char * unquoted_end = unquoted + strlen(unquoted) -1 ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:216: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 len = strlen(input_string) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:412:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	GetQuotedString( read ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:424:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if ( strlen( s_family ) > 0 && strlen( s_property ) > 0 ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:424:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if ( strlen( s_family ) > 0 && strlen( s_property ) > 0 ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:478:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if ( strlen(s_name) > 0 && strlen(s_family) > 0 ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:478: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).
	if ( strlen(s_name) > 0 && strlen(s_family) > 0 ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:495: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 l_name = strlen(s_name)+1;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:496: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 l_family = strlen(s_family)+1;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:497: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).
	int l_description = strlen(s_description)+1;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:498: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 l_data = strlen(s_data)+1;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:527: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 l_family = strlen(s_family)+1;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:557: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).
	int l_property = strlen( s_property )+1 ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:558: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 l_family = strlen( s_family )+1 ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:559: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 l_read = strlen( s_read )+1 ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:560:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int l_write = strlen( s_write )+1 ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:561: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 l_data = strlen( s_data )+1 ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:562:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int l_other = strlen( s_other )+1 ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:580:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	strcpy( s->read, s_read ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parse_external.c:693:77:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	AddPropertyToTree( s_prop, s_family, ft_ascii, 1, ag_separate, ag_numbers, strlen(s_data), fc_static, "just_print_data", "", s_data, "", et_internal ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:361: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(path) > PATH_MAX) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:366:2:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	strcpy(pn->path, "/"); // initial slash
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:374: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).
	pn->dirlength = strlen(pn->path) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:577:3:  [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( pn->path_to_server, "/" ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:587: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).
	int segment_length = strlen(segment) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.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 alias_len = strlen(filename) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:616:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if ( strlen(pn->path_to_server) + 14 - alias_len <= PATH_MAX ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:626: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).
			memmove( &alias_loc[14], post_alias_loc, strlen(post_alias_loc)+1 ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:933: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).
	fullpath = owmalloc(strlen(file) + strlen(path) + 2);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:933: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).
	fullpath = owmalloc(strlen(file) + strlen(path) + 2);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:938:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (fullpath[strlen(fullpath) - 1] != '/') {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parsename.c:939:3:  [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(fullpath, "/");
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseobject.c:60:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(path, pn_original->path,dirlength) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseobject.c:76:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			char * aggregate_point = path + strlen(path) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_parseoutput.c:223: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).
	return OWQ_parse_output_offset_and_size(string, strlen(string), owq);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_read.c:396:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			return (ft->read) (owq);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_read.c:619:62:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ZERO_OR_ERROR read_error = (OWQ_pn(owq).selected_filetype->read) (owq);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_read_external.c:95:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			property_n->read, // command
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_read_external.c:108:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			property_n->read, // command
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_regex.c:48: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 len = strlen( string ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_enet.c:489:2:  [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( full_buffer, "\r" ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_enet.c:491:56:  [1] (buffer) strlen:
  Does not handle 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 OWServer_Enet_write( BYTE_string(full_buffer), strlen(full_buffer), in ) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_message.c:383: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 path_length = strlen(current_file);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_server_message.c:690: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).
		io[nio].iov_len = strlen(sp->path) + 1; // we're adding the null (though it isn't required post 2.9p3)
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_slurp.c:94:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ( read(file_descriptor, data, 1) < 1 ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_system.c:117:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(ver,VERSION,VERSION_LENGTH) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_tcp_read.c:86:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			read_result = read(file_descriptor, &buffer[*chars_in], to_be_read) ;
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_tcp_read.c:133:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((nread = read(file_descriptor,  buffer, 16)) > 0) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_parse.c:157:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ( read( file_descriptor, &peek_nlm, W1_NLM_LENGTH ) != W1_NLM_LENGTH ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/ow_w1_parse.c:180:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ( read( file_descriptor, NLMSG_DATA(nlm), payload_length ) != (ssize_t) payload_length ) {
data/owfs-3.2p4+dfsg1/module/owlib/src/c/sd-daemon.c:357: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).
                        length = strlen(path);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/sd-daemon.c:402:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(stpcpy(fpath, "/dev/mqueue"), path, sizeof(fpath) - 12);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/sd-daemon.c:452:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(sockaddr.un.sun_path, e, sizeof(sockaddr.un.sun_path));
data/owfs-3.2p4+dfsg1/module/owlib/src/c/sd-daemon.c:459: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).
        iovec.iov_len = strlen(state);
data/owfs-3.2p4+dfsg1/module/owlib/src/c/sd-daemon.c:463: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).
        msghdr.msg_namelen = offsetof(struct sockaddr_un, sun_path) + strlen(e);
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_external.h:58:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	char * read ;
data/owfs-3.2p4+dfsg1/module/owlib/src/include/ow_filetype.h:167:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ZERO_OR_ERROR (*read) (struct one_wire_query *);	// read callback function
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:206: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).
					 ? (strlen(utsname.nodename) + 1) : 0));
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:229: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(service->name) >= sizeof(sunp->sun_path))
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:234:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(P_tmpdir "/") + 1 + strlen(service->name) >= sizeof(sunp->sun_path))
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:234: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 (strlen(P_tmpdir "/") + 1 + strlen(service->name) >= sizeof(sunp->sun_path))
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:770: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).
				namelen = strlen(c) + 1;
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getaddrinfo.c:1032: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(tmp) > size) {
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getopt.c:429: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).
					== (UINT) strlen(p->name)) {
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getopt.c:448: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).
			nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getopt.c:477: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).
					nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getopt.c:489: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).
					nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getopt.c:494: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).
			nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getopt.c:588: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 ((UINT) (nameend - nextchar) == strlen(p->name)) {
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getopt.c:606: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).
				nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getopt.c:623: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).
						nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getopt.c:633: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).
						nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/getopt.c:637: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).
				nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_server.c:513: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).
		io[nio].iov_len = strlen(sp->path) + 1;
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ow_tcp_read.c:46:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if ((nread = read(file_descriptor, ptr, nleft)) < 0) {
data/owfs-3.2p4+dfsg1/module/ownet/c/src/c/ownet_dir.c:20: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).
	CharblobAdd(data_element, strlen(data_element), cb);
data/owfs-3.2p4+dfsg1/module/owserver/src/c/dir.c:58: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).
	dhs->cm->size = strlen(path);
data/owfs-3.2p4+dfsg1/module/owserver/src/c/dir.c:76: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).
	cm->payload = strlen(pn->path) + 1 + OW_FULLNAME_MAX + 2;
data/owfs-3.2p4+dfsg1/module/owserver/src/c/dirall.c:51: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).
	CharblobAdd(pn_entry->path, strlen(pn_entry->path), cb);
data/owfs-3.2p4+dfsg1/module/owserver/src/c/dirallslash.c:51: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).
	CharblobAdd(pn_entry->path, strlen(pn_entry->path), cb);
data/owfs-3.2p4+dfsg1/module/owserver/src/c/owserver.c:139: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 argsize = strlen( argv[argnum] ) ;
data/owfs-3.2p4+dfsg1/module/owserver/src/c/owserver.c:143:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat( data_struct.args, argv[argnum], argsize ) ;
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:206: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).
					 ? (strlen(utsname.nodename) + 1) : 0));
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:229: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(service->name) >= sizeof(sunp->sun_path))
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:234:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(P_tmpdir "/") + 1 + strlen(service->name) >= sizeof(sunp->sun_path))
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:234: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 (strlen(P_tmpdir "/") + 1 + strlen(service->name) >= sizeof(sunp->sun_path))
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:770: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).
				namelen = strlen(c) + 1;
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getaddrinfo.c:1032: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(tmp) > size) {
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getopt.c:422: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).
					== (UINT) strlen(p->name)) {
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getopt.c:439: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).
			nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getopt.c:461: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).
					nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getopt.c:471: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).
					nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getopt.c:476: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).
			nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getopt.c:562: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 ((UINT) (nameend - nextchar) == strlen(p->name)) {
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getopt.c:578: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).
				nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getopt.c:591: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).
						nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getopt.c:599: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).
						nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/getopt.c:603: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).
				nextchar += strlen(nextchar);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_server.c:309: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).
		io[nio].iov_len = payload = strlen(sp->path) + 1;
data/owfs-3.2p4+dfsg1/module/owshell/src/c/ow_tcp_read.c:45:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if ((nread = read(file_descriptor, ptr, nleft)) < 0) {
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owusbprobe.c:380:3:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		getc(stdin);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owusbprobe.c:396:3:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		getc(stdin);
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owwrite.c:56: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).
			rc = ServerWrite(argv[optind], argv[optind + 1], strlen(argv[optind + 1]));
data/owfs-3.2p4+dfsg1/module/owshell/src/c/owwrite.c:104: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 length = strlen( input_string ) ;
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:255:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if ((count = read(STDIN_FILENO, inbuf, BUFLEN)) < 1)
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:302:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			count = read(devfd, buf, BUFLEN);
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:314:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			count = read(ptyfd, buf, BUFLEN);
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:352:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if ((count = read(STDIN_FILENO, inbuf, BUFLEN)) < 1)
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:400:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			count = read(devfd, buf, BUFLEN);
data/owfs-3.2p4+dfsg1/src/sniffer/linksniff.c:412:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			count = read(ptyfd, buf, BUFLEN);
data/owfs-3.2p4+dfsg1/src/sniffer/xt.c:345:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if ((count = read(STDIN_FILENO, inbuf, BUFLEN)) < 1)
data/owfs-3.2p4+dfsg1/src/sniffer/xt.c:393:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			count = read(devfd, buf, BUFLEN);
data/owfs-3.2p4+dfsg1/src/sniffer/xt.c:405:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			count = read(ptyfd, buf, BUFLEN);

ANALYSIS SUMMARY:

Hits = 907
Lines analyzed = 104005 in approximately 2.73 seconds (38042 lines/second)
Physical Source Lines of Code (SLOC) = 67442
Hits@level = [0] 501 [1] 260 [2] 486 [3]  41 [4] 117 [5]   3
Hits@level+ = [0+] 1408 [1+] 907 [2+] 647 [3+] 161 [4+] 120 [5+]   3
Hits/KSLOC@level+ = [0+] 20.8772 [1+] 13.4486 [2+] 9.59343 [3+] 2.38724 [4+] 1.77931 [5+] 0.0444827
Dot directories skipped = 2 (--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.