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/burp-2.2.18/utest/main.c
Examining data/burp-2.2.18/utest/test_cntr.c
Examining data/burp-2.2.18/utest/builders/build_file.h
Examining data/burp-2.2.18/utest/builders/build_clientconfdir.c
Examining data/burp-2.2.18/utest/builders/build_asfd_mock.c
Examining data/burp-2.2.18/utest/builders/build_paths.c
Examining data/burp-2.2.18/utest/builders/build_file.c
Examining data/burp-2.2.18/utest/builders/build_attribs.c
Examining data/burp-2.2.18/utest/builders/build_slist.c
Examining data/burp-2.2.18/utest/builders/build_asfd_mock.h
Examining data/burp-2.2.18/utest/builders/server/build_storage_dirs.h
Examining data/burp-2.2.18/utest/builders/server/build_storage_dirs.c
Examining data/burp-2.2.18/utest/builders/server/build_manifest.c
Examining data/burp-2.2.18/utest/builders/server/protocol2/build_sparse_index.c
Examining data/burp-2.2.18/utest/builders/server/protocol2/build_sparse_index.h
Examining data/burp-2.2.18/utest/builders/server/protocol2/champ_chooser/build_dindex.c
Examining data/burp-2.2.18/utest/builders/server/protocol2/champ_chooser/build_dindex.h
Examining data/burp-2.2.18/utest/builders/protocol2/build_blist.c
Examining data/burp-2.2.18/utest/builders/build.h
Examining data/burp-2.2.18/utest/prng.c
Examining data/burp-2.2.18/utest/test_attribs.c
Examining data/burp-2.2.18/utest/test_hexmap.c
Examining data/burp-2.2.18/utest/test_lock.c
Examining data/burp-2.2.18/utest/test_asfd.c
Examining data/burp-2.2.18/utest/test_alloc.c
Examining data/burp-2.2.18/utest/test_conffile.c
Examining data/burp-2.2.18/utest/test.h
Examining data/burp-2.2.18/utest/protocol1/test_rs_buf.c
Examining data/burp-2.2.18/utest/protocol1/test_handy.c
Examining data/burp-2.2.18/utest/test_base64.c
Examining data/burp-2.2.18/utest/test_conf.c
Examining data/burp-2.2.18/utest/server/test_timer.c
Examining data/burp-2.2.18/utest/server/test_backup_phase3.c
Examining data/burp-2.2.18/utest/server/test_delete.c
Examining data/burp-2.2.18/utest/server/test_manio.c
Examining data/burp-2.2.18/utest/server/test_sdirs.c
Examining data/burp-2.2.18/utest/server/test_bu_get.c
Examining data/burp-2.2.18/utest/server/protocol1/test_dpth.c
Examining data/burp-2.2.18/utest/server/protocol1/test_bedup.c
Examining data/burp-2.2.18/utest/server/protocol1/test_fdirs.c
Examining data/burp-2.2.18/utest/server/protocol1/test_backup_phase4.c
Examining data/burp-2.2.18/utest/server/protocol1/test_backup_phase2.c
Examining data/burp-2.2.18/utest/server/protocol1/test_blocklen.c
Examining data/burp-2.2.18/utest/server/protocol1/test_restore.c
Examining data/burp-2.2.18/utest/server/test_extra_comms.c
Examining data/burp-2.2.18/utest/server/test_auth.c
Examining data/burp-2.2.18/utest/server/test_resume.c
Examining data/burp-2.2.18/utest/server/test_restore.c
Examining data/burp-2.2.18/utest/server/test_autoupgrade.c
Examining data/burp-2.2.18/utest/server/protocol2/test_dpth.c
Examining data/burp-2.2.18/utest/server/protocol2/test_backup_phase4.c
Examining data/burp-2.2.18/utest/server/protocol2/test_backup_phase2.c
Examining data/burp-2.2.18/utest/server/protocol2/champ_chooser/test_scores.c
Examining data/burp-2.2.18/utest/server/protocol2/champ_chooser/test_champ_server.c
Examining data/burp-2.2.18/utest/server/protocol2/champ_chooser/test_champ_chooser.c
Examining data/burp-2.2.18/utest/server/protocol2/champ_chooser/test_dindex.c
Examining data/burp-2.2.18/utest/server/protocol2/champ_chooser/test_sparse.c
Examining data/burp-2.2.18/utest/server/protocol2/champ_chooser/test_hash.c
Examining data/burp-2.2.18/utest/server/protocol2/test_bsparse.c
Examining data/burp-2.2.18/utest/server/monitor/test_status_server.c
Examining data/burp-2.2.18/utest/server/monitor/test_json_output.c
Examining data/burp-2.2.18/utest/server/monitor/test_cache.c
Examining data/burp-2.2.18/utest/server/monitor/test_cstat.c
Examining data/burp-2.2.18/utest/server/monitor/test_browse.c
Examining data/burp-2.2.18/utest/server/test_ca.c
Examining data/burp-2.2.18/utest/server/test_list.c
Examining data/burp-2.2.18/utest/server/test_run_action.c
Examining data/burp-2.2.18/utest/test_times.c
Examining data/burp-2.2.18/utest/test_slist.c
Examining data/burp-2.2.18/utest/prng.h
Examining data/burp-2.2.18/utest/protocol2/rabin/test_win.c
Examining data/burp-2.2.18/utest/protocol2/rabin/test_rabin.c
Examining data/burp-2.2.18/utest/protocol2/rabin/test_rconf.c
Examining data/burp-2.2.18/utest/protocol2/test_blk.c
Examining data/burp-2.2.18/utest/protocol2/test_blist.c
Examining data/burp-2.2.18/utest/protocol2/test_sbuf_protocol2.c
Examining data/burp-2.2.18/utest/test_cmd.c
Examining data/burp-2.2.18/utest/test_fzp.c
Examining data/burp-2.2.18/utest/test_pathcmp.c
Examining data/burp-2.2.18/utest/client/test_delete.c
Examining data/burp-2.2.18/utest/client/test_acl.c
Examining data/burp-2.2.18/utest/client/test_extrameta.c
Examining data/burp-2.2.18/utest/client/protocol1/test_backup_phase2.c
Examining data/burp-2.2.18/utest/client/test_extra_comms.c
Examining data/burp-2.2.18/utest/client/test_auth.c
Examining data/burp-2.2.18/utest/client/test_find.c
Examining data/burp-2.2.18/utest/client/test_restore.c
Examining data/burp-2.2.18/utest/client/test_xattr.c
Examining data/burp-2.2.18/utest/client/protocol2/test_rabin_read.c
Examining data/burp-2.2.18/utest/client/protocol2/test_backup_phase2.c
Examining data/burp-2.2.18/utest/client/monitor/test_lline.c
Examining data/burp-2.2.18/utest/client/monitor/test_json_input.c
Examining data/burp-2.2.18/utest/client/monitor/test_status_client_ncurses.c
Examining data/burp-2.2.18/utest/client/test_monitor.c
Examining data/burp-2.2.18/src/asfd.c
Examining data/burp-2.2.18/src/conf.c
Examining data/burp-2.2.18/src/cmd.h
Examining data/burp-2.2.18/src/msg.h
Examining data/burp-2.2.18/src/attribs.c
Examining data/burp-2.2.18/src/linkhash.c
Examining data/burp-2.2.18/src/cstat.h
Examining data/burp-2.2.18/src/fzp.c
Examining data/burp-2.2.18/src/alloc.h
Examining data/burp-2.2.18/src/attribs.h
Examining data/burp-2.2.18/src/base64.h
Examining data/burp-2.2.18/src/bfile.c
Examining data/burp-2.2.18/src/burpconfig.h
Examining data/burp-2.2.18/src/action.h
Examining data/burp-2.2.18/src/yajl_gen_w.c
Examining data/burp-2.2.18/src/burp.h
Examining data/burp-2.2.18/src/run_script.c
Examining data/burp-2.2.18/src/win32/winapi.h
Examining data/burp-2.2.18/src/win32/utest/main.cpp
Examining data/burp-2.2.18/src/win32/burp/vss_XP.cpp
Examining data/burp-2.2.18/src/win32/burp/alist.h
Examining data/burp-2.2.18/src/win32/burp/alist.c
Examining data/burp-2.2.18/src/win32/burp/vss.h
Examining data/burp-2.2.18/src/win32/burp/main.cpp
Examining data/burp-2.2.18/src/win32/burp/vss_generic.cpp
Examining data/burp-2.2.18/src/win32/burp/vss.cpp
Examining data/burp-2.2.18/src/win32/burp/vss_W2K3.cpp
Examining data/burp-2.2.18/src/win32/burp/vss_Vista.cpp
Examining data/burp-2.2.18/src/win32/compat/mswinver.h
Examining data/burp-2.2.18/src/win32/compat/sys/file.h
Examining data/burp-2.2.18/src/win32/compat/sys/wait.h
Examining data/burp-2.2.18/src/win32/compat/sys/socket.h
Examining data/burp-2.2.18/src/win32/compat/sys/stat.h
Examining data/burp-2.2.18/src/win32/compat/sys/ioctl.h
Examining data/burp-2.2.18/src/win32/compat/sys/time.h
Examining data/burp-2.2.18/src/win32/compat/syslog.h
Examining data/burp-2.2.18/src/win32/compat/netinet/in.h
Examining data/burp-2.2.18/src/win32/compat/netdb.h
Examining data/burp-2.2.18/src/win32/compat/getopt.h
Examining data/burp-2.2.18/src/win32/compat/strings.h
Examining data/burp-2.2.18/src/win32/compat/stdint.h
Examining data/burp-2.2.18/src/win32/compat/alloca.h
Examining data/burp-2.2.18/src/win32/compat/arpa/inet.h
Examining data/burp-2.2.18/src/win32/compat/winapi.c
Examining data/burp-2.2.18/src/win32/compat/unistd.h
Examining data/burp-2.2.18/src/win32/compat/compat.h
Examining data/burp-2.2.18/src/win32/compat/mem_pool.c
Examining data/burp-2.2.18/src/win32/compat/print.cpp
Examining data/burp-2.2.18/src/win32/compat/dlfcn.h
Examining data/burp-2.2.18/src/win32/compat/mem_pool.h
Examining data/burp-2.2.18/src/win32/compat/compat.cpp
Examining data/burp-2.2.18/src/win32/compat/pwd.h
Examining data/burp-2.2.18/src/win32/compat/winsock.h
Examining data/burp-2.2.18/src/win32/compat/dirent.h
Examining data/burp-2.2.18/src/win32/compat/grp.h
Examining data/burp-2.2.18/src/win32/compat/winhost.h
Examining data/burp-2.2.18/src/win32/compat/getopt.c
Examining data/burp-2.2.18/src/win32/compat/ms_atl.h
Examining data/burp-2.2.18/src/win32/compat/mingwconfig.h
Examining data/burp-2.2.18/src/bu.c
Examining data/burp-2.2.18/src/cntr.h
Examining data/burp-2.2.18/src/forkchild.c
Examining data/burp-2.2.18/src/times.h
Examining data/burp-2.2.18/src/regexp.c
Examining data/burp-2.2.18/src/sbuf.c
Examining data/burp-2.2.18/src/run_script.h
Examining data/burp-2.2.18/src/fzp.h
Examining data/burp-2.2.18/src/strlist.h
Examining data/burp-2.2.18/src/msg.c
Examining data/burp-2.2.18/src/conffile.h
Examining data/burp-2.2.18/src/protocol1/msg.h
Examining data/burp-2.2.18/src/protocol1/sbuf_protocol1.c
Examining data/burp-2.2.18/src/protocol1/rs_buf.h
Examining data/burp-2.2.18/src/protocol1/sbuf_protocol1.h
Examining data/burp-2.2.18/src/protocol1/msg.c
Examining data/burp-2.2.18/src/protocol1/handy.h
Examining data/burp-2.2.18/src/protocol1/handy.c
Examining data/burp-2.2.18/src/protocol1/rs_buf.c
Examining data/burp-2.2.18/src/conffile.c
Examining data/burp-2.2.18/src/fsops.c
Examining data/burp-2.2.18/src/prepend.h
Examining data/burp-2.2.18/src/pathcmp.c
Examining data/burp-2.2.18/src/cmd.c
Examining data/burp-2.2.18/src/lock.c
Examining data/burp-2.2.18/src/prepend.c
Examining data/burp-2.2.18/src/cntr.c
Examining data/burp-2.2.18/src/conf.h
Examining data/burp-2.2.18/src/handy.h
Examining data/burp-2.2.18/src/slist.h
Examining data/burp-2.2.18/src/prog.c
Examining data/burp-2.2.18/src/linkhash.h
Examining data/burp-2.2.18/src/incexc_send.c
Examining data/burp-2.2.18/src/iobuf.c
Examining data/burp-2.2.18/src/hexmap.c
Examining data/burp-2.2.18/src/asfd.h
Examining data/burp-2.2.18/src/bfile.h
Examining data/burp-2.2.18/src/slist.c
Examining data/burp-2.2.18/src/regexp.h
Examining data/burp-2.2.18/src/handy.c
Examining data/burp-2.2.18/src/ssl.c
Examining data/burp-2.2.18/src/yajl_gen_w.h
Examining data/burp-2.2.18/src/lock.h
Examining data/burp-2.2.18/src/ssl.h
Examining data/burp-2.2.18/src/incexc_recv.c
Examining data/burp-2.2.18/src/server/main.c
Examining data/burp-2.2.18/src/server/auth.c
Examining data/burp-2.2.18/src/server/backup.h
Examining data/burp-2.2.18/src/server/extra_comms.c
Examining data/burp-2.2.18/src/server/child.h
Examining data/burp-2.2.18/src/server/rubble.h
Examining data/burp-2.2.18/src/server/list.c
Examining data/burp-2.2.18/src/server/extra_comms.h
Examining data/burp-2.2.18/src/server/backup_phase3.h
Examining data/burp-2.2.18/src/server/manio.h
Examining data/burp-2.2.18/src/server/auth.h
Examining data/burp-2.2.18/src/server/diff.h
Examining data/burp-2.2.18/src/server/backup_phase1.h
Examining data/burp-2.2.18/src/server/timer.c
Examining data/burp-2.2.18/src/server/list.h
Examining data/burp-2.2.18/src/server/delete.h
Examining data/burp-2.2.18/src/server/ca.h
Examining data/burp-2.2.18/src/server/ca.c
Examining data/burp-2.2.18/src/server/timestamp.h
Examining data/burp-2.2.18/src/server/rubble.c
Examining data/burp-2.2.18/src/server/timestamp.c
Examining data/burp-2.2.18/src/server/compress.h
Examining data/burp-2.2.18/src/server/sdirs.c
Examining data/burp-2.2.18/src/server/dpth.h
Examining data/burp-2.2.18/src/server/bu_get.c
Examining data/burp-2.2.18/src/server/bu_get.h
Examining data/burp-2.2.18/src/server/quota.h
Examining data/burp-2.2.18/src/server/manios.h
Examining data/burp-2.2.18/src/server/manio.c
Examining data/burp-2.2.18/src/server/restore.c
Examining data/burp-2.2.18/src/server/protocol1/link.c
Examining data/burp-2.2.18/src/server/protocol1/vss_strip.c
Examining data/burp-2.2.18/src/server/protocol1/bedup.h
Examining data/burp-2.2.18/src/server/protocol1/link.h
Examining data/burp-2.2.18/src/server/protocol1/blocklen.c
Examining data/burp-2.2.18/src/server/protocol1/deleteme.h
Examining data/burp-2.2.18/src/server/protocol1/zlibio.h
Examining data/burp-2.2.18/src/server/protocol1/dpth.h
Examining data/burp-2.2.18/src/server/protocol1/fdirs.c
Examining data/burp-2.2.18/src/server/protocol1/zlibio.c
Examining data/burp-2.2.18/src/server/protocol1/restore.c
Examining data/burp-2.2.18/src/server/protocol1/bedup.c
Examining data/burp-2.2.18/src/server/protocol1/deleteme.c
Examining data/burp-2.2.18/src/server/protocol1/restore.h
Examining data/burp-2.2.18/src/server/protocol1/backup_phase4.h
Examining data/burp-2.2.18/src/server/protocol1/fdirs.h
Examining data/burp-2.2.18/src/server/protocol1/dpth.c
Examining data/burp-2.2.18/src/server/protocol1/backup_phase2.c
Examining data/burp-2.2.18/src/server/protocol1/backup_phase2.h
Examining data/burp-2.2.18/src/server/protocol1/backup_phase4.c
Examining data/burp-2.2.18/src/server/protocol1/blocklen.h
Examining data/burp-2.2.18/src/server/resume.c
Examining data/burp-2.2.18/src/server/compress.c
Examining data/burp-2.2.18/src/server/diff.c
Examining data/burp-2.2.18/src/server/timer.h
Examining data/burp-2.2.18/src/server/autoupgrade.c
Examining data/burp-2.2.18/src/server/backup_phase1.c
Examining data/burp-2.2.18/src/server/restore.h
Examining data/burp-2.2.18/src/server/resume.h
Examining data/burp-2.2.18/src/server/manios.c
Examining data/burp-2.2.18/src/server/run_action.c
Examining data/burp-2.2.18/src/server/run_action.h
Examining data/burp-2.2.18/src/server/backup_phase3.c
Examining data/burp-2.2.18/src/server/autoupgrade.h
Examining data/burp-2.2.18/src/server/backup.c
Examining data/burp-2.2.18/src/server/dpth.c
Examining data/burp-2.2.18/src/server/delete.c
Examining data/burp-2.2.18/src/server/protocol2/bsparse.h
Examining data/burp-2.2.18/src/server/protocol2/bsigs.c
Examining data/burp-2.2.18/src/server/protocol2/dpth.h
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/hash.c
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/hash.h
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/sparse.c
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/scores.c
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/champ_client.c
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/champ_server.c
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/champ_chooser.h
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/incoming.c
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/candidate.h
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/candidate.c
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/dindex.h
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/champ_client.h
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/scores.h
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/dindex.c
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/champ_chooser.c
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/champ_server.h
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/sparse.h
Examining data/burp-2.2.18/src/server/protocol2/champ_chooser/incoming.h
Examining data/burp-2.2.18/src/server/protocol2/restore.c
Examining data/burp-2.2.18/src/server/protocol2/bsigs.h
Examining data/burp-2.2.18/src/server/protocol2/bsparse.c
Examining data/burp-2.2.18/src/server/protocol2/rblk.c
Examining data/burp-2.2.18/src/server/protocol2/restore.h
Examining data/burp-2.2.18/src/server/protocol2/backup_phase4.h
Examining data/burp-2.2.18/src/server/protocol2/rblk.h
Examining data/burp-2.2.18/src/server/protocol2/dpth.c
Examining data/burp-2.2.18/src/server/protocol2/backup_phase2.c
Examining data/burp-2.2.18/src/server/protocol2/backup_phase2.h
Examining data/burp-2.2.18/src/server/protocol2/backup_phase4.c
Examining data/burp-2.2.18/src/server/quota.c
Examining data/burp-2.2.18/src/server/main.h
Examining data/burp-2.2.18/src/server/monitor/cstat.h
Examining data/burp-2.2.18/src/server/monitor/cache.c
Examining data/burp-2.2.18/src/server/monitor/json_output.c
Examining data/burp-2.2.18/src/server/monitor/browse.h
Examining data/burp-2.2.18/src/server/monitor/status_server.c
Examining data/burp-2.2.18/src/server/monitor/status_server.h
Examining data/burp-2.2.18/src/server/monitor/json_output.h
Examining data/burp-2.2.18/src/server/monitor/cache.h
Examining data/burp-2.2.18/src/server/monitor/browse.c
Examining data/burp-2.2.18/src/server/monitor/cstat.c
Examining data/burp-2.2.18/src/server/child.c
Examining data/burp-2.2.18/src/server/sdirs.h
Examining data/burp-2.2.18/src/yajl/yajl_tree.c
Examining data/burp-2.2.18/src/yajl/yajl_buf.h
Examining data/burp-2.2.18/src/yajl/yajl_bytestack.h
Examining data/burp-2.2.18/src/yajl/yajl_lex.c
Examining data/burp-2.2.18/src/yajl/yajl_alloc.c
Examining data/burp-2.2.18/src/yajl/yajl_buf.c
Examining data/burp-2.2.18/src/yajl/yajl_parser.h
Examining data/burp-2.2.18/src/yajl/yajl.c
Examining data/burp-2.2.18/src/yajl/yajl_parser.c
Examining data/burp-2.2.18/src/yajl/api/yajl_parse.h
Examining data/burp-2.2.18/src/yajl/api/yajl_tree.h
Examining data/burp-2.2.18/src/yajl/api/yajl_version.h
Examining data/burp-2.2.18/src/yajl/api/yajl_gen.h
Examining data/burp-2.2.18/src/yajl/api/yajl_common.h
Examining data/burp-2.2.18/src/yajl/yajl_alloc.h
Examining data/burp-2.2.18/src/yajl/yajl_gen.c
Examining data/burp-2.2.18/src/yajl/yajl_encode.h
Examining data/burp-2.2.18/src/yajl/yajl_version.c
Examining data/burp-2.2.18/src/yajl/yajl_lex.h
Examining data/burp-2.2.18/src/yajl/yajl_encode.c
Examining data/burp-2.2.18/src/berrno.h
Examining data/burp-2.2.18/src/log.h
Examining data/burp-2.2.18/src/hexmap.h
Examining data/burp-2.2.18/src/protocol2/rabin/win.h
Examining data/burp-2.2.18/src/protocol2/rabin/win.c
Examining data/burp-2.2.18/src/protocol2/rabin/rconf.c
Examining data/burp-2.2.18/src/protocol2/rabin/rabin.h
Examining data/burp-2.2.18/src/protocol2/rabin/rconf.h
Examining data/burp-2.2.18/src/protocol2/rabin/rabin.c
Examining data/burp-2.2.18/src/protocol2/blk.c
Examining data/burp-2.2.18/src/protocol2/blk.h
Examining data/burp-2.2.18/src/protocol2/sbuf_protocol2.h
Examining data/burp-2.2.18/src/protocol2/blist.h
Examining data/burp-2.2.18/src/protocol2/blist.c
Examining data/burp-2.2.18/src/protocol2/sbuf_protocol2.c
Examining data/burp-2.2.18/src/alloc.c
Examining data/burp-2.2.18/src/iobuf.h
Examining data/burp-2.2.18/src/times.c
Examining data/burp-2.2.18/src/strlist.c
Examining data/burp-2.2.18/src/fsops.h
Examining data/burp-2.2.18/src/pathcmp.h
Examining data/burp-2.2.18/src/log.c
Examining data/burp-2.2.18/src/base64.c
Examining data/burp-2.2.18/src/bu.h
Examining data/burp-2.2.18/src/berrno.c
Examining data/burp-2.2.18/src/incexc_send.h
Examining data/burp-2.2.18/src/sbuf.h
Examining data/burp-2.2.18/src/async.c
Examining data/burp-2.2.18/src/cstat.c
Examining data/burp-2.2.18/src/forkchild.h
Examining data/burp-2.2.18/src/async.h
Examining data/burp-2.2.18/src/incexc_recv.h
Examining data/burp-2.2.18/src/client/main.c
Examining data/burp-2.2.18/src/client/auth.c
Examining data/burp-2.2.18/src/client/backup.h
Examining data/burp-2.2.18/src/client/extra_comms.c
Examining data/burp-2.2.18/src/client/find.h
Examining data/burp-2.2.18/src/client/list.c
Examining data/burp-2.2.18/src/client/extra_comms.h
Examining data/burp-2.2.18/src/client/cvss.c
Examining data/burp-2.2.18/src/client/auth.h
Examining data/burp-2.2.18/src/client/xattr.c
Examining data/burp-2.2.18/src/client/find_logic.c
Examining data/burp-2.2.18/src/client/backup_phase1.h
Examining data/burp-2.2.18/src/client/list.h
Examining data/burp-2.2.18/src/client/xattr.h
Examining data/burp-2.2.18/src/client/delete.h
Examining data/burp-2.2.18/src/client/ca.h
Examining data/burp-2.2.18/src/client/ca.c
Examining data/burp-2.2.18/src/client/restore.c
Examining data/burp-2.2.18/src/client/find.c
Examining data/burp-2.2.18/src/client/protocol1/restore.c
Examining data/burp-2.2.18/src/client/protocol1/restore.h
Examining data/burp-2.2.18/src/client/protocol1/backup_phase2.c
Examining data/burp-2.2.18/src/client/protocol1/backup_phase2.h
Examining data/burp-2.2.18/src/client/glob_windows.h
Examining data/burp-2.2.18/src/client/acl.c
Examining data/burp-2.2.18/src/client/monitor.h
Examining data/burp-2.2.18/src/client/autoupgrade.c
Examining data/burp-2.2.18/src/client/backup_phase1.c
Examining data/burp-2.2.18/src/client/extrameta.h
Examining data/burp-2.2.18/src/client/restore.h
Examining data/burp-2.2.18/src/client/monitor.c
Examining data/burp-2.2.18/src/client/glob_windows.c
Examining data/burp-2.2.18/src/client/autoupgrade.h
Examining data/burp-2.2.18/src/client/backup.c
Examining data/burp-2.2.18/src/client/delete.c
Examining data/burp-2.2.18/src/client/protocol2/restore.c
Examining data/burp-2.2.18/src/client/protocol2/restore.h
Examining data/burp-2.2.18/src/client/protocol2/rabin_read.h
Examining data/burp-2.2.18/src/client/protocol2/backup_phase2.c
Examining data/burp-2.2.18/src/client/protocol2/rabin_read.c
Examining data/burp-2.2.18/src/client/protocol2/backup_phase2.h
Examining data/burp-2.2.18/src/client/main.h
Examining data/burp-2.2.18/src/client/monitor/lline.c
Examining data/burp-2.2.18/src/client/monitor/sel.h
Examining data/burp-2.2.18/src/client/monitor/json_input.h
Examining data/burp-2.2.18/src/client/monitor/sel.c
Examining data/burp-2.2.18/src/client/monitor/status_client_ncurses.h
Examining data/burp-2.2.18/src/client/monitor/lline.h
Examining data/burp-2.2.18/src/client/monitor/status_client_ncurses.c
Examining data/burp-2.2.18/src/client/monitor/json_input.c
Examining data/burp-2.2.18/src/client/acl.h
Examining data/burp-2.2.18/src/client/find_logic.h
Examining data/burp-2.2.18/src/client/cvss.h
Examining data/burp-2.2.18/src/client/extrameta.c

FINAL RESULTS:

data/burp-2.2.18/src/attribs.c:372:6:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		if(chmod(path, statp->st_mode) < 0)
data/burp-2.2.18/src/client/autoupgrade.c:115:2:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	chmod(script_path, 0755);
data/burp-2.2.18/src/client/find.c:345:11:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	if((size=readlink(fname, buffer, fs_full_path_max+101))<0)
data/burp-2.2.18/src/fsops.c:563:10:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	if((len=readlink(path, buf, buflen-1))<0)
data/burp-2.2.18/src/win32/compat/compat.cpp:552:5:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
int chown(const char *k, uid_t, gid_t)
data/burp-2.2.18/src/win32/compat/compat.cpp:1066:5:  [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.
int readlink(const char *, char *, int) { return system_error(); }
data/burp-2.2.18/src/win32/compat/compat.h:254:5:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
int chown(const char *, uid_t uid, gid_t gid);
data/burp-2.2.18/src/win32/compat/compat.h:295:5:  [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.
int readlink(const char *, char *, int);
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:95:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(msg, sizeof(msg), fmt, cstat->name, run_status_to_str(cstat),
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:106: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(msg, s, fmt, ap);
data/burp-2.2.18/src/client/restore.c:214:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(msg, sizeof(msg), text, param);
data/burp-2.2.18/src/cntr.c:709: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(str, tmp);
data/burp-2.2.18/src/cntr.c:714: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(str, tmp);
data/burp-2.2.18/src/forkchild.c:35:6:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		if(execv(path, argv))
data/burp-2.2.18/src/fzp.c:317: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.
		n=vsnprintf(fzp->buf, fzp->s, format, ap);
data/burp-2.2.18/src/handy.c:571: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).
		tmp=strcpy(tmp, replace)+len_rep;
data/burp-2.2.18/src/handy.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(tmp, orig);
data/burp-2.2.18/src/hexmap.c:67:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        snprintf(str, sizeof(str), "%016" PRIx64 "%016" PRIx64,
data/burp-2.2.18/src/incexc_send.c:44:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(tmp, sizeof(tmp), "%" PRIu64, get_uint64_t(conf));
data/burp-2.2.18/src/log.c:38: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, sizeof(buf), fmt, ap);
data/burp-2.2.18/src/log.c:79: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, sizeof(buf), fmt, ap);
data/burp-2.2.18/src/log.c:111: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, sizeof(buf), fmt, ap);
data/burp-2.2.18/src/log.c:131: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, sizeof(buf), fmt, ap);
data/burp-2.2.18/src/log.c:214: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, sizeof(buf), fmt, ap);
data/burp-2.2.18/src/log.c:234: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, sizeof(buf), fmt, ap);
data/burp-2.2.18/src/log.h:29:63:  [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.
extern void logp(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
data/burp-2.2.18/src/log.h:30:71:  [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.
extern void logp_ssl_err(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
data/burp-2.2.18/src/log.h:31:63:  [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.
extern void logc(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
data/burp-2.2.18/src/log.h:32:65:  [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.
extern void logfmt(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
data/burp-2.2.18/src/log.h:33:102:  [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.
extern int logm(struct asfd *asfd, struct conf **confs, const char *fmt, ...) __attribute__((format (printf, 3, 4)));
data/burp-2.2.18/src/log.h:34:100:  [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.
extern int logw(struct asfd *asfd, struct cntr *cntr, const char *fmt, ...) __attribute__((format (printf, 3, 4)));
data/burp-2.2.18/src/protocol1/handy.c:78: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((char*)enc_key, encryption_password);
data/burp-2.2.18/src/server/auth.c:75:12:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
	encrypted=crypt(plain_text, passwd);
data/burp-2.2.18/src/server/manio.c:65:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(tmp, sizeof(tmp), "%08" PRIX64, offset->fcount++);
data/burp-2.2.18/src/server/manio.c:305:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(msg, sizeof(msg), "%08" PRIX64, manio->offset->fcount-1);
data/burp-2.2.18/src/server/manio.c:351:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(msg, sizeof(msg), "%08" PRIX64, manio->offset->fcount-1);
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:483:4:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
			snprintf(compa, sizeof(compa), "%08" PRIX64, i);
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:484:4:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
			snprintf(compb, sizeof(compb), "%08" PRIX64, i+1);
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:485:4:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
			snprintf(compd, sizeof(compd), "%08" PRIX64, i/2);
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:570:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		snprintf(compd, sizeof(compd), "%08" PRIX64, (uint64_t)i++);
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:679:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		snprintf(tmp, sizeof(tmp), "%08" PRIX64, bu->index-1);
data/burp-2.2.18/src/server/protocol2/champ_chooser/dindex.c:356:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		snprintf(hfile, sizeof(hfile), "%08" PRIX64, fcount++);
data/burp-2.2.18/src/server/run_action.c:132:3:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		snprintf(warnings, sizeof(warnings), "%" PRIu64,
data/burp-2.2.18/src/ssl.c:65: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(buf, pass);
data/burp-2.2.18/src/win32/compat/compat.cpp:296:3:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
		wcscat(pwszBuf, szDrive);
data/burp-2.2.18/src/win32/compat/compat.cpp:314:4:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
			wcscpy(pwszBuf, pwszCurDirBuf);
data/burp-2.2.18/src/win32/compat/compat.cpp:316:4:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
			wcscat(pwszBuf, pwszCurDirBuf);
data/burp-2.2.18/src/win32/compat/compat.cpp:456:4:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
			wcscpy((LPWSTR)*pszUCS, (LPWSTR)g_pWin32ConvUCS2Cache);
data/burp-2.2.18/src/win32/compat/compat.cpp:475:2:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
	wcscpy((LPWSTR)g_pWin32ConvUCS2Cache, (LPWSTR)*pszUCS);
data/burp-2.2.18/src/win32/compat/compat.cpp:497:3:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
		wcscpy((LPWSTR)ret, (LPWSTR)tmp);
data/burp-2.2.18/src/win32/compat/compat.cpp:1062:5:  [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.
int execvp(const char *, char *[]) { return system_error(); }
data/burp-2.2.18/src/win32/compat/compat.cpp:1123:17:  [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.
extern "C" void syslog(int type, const char *fmt, ...) 
data/burp-2.2.18/src/win32/compat/compat.cpp:2001: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(cmd, argv[a++]);
data/burp-2.2.18/src/win32/compat/compat.h:328:17:  [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.
extern "C" void syslog(int type, const char *fmt, ...);
data/burp-2.2.18/src/win32/compat/mem_pool.c:104:3:  [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, ("obuf is NULL\n"));
data/burp-2.2.18/src/win32/compat/print.cpp:714:7:  [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.
	rval=vsnprintf(str, 128*1024, fmt, ap);
data/burp-2.2.18/src/win32/compat/print.cpp:726:7:  [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.
	rval=vsnprintf(str, count, fmt, ap);
data/burp-2.2.18/src/win32/compat/syslog.h:27:17:  [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.
extern "C" void syslog(int type, const char *fmt, ...);
data/burp-2.2.18/src/yajl/yajl_parser.c:97:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat((char *) str, errorType);
data/burp-2.2.18/src/yajl/yajl_parser.c:101:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat((char *) str, errorText);
data/burp-2.2.18/src/yajl/yajl_parser.c:138:17:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
                strcat((char *) newStr, (char *) str);
data/burp-2.2.18/src/yajl/yajl_parser.c:139:17:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
                strcat((char *) newStr, text);
data/burp-2.2.18/src/yajl/yajl_parser.c:140:17:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
                strcat((char *) newStr, arrow);
data/burp-2.2.18/src/yajl/yajl_tree.c:30:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf sprintf_s
data/burp-2.2.18/src/yajl/yajl_tree.c:56:13:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
            snprintf ((ctx)->errbuf, (ctx)->errbuf_size, __VA_ARGS__);  \
data/burp-2.2.18/utest/client/test_acl.c:133:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(expected, sizeof(expected), x.expected_read,
data/burp-2.2.18/utest/client/test_extrameta.c:95:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(expected, sizeof(expected), x.extrameta,
data/burp-2.2.18/utest/client/test_restore.c:177:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(buf, sizeof(buf), MIN_CLIENT_CONF
data/burp-2.2.18/utest/server/monitor/test_cstat.c:200:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(path, sizeof(path), CLIENTCONFDIR "/%s", file);
data/burp-2.2.18/utest/server/protocol2/test_bsparse.c:145:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(path, sizeof(path),
data/burp-2.2.18/utest/server/test_run_action.c:149:2:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	snprintf(path, sizeof(path), BASE "/directory/a_group/clients/utestclient/current");
data/burp-2.2.18/src/client/restore.c:590:10:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	if((ret=realpath(path, NULL)))
data/burp-2.2.18/src/client/restore.c:596:11:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	if(!(ret=realpath(path, NULL)))
data/burp-2.2.18/src/client/restore.c:657:17:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
		if((canonical=realpath(copy, NULL)))
data/burp-2.2.18/src/conffile.c:1620:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if((pfenv=getenv("PROGRAMFILES")))
data/burp-2.2.18/src/prog.c:210: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(getpid());
data/burp-2.2.18/src/prog.c:314:16:  [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.
	while((option=getopt(argc, argv, "a:b:c:C:d:o:fFghijl:nq:Qr:s:tvVxz:?"))!=-1)
data/burp-2.2.18/src/server/protocol1/bedup.c:891:16:  [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.
	while((option=getopt(argc, argv, "c:dg:hlm:nvV?"))!=-1)
data/burp-2.2.18/src/server/protocol1/vss_strip.c:162:16:  [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.
	while((option=getopt(argc, argv, "i:ho:p?"))!=-1)
data/burp-2.2.18/src/server/protocol2/bsparse.c:277:16:  [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.
	while((option=getopt(argc, argv, "c:Vh?"))!=-1)
data/burp-2.2.18/src/win32/compat/compat.cpp:517:9:  [3] (misc) LoadLibraryEx:
  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.
	handle=LoadLibraryEx(file, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
data/burp-2.2.18/src/win32/compat/compat.cpp:562:10:  [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.
long int random(void)
data/burp-2.2.18/src/win32/compat/compat.cpp:567:6:  [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.
void srandom(unsigned int seed)
data/burp-2.2.18/src/win32/compat/compat.cpp:569: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(seed);
data/burp-2.2.18/src/win32/compat/compat.cpp:2004:6:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
	if(!CreateProcess(NULL, cmd, NULL, NULL,
data/burp-2.2.18/src/win32/compat/compat.cpp:2004:6:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
	if(!CreateProcess(NULL, cmd, NULL, NULL,
data/burp-2.2.18/src/win32/compat/compat.cpp:2144:7:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
char *realpath(const char *path, char *resolved_path)
data/burp-2.2.18/src/win32/compat/compat.h:289:10:  [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.
long int random(void);
data/burp-2.2.18/src/win32/compat/compat.h:290:6:  [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.
void srandom(unsigned int seed);
data/burp-2.2.18/src/win32/compat/compat.h:387:7:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
char *realpath(const char *path, char *resolved_path);
data/burp-2.2.18/src/win32/compat/getopt.c:49: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 *opstring)
data/burp-2.2.18/src/win32/compat/getopt.h:42: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/burp-2.2.18/utest/client/monitor/test_json_input.c:37:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if((tz=getenv("TZ")))
data/burp-2.2.18/utest/client/test_find.c:62:14:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	fail_unless(realpath(BASE, fullpath)!=NULL);
data/burp-2.2.18/utest/server/monitor/test_json_output.c:30:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if((tz=getenv("TZ")))
data/burp-2.2.18/utest/server/test_timer.c:40:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if((tz=getenv("TZ")))
data/burp-2.2.18/utest/test_times.c:9:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if((tz=getenv("TZ")))
data/burp-2.2.18/src/asfd.c:56: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.
	if(!(memcpy(asfd->rbuf->buf, asfd->readbuf+offset, len)))
data/burp-2.2.18/src/asfd.c:157: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(asfd->readbuf, &i, asfd->readbuflen);
data/burp-2.2.18/src/asfd.c:377: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(asfd->writebuf+asfd->writebuflen, buf, len);
data/burp-2.2.18/src/asfd.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 sbuf[10]="";
data/burp-2.2.18/src/asfd.c:568: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 r[256]="";
data/burp-2.2.18/src/attribs.c:337:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[256]="";
data/burp-2.2.18/src/berrno.h: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 m_buf[256];
data/burp-2.2.18/src/bfile.c:447:14:  [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((bfd->fd=open(fname, flags, mode))<0)
data/burp-2.2.18/src/bfile.c:491: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(sid+sidlen, cp, got);
data/burp-2.2.18/src/bfile.c:599: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).
	if(!bfd->open) bfile_setup_funcs(bfd);
data/burp-2.2.18/src/bfile.h:52: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).
	int (*open)(struct BFILE *bfd, struct asfd *asfd,
data/burp-2.2.18/src/client/acl.c:110:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char pre[10]="";
data/burp-2.2.18/src/client/auth.c:16: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 hello[256]="";
data/burp-2.2.18/src/client/autoupgrade.c:46: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 script_name[32]="";
data/burp-2.2.18/src/client/autoupgrade.c:47: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 package_name[32]="";
data/burp-2.2.18/src/client/autoupgrade.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 write_str[256]="";
data/burp-2.2.18/src/client/autoupgrade.c:49:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *args[2];
data/burp-2.2.18/src/client/ca.c:19:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *args[12];
data/burp-2.2.18/src/client/ca.c:59: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 p[32]="";
data/burp-2.2.18/src/client/ca.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[4096]="";
data/burp-2.2.18/src/client/ca.c:159: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 csr_path[256]="";
data/burp-2.2.18/src/client/ca.c:160: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 ssl_cert_tmp[512]="";
data/burp-2.2.18/src/client/ca.c:161: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 ssl_cert_ca_tmp[512]="";
data/burp-2.2.18/src/client/cvss.c:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char szWinDriveLetters[27];
data/burp-2.2.18/src/client/cvss.c:267: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(tmp+(*vlen), &sid, bsidsize);
data/burp-2.2.18/src/client/cvss.c:292: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((*vssdata)+9, tmp, *vlen);
data/burp-2.2.18/src/client/delete.c:9: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 msg[128]="";
data/burp-2.2.18/src/client/extra_comms.c:110:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char str[512]="";
data/burp-2.2.18/src/client/extra_comms.c:180: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 msg[128]="";
data/burp-2.2.18/src/client/extra_comms.c:190:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[128]="";
data/burp-2.2.18/src/client/extrameta.c:120: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(m, metadata, s);
data/burp-2.2.18/src/client/find.c:385: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 filesystem_name[MAX_PATH_UTF8 + 1];
data/burp-2.2.18/src/client/list.c:41: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.
	n=sprintf(p, " %2d ", (uint32_t)statp->st_nlink);
data/burp-2.2.18/src/client/list.c:43: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.
	n=sprintf(p, "%5d %5d", (uint32_t)statp->st_uid,
data/burp-2.2.18/src/client/list.c:46: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.
	n=sprintf(p, " %7lu ", (unsigned long)statp->st_size);
data/burp-2.2.18/src/client/list.c:91: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 msg[512]="";
data/burp-2.2.18/src/client/main.c:87:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		set_int(confs[OPT_COMPRESSION], atoi(asfd->rbuf->buf+complen));
data/burp-2.2.18/src/client/main.c:144:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		const char *args[12];
data/burp-2.2.18/src/client/main.c:174:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		const char *args[12];
data/burp-2.2.18/src/client/main.c:214: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 portstr[8]="";
data/burp-2.2.18/src/client/main.c:258:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			port=atoi(s->path);
data/burp-2.2.18/src/client/main.c:356:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		const char *args[12];
data/burp-2.2.18/src/client/main.c:381:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		const char *args[12];
data/burp-2.2.18/src/client/monitor/json_input.c:32:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char lastkey[32]="";
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:75:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char ret[38];
data/burp-2.2.18/src/client/monitor/status_client_ncurses.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 msg[1024]="";
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:87: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 fmt[64]="";
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:118:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char msg[256]="";
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:160: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 msg[256]="";
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:347: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[32]="";
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:357: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 spaces[512]="";
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:358: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 msg[64]="";
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:434: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 msg[64]="";
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:448: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 msg[1024]="";
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:457: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 msg[1024]="";
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:466: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 msg[1024];
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:475: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 msg[1024];
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:596:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char phase[32]="";
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:616: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 msg[1024]="";
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:668: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 msg[128]="";
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:693: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 msg[128]="";
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:915: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/burp-2.2.18/src/client/monitor/status_client_ncurses.c:1466: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 *args[12];
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:1467: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 procpath[32];
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:1468: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];
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:1481: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 p[64]="";
data/burp-2.2.18/src/client/protocol1/restore.c:88:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[256]="";
data/burp-2.2.18/src/client/protocol1/restore.c:112:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[256]="";
data/burp-2.2.18/src/client/protocol1/restore.c:223:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char msg[256];
data/burp-2.2.18/src/client/protocol2/backup_phase2.c:144:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[32];
data/burp-2.2.18/src/client/protocol2/rabin_read.c:52: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, mp, to_read);
data/burp-2.2.18/src/client/protocol2/restore.c:54:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[256]="";
data/burp-2.2.18/src/client/protocol2/restore.c:100: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((*metadata)+(*metalen),
data/burp-2.2.18/src/client/restore.c:194:10:  [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(bfd->open(bfd, asfd, path, flags, S_IRUSR | S_IWUSR))
data/burp-2.2.18/src/client/restore.c:198:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[256]="";
data/burp-2.2.18/src/client/restore.c:207: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(&bfd->statp, &sb->statp, sizeof(struct stat));
data/burp-2.2.18/src/client/restore.c:213:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char msg[256]="";
data/burp-2.2.18/src/client/restore.c:441: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 msg[256]="";
data/burp-2.2.18/src/client/restore.c:453:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[256]="";
data/burp-2.2.18/src/client/restore.c:526: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 msg[32]="";
data/burp-2.2.18/src/client/restore.c:576: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 d[PATH_MAX];
data/burp-2.2.18/src/client/restore.c:648: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 msg[512]="";
data/burp-2.2.18/src/client/restore.c:661: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 msg[512]="";
data/burp-2.2.18/src/client/restore.c:677:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[512]="";
data/burp-2.2.18/src/client/restore.c:708: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 msg[512]="";
data/burp-2.2.18/src/client/restore.c:894:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
					char msg[512]="";
data/burp-2.2.18/src/client/xattr.c:36:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *acl_skiplist[2] = {
data/burp-2.2.18/src/client/xattr.c:41:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *acl_skiplist[3] = {
data/burp-2.2.18/src/client/xattr.c:47:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *acl_skiplist[2] = {
data/burp-2.2.18/src/client/xattr.c:51:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *acl_skiplist[1] = {
data/burp-2.2.18/src/client/xattr.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 tmp3[10];
data/burp-2.2.18/src/client/xattr.c:75: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((*xattrtext)+(*xlen), tmp3, 9);
data/burp-2.2.18/src/client/xattr.c:77: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((*xattrtext)+(*xlen), toappend, totallen);
data/burp-2.2.18/src/client/xattr.c:114: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(ret, *data, *s);
data/burp-2.2.18/src/client/xattr.c:156:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char z[BSD_BUF_SIZE]="";
data/burp-2.2.18/src/client/xattr.c:157:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char cattrname[BSD_BUF_SIZE]="";
data/burp-2.2.18/src/client/xattr.c:194: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 tmp1[9];
data/burp-2.2.18/src/client/xattr.c:195: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 tmp2[9];
data/burp-2.2.18/src/client/xattr.c:255: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(toappend+totallen, tmp1, 8);
data/burp-2.2.18/src/client/xattr.c:257: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(toappend+totallen, z, zlen);
data/burp-2.2.18/src/client/xattr.c:259: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(toappend+totallen, tmp2, 8);
data/burp-2.2.18/src/client/xattr.c:261: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(toappend+totallen, val, vlen);
data/burp-2.2.18/src/client/xattr.c:395:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char tmp1[9];
data/burp-2.2.18/src/client/xattr.c:396:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char tmp2[9];
data/burp-2.2.18/src/client/xattr.c:448: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((*toappend)+(*totallen), tmp1, 8);
data/burp-2.2.18/src/client/xattr.c:450: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((*toappend)+(*totallen), z, zlen);
data/burp-2.2.18/src/client/xattr.c:452: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((*toappend)+(*totallen), tmp2, 8);
data/burp-2.2.18/src/client/xattr.c:454: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((*toappend)+(*totallen), val, vlen);
data/burp-2.2.18/src/client/xattr.c:590:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(!(fp=fopen(fname, "w")))
data/burp-2.2.18/src/cmd.c:6:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buf[256];
data/burp-2.2.18/src/cmd.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 cmds[256]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
data/burp-2.2.18/src/cntr.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 ullmax[64];
data/burp-2.2.18/src/cntr.c:210:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char ret[32]="";
data/burp-2.2.18/src/cntr.c:212: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 units[3]="";
data/burp-2.2.18/src/cntr.c:547: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_start_str[32];
data/burp-2.2.18/src/cntr.c:548: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_end_str[32];
data/burp-2.2.18/src/cntr.c:622:9:  [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((fd=open(
data/burp-2.2.18/src/cntr.c:684:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char tmp[CNTR_PATH_BUF_LEN+3]="";
data/burp-2.2.18/src/cntr.c:837:13:  [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).
		*bno=(int)atoi(pp+1);
data/burp-2.2.18/src/cntr.c:842: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).
			*pid=(pid_t)atoi(pp+1);
data/burp-2.2.18/src/cntr.c:883:6:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		if(atoi(tmp)!=CNTR_VERSION)
data/burp-2.2.18/src/cntr.c:895:39:  [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).
		cntr->cntr_status=(enum cntr_status)atoi(tmp);
data/burp-2.2.18/src/conf.c:931: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 piece[256]="";
data/burp-2.2.18/src/conffile.c:254:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		return atoi(cp);
data/burp-2.2.18/src/conffile.c:302:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					return set_int(c[i], atoi(v));
data/burp-2.2.18/src/conffile.c:434: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 msg[128]="";
data/burp-2.2.18/src/conffile.c:607: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 hostname[1024]="";
data/burp-2.2.18/src/conffile.c:755: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).
		if(!(k->flag=atoi(k->path)))
data/burp-2.2.18/src/conffile.c:996:7:  [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).
	port=atoi(cp);
data/burp-2.2.18/src/conffile.c:1021:21:  [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).
			if((max_children=atol(mc->path))<=0)
data/burp-2.2.18/src/conffile.c:1059:8:  [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).
		port=atoi(p->path);
data/burp-2.2.18/src/conffile.c:1221: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[4096]="";
data/burp-2.2.18/src/conffile.c:1223:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(!(fp=fopen(conf_path, "r")))
data/burp-2.2.18/src/conffile.c:1613:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char path[256]="";
data/burp-2.2.18/src/fsops.c:414:10:  [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((dfd=open(path, O_RDONLY|O_DIRECTORY|(atime?0:O_NOATIME)
data/burp-2.2.18/src/fsops.c:472:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char obuf[FULL_CHUNK];
data/burp-2.2.18/src/fsops.c:473:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char nbuf[FULL_CHUNK];
data/burp-2.2.18/src/fzp.c:28:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if(!(fp=fopen(fname, mode)))
data/burp-2.2.18/src/fzp.c:251: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[16];
data/burp-2.2.18/src/handy.c:116:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy(out, in, have);
data/burp-2.2.18/src/handy.c:234: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 addrstr[INET6_ADDRSTRLEN]="";
data/burp-2.2.18/src/handy.c:246: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 portstr[16]="";
data/burp-2.2.18/src/handy.c:247: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 addrstr[INET6_ADDRSTRLEN]="";
data/burp-2.2.18/src/handy.c:460:7:  [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).
	ret+=atol(tok3);
data/burp-2.2.18/src/handy.c:461:7:  [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).
	ret+=atol(tok2)*100;
data/burp-2.2.18/src/handy.c:462:7:  [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).
	ret+=atol(tok1)*100*100;
data/burp-2.2.18/src/handy.c:483:10:  [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(bfd->open(bfd, asfd, path,
data/burp-2.2.18/src/hexmap.c:66:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char str[64];
data/burp-2.2.18/src/hexmap.c:81:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char str[15];
data/burp-2.2.18/src/hexmap.c:96:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char str[20];
data/burp-2.2.18/src/incexc_send.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 tmp[64]="";
data/burp-2.2.18/src/incexc_send.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 tmp[32]="";
data/burp-2.2.18/src/iobuf.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 lead[5]="";
data/burp-2.2.18/src/iobuf.c:190:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char str[256]="";
data/burp-2.2.18/src/lock.c:46: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((lock->fd=open(
data/burp-2.2.18/src/lock.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 text[64]="";
data/burp-2.2.18/src/lock.c:147:13:  [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((fdlock=open(path, O_WRONLY, 0666))<0)
data/burp-2.2.18/src/log.c:35: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[512]="";
data/burp-2.2.18/src/log.c:76: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[512]="";
data/burp-2.2.18/src/log.c:108:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[512]="";
data/burp-2.2.18/src/log.c:128:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[512]="";
data/burp-2.2.18/src/log.c:211: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[512]="";
data/burp-2.2.18/src/log.c:231: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[512]="";
data/burp-2.2.18/src/log.c:259: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 m[256]="";
data/burp-2.2.18/src/prepend.c:20:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	if(plen) memcpy(rpath,           prep,  plen);
data/burp-2.2.18/src/prepend.c:21:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	if(slen) memcpy(rpath+plen,      sep,   slen);
data/burp-2.2.18/src/prepend.c:22:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	if(flen) memcpy(rpath+plen+slen, fname, flen);
data/burp-2.2.18/src/prog.c:362:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				randomise=atoi(optarg);
data/burp-2.2.18/src/prog.c:372:11:  [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).
				strip=atoi(optarg);
data/burp-2.2.18/src/protocol1/handy.c:77: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(enc_iv, new_enc, 9);
data/burp-2.2.18/src/protocol1/handy.c:118:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char endmsg[128]="";
data/burp-2.2.18/src/protocol1/handy.c:202: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, metadata, strm.avail_in);
data/burp-2.2.18/src/protocol1/handy.c:283: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(out, in, have);
data/burp-2.2.18/src/protocol1/handy.c:436: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[4096]="";
data/burp-2.2.18/src/protocol1/msg.c:124: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(pbData, rbuf->buf, rbuf->len);
data/burp-2.2.18/src/protocol1/rs_buf.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(fb->buf, rbuf->buf, rbuf->len);
data/burp-2.2.18/src/protocol2/blk.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(blk->md5sum, iobuf->buf+8, 8);
data/burp-2.2.18/src/protocol2/blk.c:108: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(blk->md5sum+8, iobuf->buf+16, 8);
data/burp-2.2.18/src/protocol2/blk.c:195: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.
	static union { char c[24]; uint64_t v[3]; } buf;
data/burp-2.2.18/src/protocol2/blk.c:197: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.c[8], blk->md5sum, 8);
data/burp-2.2.18/src/protocol2/blk.c:198: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.c[16], blk->md5sum+8, 8);
data/burp-2.2.18/src/protocol2/blk.c:204: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.
	static union { char c[32]; uint64_t v[4]; } buf;
data/burp-2.2.18/src/protocol2/blk.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(&buf.c[8], blk->md5sum, 8);
data/burp-2.2.18/src/protocol2/blk.c:207: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.c[16], blk->md5sum+8, 8);
data/burp-2.2.18/src/protocol2/blk.c:214: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.
	static union { char c[8]; uint64_t v; } buf;
data/burp-2.2.18/src/protocol2/blk.c:231: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.
	static union { char c[16]; uint64_t v[2]; } buf;
data/burp-2.2.18/src/protocol2/rabin/rabin.c:171: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(gbuf, data, length);
data/burp-2.2.18/src/run_script.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 buf[256]="";
data/burp-2.2.18/src/run_script.c:129:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *cmd[64]={ NULL };
data/burp-2.2.18/src/run_script.c:138:55:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	for(a=0; args[a] && l < (maxcmd - 1); a++) cmd[l++]=(char *)args[a];
data/burp-2.2.18/src/server/auth.c:34: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 delay_bytes[4] = {0};
data/burp-2.2.18/src/server/auth.c:152:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[256]="";
data/burp-2.2.18/src/server/auth.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 whoareyou[256]="";
data/burp-2.2.18/src/server/backup.c:167:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	cntr->bno=atoi(bno);
data/burp-2.2.18/src/server/backup.c:306: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 okstr[32]="";
data/burp-2.2.18/src/server/bu_get.c:20:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char path[256]="";
data/burp-2.2.18/src/server/bu_get.c:29: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 compressed[32];
data/burp-2.2.18/src/server/bu_get.c:40: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[38]="";
data/burp-2.2.18/src/server/bu_get.c:156: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 realwork[38]="";
data/burp-2.2.18/src/server/bu_get.c:157: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 realfinishing[38]="";
data/burp-2.2.18/src/server/bu_get.c:158: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 realcurrent[38]="";
data/burp-2.2.18/src/server/bu_get.c:235: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 real[38]="";
data/burp-2.2.18/src/server/ca.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 buf[4096]="";
data/burp-2.2.18/src/server/ca.c:102:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *args[15];
data/burp-2.2.18/src/server/ca.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 linktarget[1024]="";
data/burp-2.2.18/src/server/ca.c:212:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *args[12];
data/burp-2.2.18/src/server/ca.c:247:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *args[12];
data/burp-2.2.18/src/server/ca.c:338:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[512]="";
data/burp-2.2.18/src/server/ca.c:354: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 msg[256]="";
data/burp-2.2.18/src/server/ca.c:355: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 csrpath[512]="";
data/burp-2.2.18/src/server/ca.c:356: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 crtpath[512]="";
data/burp-2.2.18/src/server/ca.c:358:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *args[15];
data/burp-2.2.18/src/server/ca.c:375:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[512]="";
data/burp-2.2.18/src/server/child.c:78:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *args[12];
data/burp-2.2.18/src/server/child.c:95:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[256];
data/burp-2.2.18/src/server/compress.c:13:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char comp[8]="";
data/burp-2.2.18/src/server/compress.c:24: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[ZCHUNK];
data/burp-2.2.18/src/server/compress.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 p[12]="";
data/burp-2.2.18/src/server/delete.c:23: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 new_name[256]="";
data/burp-2.2.18/src/server/diff.c:149:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char msg[64]="";
data/burp-2.2.18/src/server/dpth.h:13: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 save_path[15];
data/burp-2.2.18/src/server/extra_comms.c:164:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char p[32]="";
data/burp-2.2.18/src/server/extra_comms.c:313:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char comp[32]="";
data/burp-2.2.18/src/server/extra_comms.c:361: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 msg[128]="";
data/burp-2.2.18/src/server/extra_comms.c:368: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).
			cprotocol=atoi(cliproto);
data/burp-2.2.18/src/server/list.c:55:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[256]="";
data/burp-2.2.18/src/server/list.c:246: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 msg[64]="";
data/burp-2.2.18/src/server/main.c:82: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[INET6_ADDRSTRLEN]="";
data/burp-2.2.18/src/server/main.c:84: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[INET_ADDRSTRLEN]="";
data/burp-2.2.18/src/server/manio.c:62:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char tmp[32];
data/burp-2.2.18/src/server/manio.c:270: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[16]="";
data/burp-2.2.18/src/server/manio.c:299: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 msg[32]="";
data/burp-2.2.18/src/server/manio.c:343: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 msg[32]="";
data/burp-2.2.18/src/server/monitor/cache.c:61: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(&enew->statp, &sb->statp, sizeof(struct stat));
data/burp-2.2.18/src/server/monitor/cache.c:137: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(&root->statp, &sb->statp, sizeof(struct stat));
data/burp-2.2.18/src/server/monitor/json_output.c:111: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 logfilereal[32]="";
data/burp-2.2.18/src/server/monitor/json_output.c:153:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[1024]="";
data/burp-2.2.18/src/server/monitor/json_output.c:170:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char type[2];
data/burp-2.2.18/src/server/monitor/status_server.c:275:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char peer_version_str[32]="peer_version=";
data/burp-2.2.18/src/server/monitor/status_server.c:334:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char msg[256]="";
data/burp-2.2.18/src/server/protocol1/backup_phase4.c:705: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 realcurrent[256]="";
data/burp-2.2.18/src/server/protocol1/backup_phase4.c:708: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 tstmp[64]="";
data/burp-2.2.18/src/server/protocol1/bedup.c:33:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char ext[16]="";
data/burp-2.2.18/src/server/protocol1/bedup.c:70: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(newfile, f, sizeof(struct file));
data/burp-2.2.18/src/server/protocol1/bedup.c:152:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char obuf[FULL_CHUNK];
data/burp-2.2.18/src/server/protocol1/bedup.c:153:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char nbuf[FULL_CHUNK];
data/burp-2.2.18/src/server/protocol1/bedup.c:186:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buf[PART_CHUNK];
data/burp-2.2.18/src/server/protocol1/bedup.c:187:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char checksum[MD5_DIGEST_LENGTH+1];
data/burp-2.2.18/src/server/protocol1/bedup.c:216: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(&(f->part_cksum), checksum, sizeof(unsigned));
data/burp-2.2.18/src/server/protocol1/bedup.c:229:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buf[FULL_CHUNK];
data/burp-2.2.18/src/server/protocol1/bedup.c:230: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 checksum[MD5_DIGEST_LENGTH+1];
data/burp-2.2.18/src/server/protocol1/bedup.c:261: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(&(f->full_cksum), checksum, sizeof(unsigned));
data/burp-2.2.18/src/server/protocol1/bedup.c:307: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(oldfile, newfile, sizeof(struct file));
data/burp-2.2.18/src/server/protocol1/bedup.c:529:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char working[256]="";
data/burp-2.2.18/src/server/protocol1/bedup.c:530:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char finishing[256]="";
data/burp-2.2.18/src/server/protocol1/bedup.c:909: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).
				maxlinks=atoi(optarg);
data/burp-2.2.18/src/server/protocol1/deleteme.c:16: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 suffix[16]="";
data/burp-2.2.18/src/server/protocol1/dpth.c:11:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char path[32];
data/burp-2.2.18/src/server/protocol1/dpth.c:22:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char path[5];
data/burp-2.2.18/src/server/protocol1/dpth.c:29:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char path[10];
data/burp-2.2.18/src/server/protocol1/link.c:112:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[DUP_CHUNK]="";
data/burp-2.2.18/src/server/protocol1/vss_strip.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 buf[4096]="";
data/burp-2.2.18/src/server/protocol1/vss_strip.c:41: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(path, mode)))
data/burp-2.2.18/src/server/protocol1/vss_strip.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[4096]="";
data/burp-2.2.18/src/server/protocol2/backup_phase2.c:365:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char req[32]="";
data/burp-2.2.18/src/server/protocol2/backup_phase2.c:451:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char tmp[32];
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:402:26:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	if(merge_sparse_indexes(tmpfile, globalsrc, sparse))
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:406:15:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	if(do_rename(tmpfile, global))
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:411:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	free_w(&tmpfile);
data/burp-2.2.18/src/server/protocol2/backup_phase4.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 compa[32]="";
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:447: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 compb[32]="";
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:448: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 compd[32]="";
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:526: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 compd[32]="";
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:667: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[16]="";
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:767:24:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	  || !(dzp=fzp_gzopen(tmpfile, "wb"))
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:794:36:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
		logp("Error closing %s in %s\n", tmpfile, __func__);
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:799:15:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	if(do_rename(tmpfile, global_sparse)) goto end;
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:811:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	free_w(&tmpfile);
data/burp-2.2.18/src/server/protocol2/champ_chooser/dindex.c: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 hfile[32];
data/burp-2.2.18/src/server/protocol2/champ_chooser/hash.c:48: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(newstrong->md5sum, blk->md5sum, MD5_DIGEST_LENGTH);
data/burp-2.2.18/src/server/protocol2/dpth.c:32:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char path[8];
data/burp-2.2.18/src/server/protocol2/dpth.c:39:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char path[16];
data/burp-2.2.18/src/server/protocol2/dpth.c:71:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char save_path[32];
data/burp-2.2.18/src/server/protocol2/dpth.c:186:9:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
	if((fd=mkstemp(fullpath))<0)
data/burp-2.2.18/src/server/protocol2/restore.c:50:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
					char msg[256];
data/burp-2.2.18/src/server/protocol2/restore.c:121: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(nblk->data, blk->data, blk->length);
data/burp-2.2.18/src/server/restore.c:699:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[256]="";
data/burp-2.2.18/src/server/restore.c:725:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[256]="";
data/burp-2.2.18/src/server/restore.c:796:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char msg[256]="";
data/burp-2.2.18/src/server/rubble.c:25: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 tstmp[48]="";
data/burp-2.2.18/src/server/rubble.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 buf[256]="";
data/burp-2.2.18/src/server/rubble.c:66: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[4096]="";
data/burp-2.2.18/src/server/rubble.c:161: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 msg[128]="";
data/burp-2.2.18/src/server/rubble.c:217: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 msg[256]="";
data/burp-2.2.18/src/server/run_action.c:46:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char msg[256]="";
data/burp-2.2.18/src/server/run_action.c:108:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *args[12];
data/burp-2.2.18/src/server/run_action.c:131:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char warnings[32]="";
data/burp-2.2.18/src/server/run_action.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 tstmp[48]="";
data/burp-2.2.18/src/server/run_action.c:424: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 msg[256]="";
data/burp-2.2.18/src/server/sdirs.c:62: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 real[256]="";
data/burp-2.2.18/src/server/sdirs.c:101:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tstmp[64]="";
data/burp-2.2.18/src/server/sdirs.c:102:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fname[64]="";
data/burp-2.2.18/src/server/timer.c:54:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char day[4]="";
data/burp-2.2.18/src/server/timer.c:55:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char hour[3]="";
data/burp-2.2.18/src/server/timer.c:150:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tstmp[64]="";
data/burp-2.2.18/src/server/timer.c:151:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char min_time_buf[64]="";
data/burp-2.2.18/src/server/timer.c:270:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *args[12];
data/burp-2.2.18/src/server/timestamp.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 tmpbuf[38]="";
data/burp-2.2.18/src/ssl.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 tmpbuf[256]="";
data/burp-2.2.18/src/ssl.c:242: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 tmpbuf[256]="";
data/burp-2.2.18/src/ssl.c:262: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 tmpbuf[256]="";
data/burp-2.2.18/src/times.c:6:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buf[32]="";
data/burp-2.2.18/src/times.c:30:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char str[32]="";
data/burp-2.2.18/src/times.c:35: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 ss[4]="";
data/burp-2.2.18/src/times.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 ms[4]="";
data/burp-2.2.18/src/times.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 hs[4]="";
data/burp-2.2.18/src/times.c:38: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 ds[4]="";
data/burp-2.2.18/src/times.c:76:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		n=sprintf(buf, "%04d-%02d-%02d %02d:%02d:%02d",
data/burp-2.2.18/src/win32/burp/vss.h:89:2:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	wchar_t m_wszUniqueVolumeName[26][MAX_PATH]; // approx. 7 KB
data/burp-2.2.18/src/win32/burp/vss.h:90:2:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	wchar_t m_szShadowCopyName[26][MAX_PATH]; // approx. 7 KB
data/burp-2.2.18/src/win32/burp/vss_generic.cpp:136:2:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	wchar_t volumeRootPath[MAX_PATH];
data/burp-2.2.18/src/win32/burp/vss_generic.cpp:137:2:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	wchar_t volumeName[MAX_PATH];
data/burp-2.2.18/src/win32/burp/vss_generic.cpp:138:2:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	wchar_t volumeUniqueName[MAX_PATH];
data/burp-2.2.18/src/win32/burp/vss_generic.cpp:415:2:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	wchar_t szDrive[3];
data/burp-2.2.18/src/win32/burp/vss_generic.cpp:634:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char str[1000];
data/burp-2.2.18/src/win32/burp/vss_generic.cpp:635:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char szBuf1[200];
data/burp-2.2.18/src/win32/burp/vss_generic.cpp:636:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char szBuf2[200];
data/burp-2.2.18/src/win32/burp/vss_generic.cpp:637:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char szBuf3[200];
data/burp-2.2.18/src/win32/compat/compat.cpp:255:3:  [2] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer. Risk is low because the source is a constant string.
		wcscpy(pwszBuf, L"\\\\?\\");
data/burp-2.2.18/src/win32/compat/compat.cpp:283:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		wchar_t szDrive[3];
data/burp-2.2.18/src/win32/compat/compat.cpp:540:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buf[200];
data/burp-2.2.18/src/win32/compat/compat.cpp:760: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 dummy[1000];
data/burp-2.2.18/src/win32/compat/compat.cpp:854:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char tmpbuf[_MAX_PATH]="";
data/burp-2.2.18/src/win32/compat/compat.cpp:1280:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char szBuf[MAX_PATH_UTF8+1];
data/burp-2.2.18/src/win32/compat/compat.cpp:1593:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		wchar_t wszBuf[1024];
data/burp-2.2.18/src/win32/compat/compat.cpp:1594:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char  szBuf[1024];
data/burp-2.2.18/src/win32/compat/compat.cpp:1711: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 WIN_VERSION_LONG[64];
data/burp-2.2.18/src/win32/compat/compat.cpp:1712: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 WIN_VERSION[32];
data/burp-2.2.18/src/win32/compat/compat.cpp:1713: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 WIN_RAWVERSION[32];
data/burp-2.2.18/src/win32/compat/compat.cpp:1901: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(pPathname, pExeStart, dwBasePathLength);
data/burp-2.2.18/src/win32/compat/compat.cpp:1920: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(pPathname, pAltPathname,
data/burp-2.2.18/src/win32/compat/compat.cpp:1946: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(pPathname, pAltPathname, dwAltNameLength);
data/burp-2.2.18/src/win32/compat/compat.cpp:1960: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(*pexe, pAltPathname, dwAltNameLength+1);
data/burp-2.2.18/src/win32/compat/compat.cpp:1969: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(*pexe, pPathname, dwPathnameLength+1);
data/burp-2.2.18/src/win32/compat/compat.cpp:1989: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[1024]="";
data/burp-2.2.18/src/win32/compat/compat.cpp:2133: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 used_path[MAX_PATH_UTF8 + 1];
data/burp-2.2.18/src/win32/compat/compat.h:140:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char d_name[MAX_PATH_UTF8];
data/burp-2.2.18/src/win32/compat/print.cpp:117:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char iconvert[20];
data/burp-2.2.18/src/win32/compat/print.cpp:118:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char fconvert[20];
data/burp-2.2.18/src/win32/compat/print.cpp:276: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[20];
data/burp-2.2.18/src/yajl/yajl.c:68: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((void *) &(hand->alloc), (void *) afs, sizeof(yajl_alloc_funcs));
data/burp-2.2.18/src/yajl/yajl_buf.c:77:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(buf->data + buf->used, data, len);
data/burp-2.2.18/src/yajl/yajl_encode.c:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char hexBuf[7];
data/burp-2.2.18/src/yajl/yajl_encode.c:125:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char utf8Buf[5];
data/burp-2.2.18/src/yajl/yajl_gen.c:120: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((void *) &(g->alloc), (void *) afs, sizeof(yajl_alloc_funcs));
data/burp-2.2.18/src/yajl/yajl_gen.c:212:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char i[32];
data/burp-2.2.18/src/yajl/yajl_gen.c:214:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(i, "%lld", number);
data/burp-2.2.18/src/yajl/yajl_gen.c:230:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char i[32];
data/burp-2.2.18/src/yajl/yajl_gen.c:234:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(i, "%.20g", number);
data/burp-2.2.18/src/yajl/yajl_gen.c:236:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(i, ".0");
data/burp-2.2.18/src/yajl/yajl_lex.c:139:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char charLookupTable[256] =
data/burp-2.2.18/src/yajl/yajl_parser.c:73:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char text[72];
data/burp-2.2.18/src/yajl/yajl_parser.c:98:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat((char *) str, " error");
data/burp-2.2.18/src/yajl/yajl_parser.c:100:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat((char *) str, ": ");
data/burp-2.2.18/src/yajl/yajl_tree.c:287: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(v->u.string, string, string_length);
data/burp-2.2.18/src/yajl/yajl_tree.c:308: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(v->u.number.r, string, string_length);
data/burp-2.2.18/utest/builders/build_asfd_mock.c:153:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		fail_unless(memcpy(ioevent[*i].iobuf.buf,
data/burp-2.2.18/utest/builders/build_attribs.c:18: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(dest, &u, s/reduce);
data/burp-2.2.18/utest/builders/build_clientconfdir.c:11:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char path[256]="";
data/burp-2.2.18/utest/builders/build_file.c:12:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fail_unless((fp=fopen(path, "wb"))!=NULL);
data/burp-2.2.18/utest/builders/build_paths.c:30: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 comp[16]="";
data/burp-2.2.18/utest/builders/build_paths.c:46: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 cwd[PATH_MAX];
data/burp-2.2.18/utest/builders/build_paths.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 *comps[COMP_SIZE];
data/burp-2.2.18/utest/builders/build_slist.c:11: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[256];
data/burp-2.2.18/utest/builders/protocol2/build_blist.c:34: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 savepathstr[20];
data/burp-2.2.18/utest/builders/server/build_manifest.c:217: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 spath[256]="";
data/burp-2.2.18/utest/builders/server/build_manifest.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 cpath[256]="";
data/burp-2.2.18/utest/builders/server/build_storage_dirs.c:12: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[256]="";
data/burp-2.2.18/utest/builders/server/build_storage_dirs.c:25: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 backup[128]="";
data/burp-2.2.18/utest/builders/server/build_storage_dirs.c:26: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 timestamp_path[128]="";
data/burp-2.2.18/utest/builders/server/protocol2/build_sparse_index.c:18:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char mpath[256];
data/burp-2.2.18/utest/client/monitor/test_json_input.c:59: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[CHUNK_SIZE+1];
data/burp-2.2.18/utest/client/monitor/test_lline.c:23:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		fail_unless(!lline_add(list, (char *)data[i]));
data/burp-2.2.18/utest/client/protocol1/test_backup_phase2.c: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 empty_sig[12]={'r', 's', 0x01, '6',
data/burp-2.2.18/utest/client/protocol1/test_backup_phase2.c:252:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char empty_delta[5]={'r', 's', 0x02, '6', 0x00};
data/burp-2.2.18/utest/client/protocol1/test_backup_phase2.c:258:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char empty_delta[4]={'r', 's', 0x02, '6'};
data/burp-2.2.18/utest/client/protocol2/test_backup_phase2.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 buf[32];
data/burp-2.2.18/utest/client/protocol2/test_backup_phase2.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 req[32]="";
data/burp-2.2.18/utest/client/protocol2/test_backup_phase2.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 req[32]="";
data/burp-2.2.18/utest/client/protocol2/test_backup_phase2.c:306:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buf[32]="";
data/burp-2.2.18/utest/client/protocol2/test_backup_phase2.c:307:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char warn[256]="";
data/burp-2.2.18/utest/client/protocol2/test_rabin_read.c:51: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 expected[256];
data/burp-2.2.18/utest/client/protocol2/test_rabin_read.c:54:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[5];
data/burp-2.2.18/utest/client/protocol2/test_rabin_read.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 retrieved[256];
data/burp-2.2.18/utest/client/test_acl.c:82: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 expected[256];
data/burp-2.2.18/utest/client/test_delete.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 msg[64]="";
data/burp-2.2.18/utest/client/test_extra_comms.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 msg[64];
data/burp-2.2.18/utest/client/test_extra_comms.c:338: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 msg[256]="";
data/burp-2.2.18/utest/client/test_extra_comms.c:351: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 msg[64];
data/burp-2.2.18/utest/client/test_extrameta.c:75: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 expected[256];
data/burp-2.2.18/utest/client/test_find.c:15:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char fullpath[4096]; // absolute path to base
data/burp-2.2.18/utest/client/test_find.c:22:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fail_unless((fp=fopen(path, "wb+"))!=NULL);
data/burp-2.2.18/utest/client/test_find.c:198:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char extra_config[1024]="";
data/burp-2.2.18/utest/client/test_find.c: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 buf[4096];
data/burp-2.2.18/utest/client/test_restore.c:26:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char path[PATH_MAX];
data/burp-2.2.18/utest/client/test_restore.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 cwd[PATH_MAX];
data/burp-2.2.18/utest/client/test_restore.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 expected[512];
data/burp-2.2.18/utest/client/test_restore.c:103: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(&s->statp, &statp_dir, sizeof(statp_dir));
data/burp-2.2.18/utest/client/test_restore.c:108: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 path[256];
data/burp-2.2.18/utest/client/test_restore.c:122: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(&s->statp, &statp_file, sizeof(statp_file));
data/burp-2.2.18/utest/client/test_restore.c:132:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			unsigned char gzipped_data[27] = {
data/burp-2.2.18/utest/client/test_restore.c:138: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(&s->statp, &statp_file, sizeof(statp_file));
data/burp-2.2.18/utest/client/test_restore.c:175: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[4096];
data/burp-2.2.18/utest/client/test_restore.c:253: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(&s->statp, &statp_dir, sizeof(statp_dir));
data/burp-2.2.18/utest/client/test_restore.c:258: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 path[256];
data/burp-2.2.18/utest/client/test_restore.c:272: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(&s->statp, &statp_file, sizeof(statp_file));
data/burp-2.2.18/utest/client/test_restore.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(&s->statp, &statp_file, sizeof(statp_file));
data/burp-2.2.18/utest/client/test_restore.c:310: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(&s->statp, &statp_dir, sizeof(statp_dir));
data/burp-2.2.18/utest/client/test_restore.c:315: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 path[256];
data/burp-2.2.18/utest/client/test_restore.c:329: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(&s->statp, &statp_file, sizeof(statp_file));
data/burp-2.2.18/utest/client/test_restore.c:337: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(&s->statp, &statp_file, sizeof(statp_file));
data/burp-2.2.18/utest/client/test_restore.c:400:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char input[256];
data/burp-2.2.18/utest/client/test_xattr.c:129:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char expected[256];
data/burp-2.2.18/utest/protocol2/rabin/test_rabin.c:47: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(blk->data, &x, blk->length);
data/burp-2.2.18/utest/protocol2/test_blk.c:35: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(blk->data, &x, blk->length);
data/burp-2.2.18/utest/server/monitor/test_cstat.c:193: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[256];
data/burp-2.2.18/utest/server/monitor/test_status_server.c:39:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[64];
data/burp-2.2.18/utest/server/monitor/test_status_server.c:70: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[64];
data/burp-2.2.18/utest/server/protocol1/test_backup_phase2.c:183: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 empty_sig[12]={'r', 's', 0x01, '6',
data/burp-2.2.18/utest/server/protocol1/test_backup_phase2.c:315: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 empty_delta[4]={'r', 's', 0x02, '6'};
data/burp-2.2.18/utest/server/protocol1/test_backup_phase2.c:369: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 path[256];
data/burp-2.2.18/utest/server/protocol1/test_backup_phase4.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[256]="";
data/burp-2.2.18/utest/server/protocol1/test_backup_phase4.c:95:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char path[256]="";
data/burp-2.2.18/utest/server/protocol1/test_backup_phase4.c:103:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char path[256]="";
data/burp-2.2.18/utest/server/protocol1/test_dpth.c:156: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 str[15];
data/burp-2.2.18/utest/server/protocol1/test_restore.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 msg[256]="";
data/burp-2.2.18/utest/server/protocol1/test_restore.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 msg[256]="";
data/burp-2.2.18/utest/server/protocol1/test_restore.c:40: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 msg[256]="";
data/burp-2.2.18/utest/server/protocol1/test_restore.c:49: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 msg[256]="";
data/burp-2.2.18/utest/server/protocol1/test_restore.c: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 msg[256]="";
data/burp-2.2.18/utest/server/protocol2/champ_chooser/test_champ_server.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 buf[25];
data/burp-2.2.18/utest/server/protocol2/champ_chooser/test_dindex.c:63:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fail_unless((fp=fopen(path, "wb"))!=NULL);
data/burp-2.2.18/utest/server/protocol2/test_backup_phase2.c:310:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buf[32]="";
data/burp-2.2.18/utest/server/protocol2/test_backup_phase2.c:416: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 req[32]="";
data/burp-2.2.18/utest/server/protocol2/test_backup_phase4.c:33: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 candidate[16];
data/burp-2.2.18/utest/server/protocol2/test_backup_phase4.c:34: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 rmanifest[64];
data/burp-2.2.18/utest/server/protocol2/test_backup_phase4.c:335:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fail_unless((fp=fopen(path, "wb"))!=NULL);
data/burp-2.2.18/utest/server/protocol2/test_bsparse.c:144:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char path[256];
data/burp-2.2.18/utest/server/test_autoupgrade.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 path[256];
data/burp-2.2.18/utest/server/test_autoupgrade.c:138:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/burp-2.2.18/utest/server/test_autoupgrade.c:149:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/burp-2.2.18/utest/server/test_backup_phase3.c:185: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 expected[256];
data/burp-2.2.18/utest/server/test_backup_phase3.c:196: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[4096];
data/burp-2.2.18/utest/server/test_backup_phase3.c:197: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 changed[512];
data/burp-2.2.18/utest/server/test_backup_phase3.c:198: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 unchanged[512];
data/burp-2.2.18/utest/server/test_backup_phase3.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 final[512];
data/burp-2.2.18/utest/server/test_bu_get.c:401: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 backup[128]="";
data/burp-2.2.18/utest/server/test_bu_get.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 renamed[128]="";
data/burp-2.2.18/utest/server/test_ca.c:42: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[4096];
data/burp-2.2.18/utest/server/test_delete.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 tmp[8]="";
data/burp-2.2.18/utest/server/test_extra_comms.c:149:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char proto[32]="";
data/burp-2.2.18/utest/server/test_extra_comms.c:150:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char rshash[32]="";
data/burp-2.2.18/utest/server/test_extra_comms.c:152:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char features[256]="";
data/burp-2.2.18/utest/server/test_extra_comms.c:261: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 cprotocol[16]="";
data/burp-2.2.18/utest/server/test_extra_comms.c:303: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 msg[256]="";
data/burp-2.2.18/utest/server/test_extra_comms.c:304: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 cliproto[16]="";
data/burp-2.2.18/utest/server/test_list.c:157:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char expected_path[256]="";
data/burp-2.2.18/utest/server/test_manio.c:262:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char p[64]="";
data/burp-2.2.18/utest/server/test_manio.c:290: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 manifest_line[64]="";
data/burp-2.2.18/utest/server/test_manio.c:400: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 mdstr[33];
data/burp-2.2.18/utest/server/test_restore.c:165:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char path[256];
data/burp-2.2.18/utest/server/test_restore.c: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 buf[32];
data/burp-2.2.18/utest/server/test_restore.c:233:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			unsigned char gzipped_data1[10] = {
data/burp-2.2.18/utest/server/test_restore.c:240:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			unsigned char gzipped_data2[14] = {
data/burp-2.2.18/utest/server/test_resume.c:197: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[256]="";
data/burp-2.2.18/utest/server/test_resume.c:409: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[256]="";
data/burp-2.2.18/utest/server/test_resume.c:626: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[256]="";
data/burp-2.2.18/utest/server/test_run_action.c:148: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[256]="";
data/burp-2.2.18/utest/server/test_sdirs.c:45: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 tstmp[128]="";
data/burp-2.2.18/utest/server/test_timer.c:262: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 day_now[4];
data/burp-2.2.18/utest/server/test_timer.c: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 hour_now[3];
data/burp-2.2.18/utest/server/test_timer.c:288:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char timestamp[64];
data/burp-2.2.18/utest/test_asfd.c:30: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 fulldesc[256];
data/burp-2.2.18/utest/test_base64.c:44:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char where[32];
data/burp-2.2.18/utest/test_cntr.c:10: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[32]="";
data/burp-2.2.18/utest/test_conffile.c:335:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cwd[1024];
data/burp-2.2.18/utest/test_conffile.c:336: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[4096];
data/burp-2.2.18/utest/test_conffile.c:337: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 path1[2048];
data/burp-2.2.18/utest/test_conffile.c:338: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 path2[2048];
data/burp-2.2.18/utest/test_conffile.c:886: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 orig_client_conf[256]="";
data/burp-2.2.18/utest/test_fzp.c:47: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[32]="";
data/burp-2.2.18/utest/test_fzp.c:135:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[32]="";
data/burp-2.2.18/utest/test_pathcmp.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 a[2]="";
data/burp-2.2.18/utest/test_pathcmp.c:64: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[2]="";
data/burp-2.2.18/src/asfd.c:171:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	r=read(asfd->fd,
data/burp-2.2.18/src/asfd.c:277:3:  [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(asfd->rlsleeptime);
data/burp-2.2.18/src/asfd.c:397: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).
			sblen=strlen(sbuf);
data/burp-2.2.18/src/asfd.c:473:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if(asfd->read(asfd)) return -1;
data/burp-2.2.18/src/asfd.c:504: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).
	wbuf.len=strlen(wsrc);
data/burp-2.2.18/src/asfd.c:519:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(asfd->read(asfd)) goto error;
data/burp-2.2.18/src/asfd.h:106:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int (*read)(struct asfd *);
data/burp-2.2.18/src/bfile.c:465:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return read(bfd->fd, buf, count);
data/burp-2.2.18/src/bfile.h:55:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ssize_t (*read)(struct BFILE *bfd, void *buf, size_t count);
data/burp-2.2.18/src/client/acl.c:123: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).
	tlen=(uint32_t)strlen(tmp);
data/burp-2.2.18/src/client/auth.c:26:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if(asfd->read(asfd)
data/burp-2.2.18/src/client/auth.c:48:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  || asfd->read(asfd))
data/burp-2.2.18/src/client/auth.c:60:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(asfd->read(asfd))
data/burp-2.2.18/src/client/ca.c:148: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).
		asfd->rbuf->buf+strlen("csr ok:")))
data/burp-2.2.18/src/client/cvss.c:53: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).
			for(i=0; i<strlen(vss_drives) && i<26; i++)
data/burp-2.2.18/src/client/cvss.c:69: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(path)>2
data/burp-2.2.18/src/client/cvss.c:99: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).
			for(i=0; i<(int)strlen(szWinDriveLetters); i++)
data/burp-2.2.18/src/client/cvss.c:240:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while((got=bfd->read(bfd, buf+offset, s-offset))>0)
data/burp-2.2.18/src/client/extra_comms.c:52:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if(asfd->read(asfd))
data/burp-2.2.18/src/client/find.c:101: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).
	for(cp=fname+strlen(fname)-1; i<incext->flag && cp>=fname; cp--, i++)
data/burp-2.2.18/src/client/find.c:123: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).
	for(cp=fname+strlen(fname)-1; i<excext->flag && cp>=fname; cp--, i++)
data/burp-2.2.18/src/client/find.c:147: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).
	for(cp=fname+strlen(fname)-1; i<excom->flag && cp>=fname; cp--, i++)
data/burp-2.2.18/src/client/find.c:447: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(p)+len>=*link_len)
data/burp-2.2.18/src/client/find.c:449: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).
			*link_len=len+strlen(p)+1;
data/burp-2.2.18/src/client/find.c:455: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).
		plen=strlen(p);
data/burp-2.2.18/src/client/find.c:522: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).
	len=strlen(fname);
data/burp-2.2.18/src/client/find_logic.c:285: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).
	if(!(len=strlen(src))) goto end;
data/burp-2.2.18/src/client/find_logic.c:289:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strip=strncpy(strip, src+1, len-2);
data/burp-2.2.18/src/client/find_logic.c:302: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).
	if(!(len=strlen(tok))) goto end;
data/burp-2.2.18/src/client/find_logic.c:304: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).
	if(!(len=strlen(tok))) goto end;  // test again after we trimmed the '='
data/burp-2.2.18/src/client/find_logic.c:306: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).
	for(cp=fname+strlen(fname)-1; cp>=fname; cp--)
data/burp-2.2.18/src/client/find_logic.c:324: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(tok)==0) goto end;
data/burp-2.2.18/src/client/find_logic.c:326: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(tok)==0) goto end;  // test again after we trimmed the '='
data/burp-2.2.18/src/client/find_logic.c:345: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).
		HASH_ADD_KEYPTR(hh, regex_cache, reg->id, strlen(reg->id), reg);
data/burp-2.2.18/src/client/find_logic.c:357: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 len=strlen(fname);
data/burp-2.2.18/src/client/find_logic.c:369: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(tok)==0) goto end;
data/burp-2.2.18/src/client/find_logic.c:639:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		HASH_ADD_KEYPTR(hh, cache, parsed->id, strlen(parsed->id), parsed);
data/burp-2.2.18/src/client/glob_windows.c:28: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).
	s_full=strlen(src);
data/burp-2.2.18/src/client/glob_windows.c:36:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(ret, src+ind, xmin(s_full, l));
data/burp-2.2.18/src/client/glob_windows.c:52:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(ig->path[strlen(ig->path)-1]!='*')
data/burp-2.2.18/src/client/glob_windows.c:104:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if(ig->path[strlen(ig->path)-1]=='*')
data/burp-2.2.18/src/client/glob_windows.c:107:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(ig->path)-1))
data/burp-2.2.18/src/client/list.c:140:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(asfd->read(asfd)) break;
data/burp-2.2.18/src/client/list.c:170:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(asfd->read(asfd))
data/burp-2.2.18/src/client/list.c:189:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if(asfd->read(asfd)
data/burp-2.2.18/src/client/main.c:86: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(asfd->rbuf->buf)>3)
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:364: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).
	  c<(col-strlen(msg)-l-1)
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:382:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	l=strlen(date);
data/burp-2.2.18/src/client/monitor/status_client_ncurses.c:546: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((l=strlen(c->name))>(unsigned int)max_cname)
data/burp-2.2.18/src/client/protocol1/backup_phase2.c:33:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(asfd->read(asfd)) goto end;
data/burp-2.2.18/src/client/protocol1/backup_phase2.c:458:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(asfd->read(asfd)) goto end;
data/burp-2.2.18/src/client/protocol2/rabin_read.c:109:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return (ssize_t)bfd->read(bfd, buf, bufsize);
data/burp-2.2.18/src/client/protocol2/restore.c:91:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(asfd->read(asfd))
data/burp-2.2.18/src/client/restore.c:65:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(asfd->read(asfd))
data/burp-2.2.18/src/client/restore.c:419:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  || strlen(path)<=strlen(strip)
data/burp-2.2.18/src/client/restore.c:419: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).
	  || strlen(path)<=strlen(strip)
data/burp-2.2.18/src/client/restore.c:423: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).
	len=strlen(p)-strlen(strip)+1;
data/burp-2.2.18/src/client/restore.c:423: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).
	len=strlen(p)-strlen(strip)+1;
data/burp-2.2.18/src/client/restore.c:424: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).
	src=p+strlen(strip);
data/burp-2.2.18/src/client/restore.c:689: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(!(tmp=prepend_s(canonical, (*fullpath)+strlen(copy))))
data/burp-2.2.18/src/client/xattr.c:203:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(cattrname, xattrlist+(j+1), cnt);
data/burp-2.2.18/src/client/xattr.c:210: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).
			zlen=(uint32_t)strlen(z);
data/burp-2.2.18/src/client/xattr.c:403:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if((zlen=(uint32_t)strlen(z))>maxlen)
data/burp-2.2.18/src/client/xattr.c:597:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ret=extattr_set_link(fname, "user", "comment", "a", strlen("a"));
data/burp-2.2.18/src/client/xattr.c:599: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).
	ret=lsetxattr(fname, "user.comment", "a", strlen("a"), /*flags*/0);
data/burp-2.2.18/src/cntr.c:73: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).
	slen+=strlen(cname);
data/burp-2.2.18/src/cntr.c:83: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).
			slen+=strlen(ullmax)+2;
data/burp-2.2.18/src/cntr.c:86: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).
			slen+=(strlen(ullmax)*5)+6;
data/burp-2.2.18/src/cntr.c:716: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).
	return strlen(str);
data/burp-2.2.18/src/conffile.c:105: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).
	for(cp+=strlen(cp)-1; *cp && isspace(*cp); cp--) { *cp='\0'; }
data/burp-2.2.18/src/conffile.c:250:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(!strncmp(v, "gzip", strlen("gzip"))
data/burp-2.2.18/src/conffile.c:251: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).
	  || !(strncmp(v, "zlib", strlen("zlib"))))
data/burp-2.2.18/src/conffile.c:252: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).
		cp=v+strlen("gzip"); // Or "zlib".
data/burp-2.2.18/src/conffile.c:253: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(cp)==1 && isdigit(*cp))
data/burp-2.2.18/src/conffile.c:355: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(*extrafile)>2
data/burp-2.2.18/src/conffile.c:931: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).
		int s=strlen(l->path);
data/burp-2.2.18/src/conffile.c:994: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(cp) || strlen(cp)>5)
data/burp-2.2.18/src/conffile.c:994: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(!strlen(cp) || strlen(cp)>5)
data/burp-2.2.18/src/conffile.c:1503: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).
	  || cname[strlen(cname)-1]=='~')
data/burp-2.2.18/src/fsops.c:68: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(*rpath)==2 && (*rpath)[1]==':')
data/burp-2.2.18/src/fsops.c:525:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(addr.sun_path, path, sizeof(addr.sun_path)-1);
data/burp-2.2.18/src/handy.c:534: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).
	return strncmp(s1, s2, strlen(s2));
data/burp-2.2.18/src/handy.c:549:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len_search = strlen(search);
data/burp-2.2.18/src/handy.c:555: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_rep=strlen(replace);
data/burp-2.2.18/src/handy.c:562: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).
	tmp=result=(char *)malloc_w(strlen(orig)+(len_rep-len_search)*count+1, func);
data/burp-2.2.18/src/handy.c:570:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		tmp=strncpy(tmp, orig, len_front)+len_front;
data/burp-2.2.18/src/handy.c:587: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).
	len=strlen(orig);
data/burp-2.2.18/src/handy.c:626: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).
	len=strlen(orig);
data/burp-2.2.18/src/handy.c:627:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len_replace=strlen(replace);
data/burp-2.2.18/src/handy.c:653:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				tmp=strncpy(tmp, replace, len_replace)+len_replace;
data/burp-2.2.18/src/handy.c:709: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 len=strlen(src);
data/burp-2.2.18/src/handy.c:717: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).
	size=strlen(ptr);
data/burp-2.2.18/src/handy.c:720:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	ret=strncpy(ret, ptr, size);
data/burp-2.2.18/src/handy.c:743: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).
	len=strlen(ptr);
data/burp-2.2.18/src/handy.c:774:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					tmp=strncpy(tmp, buf, tmp_len);
data/burp-2.2.18/src/handy.c:791:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	end=strncpy(end, buf, j+1);
data/burp-2.2.18/src/handy.c:823: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).
		  || !(l=strlen(*str))
data/burp-2.2.18/src/incexc_send.c:16: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).
	if(!(tosend=prepend_n(field, str, strlen(str), " = ")))
data/burp-2.2.18/src/iobuf.c:63: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).
	iobuf_set(iobuf, cmd, str, strlen(str));
data/burp-2.2.18/src/lock.c:97:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(write(lock->fd, text, strlen(text))!=(ssize_t)strlen(text))
data/burp-2.2.18/src/lock.c:97: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(write(lock->fd, text, strlen(text))!=(ssize_t)strlen(text))
data/burp-2.2.18/src/msg.c:95:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(asfd->read(asfd)) goto end_inflate;
data/burp-2.2.18/src/prepend.c:32: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).
	return prepend_len(prep, prep?strlen(prep):0,
data/burp-2.2.18/src/prepend.c:34: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).
		sep, (sep && *fname)?strlen(sep):0, NULL);
data/burp-2.2.18/src/prepend.c:39: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).
	return prepend_n(prep, fname, strlen(fname), "");
data/burp-2.2.18/src/prepend.c:57: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).
	return prepend_slash(prep, fname, strlen(fname));
data/burp-2.2.18/src/prepend.c:64:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(append) l+=strlen(append);
data/burp-2.2.18/src/prepend.c:65:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(*buf) l+=strlen(*buf);
data/burp-2.2.18/src/prog.c:110:2:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	umask(get_mode_t(confs[OPT_UMASK]));
data/burp-2.2.18/src/protocol1/handy.c:61: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(encryption_password),
data/burp-2.2.18/src/protocol1/handy.c:79: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).
		key_len=strlen(encryption_password);
data/burp-2.2.18/src/protocol1/handy.c:217:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					r=bfd->read(bfd, in,
data/burp-2.2.18/src/protocol1/handy.c:225:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				r=bfd->read(bfd, in, ZCHUNK);
data/burp-2.2.18/src/protocol1/handy.c:518:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				s=bfd->read(bfd,
data/burp-2.2.18/src/protocol1/handy.c:526:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				s=bfd->read(bfd, buf, 4096);
data/burp-2.2.18/src/protocol1/msg.c:117:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(mybuf->asfd->read(mybuf->asfd))
data/burp-2.2.18/src/protocol1/msg.c:229:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(asfd->read(asfd))
data/burp-2.2.18/src/protocol1/rs_buf.c:171:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				len=fb->bfd->read(fb->bfd, fb->buf,
data/burp-2.2.18/src/protocol1/rs_buf.c:184:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			len=fb->bfd->read(fb->bfd, fb->buf, fb->buf_len);
data/burp-2.2.18/src/sbuf.c:345:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if(asfd->read(asfd))
data/burp-2.2.18/src/server/auth.c:72:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(!plain_text || !passwd || strlen(passwd)<13)
data/burp-2.2.18/src/server/auth.c:172:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if(asfd->read(asfd))
data/burp-2.2.18/src/server/auth.c:211:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  || asfd->read(asfd))
data/burp-2.2.18/src/server/auth.c:229:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  || asfd->read(asfd))
data/burp-2.2.18/src/server/backup_phase1.c:60: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).
					"phase1end", strlen("phase1end")))
data/burp-2.2.18/src/server/backup_phase3.c:20: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).
	cp=sdirs->rmanifest+strlen(get_string(confs[OPT_DIRECTORY]));
data/burp-2.2.18/src/server/ca.c:52: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).
	flen+=strlen(ca_name);
data/burp-2.2.18/src/server/ca.c:53: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).
	flen+=strlen("CA_");
data/burp-2.2.18/src/server/ca.c:54: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).
	flen+=strlen(".crl")+1;
data/burp-2.2.18/src/server/child.c:178:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if(as->asfd->read(as->asfd)) goto end;
data/burp-2.2.18/src/server/delete.c:59: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).
		const char *candidate_str=bu->path+strlen(sdirs->base)+1;
data/burp-2.2.18/src/server/extra_comms.c:199: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(!(os=strdup_w(rbuf->buf+strlen("autoupgrade:"), __func__)))
data/burp-2.2.18/src/server/extra_comms.c:232:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(asfd->read(asfd)) goto end;
data/burp-2.2.18/src/server/extra_comms.c:331:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  && strlen(rbuf->buf)>strlen("uname="))
data/burp-2.2.18/src/server/extra_comms.c:331: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).
		  && strlen(rbuf->buf)>strlen("uname="))
data/burp-2.2.18/src/server/extra_comms.c:333: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).
			char *uname=rbuf->buf+strlen("uname=");
data/burp-2.2.18/src/server/extra_comms.c:334:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if(!strncasecmp("Windows", uname, strlen("Windows")))
data/burp-2.2.18/src/server/extra_comms.c:338:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  && strlen(rbuf->buf)>strlen("orig_client="))
data/burp-2.2.18/src/server/extra_comms.c:338: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).
		  && strlen(rbuf->buf)>strlen("orig_client="))
data/burp-2.2.18/src/server/extra_comms.c:341: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).
				rbuf->buf+strlen("orig_client=")))
data/burp-2.2.18/src/server/extra_comms.c:367: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).
			cliproto=rbuf->buf+strlen("protocol=");
data/burp-2.2.18/src/server/list.c:176: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(browsedir) bdlen=strlen(browsedir);
data/burp-2.2.18/src/server/main.c:671: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).
	iobuf_set(&wbuf, CMD_GEN, buf, strlen(buf));
data/burp-2.2.18/src/server/manio.c:216: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).
	  || send_msg_fzp(fzp, CMD_MANIFEST, tmp, strlen(tmp)))
data/burp-2.2.18/src/server/manio.c:279:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	s=strlen(buf);
data/burp-2.2.18/src/server/monitor/browse.c:24:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(browse) blen=strlen(browse);
data/burp-2.2.18/src/server/monitor/cache.c:156:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if(sb->path.buf+sb->path.len!=tok+strlen(tok))
data/burp-2.2.18/src/server/monitor/status_server.c:148: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).
	if(!strncmp(buf, "cntr", strlen("cntr")))
data/burp-2.2.18/src/server/monitor/status_server.c:153: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).
	else if(!strncmp(buf, "clients", strlen("clients")))
data/burp-2.2.18/src/server/monitor/status_server.c:209:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if(copy+strlen(buf) > tok+1)
data/burp-2.2.18/src/server/monitor/status_server.c:276: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).
		l=strlen(peer_version_str);
data/burp-2.2.18/src/server/protocol1/backup_phase2.c:54: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).
	    return strlen(path->buf) > fs_name_max ?  path_length_warn(path, cconfs):0;
data/burp-2.2.18/src/server/protocol1/backup_phase2.c:59: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).
	    len = cp1? cp1-cp : strlen(cp);
data/burp-2.2.18/src/server/protocol1/backup_phase2.c:1163: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).
		treepathlen=strlen(sdirs->treepath);
data/burp-2.2.18/src/server/protocol1/bedup.c:480: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(real[strlen(real)-1]=='/')
data/burp-2.2.18/src/server/protocol1/bedup.c:481: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).
		real[strlen(real)-1]='\0';
data/burp-2.2.18/src/server/protocol1/bedup.c:510: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(!strncmp(fname, "log", strlen("log"))
data/burp-2.2.18/src/server/protocol1/bedup.c:511: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).
		  || !strncmp(fname, "verifylog", strlen("verifylog"))
data/burp-2.2.18/src/server/protocol1/bedup.c:512:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  || !strncmp(fname, "restorelog", strlen("restorelog")))
data/burp-2.2.18/src/server/protocol1/bedup.c:836:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if(argv[i][strlen(argv[i])-1]=='/')
data/burp-2.2.18/src/server/protocol1/bedup.c:837: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).
			argv[i][strlen(argv[i])-1]='\0';
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:108:3:  [1] (buffer) strlen:
  Does not handle 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(hooks->path), hooks->path);
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:380:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return prepend_n(global, "tmp", strlen("tmp"), ".");
data/burp-2.2.18/src/server/protocol2/backup_phase4.c:771: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).
	clen=strlen(candidate_str);
data/burp-2.2.18/src/server/protocol2/champ_chooser/candidate.c:150: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).
	cp=path+strlen(directory);
data/burp-2.2.18/src/server/protocol2/champ_chooser/champ_chooser.c:66:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(!(lockfile=prepend_n(sparse_path, "lock", strlen("lock"), "."))
data/burp-2.2.18/src/server/protocol2/champ_chooser/champ_client.c:86: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).
	len=strlen(remote.sun_path)+sizeof(remote.sun_family)+1;
data/burp-2.2.18/src/server/protocol2/champ_chooser/champ_client.c:133:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(!(champname=prepend_n("cname", cname, strlen(cname), ":")))
data/burp-2.2.18/src/server/protocol2/champ_chooser/champ_server.c:162: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).
				+strlen("cname:"), __func__)))
data/burp-2.2.18/src/server/protocol2/champ_chooser/champ_server.c:166:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				(char *)"cname ok", strlen("cname ok"));
data/burp-2.2.18/src/server/protocol2/champ_chooser/champ_server.c:249: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).
	len=strlen(local.sun_path)+sizeof(local.sun_family)+1;
data/burp-2.2.18/src/server/protocol2/dpth.c:152:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  || strlen(dp->d_name)!=len)
data/burp-2.2.18/src/server/restore.c:57:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(*(path+strlen(s->path)+1)=='/')
data/burp-2.2.18/src/server/rubble.c:81: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(inc)<(size_t)got) break;
data/burp-2.2.18/src/server/rubble.c:85:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(inc && strlen(inc)) ret=0;
data/burp-2.2.18/src/server/run_action.c:279: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).
	backupno=rbuf->buf+strlen("delete ");
data/burp-2.2.18/src/server/run_action.c:311: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).
		if(!(backupno=strdup_w(rbuf->buf+strlen("list "), __func__)))
data/burp-2.2.18/src/server/run_action.c:324: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).
		if(!(backupno=strdup_w(rbuf->buf+strlen("listb "), __func__)))
data/burp-2.2.18/src/server/run_action.c:368: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(!(backup1=strdup_w(rbuf->buf+strlen("diff "), __func__)))
data/burp-2.2.18/src/ssl.c:64:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(num<(int)strlen(pass)+1) return 0;
data/burp-2.2.18/src/ssl.c:66: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).
	return strlen(pass);
data/burp-2.2.18/src/ssl.c:205: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).
		name_expand_size=64+strlen(objbuf);
data/burp-2.2.18/src/win32/burp/vss.cpp:147:2:  [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(dest, src, maxlen-1);
data/burp-2.2.18/src/win32/burp/vss.cpp:160: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).
	bIsValidName=strlen(szFilePath)>3;
data/burp-2.2.18/src/win32/burp/vss.cpp:176: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).
				nBuflen-=(int)strlen(szShadowPath);
data/burp-2.2.18/src/win32/burp/vss.cpp:196:15:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	bIsValidName=wcslen(szFilePath)>3;
data/burp-2.2.18/src/win32/burp/vss.cpp:207:4:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			wcsncpy(szShadowPath,
data/burp-2.2.18/src/win32/burp/vss.cpp:209:18:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			nBuflen-=(int)wcslen(m_szShadowCopyName[nDriveIndex]);
data/burp-2.2.18/src/win32/burp/vss.cpp:210:4:  [1] (buffer) wcsncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or
  automatically resizing strings.
			wcsncat(szShadowPath, szFilePath+2, nBuflen);
data/burp-2.2.18/src/win32/burp/vss.cpp:215:2:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	wcsncpy(szShadowPath, szFilePath, nBuflen);
data/burp-2.2.18/src/win32/burp/vss_generic.cpp:425: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).
	for(size_t i=0; i<strlen (szDriveLetters); i++)
data/burp-2.2.18/src/win32/burp/vss_generic.cpp:432:4:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			wcsncpy(m_wszUniqueVolumeName[szDriveLetters[i]-'A'],
data/burp-2.2.18/src/win32/burp/vss_generic.cpp:556:6:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					wcsncpy(m_szShadowCopyName[ch],
data/burp-2.2.18/src/win32/compat/compat.cpp:149: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(*fname && win32_name[-1]=='\\' && strlen(fname)!=3)
data/burp-2.2.18/src/win32/compat/compat.cpp:163:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		snprintf(pszBuf, strlen(tname)+1, "%s", tname);
data/burp-2.2.18/src/win32/compat/compat.cpp:177: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).
	DWORD dwSize=2*strlen(name)+MAX_PATH;
data/burp-2.2.18/src/win32/compat/compat.cpp:204:5:  [1] (buffer) wcslen:
  Does not handle 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(wcslen(name)>3 && !wcsncmp(name, L"\\\\?\\", 4))
data/burp-2.2.18/src/win32/compat/compat.cpp:212:26:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	DWORD dwBufCharsNeeded=(wcslen(name)+7);
data/burp-2.2.18/src/win32/compat/compat.cpp:318:16:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		nParseOffset=wcslen((LPCWSTR) pwszBuf);
data/burp-2.2.18/src/win32/compat/compat.cpp:323:4:  [1] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Risk is low because the source is a constant
  character.
			wcscat(pwszBuf, L"\\");
data/burp-2.2.18/src/win32/compat/compat.cpp:366:3:  [1] (buffer) wcsncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		wcsncpy(pszBuf, &pwszBuf[nParseOffset],
data/burp-2.2.18/src/win32/compat/compat.cpp:367:4:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			wcslen(pwszBuf)+1-nParseOffset);
data/burp-2.2.18/src/win32/compat/compat.cpp:400: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).
	cchSize=strlen(pszUTF)+1;
data/burp-2.2.18/src/win32/compat/compat.cpp:448: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).
	else if(g_dwWin32ConvUTF8strlen==strlen(pszUTF))
data/burp-2.2.18/src/win32/compat/compat.cpp:477: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).
	g_dwWin32ConvUTF8strlen=strlen(pszUTF);
data/burp-2.2.18/src/win32/compat/compat.cpp:495: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).
		ret=(char *)malloc(2*strlen(pszUTF)+MAX_PATH);
data/burp-2.2.18/src/win32/compat/compat.cpp:504:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
int umask(int)
data/burp-2.2.18/src/win32/compat/compat.cpp:1167: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).
	max_len=strlen(path)+MAX_PATH; // Enough space for VSS!
data/burp-2.2.18/src/win32/compat/compat.cpp:1185: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).
	len=strlen(tspec);
data/burp-2.2.18/src/win32/compat/compat.cpp:1966: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).
		DWORD dwPathnameLength=strlen(pPathname);
data/burp-2.2.18/src/win32/compat/compat.cpp:1997: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).
	while(argv[a] && strlen(cmd)+strlen(argv[a])+10<sizeof(cmd))
data/burp-2.2.18/src/win32/compat/compat.cpp:1997: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).
	while(argv[a] && strlen(cmd)+strlen(argv[a])+10<sizeof(cmd))
data/burp-2.2.18/src/win32/compat/compat.cpp:1999:11:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		if(a>0) strcat(cmd, " ");
data/burp-2.2.18/src/win32/compat/compat.cpp:2000: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(cmd, "\"");
data/burp-2.2.18/src/win32/compat/compat.cpp:2002: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(cmd, "\"");
data/burp-2.2.18/src/win32/compat/compat.cpp:2098:16:  [1] (buffer) wcslen:
  Does not handle 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_len=wcslen(pwsz_path);
data/burp-2.2.18/src/win32/compat/compat.cpp:2103:4:  [1] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer. Risk is low because the source is a constant character.
			wcscpy(pwsz_path+path_len++, L"\\");
data/burp-2.2.18/src/win32/compat/compat.cpp:2150: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).
	size_t s=strlen(path);
data/burp-2.2.18/src/yajl/yajl_encode.c:70:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            print(ctx, escaped, (unsigned int)strlen(escaped));
data/burp-2.2.18/src/yajl/yajl_encode.c:172:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            yajl_buf_append(buf, unescaped, (unsigned int)strlen(unescaped));
data/burp-2.2.18/src/yajl/yajl_gen.c:134: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 (sep != NULL) g->print(g->ctx, sep, strlen(sep));
data/burp-2.2.18/src/yajl/yajl_gen.c:161: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).
                         (unsigned int)strlen(g->indentString));        \
data/burp-2.2.18/src/yajl/yajl_gen.c:215: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).
    g->print(g->ctx, i, (unsigned int)strlen(i));
data/burp-2.2.18/src/yajl/yajl_gen.c:235:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strspn(i, "0123456789-") == strlen(i)) {
data/burp-2.2.18/src/yajl/yajl_gen.c:238: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).
    g->print(g->ctx, i, (unsigned int)strlen(i));
data/burp-2.2.18/src/yajl/yajl_gen.c:279: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).
    g->print(g->ctx, "null", strlen("null"));
data/burp-2.2.18/src/yajl/yajl_gen.c:291: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).
    g->print(g->ctx, val, (unsigned int)strlen(val));
data/burp-2.2.18/src/yajl/yajl_parser.c:88: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).
        memneeded += strlen(errorType);
data/burp-2.2.18/src/yajl/yajl_parser.c:89: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).
        memneeded += strlen(" error");
data/burp-2.2.18/src/yajl/yajl_parser.c:91: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).
            memneeded += strlen(": ");
data/burp-2.2.18/src/yajl/yajl_parser.c:92: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).
            memneeded += strlen(errorText);
data/burp-2.2.18/src/yajl/yajl_parser.c:103:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
        strcat((char *) str, "\n");
data/burp-2.2.18/src/yajl/yajl_parser.c:133:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                YA_MALLOC(&(hand->alloc), (unsigned int)(strlen((char *) str) +
data/burp-2.2.18/src/yajl/yajl_parser.c:134:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                                         strlen((char *) text) +
data/burp-2.2.18/src/yajl/yajl_parser.c:135:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                                         strlen(arrow) + 1));
data/burp-2.2.18/src/yajl/yajl_tree.c:315:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                       strlen(v->u.number.r));
data/burp-2.2.18/src/yajl/yajl_tree.c:438:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        strlen (input));
data/burp-2.2.18/src/yajl/yajl_tree.c:444:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                     strlen(input));
data/burp-2.2.18/src/yajl_gen_w.c:29: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).
		(const unsigned char *)str, strlen(str))!=yajl_gen_status_ok;
data/burp-2.2.18/utest/builders/build_asfd_mock.c:87: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).
	iobuf_set(&wbuf, wcmd, (char *)wsrc, strlen(wsrc));
data/burp-2.2.18/utest/builders/build_asfd_mock.c:180:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_to_ioevent(reads, r, ret, cmd, (void *)str, str?strlen(str):0);
data/burp-2.2.18/utest/builders/build_asfd_mock.c:187:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	add_to_ioevent(writes, w, ret, cmd, (void *)str, str?strlen(str):0);
data/burp-2.2.18/utest/builders/build_file.c:14:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		fail_unless(fprintf(fp, "%s", content)==(int)strlen(content));
data/burp-2.2.18/utest/builders/build_slist.c:22: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).
		snprintf(cp, strlen("some link")+1, "some link");
data/burp-2.2.18/utest/builders/build_slist.c:25: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).
	sb->link.len=strlen(sb->link.buf);
data/burp-2.2.18/utest/builders/server/build_manifest.c:51: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).
		CMD_GEN, "phase1end", strlen("phase1end")));
data/burp-2.2.18/utest/builders/server/build_manifest.c:73: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).
		sb->endfile.len=strlen(endfile);
data/burp-2.2.18/utest/builders/server/build_manifest.c:239: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).
		fzp_printf(fzp, "%c%04X%s", CMD_DATA, strlen("data"), "data");
data/burp-2.2.18/utest/builders/server/build_manifest.c:325: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).
		CMD_GEN, "phase1end", strlen("phase1end")));
data/burp-2.2.18/utest/builders/server/protocol2/build_sparse_index.c:21: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).
			CMD_MANIFEST, strlen(mpath), mpath);
data/burp-2.2.18/utest/client/monitor/test_status_client_ncurses.c:52:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ret|=csin->read(csin);
data/burp-2.2.18/utest/client/monitor/test_status_client_ncurses.c:53:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ret|=nin->read(nin);
data/burp-2.2.18/utest/client/monitor/test_status_client_ncurses.c:60:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return csin->read(csin);
data/burp-2.2.18/utest/client/protocol1/test_backup_phase2.c:136:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return as->asfd->read(as->asfd);
data/burp-2.2.18/utest/client/protocol2/test_backup_phase2.c:58:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return as->asfd->read(as->asfd);
data/burp-2.2.18/utest/client/protocol2/test_backup_phase2.c:91:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return as->asfd->read(as->asfd);
data/burp-2.2.18/utest/client/protocol2/test_rabin_read.c:84:3:  [1] (buffer) strlen:
  Does not handle 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(x.write),
data/burp-2.2.18/utest/client/test_acl.c:136: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).
	fail_unless(rlen==strlen(expected));
data/burp-2.2.18/utest/client/test_extra_comms.c:55:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return as->asfd->read(as->asfd);
data/burp-2.2.18/utest/client/test_extrameta.c:110:3:  [1] (buffer) strlen:
  Does not handle 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(expected),
data/burp-2.2.18/utest/client/test_extrameta.c:124: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).
	fail_unless(rlen==strlen(expected));
data/burp-2.2.18/utest/client/test_monitor.c:78:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ret|=sfd->read(sfd);
data/burp-2.2.18/utest/client/test_monitor.c:79:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ret|=in->read(in);
data/burp-2.2.18/utest/client/test_restore.c:67: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).
	l=(uint32_t)strlen(path);
data/burp-2.2.18/utest/client/test_restore.c:117: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).
				snprintf(cp, strlen(s->link.buf)+1, "%s",
data/burp-2.2.18/utest/client/test_restore.c:267: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).
				snprintf(cp, strlen(s->link.buf)+1, "%s",
data/burp-2.2.18/utest/client/test_restore.c:324: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).
				snprintf(cp, strlen(s->link.buf)+1, "%s",
data/burp-2.2.18/utest/client/test_xattr.c:101: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).
		e=strlen(expected)-9;
data/burp-2.2.18/utest/client/test_xattr.c:153:3:  [1] (buffer) strlen:
  Does not handle 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(x.write),
data/burp-2.2.18/utest/client/test_xattr.c:164: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).
	fail_unless(rlen==strlen(expected));
data/burp-2.2.18/utest/server/protocol1/test_backup_phase2.c:159:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return as->asfd->read(as->asfd);
data/burp-2.2.18/utest/server/protocol1/test_backup_phase4.c:84: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).
	size_t len=strlen(content);
data/burp-2.2.18/utest/server/protocol1/test_restore.c:211:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	s=strlen(plain_text);
data/burp-2.2.18/utest/server/protocol2/test_backup_phase2.c:680:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return as->asfd->read(as->asfd);
data/burp-2.2.18/utest/server/protocol2/test_backup_phase2.c:688:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ret|=asfd->read(asfd);
data/burp-2.2.18/utest/server/protocol2/test_backup_phase2.c:689:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ret|=chfd->read(chfd);
data/burp-2.2.18/utest/server/test_backup_phase3.c:166: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).
			m[i].cmd, m[i].buf, strlen(m[i].buf)));
data/burp-2.2.18/utest/server/test_extra_comms.c:69:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return as->asfd->read(as->asfd);
data/burp-2.2.18/utest/server/test_list.c:419: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(browsedir) bdlen=strlen(browsedir);
data/burp-2.2.18/utest/server/test_restore.c:125:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return as->asfd->read(as->asfd);
data/burp-2.2.18/utest/server/test_run_action.c:136:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return as->asfd->read(as->asfd);
data/burp-2.2.18/utest/test_fzp.c:20: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).
	size_t len=strlen(to_write);
data/burp-2.2.18/utest/test_fzp.c:93:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(fzp_gzopen_old_zlib_seek_hack && d->pos > (off_t)strlen(content))

ANALYSIS SUMMARY:

Hits = 874
Lines analyzed = 77644 in approximately 1.80 seconds (43076 lines/second)
Physical Source Lines of Code (SLOC) = 63538
Hits@level = [0] 482 [1] 283 [2] 494 [3]  26 [4]  63 [5]   8
Hits@level+ = [0+] 1356 [1+] 874 [2+] 591 [3+]  97 [4+]  71 [5+]   8
Hits/KSLOC@level+ = [0+] 21.3416 [1+] 13.7555 [2+] 9.30152 [3+] 1.52665 [4+] 1.11744 [5+] 0.125909
Symlinks skipped = 8 (--allowlink overrides but see doc for security issue)
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.